Hi I've the following configuration:
sqlbox -> bearerbox <- smsbox I.e. each box connects independently to bearerbox. I can send sms with no issues using any of the boxes. With smsbox have no issues with dlr nor MO. With sqlbox I wasn't able to make dlr-url to work. I've found that if I do not specify boxc_id parameter on my insert to send_sms or set it to NULL or to '', by default sqlbox insert its own id on this field. This makes -at least on my case- that dlr-url being not called since I was not using smsbox-id/smsbox-route. I fixed the issue by having to assign a smsbox-id to my smsbox and insert it into the boxc_id field. Dlr Not working: INSERT INTO send_sms (momt, sender, receiver, udhdata, msgdata,smsc_id, sms_type, coding, compress, validity, dlr_mask, dlr_url,boxc_id ) VALUES ('MT', '991212213', '991212211', NULL, 'sqlbox10:30', 'smsc2email', 2, 2, NULL, 4200, 31, 'http://127.0.0.1/sms/dlr.php?type=%d&slid=10499166&uid=10&smsc=smsc2email&sender_id=MiSender','SqlboxIB') INSERT INTO send_sms (momt, sender, receiver, udhdata, msgdata,smsc_id, sms_type, coding, compress, validity, dlr_mask, dlr_url,boxc_id ) VALUES ('MT', '991212213', '991212211', NULL, 'sqlbox10:30', 'smsc2email', 2, 2, NULL, 4200, 31, 'http://127.0.0.1/sms/dlr.php?type=%d&slid=10499166&uid=10&smsc=smsc2email&sender_id=MiSender',NULL) INSERT INTO send_sms (momt, sender, receiver, udhdata, msgdata,smsc_id, sms_type, coding, compress, validity, dlr_mask, dlr_url,boxc_id ) VALUES ('MT', '991212213', '991212211', NULL, 'sqlbox10:30', 'smsc2email', 2, 2, NULL, 4200, 31, 'http://127.0.0.1/sms/dlr.php?type=%d&slid=10499166&uid=10&smsc=smsc2email&sender_id=MiSender','') Dlr working: INSERT INTO send_sms (momt, sender, receiver, udhdata, msgdata,smsc_id, sms_type, coding, compress, validity, dlr_mask, dlr_url,boxc_id ) VALUES ('MT', '991212213', '991212211', NULL, 'sqlbox10:30', 'smsc2email', 2, 2, NULL, 4200, 31, 'http://127.0.0.1/sms/dlr.php?type=%d&slid=10499166&uid=10&smsc=smsc2email&sender_id=MiSender','SmsboxID') This required me to: - Add an id to my smsbox. - Add a smsbox-route group in order to route MO/Dlrs. Until now I didn't need this since all MO/dlr were routed to the smsbox without id (default behavior). And now, because of default boxc_id set to sqlbox-id I need to define a smsbox-id to my smsbox group as well as add a smsbox-route group. How can I define an empty/blank boxc_id so dlr-url is called by default smsbox. i.e. smsbox with no smsbox-id? Or tell sqlbox not to insert its own id on boxc_id field? Regards Alvaro |-----------------------------------------------------------------------------------------------------------------| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y GPRS online Visitenos en www.perusms.com