Re: Dlr warning: Couldnot parse DLR string sscanf way,fallback to old way. Please report!
Hi Alvaro, this is related to how DLR message is formated. Seems it's formated in different way as smpp spec suggest. Could you please post your DLR message, so I can look into it? Thanks, Alex Alvaro Cornejo schrieb: Hi I'm receiving the following error in my SMPP log: 2009-03-03 14:52:20 [6373] [6] DEBUG: SMPP[telcel_sc3783] handle_pdu, got DLR 2009-03-03 14:52:20 [6373] [6] DEBUG: SMPP[telcel_sc3783]: Couldnot parse DLR string sscanf way,fallback to old way. Please report! 2009-03-03 14:52:20 [6373] [6] DEBUG: DLR[mysql]: Looking for DLR smsc=telcel_sc3783, ts=1236113516, dst=MiSender, type=1 2009-03-03 14:52:20 [6373] [6] DEBUG: sql: SELECT mask, service, url, source, destination, boxc FROM tblkannel_dlr WHERE smsc='telcel_sc3783' AND ts='1236113516'; 2009-03-03 14:52:20 [6373] [6] DEBUG: Found entry, row[0]=31, row[1]=playsms, row[2]=http://127.0.0.1/sms/plugin/gateway/kannel/dlr.php?type=%dslid=2854200uid=10smsc=%isender_id=MiSender, row[3]=0, row[4]=525527298936 row[5]= 2009-03-03 14:52:20 [6373] [6] DEBUG: DLR[mysql]: created DLR message for URL http://127.0.0.1/sms/plugin/gateway/kannel/dlr.php?type=%dslid=2854200uid=10smsc=%isender_id=MiSender 2009-03-03 14:52:20 [6373] [6] DEBUG: removing DLR from database 2009-03-03 14:52:20 [6373] [6] DEBUG: sql: DELETE FROM tblkannel_dlr WHERE smsc='telcel_sc3783' AND ts='1236113516' LIMIT 1; 2009-03-03 14:52:20 [6373] [6] DEBUG: SMPP[telcel_sc3783]: Sending PDU: 2009-03-03 14:52:20 [6373] [6] DEBUG: SMPP PDU 0x9c54f10 dump: What is this? Regards Alvaro
Re: Dlr warning: Couldnot parse DLR string sscanf way, fallback to old way. Please report!
Hi Alex This is the code I use for dlr: $dlr_URL = $dlr_mask.dlr-url=.urlencode($kannel_param['playsms_web']./gateway/kannel/dlr.php?type=%dslid=$smslog_iduid=$uidsmsc=%isender_id=$sms_from); $dlr_URL .= mclass=$sms_type; This is the url: /cgi-bin/sendsms?username=puserpassword=ppassfrom=%252B525587654321to=%2B525535504776text=ABANDONO+GRAL+1.46%25PRUEBA+SMS+smsc=telcelcoding=0mclass=2 and dlr part of url coded: dlr-mask=24dlr-url=http%3A%2F%2F127.0.0.1%2Fsms%2Fplugin%2Fgateway%2Fkannel%2Fdlr.php%3Ftype%3D%25d%26slid%3D2858203%26uid%3D277%26smsc%3D%25i%26sender_id%3D%252B525587654321 Hope help you help me ;) |-| 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.NET www.smsglobal.com.mx y www.pravcom.com On Wed, Mar 4, 2009 at 5:20 AM, Alexander Malysh amal...@kannel.org wrote: Hi Alvaro, this is related to how DLR message is formated. Seems it's formated in different way as smpp spec suggest. Could you please post your DLR message, so I can look into it? Thanks, Alex Alvaro Cornejo schrieb: Hi I'm receiving the following error in my SMPP log: 2009-03-03 14:52:20 [6373] [6] DEBUG: SMPP[telcel_sc3783] handle_pdu, got DLR 2009-03-03 14:52:20 [6373] [6] DEBUG: SMPP[telcel_sc3783]: Couldnot parse DLR string sscanf way,fallback to old way. Please report! 2009-03-03 14:52:20 [6373] [6] DEBUG: DLR[mysql]: Looking for DLR smsc=telcel_sc3783, ts=1236113516, dst=MiSender, type=1 2009-03-03 14:52:20 [6373] [6] DEBUG: sql: SELECT mask, service, url, source, destination, boxc FROM tblkannel_dlr WHERE smsc='telcel_sc3783' AND ts='1236113516'; 2009-03-03 14:52:20 [6373] [6] DEBUG: Found entry, row[0]=31, row[1]=playsms, row[2]=http://127.0.0.1/sms/plugin/gateway/kannel/dlr.php?type=%dslid=2854200uid=10smsc=%isender_id=MiSender, row[3]=0, row[4]=525527298936 row[5]= 2009-03-03 14:52:20 [6373] [6] DEBUG: DLR[mysql]: created DLR message for URL http://127.0.0.1/sms/plugin/gateway/kannel/dlr.php?type=%dslid=2854200uid=10smsc=%isender_id=MiSender 2009-03-03 14:52:20 [6373] [6] DEBUG: removing DLR from database 2009-03-03 14:52:20 [6373] [6] DEBUG: sql: DELETE FROM tblkannel_dlr WHERE smsc='telcel_sc3783' AND ts='1236113516' LIMIT 1; 2009-03-03 14:52:20 [6373] [6] DEBUG: SMPP[telcel_sc3783]: Sending PDU: 2009-03-03 14:52:20 [6373] [6] DEBUG: SMPP PDU 0x9c54f10 dump: What is this? Regards Alvaro
Re: Dlr warning: Couldnot parse DLR string sscanf way, fallback to old way. Please report!
Please post deliver_sm for DLR coming from SMSC. Thanks, Alex Alvaro Cornejo schrieb: Hi Alex This is the code I use for dlr: $dlr_URL = $dlr_mask.dlr-url=.urlencode($kannel_param['playsms_web']./gateway/kannel/dlr.php?type=%dslid=$smslog_iduid=$uidsmsc=%isender_id=$sms_from); $dlr_URL .= mclass=$sms_type; This is the url: /cgi-bin/sendsms?username=puserpassword=ppassfrom=%252B525587654321to=%2B525535504776text=ABANDONO+GRAL+1.46%25PRUEBA+SMS+smsc=telcelcoding=0mclass=2 and dlr part of url coded: dlr-mask=24dlr-url=http%3A%2F%2F127.0.0.1%2Fsms%2Fplugin%2Fgateway%2Fkannel%2Fdlr.php%3Ftype%3D%25d%26slid%3D2858203%26uid%3D277%26smsc%3D%25i%26sender_id%3D%252B525587654321 Hope help you help me ;) |-| 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.NET www.smsglobal.com.mx y www.pravcom.com On Wed, Mar 4, 2009 at 5:20 AM, Alexander Malysh amal...@kannel.org wrote: Hi Alvaro, this is related to how DLR message is formated. Seems it's formated in different way as smpp spec suggest. Could you please post your DLR message, so I can look into it? Thanks, Alex Alvaro Cornejo schrieb: Hi I'm receiving the following error in my SMPP log: 2009-03-03 14:52:20 [6373] [6] DEBUG: SMPP[telcel_sc3783] handle_pdu, got DLR 2009-03-03 14:52:20 [6373] [6] DEBUG: SMPP[telcel_sc3783]: Couldnot parse DLR string sscanf way,fallback to old way. Please report! 2009-03-03 14:52:20 [6373] [6] DEBUG: DLR[mysql]: Looking for DLR smsc=telcel_sc3783, ts=1236113516, dst=MiSender, type=1 2009-03-03 14:52:20 [6373] [6] DEBUG: sql: SELECT mask, service, url, source, destination, boxc FROM tblkannel_dlr WHERE smsc='telcel_sc3783' AND ts='1236113516'; 2009-03-03 14:52:20 [6373] [6] DEBUG: Found entry, row[0]=31, row[1]=playsms, row[2]=http://127.0.0.1/sms/plugin/gateway/kannel/dlr.php?type=%dslid=2854200uid=10smsc=%isender_id=MiSender, row[3]=0, row[4]=525527298936 row[5]= 2009-03-03 14:52:20 [6373] [6] DEBUG: DLR[mysql]: created DLR message for URL http://127.0.0.1/sms/plugin/gateway/kannel/dlr.php?type=%dslid=2854200uid=10smsc=%isender_id=MiSender 2009-03-03 14:52:20 [6373] [6] DEBUG: removing DLR from database 2009-03-03 14:52:20 [6373] [6] DEBUG: sql: DELETE FROM tblkannel_dlr WHERE smsc='telcel_sc3783' AND ts='1236113516' LIMIT 1; 2009-03-03 14:52:20 [6373] [6] DEBUG: SMPP[telcel_sc3783]: Sending PDU: 2009-03-03 14:52:20 [6373] [6] DEBUG: SMPP PDU 0x9c54f10 dump: What is this? Regards Alvaro
Re: Dlr warning: Couldnot parse DLR string sscanf way, fallback to old way. Please report!
Hi Alex attached smsc debug info: 2009-03-04 10:02:37 [3044] [6] DEBUG: SMPP[telcel_sc3783]: Manually forced source addr ton = 2, source add npi = 1 2009-03-04 10:02:37 [3044] [6] DEBUG: SMPP[telcel_sc3783]: Manually forced dest addr ton = 2, dest add npi = 1 2009-03-04 10:02:37 [3044] [6] DEBUG: SMPP[telcel_sc3783]: Sending PDU: 2009-03-04 10:02:37 [3044] [6] DEBUG: SMPP PDU 0xa5a03ad8 dump: 2009-03-04 10:02:37 [3044] [6] DEBUG: type_name: submit_sm 2009-03-04 10:02:37 [3044] [6] DEBUG: command_id: 4 = 0x0004 2009-03-04 10:02:37 [3044] [6] DEBUG: command_status: 0 = 0x 2009-03-04 10:02:37 [3044] [6] DEBUG: sequence_number: 2199 = 0x0897 2009-03-04 10:02:37 [3044] [6] DEBUG: service_type: NULL 2009-03-04 10:02:37 [3044] [6] DEBUG: source_addr_ton: 5 = 0x0005 2009-03-04 10:02:37 [3044] [6] DEBUG: source_addr_npi: 0 = 0x 2009-03-04 10:02:37 [3044] [6] DEBUG: source_addr: MiSender 2009-03-04 10:02:37 [3044] [6] DEBUG: dest_addr_ton: 1 = 0x0001 2009-03-04 10:02:37 [3044] [6] DEBUG: dest_addr_npi: 1 = 0x0001 2009-03-04 10:02:37 [3044] [6] DEBUG: destination_addr: 525513206766 2009-03-04 10:02:37 [3044] [6] DEBUG: esm_class: 3 = 0x0003 2009-03-04 10:02:37 [3044] [6] DEBUG: protocol_id: 0 = 0x 2009-03-04 10:02:37 [3044] [6] DEBUG: priority_flag: 0 = 0x 2009-03-04 10:02:37 [3044] [6] DEBUG: schedule_delivery_time: NULL 2009-03-04 10:02:37 [3044] [6] DEBUG: validity_period: NULL 2009-03-04 10:02:37 [3044] [6] DEBUG: registered_delivery: 1 = 0x0001 2009-03-04 10:02:37 [3044] [6] DEBUG: replace_if_present_flag: 0 = 0x 2009-03-04 10:02:37 [3044] [6] DEBUG: data_coding: 242 = 0x00f2 2009-03-04 10:02:37 [3044] [6] DEBUG: sm_default_msg_id: 0 = 0x 2009-03-04 10:02:37 [3044] [6] DEBUG: sm_length: 20 = 0x0014 2009-03-04 10:02:37 [3044] [6] DEBUG: short_message: 2009-03-04 10:02:37 [3044] [6] DEBUG:Octet string at 0xa5a98f90: 2009-03-04 10:02:37 [3044] [6] DEBUG: len: 20 2009-03-04 10:02:37 [3044] [6] DEBUG: size: 21 2009-03-04 10:02:37 [3044] [6] DEBUG: immutable: 0 2009-03-04 10:02:37 [3044] [6] DEBUG: data: 74 65 73 74 20 73 6d 70 70 20 2f 20 41 63 6f 72 test smpp / Acor 2009-03-04 10:02:37 [3044] [6] DEBUG: data: 6e 65 6a 6f nejo 2009-03-04 10:02:37 [3044] [6] DEBUG:Octet string dump ends. 2009-03-04 10:02:37 [3044] [6] DEBUG: SMPP PDU dump ends. 2009-03-04 10:02:37 [3044] [6] DEBUG: SMPP[telcel_sc3783]: Got PDU: 2009-03-04 10:02:37 [3044] [6] DEBUG: SMPP PDU 0xa5a03ad8 dump: 2009-03-04 10:02:37 [3044] [6] DEBUG: type_name: submit_sm_resp 2009-03-04 10:02:37 [3044] [6] DEBUG: command_id: 2147483652 = 0x8004 2009-03-04 10:02:37 [3044] [6] DEBUG: command_status: 0 = 0x 2009-03-04 10:02:37 [3044] [6] DEBUG: sequence_number: 2199 = 0x0897 2009-03-04 10:02:37 [3044] [6] DEBUG: message_id: 49AEA608 2009-03-04 10:02:37 [3044] [6] DEBUG: SMPP PDU dump ends. 2009-03-04 10:02:37 [3044] [6] DEBUG: DLR[mysql]: Adding DLR smsc=telcel_sc3783, ts=1236182536, src=MiSender, dst=+525513206766, mask=31, boxc= 2009-03-04 10:02:37 [3044] [6] DEBUG: sql: INSERT INTO tblkannel_dlr (smsc, ts, source, destination, service, url, mask, boxc, status) VALUES ('telcel_sc3783', '1236182536', 'MiSender', '+525513206766', 'playsms', 'http://127.0.0.1/sms/plugin/gateway/kannel/dlr.php?type=%dslid=2860670uid=10smsc=%isender_id=MiSender', '31', '', '0'); 2009-03-04 10:02:37 [3044] [6] DEBUG: SMSC[telcel_sc3783]: creating DLR message 2009-03-04 10:02:37 [3044] [6] DEBUG: SMSC[telcel_sc3783]: DLR = http://127.0.0.1/sms/plugin/gateway/kannel/dlr.php?type=%dslid=2860670uid=10smsc=%isender_id=MiSender 2009-03-04 10:02:39 [3044] [6] DEBUG: SMPP[telcel_sc3783]: Got PDU: 2009-03-04 10:02:39 [3044] [6] DEBUG: SMPP PDU 0xa5a03ad8 dump: 2009-03-04 10:02:39 [3044] [6] DEBUG: type_name: deliver_sm 2009-03-04 10:02:39 [3044] [6] DEBUG: command_id: 5 = 0x0005 2009-03-04 10:02:39 [3044] [6] DEBUG: command_status: 0 = 0x 2009-03-04 10:02:39 [3044] [6] DEBUG: sequence_number: 1 = 0x0001 2009-03-04 10:02:39 [3044] [6] DEBUG: service_type: NULL 2009-03-04 10:02:39 [3044] [6] DEBUG: source_addr_ton: 5 = 0x0005 2009-03-04 10:02:39 [3044] [6] DEBUG: source_addr_npi: 0 = 0x 2009-03-04 10:02:39 [3044] [6] DEBUG: source_addr: MiSender 2009-03-04 10:02:39 [3044] [6] DEBUG: dest_addr_ton: 1 = 0x0001 2009-03-04 10:02:39 [3044] [6] DEBUG: dest_addr_npi: 1 = 0x0001 2009-03-04 10:02:39 [3044] [6] DEBUG: destination_addr: 525513206766 2009-03-04 10:02:39 [3044] [6] DEBUG: esm_class: 4 = 0x0004 2009-03-04 10:02:39 [3044] [6] DEBUG: protocol_id: 0 = 0x 2009-03-04 10:02:39 [3044] [6] DEBUG: priority_flag: 0 = 0x 2009-03-04 10:02:39 [3044] [6] DEBUG: schedule_delivery_time: NULL 2009-03-04 10:02:39 [3044] [6] DEBUG: validity_period: NULL 2009-03-04 10:02:39 [3044] [6] DEBUG:
Re: Dlr warning: Couldnot parse DLR string sscanf way, fallback to old way. Please report!
Hi, ok, just ignore this warning... FYI: smsc sent wrong formatted dlr and therefore kannel write warning. So should be the right formated dlr: id:6090 sub:001 dlvrd:001 submit date:0403081356 done date:0403081357 stat:DELIVRD err:3 text: Alvaro Cornejo schrieb: Hi Alex attached smsc debug info: 2009-03-04 10:02:37 [3044] [6] DEBUG: SMPP[telcel_sc3783]: Manually forced source addr ton = 2, source add npi = 1 2009-03-04 10:02:37 [3044] [6] DEBUG: SMPP[telcel_sc3783]: Manually forced dest addr ton = 2, dest add npi = 1 2009-03-04 10:02:37 [3044] [6] DEBUG: SMPP[telcel_sc3783]: Sending PDU: 2009-03-04 10:02:37 [3044] [6] DEBUG: SMPP PDU 0xa5a03ad8 dump: 2009-03-04 10:02:37 [3044] [6] DEBUG: type_name: submit_sm 2009-03-04 10:02:37 [3044] [6] DEBUG: command_id: 4 = 0x0004 2009-03-04 10:02:37 [3044] [6] DEBUG: command_status: 0 = 0x 2009-03-04 10:02:37 [3044] [6] DEBUG: sequence_number: 2199 = 0x0897 2009-03-04 10:02:37 [3044] [6] DEBUG: service_type: NULL 2009-03-04 10:02:37 [3044] [6] DEBUG: source_addr_ton: 5 = 0x0005 2009-03-04 10:02:37 [3044] [6] DEBUG: source_addr_npi: 0 = 0x 2009-03-04 10:02:37 [3044] [6] DEBUG: source_addr: MiSender 2009-03-04 10:02:37 [3044] [6] DEBUG: dest_addr_ton: 1 = 0x0001 2009-03-04 10:02:37 [3044] [6] DEBUG: dest_addr_npi: 1 = 0x0001 2009-03-04 10:02:37 [3044] [6] DEBUG: destination_addr: 525513206766 2009-03-04 10:02:37 [3044] [6] DEBUG: esm_class: 3 = 0x0003 2009-03-04 10:02:37 [3044] [6] DEBUG: protocol_id: 0 = 0x 2009-03-04 10:02:37 [3044] [6] DEBUG: priority_flag: 0 = 0x 2009-03-04 10:02:37 [3044] [6] DEBUG: schedule_delivery_time: NULL 2009-03-04 10:02:37 [3044] [6] DEBUG: validity_period: NULL 2009-03-04 10:02:37 [3044] [6] DEBUG: registered_delivery: 1 = 0x0001 2009-03-04 10:02:37 [3044] [6] DEBUG: replace_if_present_flag: 0 = 0x 2009-03-04 10:02:37 [3044] [6] DEBUG: data_coding: 242 = 0x00f2 2009-03-04 10:02:37 [3044] [6] DEBUG: sm_default_msg_id: 0 = 0x 2009-03-04 10:02:37 [3044] [6] DEBUG: sm_length: 20 = 0x0014 2009-03-04 10:02:37 [3044] [6] DEBUG: short_message: 2009-03-04 10:02:37 [3044] [6] DEBUG:Octet string at 0xa5a98f90: 2009-03-04 10:02:37 [3044] [6] DEBUG: len: 20 2009-03-04 10:02:37 [3044] [6] DEBUG: size: 21 2009-03-04 10:02:37 [3044] [6] DEBUG: immutable: 0 2009-03-04 10:02:37 [3044] [6] DEBUG: data: 74 65 73 74 20 73 6d 70 70 20 2f 20 41 63 6f 72 test smpp / Acor 2009-03-04 10:02:37 [3044] [6] DEBUG: data: 6e 65 6a 6f nejo 2009-03-04 10:02:37 [3044] [6] DEBUG:Octet string dump ends. 2009-03-04 10:02:37 [3044] [6] DEBUG: SMPP PDU dump ends. 2009-03-04 10:02:37 [3044] [6] DEBUG: SMPP[telcel_sc3783]: Got PDU: 2009-03-04 10:02:37 [3044] [6] DEBUG: SMPP PDU 0xa5a03ad8 dump: 2009-03-04 10:02:37 [3044] [6] DEBUG: type_name: submit_sm_resp 2009-03-04 10:02:37 [3044] [6] DEBUG: command_id: 2147483652 = 0x8004 2009-03-04 10:02:37 [3044] [6] DEBUG: command_status: 0 = 0x 2009-03-04 10:02:37 [3044] [6] DEBUG: sequence_number: 2199 = 0x0897 2009-03-04 10:02:37 [3044] [6] DEBUG: message_id: 49AEA608 2009-03-04 10:02:37 [3044] [6] DEBUG: SMPP PDU dump ends. 2009-03-04 10:02:37 [3044] [6] DEBUG: DLR[mysql]: Adding DLR smsc=telcel_sc3783, ts=1236182536, src=MiSender, dst=+525513206766, mask=31, boxc= 2009-03-04 10:02:37 [3044] [6] DEBUG: sql: INSERT INTO tblkannel_dlr (smsc, ts, source, destination, service, url, mask, boxc, status) VALUES ('telcel_sc3783', '1236182536', 'MiSender', '+525513206766', 'playsms', 'http://127.0.0.1/sms/plugin/gateway/kannel/dlr.php?type=%dslid=2860670uid=10smsc=%isender_id=MiSender', '31', '', '0'); 2009-03-04 10:02:37 [3044] [6] DEBUG: SMSC[telcel_sc3783]: creating DLR message 2009-03-04 10:02:37 [3044] [6] DEBUG: SMSC[telcel_sc3783]: DLR = http://127.0.0.1/sms/plugin/gateway/kannel/dlr.php?type=%dslid=2860670uid=10smsc=%isender_id=MiSender 2009-03-04 10:02:39 [3044] [6] DEBUG: SMPP[telcel_sc3783]: Got PDU: 2009-03-04 10:02:39 [3044] [6] DEBUG: SMPP PDU 0xa5a03ad8 dump: 2009-03-04 10:02:39 [3044] [6] DEBUG: type_name: deliver_sm 2009-03-04 10:02:39 [3044] [6] DEBUG: command_id: 5 = 0x0005 2009-03-04 10:02:39 [3044] [6] DEBUG: command_status: 0 = 0x 2009-03-04 10:02:39 [3044] [6] DEBUG: sequence_number: 1 = 0x0001 2009-03-04 10:02:39 [3044] [6] DEBUG: service_type: NULL 2009-03-04 10:02:39 [3044] [6] DEBUG: source_addr_ton: 5 = 0x0005 2009-03-04 10:02:39 [3044] [6] DEBUG: source_addr_npi: 0 = 0x 2009-03-04 10:02:39 [3044] [6] DEBUG: source_addr: MiSender 2009-03-04 10:02:39 [3044] [6] DEBUG: dest_addr_ton: 1 = 0x0001 2009-03-04 10:02:39 [3044] [6] DEBUG: dest_addr_npi: 1 = 0x0001 2009-03-04 10:02:39 [3044] [6] DEBUG: destination_addr: 525513206766 2009-03-04 10:02:39 [3044] [6] DEBUG: esm_class: 4 = 0x0004 2009-03-04 10:02:39 [3044] [6] DEBUG:
Re: Dlr warning: Couldnot parse DLR string sscanf way, fallback to old way. Please report!
Ok Alex Thanks for the advice and your time Alvaro On Wed, 2009-03-04 at 19:14 +0100, Alexander Malysh wrote: Hi, ok, just ignore this warning... FYI: smsc sent wrong formatted dlr and therefore kannel write warning. So should be the right formated dlr: id:6090 sub:001 dlvrd:001 submit date:0403081356 done date:0403081357 stat:DELIVRD err:3 text: Alvaro Cornejo schrieb: Hi Alex attached smsc debug info: 2009-03-04 10:02:37 [3044] [6] DEBUG: SMPP[telcel_sc3783]: Manually forced source addr ton = 2, source add npi = 1 2009-03-04 10:02:37 [3044] [6] DEBUG: SMPP[telcel_sc3783]: Manually forced dest addr ton = 2, dest add npi = 1 2009-03-04 10:02:37 [3044] [6] DEBUG: SMPP[telcel_sc3783]: Sending PDU: 2009-03-04 10:02:37 [3044] [6] DEBUG: SMPP PDU 0xa5a03ad8 dump: 2009-03-04 10:02:37 [3044] [6] DEBUG: type_name: submit_sm 2009-03-04 10:02:37 [3044] [6] DEBUG: command_id: 4 = 0x0004 2009-03-04 10:02:37 [3044] [6] DEBUG: command_status: 0 = 0x 2009-03-04 10:02:37 [3044] [6] DEBUG: sequence_number: 2199 = 0x0897 2009-03-04 10:02:37 [3044] [6] DEBUG: service_type: NULL 2009-03-04 10:02:37 [3044] [6] DEBUG: source_addr_ton: 5 = 0x0005 2009-03-04 10:02:37 [3044] [6] DEBUG: source_addr_npi: 0 = 0x 2009-03-04 10:02:37 [3044] [6] DEBUG: source_addr: MiSender 2009-03-04 10:02:37 [3044] [6] DEBUG: dest_addr_ton: 1 = 0x0001 2009-03-04 10:02:37 [3044] [6] DEBUG: dest_addr_npi: 1 = 0x0001 2009-03-04 10:02:37 [3044] [6] DEBUG: destination_addr: 525513206766 2009-03-04 10:02:37 [3044] [6] DEBUG: esm_class: 3 = 0x0003 2009-03-04 10:02:37 [3044] [6] DEBUG: protocol_id: 0 = 0x 2009-03-04 10:02:37 [3044] [6] DEBUG: priority_flag: 0 = 0x 2009-03-04 10:02:37 [3044] [6] DEBUG: schedule_delivery_time: NULL 2009-03-04 10:02:37 [3044] [6] DEBUG: validity_period: NULL 2009-03-04 10:02:37 [3044] [6] DEBUG: registered_delivery: 1 = 0x0001 2009-03-04 10:02:37 [3044] [6] DEBUG: replace_if_present_flag: 0 = 0x 2009-03-04 10:02:37 [3044] [6] DEBUG: data_coding: 242 = 0x00f2 2009-03-04 10:02:37 [3044] [6] DEBUG: sm_default_msg_id: 0 = 0x 2009-03-04 10:02:37 [3044] [6] DEBUG: sm_length: 20 = 0x0014 2009-03-04 10:02:37 [3044] [6] DEBUG: short_message: 2009-03-04 10:02:37 [3044] [6] DEBUG:Octet string at 0xa5a98f90: 2009-03-04 10:02:37 [3044] [6] DEBUG: len: 20 2009-03-04 10:02:37 [3044] [6] DEBUG: size: 21 2009-03-04 10:02:37 [3044] [6] DEBUG: immutable: 0 2009-03-04 10:02:37 [3044] [6] DEBUG: data: 74 65 73 74 20 73 6d 70 70 20 2f 20 41 63 6f 72 test smpp / Acor 2009-03-04 10:02:37 [3044] [6] DEBUG: data: 6e 65 6a 6f nejo 2009-03-04 10:02:37 [3044] [6] DEBUG:Octet string dump ends. 2009-03-04 10:02:37 [3044] [6] DEBUG: SMPP PDU dump ends. 2009-03-04 10:02:37 [3044] [6] DEBUG: SMPP[telcel_sc3783]: Got PDU: 2009-03-04 10:02:37 [3044] [6] DEBUG: SMPP PDU 0xa5a03ad8 dump: 2009-03-04 10:02:37 [3044] [6] DEBUG: type_name: submit_sm_resp 2009-03-04 10:02:37 [3044] [6] DEBUG: command_id: 2147483652 = 0x8004 2009-03-04 10:02:37 [3044] [6] DEBUG: command_status: 0 = 0x 2009-03-04 10:02:37 [3044] [6] DEBUG: sequence_number: 2199 = 0x0897 2009-03-04 10:02:37 [3044] [6] DEBUG: message_id: 49AEA608 2009-03-04 10:02:37 [3044] [6] DEBUG: SMPP PDU dump ends. 2009-03-04 10:02:37 [3044] [6] DEBUG: DLR[mysql]: Adding DLR smsc=telcel_sc3783, ts=1236182536, src=MiSender, dst=+525513206766, mask=31, boxc= 2009-03-04 10:02:37 [3044] [6] DEBUG: sql: INSERT INTO tblkannel_dlr (smsc, ts, source, destination, service, url, mask, boxc, status) VALUES ('telcel_sc3783', '1236182536', 'MiSender', '+525513206766', 'playsms', 'http://127.0.0.1/sms/plugin/gateway/kannel/dlr.php?type=%dslid=2860670uid=10smsc=%isender_id=MiSender', '31', '', '0'); 2009-03-04 10:02:37 [3044] [6] DEBUG: SMSC[telcel_sc3783]: creating DLR message 2009-03-04 10:02:37 [3044] [6] DEBUG: SMSC[telcel_sc3783]: DLR = http://127.0.0.1/sms/plugin/gateway/kannel/dlr.php?type=%dslid=2860670uid=10smsc=%isender_id=MiSender 2009-03-04 10:02:39 [3044] [6] DEBUG: SMPP[telcel_sc3783]: Got PDU: 2009-03-04 10:02:39 [3044] [6] DEBUG: SMPP PDU 0xa5a03ad8 dump: 2009-03-04 10:02:39 [3044] [6] DEBUG: type_name: deliver_sm 2009-03-04 10:02:39 [3044] [6] DEBUG: command_id: 5 = 0x0005 2009-03-04 10:02:39 [3044] [6] DEBUG: command_status: 0 = 0x 2009-03-04 10:02:39 [3044] [6] DEBUG: sequence_number: 1 = 0x0001 2009-03-04 10:02:39 [3044] [6] DEBUG: service_type: NULL 2009-03-04 10:02:39 [3044] [6] DEBUG: source_addr_ton: 5 = 0x0005 2009-03-04 10:02:39 [3044] [6] DEBUG: source_addr_npi: 0 = 0x 2009-03-04 10:02:39 [3044] [6] DEBUG: source_addr: MiSender 2009-03-04 10:02:39 [3044] [6] DEBUG:
Dlr warning: Couldnot parse DLR string sscanf way,fallback to old way. Please report!
Hi I'm receiving the following error in my SMPP log: 2009-03-03 14:52:20 [6373] [6] DEBUG: SMPP[telcel_sc3783] handle_pdu, got DLR 2009-03-03 14:52:20 [6373] [6] DEBUG: SMPP[telcel_sc3783]: Couldnot parse DLR string sscanf way,fallback to old way. Please report! 2009-03-03 14:52:20 [6373] [6] DEBUG: DLR[mysql]: Looking for DLR smsc=telcel_sc3783, ts=1236113516, dst=MiSender, type=1 2009-03-03 14:52:20 [6373] [6] DEBUG: sql: SELECT mask, service, url, source, destination, boxc FROM tblkannel_dlr WHERE smsc='telcel_sc3783' AND ts='1236113516'; 2009-03-03 14:52:20 [6373] [6] DEBUG: Found entry, row[0]=31, row[1]=playsms, row[2]=http://127.0.0.1/sms/plugin/gateway/kannel/dlr.php?type=%dslid=2854200uid=10smsc=%isender_id=MiSender, row[3]=0, row[4]=525527298936 row[5]= 2009-03-03 14:52:20 [6373] [6] DEBUG: DLR[mysql]: created DLR message for URL http://127.0.0.1/sms/plugin/gateway/kannel/dlr.php?type=%dslid=2854200uid=10smsc=%isender_id=MiSender 2009-03-03 14:52:20 [6373] [6] DEBUG: removing DLR from database 2009-03-03 14:52:20 [6373] [6] DEBUG: sql: DELETE FROM tblkannel_dlr WHERE smsc='telcel_sc3783' AND ts='1236113516' LIMIT 1; 2009-03-03 14:52:20 [6373] [6] DEBUG: SMPP[telcel_sc3783]: Sending PDU: 2009-03-03 14:52:20 [6373] [6] DEBUG: SMPP PDU 0x9c54f10 dump: What is this? Regards Alvaro
Re: Dlr warning: Couldnot parse DLR string sscanf way,fallback to old way. Please report!
Hi, Its NOT a critical issue, i believe its something related to a particular smsc settings in case you have time and no critical DLR involved services, you may try to change msg-id-type value of this smsc account cheers Alvaro Cornejo wrote: Hi I'm receiving the following error in my SMPP log: 2009-03-03 14:52:20 [6373] [6] DEBUG: SMPP[telcel_sc3783] handle_pdu, got DLR 2009-03-03 14:52:20 [6373] [6] DEBUG: SMPP[telcel_sc3783]: Couldnot parse DLR string sscanf way,fallback to old way. Please report! 2009-03-03 14:52:20 [6373] [6] DEBUG: DLR[mysql]: Looking for DLR smsc=telcel_sc3783, ts=1236113516, dst=MiSender, type=1 2009-03-03 14:52:20 [6373] [6] DEBUG: sql: SELECT mask, service, url, source, destination, boxc FROM tblkannel_dlr WHERE smsc='telcel_sc3783' AND ts='1236113516'; 2009-03-03 14:52:20 [6373] [6] DEBUG: Found entry, row[0]=31, row[1]=playsms, row[2]=http://127.0.0.1/sms/plugin/gateway/kannel/dlr.php?type=%dslid=2854200uid=10smsc=%isender_id=MiSender, row[3]=0, row[4]=525527298936 row[5]= 2009-03-03 14:52:20 [6373] [6] DEBUG: DLR[mysql]: created DLR message for URL http://127.0.0.1/sms/plugin/gateway/kannel/dlr.php?type=%dslid=2854200uid=10smsc=%isender_id=MiSender 2009-03-03 14:52:20 [6373] [6] DEBUG: removing DLR from database 2009-03-03 14:52:20 [6373] [6] DEBUG: sql: DELETE FROM tblkannel_dlr WHERE smsc='telcel_sc3783' AND ts='1236113516' LIMIT 1; 2009-03-03 14:52:20 [6373] [6] DEBUG: SMPP[telcel_sc3783]: Sending PDU: 2009-03-03 14:52:20 [6373] [6] DEBUG: SMPP PDU 0x9c54f10 dump: What is this? Regards Alvaro
Re: Dlr warning: Couldnot parse DLR string sscanf way,fallback to old way. Please report!
Hi This is my smpp setup. msg-type is set to 1 because I get msg id in Hex and I send it in dec. So I think it is the correct value. group = smsc smsc = smpp smsc-id = telcel_sc3783 host = a.b.c.d port = 8808 transceiver-mode= true smsc-username = user smsc-password = pass ##throughput = 10 msg-id-type = 1 system-type = smpp dest-addr-ton = 2 dest-addr-npi = 1 source-addr-ton = 2 source-addr-npi = 1 log-level = 0 log-file= /var/log/kannel/sc3783.log allowed-smsc-id = sc3783 Other ideas?? On Wed, 2009-03-04 at 00:32 +0200, seikath wrote: Hi, Its NOT a critical issue, i believe its something related to a particular smsc settings in case you have time and no critical DLR involved services, you may try to change msg-id-type value of this smsc account cheers Alvaro Cornejo wrote: Hi I'm receiving the following error in my SMPP log: 2009-03-03 14:52:20 [6373] [6] DEBUG: SMPP[telcel_sc3783] handle_pdu, got DLR 2009-03-03 14:52:20 [6373] [6] DEBUG: SMPP[telcel_sc3783]: Couldnot parse DLR string sscanf way,fallback to old way. Please report! 2009-03-03 14:52:20 [6373] [6] DEBUG: DLR[mysql]: Looking for DLR smsc=telcel_sc3783, ts=1236113516, dst=MiSender, type=1 2009-03-03 14:52:20 [6373] [6] DEBUG: sql: SELECT mask, service, url, source, destination, boxc FROM tblkannel_dlr WHERE smsc='telcel_sc3783' AND ts='1236113516'; 2009-03-03 14:52:20 [6373] [6] DEBUG: Found entry, row[0]=31, row[1]=playsms, row[2]=http://127.0.0.1/sms/plugin/gateway/kannel/dlr.php?type=%dslid=2854200uid=10smsc=%isender_id=MiSender, row[3]=0, row[4]=525527298936 row[5]= 2009-03-03 14:52:20 [6373] [6] DEBUG: DLR[mysql]: created DLR message for URL http://127.0.0.1/sms/plugin/gateway/kannel/dlr.php?type=%dslid=2854200uid=10smsc=%isender_id=MiSender 2009-03-03 14:52:20 [6373] [6] DEBUG: removing DLR from database 2009-03-03 14:52:20 [6373] [6] DEBUG: sql: DELETE FROM tblkannel_dlr WHERE smsc='telcel_sc3783' AND ts='1236113516' LIMIT 1; 2009-03-03 14:52:20 [6373] [6] DEBUG: SMPP[telcel_sc3783]: Sending PDU: 2009-03-03 14:52:20 [6373] [6] DEBUG: SMPP PDU 0x9c54f10 dump: What is this? Regards Alvaro
Re: Dlr warning: Couldnot parse DLR string sscanf way,fallback to old way. Please report!
YES, you are right here, its not msg-id-type related, Could you paste the PDU data as well ? anyway, take a look at http://doxygen.kannel.org/de/dfe/smsc__smpp_8c.html line 01193 I assume the DLR string contains additional data, I have experienced similar behavior with the some customized SMSC DLR, may be like Clickatell SMSC usual DLR string looks like: r...@dl360-1.seikath.net:[Wed Mar 04 01:00:23]:[/opt/kannel/logs]$ tail access.log | sed '/Receive DLR/!d' | sed '$,$!d' 2009-03-04 01:00:32 Receive DLR [SMSC:sir] [SVC:SANTA] [ACT:] [BINF:] [from:1916] [to:+359885100407] [flags:-1:-1:-1:-1:1] [msg:122:id:0062034476 sub:001 dlvrd:001 submit date:0903040100 done date:0903040100 stat:DELIVRD err:000 text: ., 1 SMS ] [udh:0:] So, check the dlr string for additional data etc. but again, its not critical as yours DLR are being processed. Alvaro Cornejo wrote: Hi This is my smpp setup. msg-type is set to 1 because I get msg id in Hex and I send it in dec. So I think it is the correct value. group = smsc smsc = smpp smsc-id = telcel_sc3783 host = a.b.c.d port = 8808 transceiver-mode= true smsc-username = user smsc-password = pass ##throughput = 10 msg-id-type = 1 system-type = smpp dest-addr-ton = 2 dest-addr-npi = 1 source-addr-ton = 2 source-addr-npi = 1 log-level = 0 log-file= /var/log/kannel/sc3783.log allowed-smsc-id = sc3783 Other ideas?? On Wed, 2009-03-04 at 00:32 +0200, seikath wrote: Hi, Its NOT a critical issue, i believe its something related to a particular smsc settings in case you have time and no critical DLR involved services, you may try to change msg-id-type value of this smsc account cheers Alvaro Cornejo wrote: Hi I'm receiving the following error in my SMPP log: 2009-03-03 14:52:20 [6373] [6] DEBUG: SMPP[telcel_sc3783] handle_pdu, got DLR 2009-03-03 14:52:20 [6373] [6] DEBUG: SMPP[telcel_sc3783]: Couldnot parse DLR string sscanf way,fallback to old way. Please report! 2009-03-03 14:52:20 [6373] [6] DEBUG: DLR[mysql]: Looking for DLR smsc=telcel_sc3783, ts=1236113516, dst=MiSender, type=1 2009-03-03 14:52:20 [6373] [6] DEBUG: sql: SELECT mask, service, url, source, destination, boxc FROM tblkannel_dlr WHERE smsc='telcel_sc3783' AND ts='1236113516'; 2009-03-03 14:52:20 [6373] [6] DEBUG: Found entry, row[0]=31, row[1]=playsms, row[2]=http://127.0.0.1/sms/plugin/gateway/kannel/dlr.php?type=%dslid=2854200uid=10smsc=%isender_id=MiSender, row[3]=0, row[4]=525527298936 row[5]= 2009-03-03 14:52:20 [6373] [6] DEBUG: DLR[mysql]: created DLR message for URL http://127.0.0.1/sms/plugin/gateway/kannel/dlr.php?type=%dslid=2854200uid=10smsc=%isender_id=MiSender 2009-03-03 14:52:20 [6373] [6] DEBUG: removing DLR from database 2009-03-03 14:52:20 [6373] [6] DEBUG: sql: DELETE FROM tblkannel_dlr WHERE smsc='telcel_sc3783' AND ts='1236113516' LIMIT 1; 2009-03-03 14:52:20 [6373] [6] DEBUG: SMPP[telcel_sc3783]: Sending PDU: 2009-03-03 14:52:20 [6373] [6] DEBUG: SMPP PDU 0x9c54f10 dump: What is this? Regards Alvaro