Delivery Report Problem | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through April 12, 2010 ⬆ |
◄ ► |
Author | Message | |||||
Muhammad Rehman New member Username: Laeeq99 Post Number: 1 Registered: 02-2010 |
Dear Customer Support, We are having issue in receiving delivery report. Sometimes it is returning us the values expected and sometimes its not. Can you please advise on this. We are using SMPP over tcp/ip to send out the sms. I am using this to revceive the sms on 2way tab: Sms command prefix: id:* Receive Phone Number: Command to execute: http://myserver/mypage.php Here are the sample log: 1. sender=00447894659204&sms=sub:000 dlvrd:001 submit date:1002221142 done date:1002221142 stat:DELIVRD err:000 text:GW280 MCC=234 MNC=15 BillingMNC=15&smsprefix=id:4B7C0B25&recip=MyTelcoBiz 2. sender=00447894659204&sms=sub:000 dlvrd:001 submit date:1002221143 done date:1002221143 stat:DELIVRD err:000 text:GW280 MCC=234 MNC=15 BillingMNC=15&smsprefix=id:4B7C0B28&recip=MyTelcoBiz 3. sender=0&sms=sub:000 dlvrd:001 submit date:1002221212 done date:1002221212 stat:DELIVRD err:000 text:GW280 MCC=234 MNC=15 BillingMNC=15&smsprefix=id:428796254&recip=447894659204 4. sender=0&sms=sub:000 dlvrd:001 submit date:1002221212 done date:1002221212 stat:DELIVRD err:000 text:GW280 MCC=234 MNC=15 BillingMNC=15&smsprefix=id:428796353&recip=447894659204 Log 1 & 2 are fine whereas 3 & 4 are not. Also attaching SMPPDEBUG.LOG so that might help. Thank you.
| |||||
Muhammad Rehman New member Username: Laeeq99 Post Number: 2 Registered: 02-2010 |
Further to my last msg here is the command I am executing: http://10.40.62.32/Muhammad/test.php?sender=@@SENDER@@&sms=@@SMS@@&smsprefix=@@SMSPREFIX@@&recip=@@RECIP@@ | |||||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 1836 Registered: 08-2008 |
Hi, I'm sorry, but I don't have enough information to answer your question. To clarify, can you explain what the problem is? In other words, specifically what is wrong with lines 3 and 4? Also, you may want to enable the SMSDEBUG.LOG (which enables the SMPPDEBUG.LOG). The SMPPDEBUG.LOG just shows some details of connection attempts, which get logged when an SMPP connection is defined in NowSMS. No actual details of message sending or receiving appear in that log. -- Des NowSMS Support | |||||
Muhammad Rehman New member Username: Laeeq99 Post Number: 3 Registered: 02-2010 |
Hi Des, I am expecting a delivery report for a message sent with ReceiptRequested=YES. If I am not wrong then the delivery report comes as an incoming message. To process the incoming message I have initialised a command to execute under 2way messaging. The command is: Sms command prefix: id:* Receive Phone Number: Command to execute: http://10.40.62.32/Muhammad/test.php?sender=@@SENDER@@&sms=@@SMS@@&smsprefix=@@SMSPREFIX@@&recip=@@RECIP@@ Now the problem is sometimes, these variable pass me the values which I a mexpecting (Please see log 1 & 2). But sometimes it does not return me the values like @@SENDER@@ returns 0 and @@RECIP@@ returns me the number where I originally sent the message. Did you get me know? And how can I enable smsdebug.log? If you are still unclear please let me know. Thanks. | |||||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 1843 Registered: 08-2008 |
Hi Muhammad, That is very strange for the sender and recipient to be wrong. The SMSDEBUG.LOG can be enabled using a checkbox on the "Serial #" page. Go ahead and enable that, then send several messages with a receipt requested, and I'd like to look at the resulting SMPPDEBUG.LOG to understand what is happening. -- Des NowSMS Support | |||||
Muhammad Rehman New member Username: Laeeq99 Post Number: 4 Registered: 02-2010 |
Hi Des, Please find the attached both logs. Just to let you know after enabling the smsdebug and smppdebug logs, it has stoped returning me the messages. I ahavent received any message for the messages I just sent with ReceiptRequested=Yes.
Thanks. | |||||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 1844 Registered: 08-2008 |
Hi Muhammad, You might have to wait a little longer to see if your service provider "wakes up" and starts routing the delivery reports again. Unfortunately, NowSMS can only request them. We're at the mercy of the provider as to whether or not they are returned. In that log, there's no evidence of the provider delivering any reports. Delivery reports are often treated as extremely low priority, so there may just be a temporary delay. -- Des NowSMS Support | |||||
Muhammad Rehman New member Username: Laeeq99 Post Number: 5 Registered: 02-2010 |
Hi Des, I received the delivery reports but again these showing wrong information. 1. sender=0&sms=sub:000 dlvrd:001 submit date:1002241706 done date:1002241706 stat:DELIVRD err:000 text:GW280 MCC=234 MNC=15 BillingMNC=15&smsprefix=id:429474571&recip=447894659204 2. sender=0&sms=sub:000 dlvrd:001 submit date:1002241706 done date:1002241706 stat:DELIVRD err:000 text:GW280 MCC=234 MNC=15 BillingMNC=15&smsprefix=id:429474587&recip=447894659204 3. sender=0&sms=sub:000 dlvrd:001 submit date:1002241709 done date:1002241709 stat:DELIVRD err:000 text:GW280 MCC=234 MNC=15 BillingMNC=15&smsprefix=id:429474955&recip=447894659204 4. sender=0&sms=sub:000 dlvrd:001 submit date:1002241706 done date:1002241706 stat:DELIVRD err:000 text:GW280 MCC=234 MNC=15 BillingMNC=15&smsprefix=id:429474633&recip=447894659204
| |||||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 1859 Registered: 08-2008 |
Hi Muhammad, Sorry I did not reply to this earlier. It's the SMPPDEBUG.LOG that I need to see to diagnose the problem. I need to see the time period during which the messages were sent and during which the receipts were received. What I can determine from your URL examples above is that NowSMS is not able to resolve the delivery receipt message ID. If NowSMS was able to resolve it, it would fix the invalid sender/recipient information. What you are seeing is the raw delivery report coming back from your provider, with the wrong information. It is probable that your provider may have some inconsistencies in their delivery reports. But I'll understand it all better after looking at an SMPPDEBUG.LOG that shows your messages being submitted and the delivery reports being received back. -- Des NowSMS Support | |||||
Muhammad Rehman New member Username: Laeeq99 Post Number: 6 Registered: 02-2010 |
Hi Des, Please find the SMPPDEBUG.LOG attached. Thanks.
| |||||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 1877 Registered: 08-2008 |
Hi Muhammad, I'm sorry we're not having much luck diagnosing things here. Unfortunately the debug log rolls over to a new file at midnight, and there are no messages sent or received during the time period covered by that SMPPDEBUG.LOG. The previous day's log should still be available as SMPPDEBUG.BAK. Or if you could send a fresh batch of test messages and wait for the delivery receipts, that would help. -- Des NowSMS Support | |||||
Muhammad Rehman New member Username: Laeeq99 Post Number: 7 Registered: 02-2010 |
Hi Des, Please find the both SMSDEBUG.LOG and SMPPDEBUG.LOG. I sent few messages today and one of them didnt return me the values I expected. Expected result: sender=0&sms=sub:000 dlvrd:001 submit date:1003011016 done date:1003011016 stat:DELIVRD err:000 text:GW280 MCC=234 MNC=15 BillingMNC=15&smsprefix=id:430432612&recip=447894659204 Please let me know if you need anything else from me. Thanks.
| |||||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 1881 Registered: 08-2008 |
Hmm... What type did you receive this result? sender=0&sms=sub:000 dlvrd:001 submit date:1003011016 done date:1003011016 stat:DELIVRD err:000 text:GW280 MCC=234 MNC=15 BillingMNC=15&smsprefix=id:430432612&recip=447894659204 The reason I ask is because what I find unusual about this particular delivery receipt is that there is no record of receiving it in the SMPPDEBUG.LOG. Is it possible that you have more than one NowSMS server setup and using the same SMPP account with your provider? When NowSMS submits a message to an SMPP server, it tracks the message information so that it can fix delivery receipts. I'm guessing that these delivery receipts are coming back via a different NowSMS server which has no record of submitting the messages, so it can't correlate the receipt message id or fix the sender/recipient. -- Des NowSMS Support | |||||
Muhammad Rehman New member Username: Laeeq99 Post Number: 8 Registered: 02-2010 |
Hi Des, Thanks for your quick response. We actually moved to new server and started facing this problem. The old server was still running the service. I have stopped the service on the old server. I believe if you are right then this should resolve the problem. I have tested it now after stopping the service on old server and it seems to be fine. I will test it few more time to see if its ok and will also confirm you. Thanks. Kind Regards, | |||||
Muhammad Rehman New member Username: Laeeq99 Post Number: 9 Registered: 02-2010 |
Hi Des, Many thanks for your help and support. I have tested few times and its working fine now after shutting down the old server. Thanks once again. Kind Regards, Muhammad Rehman |