oPsh.close();
JDCConnection oCon = getDataBaseBind().getConnection("SMSSender");
oCon.setAutoCommit (true);
PreparedStatement oStm = oCon.prepareStatement("INSERT INTO "+DB.k_sms_audit+" (id_sms,gu_workarea,pg_part,nu_msisdn,id_msg,gu_batch,bo_success,nu_error,id_status,dt_sent,gu_writer,gu_address,gu_contact,gu_company,tx_msg,tx_err) "+
"VALUES ('"+oRsp.messageId()+"','"+getString(DB.gu_workarea)+"',1,'"+oAtm.getString(DB.mov_phone)+"',NULL,'"+getString(DB.gu_job)+"',?,?,?,?,'"+getString(DB.gu_writer)+"',?,?,?,?,?)");
oStm.setShort(1, (short) (oRsp.errorCode()==SMSResponse.ErrorCode.NONE ? 1 : 0));
oStm.setInt(2, (int) oRsp.errorCode().intValue());
oStm.setInt(3, (int) oRsp.notificationStatusCode().intValue());
oStm.setTimestamp(4, new Timestamp(oRsp.dateStamp().getTime()));