Send delivery receipt back to smpp user from http smsc | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through May 20, 2013 ⬆ |
◄ ► |
Author | Message | |||
peter chanq New member Username: Qqblog Post Number: 11 Registered: 10-2012 |
my config smpp user (sendsms) -> nowsms -> smsc (http) how could i send back the DR from http to smpp user? | |||
peter chanq New member Username: Qqblog Post Number: 12 Registered: 10-2012 |
this is ok. but i have another question. when user sends sms via smpp interface. the returned messageid is decimal but the messageid in our log is hex. could we change the msgid to hex when returning to smpp user? | |||
peter chanq New member Username: Qqblog Post Number: 13 Registered: 10-2012 |
first, i made a mistake. the returned msgid to smppuser is hex. could we change the msgid to decimal when returning DLR by http to smppuser? | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 8044 Registered: 10-2002 |
Hi Peter, The short answer is no. When NowSMS is an SMPP server, it will use the same format for the message ID in both the submit_sm_resp and the delivery report. You appear to be referring to the issue that there are some SMPP servers which return a message ID as a hex numeric value in the submit response, but then return it as a decimal numeric value in delivery reports. That is a quirk, and most would say well-known bug, in a particular vendor's SMPP implementation. (In fact the message ID itself is not required to be numeric at all. You will find many SMPP providers using alternative message ID formats.) When NowSMS acts as an SMPP client, submitting messages to an upstream SMSC, if it receives a delivery report for a message ID it does not recognise, it understands this issue and tries to convert decimal to hex to re-evaluate the delivery report. However, when NowSMS is an SMPP server, it will use the same format for the message ID in both the submit_sm_resp and the delivery report. There is no option to emulate this well-known bug in that other vendor's implementation. -bn Bryce Norwood NowSMS/MMS Support |