How to confirm the outgoing SMS have perfectly delivered? | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through August 10, 2011 ⬆ |
◄ ► |
Author | Message | ||||
Sivaprakasam New member Username: Sivaprakasam Post Number: 2 Registered: 06-2011 |
Hi, 2 way sms have option to process the received message. This enable us to process the delivery report. My requirement is to check whether each message have perfectly delivered to the mobile recipient / not. So i would like to Store the "message id" in my application database while it sends to the mobile recipient. So that i can compare actual message id with the "@@RECEIPTMESSAGEID@@" when i get the receipt. Please help us how can i achieve this? It would be great if you give me a example of storing the message id before actually sends to an mobile device. and also when we receive the receipt. P.SL :- Now Delivery receipt gives us both "@@MESSAGEID@@" and "@@RECEIPTMESSAGEID@@". Thanks, Sivaprakasam McAfee | ||||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 3283 Registered: 08-2008 |
Hi Sivaprakasam, How do you submit the message to NowSMS? The reason I ask is because I do have a PHP example that parses the HTTP response from NowSMS to extract the message ID when the message is submitted. The example can be found in the following thread: http://support.nowsms.com/discus/messages/1/24868.html Basically, the PHP code just scans the HTTP response looking for the text that NowSMS returns, which will be similar to this: MessageID=499DBC2D.req, Recipient=+65933xxx -- Des NowSMS Support P.S. - Yes, the delivery receipt has both @@MESSAGEID@@ and @@RECEIPTMESSAGEID@@. @@MESSAGEID@@ is a locally assigned message ID that has no relationship to the originally submitted message. It exists for all received messages (delivery receipt or not), with its intent to be to allow the receiving script to recognise if it is receiving duplicate messages. (Under normal conditions, a 2-way script will not receive duplicate messages unless there is a timeout/networking issue, or an error in the script that is causing it to return an invalid response in some cases. You do not need to use the @@MESSAGEID@@ parameter, it just exists because others have asked us for a safeguard to detect such a duplicate message scenario.) -- Des NowSMS Support | ||||
Sivaprakasam New member Username: Sivaprakasam Post Number: 3 Registered: 06-2011 |
Hi Des, Thanks for the reply. I am using this "iTegno GPRS Wireless Modem" to connect my GSM with nowSMS. I am sending sms using this below url, but the problem is i am not receiving the delivery receipt. used url :- http://localhost:8800/?PhoneNumber=xxxxxxxxx&Text=testnowsms&ReceiptRequested=Ye s Please help me to receive the receipt. version i am using : v2010.11.04 It would be great if you send across the correct url. Thanks, Sivprakasam | ||||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 3298 Registered: 08-2008 |
Hi Sivprakasam, Unfortunately, not all modems (and not all mobile operator networks) support delivery receipts. Try setting the "SMS Message Storage" setting under "Properties" of the modem in the "SMSC" list to "Direct to Modem". We have noticed that some modems only return delivery receipts when this setting is in place. Unfortunately, many modems simply do not present any delivery receipts over the modem interface. Change the setting that I mention above, and enable the SMSDEBUG.LOG. Try sending another message with a receipt requested. If it still does not work, reply with the SMSDEBUG.LOG as an attachment. I will study the SMSDEBUG.LOG to see what is happening with the modem interface, and determine if there is any hope of receiving delivery receipts with that modem. -- Des NowSMS Support | ||||
Sivaprakasam New member Username: Sivaprakasam Post Number: 4 Registered: 06-2011 |
Hi Des, I have tried by selecting both "Direct to Modem" & "SIM Card". Seems it is not working. PFA the reported debug logs and please help us to get the receipt perfectly. Please give us a high priority as the deadline is nearest. P.S:- Please get back to me if more info is required. Sivaprakasam.Sivasamy@Gmail.Com Thanks, Sivaprakasam
| ||||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 3303 Registered: 08-2008 |
Hi Sivaprakasam, That log is interesting and unexpected. You are receiving a delivery report, but NowSMS is suppressing it. The delivery report that is being received indicates that a delivery attempt has been made, but the delivery attempt failed, and additional delivery attempts will be made. NowSMS suppresses (ignores) this delivery report, because it does not reflect a final status. Apparently the network never returns a final status delivery report to you? I'm not sure how to proceed or what to suggest. We could modify NowSMS to not suppress this receipt, but convert it to an interim delivery receipt ... that would indicate that the network has accepted the message. But, apparently your network is not going to give you a final delivery report status on actual delivery. If you would like us to deliver the interim delivery receipt, I will consult with engineering on this issue. However, it does appear that your network operator is not willing to give a final delivery report. -- Des NowSMS Support | ||||
Sivaprakasam New member Username: Sivaprakasam Post Number: 5 Registered: 06-2011 |
Thanks Des, we configured UCP connection in production environment. So, we would like to receive the delivery receipt there, but it's not happening now. when we try to check the debug log to find out the cause of the problem, it doesn't give us any info & in SMSIN log also doesn't have record of the delivery receipt. does it means the delivery receipt is not dispatched? / getting lost in the middle? / some other configuration is required. P.S:- All the previous configurations are done development level. so please leave them time being. I want to make this receipt dispatched properly on Telco production with UCP configuration. Please provide us the updates very fast to make it happen lovely. Thanks, Sivaprakasam. Sivaprakasam.Sivasamy@Gmail.Com | ||||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 3310 Registered: 08-2008 |
Hi Sivaprakasam, I would strongly suggest asking your UCP provider if they support delivery notifications (UCP message type 53). UCP is an old protocol and early versions of the protocol did not support delivery notifications. It is very possible that the provider needs to enable something for your account in order to support delivery notifications. It is also very possible that the provider does not support delivery notifications. If you enable the SMSDEBUG.LOG, this will enable an additional protocol specific debug log, UCPDEBUG.LOG. If you post that, we can double check to make sure that a delivery receipt is being asked for, and look to see if there is any sign of a delivery report that might be formatted in an unexpected way. -- Des NowSMS Support | ||||
Sivaprakasam New member Username: Sivaprakasam Post Number: 6 Registered: 06-2011 |
Hi Des, Thanks for this. Here you go with the production UCPDEBUG.LOG in the attachment. Please havse a look at the log & suggest me the best solution to get the delivery report back .
url used [deleted] Thanks, Sivaprakasam | ||||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 7962 Registered: 10-2002 |
Hi Sivaprakasam, I think I see a problem. Stop the NowSMS services and exit the NowSMS configuration program. Replace the SMSUCP.DLL from Program Files\NowSMS with the version in the following ZIP: http://www.nowsms.com/download/smsucp20110628.zip This might make a difference. -bn | ||||
Sivaprakasam New member Username: Sivaprakasam Post Number: 7 Registered: 06-2011 |
Hi Des / Bryce , Thanks. But still the problem is not solved. we are using the NowSMS version v2010.02.09 in our production server. The datapackets of two sms looks exactly similar(one way sms & the sms expects delivery receipt). Our network provider have confirmed that until they differentiate our data packets from NowSMS, delivery report will not delivered to us. Please help us by answering the following qtns, 1)Does it possible to get the delivery receipt with this now SMS version (v2010.02.09)? 2)If yes, then what should we do to sort out this issue? 3) If no, then also suggest the way to sort out the issue. Thanks, Sivaprakasam | ||||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 7980 Registered: 10-2002 |
Hi Sivaprakasam, Double check that the SMSUCP.DLL file was correctly updated (look at the file time stamps). There should be a slight difference in the submit message transaction. I would like to see these details from your UCPDEBUG.LOG like before. -bn | ||||
Sivaprakasam New member Username: Sivaprakasam Post Number: 9 Registered: 06-2011 |
Hi Bryce, PFA the error snapshot when we replace the dll into the NowSMS location.I followed your steps as-is. Seems NowSMS is not accepting the dll you have forwarded. P.S:- if i revert the changes, all the services & connections going back to 'Ok'. Thanks, Sivaprakasam | ||||
Sivaprakasam New member Username: Sivaprakasam Post Number: 10 Registered: 06-2011 |
Hi Bryce, one more thing, can you please install the same version of NowSMS with UCP connection in your system to check this version of NowSMS is supporting delivery receipt & you are able to receive though. Thanks, Sivaprakasam | ||||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 3318 Registered: 08-2008 |
Hi Sivaprakasam, Our apologies. My colleague did not recognise what version of NowSMS you are running. That updated DLL would work with the latest version posted at the updates page: http://www.nowsms.com/category/updates I will be posting a full updated install including that DLL in the next 24 to 48 hours. -- Des NowSMS Support | ||||
Sivaprakasam New member Username: Sivaprakasam Post Number: 11 Registered: 06-2011 |
Hi Des, Thank you & No probs, please take your time. & We have only one server, and that is too production. So we are very afraid of taking that offline & do all the experiment in it frequently. So, we would like to check this functionality first in developer machine with some UCP connection that works over internet. When this is confirmed from our end in dev machine, then only we will be in the position to move into production server. I am asking you, because your nature of business is dedicately into this. So you might have some UCP connection that works over internet for experiment to your clients. Please also help us in this regard if possible. Thanks, Sivaprakasam | ||||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 3325 Registered: 08-2008 |
Follow-up ... a complete build with all the latest DLLs (including that updated SMSUCP.DLL) can be downloaded at http://www.nowsms.com/download/nowsms20110705.zip Unfortunately, as I described in another thread, test options for UCP/EMI are somewhat limited. But if the server support return receipts (unfortunately there is an "if" here because there is no guarantee that a server implementation will support delivery receipts), you should definitely see them with this version. -- Des NowSMS Support | ||||
Sivaprakasam New member Username: Sivaprakasam Post Number: 13 Registered: 06-2011 |
Hi Des, Thanks for the complete build. Will test this and give you the confirmation back? Until that can you please keep this post in the same place. You can set the status as - "awaiting user confirmation". Have a pleasure. Thanks, Sivaprakasam |