Callback question | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through December 14, 2010 ⬆ |
◄ ► |
Author | Message | |||
Alexandre Frequent Contributor Username: Alexd Post Number: 100 Registered: 01-2008 |
We have included record of all callback ` s in NowSMS and have seen, what is absent PreAuth callback and as the report on delivery is duplicated in SMSOut callback with what it is connected? An example below: 2010-08-06 09:17:34 Type=SMSSend&From=login&To=%2Bmobile&MessageID=GW0152A2D275.req&SubmitIP=192.168 .3.10&Sender=Hello&DCS=8&Text=test&ReceiptRequested=Yes&SMSCRoute=SMSC1&AcctInfo =[Price%2C1.000][RouteName%2CSMSC1]&RouteCharge=1.000 2010-08-06 09:17:35 Type=SMSOut&From=login&To=%2Bmobile&MessageID=GW0152A2D275.req&SubmitIP=192.168. 3.10&Sender=Hello&DCS=8&Text=test&ReceiptRequested=Yes&SMSCMsgId=896298150&SMSCN ame=SMPP%20-%20SMSC1:2775&Status=OK&AcctInfo=[Price%2C1.000][RouteName%2CSMSC1] 203 2010-08-06 09:17:45 Type=SMSIN&To=Hello&Sender=%2Bmobile&Text=id:GW0152A2D275%20sub:0%20dlvrd:0%20su bmit%20date:1008061311%20done%20date:1008061311%20stat:DELIVRD%20err:0%20Text:%2 0&SMSCReceiptMsgId=GW0152A2D275&SMSCReceiptMsgIdOrig=896298150&SMSCName=SMPP%20- %20SMSC1:2775 140 2010-08-06 09:17:45 Type=SMSOut&From=SMPP%20-%20SMSC1:2775&To=Hello&MessageID=GW0152A2D318.req&Sende r=%2Bmobile&Text=id:GW0152A2D275%20sub:0%20dlvrd:0%20submit%20date:1008061311%20 done%20date:1008061311%20stat:DELIVRD%20err:0%20Text:%20&SMSCName=LocalUser:logi n&Status=OK 140 2010-08-06 09:17:19 Type=SMSSend&From=login&To=%2Bmobile&MessageID=GW0152A2D100.req&SubmitIP=192.168 .3.10&Sender=Hello2&DCS=8&Text=test&ReceiptRequested=Yes&SMSCRoute=SMSC1&RouteCh arge=1.000 140 2010-08-06 09:17:19 Type=SMSOut&From=login&To=%2Bmobile&MessageID=GW0152A2D100.req&SubmitIP=192.168. 3.106&Sender=Hello2&DCS=8&Text=test&ReceiptRequested=Yes&SMSCMsgId=891836481&SMS CName=SMPP%20-%20SMSC1:2775&Status=OK 156 2010-08-06 09:17:31 Type=SMSIN&To=Hello2&Sender=%2Bmobile&Text=id:GW0152A2D100%20sub:0%20dlvrd:0%20s ubmit%20date:1008061314%20done%20date:1008061315%20stat:DELIVRD%20err:0%20Text:% 20&SMSCReceiptMsgId=GW0152A2D100&SMSCReceiptMsgIdOrig=891836481&SMSCName=SMPP%20 -%20SMSC1:2775 125 2010-08-06 09:17:31 Type=SMSOut&From=SMPP%20-%20SMSC1:2775&To=Hello2&MessageID=GW0152A2D22F.req&Send er=%2Bmobile&Text=id:GW0152A2D100%20sub:0%20dlvrd:0%20submit%20date:1008061314%2 0done%20date:1008061315%20stat:DELIVRD%20err:0%20Text:%20&SMSCName=LocalUser:log in&Status=OK 140 | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 2397 Registered: 08-2008 |
Hi Alexandre, The delivery report is not duplicated, there is just a record of the delivery report coming in, and then being routed to a local user account (SMSCName=localuser:login). The missing pre-auth is puzzling ... however, I notice something that tells me that the pre-auth cannot be missing. The only way that "AcctInfo=" and "RouteCharge=" parameters could be passed to an SMSSend callback is if they were first returned by a PreAuth callback. So, a PreAuth callback has to be occurring for these parameters to be set, otherwise they would not be present in the SMSSend callback. -- Des NowSMS Support |