Delivery Report Status | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through April 13, 2018 ⬆ |
◄ ► |
Author | Message | |||
MohamedAly New member Username: Mohamedaly Post Number: 1 Registered: 07-2016 |
Hi, Would you please support me in how to get full status of DLR as i received "DELIVERED" status only. I sent HTTP from NowSMS and i already put the below configuration in URL: 1- MessageID=@@MessageID@@&ReceiptRequested=Yes in URL 2- Put TrackHTTPReceipts=yes under [HTTP - 192.168.x.x#x:x] Thanks for your time. | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 5696 Registered: 08-2008 |
Hi, What do you mean by full status? Delivered is a good final status. -- Des NowSMS Support | |||
MohamedAly New member Username: Mohamedaly Post Number: 2 Registered: 07-2016 |
Hi, I asked about another status like (failed, sent without receiving DLR, unrelieved) Thanks in advance for your support. | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 5700 Registered: 08-2008 |
Hi, It depends on what your provider supports. NowSMS only can ask for reports. Or are you creating an HTTP SMSC connection where you need to post these status reports back? -- Des NowSMS Support | |||
MohamedAly New member Username: Mohamedaly Post Number: 3 Registered: 07-2016 |
Hi, I already created HTTP SMSC connection which received status, and our provider already support below status: Delivered Failed SentwithoutreceivingDLR Unrelieved But i get "Delivered" status only even the SMS failed. Please advice what can i do to receive other status. | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 5701 Registered: 08-2008 |
OK, I think I understand what you are asking. Now when your provider reports Delivered, they are sending &ReceiptMessageID=xxxxxx&ReceiptDelivered=Yes to NowSMS. To report failure, they would use &ReceiptMessageID=xxxxxx&ReceiptFailed=Yes to NowSMS. By default, NowSMS will apply a status of REJECTD. To report failure with a different status, append &ReceiptFailedStatus=XXXXXX (e.g. &ReceiptMessageID=xxxxxx&ReceiptFailed=Yes&ReceiptFailedStatus=EXPIRED) -- Des NowSMS Support | |||
MohamedAly New member Username: Mohamedaly Post Number: 4 Registered: 07-2016 |
Hi, Please find the below solution which we used: We put NowSMS URL as below: http://x.x.x.x/InsertNowSMSLogsTest/InsertNowSMSLogs.asmx/InsertLogWithDLR?UserN ame=xxxxx&Password=xxxxx&SMSReceiver=@@PhoneNumber@@&SMSText=@@Data@@&SMSSender=@@Sender@@&SMSLang=e&MessageID=@@Mess ageID@@&ReceiptDelivered=yes&ReceiptDeliveredStatus=SentWithoutReceivingDLR&Rece iptFailed=yes&ReceiptFailedStatus=NonDeliveredToPhone And URL which received from our application to NowSMS to get the devilry report as below: http://x.x.x.x:x/?User=xxxxx&Password=xxxxx&ReceiptMessageID=xxxxx&ReceiptFailed Status=NonDeliveredToPhone But we still receiving the "DELIVRD" status only as below: 2016-07-27 13:00:20,DLR,SMSSubmit,Test,x.x.x.x,xxxxx.req,Text,Sender=010xxxxxxxx;Text=id:xx xxx sub:001 dlvrd:001 submit date:0000000000 done date:1607271300 stat:DELIVRD err:000 Thanks in advance for your support... | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 5703 Registered: 08-2008 |
Hi, I think you are close. Add &ReceiptFailed=Yes to the second URL. -- Des NowSMS Support | |||
MohamedAly New member Username: Mohamedaly Post Number: 5 Registered: 07-2016 |
Hi, When i add &ReceiptFailed=Yes in the second URL i get DLR status "Rejected", but i need to get it as same as i put in URL like "NonDeliveredToPhone". What can i do to receive any other status as i configured ? Thanks and waiting your usual support... | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 5704 Registered: 08-2008 |
Sorry that I missed this follow-up question. Are you possibly running an older version? ReceiptFailedStatus support was added starting with version 2013-07-02. -- Des NowSMS Support | |||
MohamedAly New member Username: Mohamedaly Post Number: 6 Registered: 07-2016 |
Hi Des, I tried to install new version and i installed version 2016.03.28 but i cannot to access the web interface and this issue affect to return the devilry report from another application as i use the same port 8800. Thanks for your time and your usual support... | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 5707 Registered: 08-2008 |
Hi, The port number 8800 can be changed: http://www.nowsms.com/doc/system-settings/configuring-the-web-interface-and-smpp -server | |||
MohamedAly New member Username: Mohamedaly Post Number: 7 Registered: 07-2016 |
Hi Des, I already tried to change the port but the same issue still exist, and i installed another version 2015.06.24 but we faced issue in web interface too as per the below: | |||
MohamedAly New member Username: Mohamedaly Post Number: 8 Registered: 07-2016 |
Hi Des, Would you please feed me back about the above issue. Thanks for your time and your usual support... | |||
MohamedAly New member Username: Mohamedaly Post Number: 9 Registered: 07-2016 |
Hi Des, Do you have any update for this issue. Thanks for your time and for your usual support... | |||
MohamedAly New member Username: Mohamedaly Post Number: 10 Registered: 07-2016 |
Dear Des, I installed version 2015.12.12 and the web interface menu working normally, and we already submitting the below URL: http://x.x.x.x:x/?User=xxx&Password=xxx&ReceiptMessageID=XXX&ReceiptFailedStatus =UNDELIV But we received an error to add phone number so we adjust the URL to be as below one: http://x.x.x.x:x/?User=xxx&Password=xxx&ReceiptMessageID=XXX&ReceiptFailedStatus =UNDELIV&phonenumber=2010xxxxxxx Unfortunately, we still received response "Delivered" only. Please advise. | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 8150 Registered: 10-2002 |
Hi, Sorry for the delay in response. Des is on holiday this week. First let me address the problem with the web interface not working, where it displays a response that starts with @@INCLUDE@@ Normally, it is ok to install a newer version, then revert to an older version. Late 2015 versions made significant updates to the web interface. To downgrade to an older version, delete the NowSMS/HTML folder, then run the install for the old version to restore the older web interface templates. Regarding the status text, I believe Des was correct in his July 29 response when he said: Add &ReceiptFailed=Yes to the second URL. To provide more clarity, you include &ReceiptFailed=Yes&ReceiptFailedStatus=SomeText ... both parameters must be present. The PhoneNumber= parameter is required only if TrackHTTPReceipts=Yes is not set. (Or MessageIDResponsePrefix or MessageIDResponseXML can be used instead of TrackHTTPReceipts) -bn Bryce Norwood Now SMS/MMS Support | |||
MohamedAly New member Username: Mohamedaly Post Number: 11 Registered: 07-2016 |
Hi Bryce, Current status is that we have "TrackHTTPReceipts=Yes" set in the INI file yet we received an error that we must include phone number so we added the parameter "&phonenumber=2010xxxxxxx " to the URL. we still received all responses as "Delivered" only even if message failed or phone was switched off and I know that the application sent a failed status to NowSMS, the stored statuses for the user I use to receive DLR responses is always "Delivered". I need to receive the DLR statuses for messages normally as submitted to NowSMS and need your help to explain what is done wrong or provide full details about how to set it us, maybe there is something wrong in setup that needs adjustment. Will be waiting for your reply the soonest please... | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 8151 Registered: 10-2002 |
Hi MohamedAly, Please look closely at the URL example you have provided: http://x.x.x.x:x/?User=xxx&Password=xxx&ReceiptMessageID=XXX&ReceiptFailedStatus =UNDELIV&phonenumber=2010xxxxxxx What we are saying is that &ReceiptFailed=Yes must also be in this URL. For example: http://x.x.x.x:x/?User=xxx&Password=xxx&ReceiptMessageID=XXX& &ReceiptFailed=Yes&ReceiptFailedStatus=UNDELIV&phonenumber=2010xxxxxxx The error that the phone number is required means NowSMS has no tracking record for this message ID. This means one of the following: a) The ReceiptMessageID value is wrong b) TrackHTTPReceipts=Yes is not set under the SMSC entry, e.g., [HTTP - 192.168.x.x#x:x] c) @@MessageID@@ is not in the URL template Please check again and look for typo/misspellings. If you still cannot determine why the phone number is required, enable the SMSDEBUG.LOG. Attempt a message submission with delivery report. Email the SMSDEBUG.LOG and SMSGW.INI to nowsms@nowsms.com with Attention: Bryce in the subject line. Please also post a quick reply here to tell me you have set the info. -bn Bryce Norwood Now SMS/MMS Support | |||
MohamedAly New member Username: Mohamedaly Post Number: 12 Registered: 07-2016 |
Hi, We are sorry for the late reply, we already configured the configuration and everything working fine, thank you so much for your support. We have another question as we when send the HTTP URL to NowSMS returned error like "Invalid Parameter", so we need to know all errors may be returned from NowSMS like if we send HTTP URL with wrong username, password, etc. Thanks in advance for your support, waiting for your reply... | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 5759 Registered: 08-2008 |
Hi, Generally speaking, an HTTP status code other than 200 (OK) is considered an error. Just make sure your HTTP User-Agent string does not include "Mozilla". If the User-Agent string include "Mozilla", 200 is always returned as the status code, assuming that a web browser is making the request and a human readable error is displayed. -- Des NowSMS Support | |||
MohamedAly New member Username: Mohamedaly Post Number: 13 Registered: 07-2016 |
Hi, Kindly note i sent the below URL to NowSMS before and the status returned is "Failed": http://localhost:8800/?User=xxxx&Password=xxxx&ReceiptMessageID=xxxxxxxx&Receipt Failed=yes&ReceiptFailedStatus=Failed&PhoneNumber=2010xxxxxxx But, now i received status "Rejected" when submit the same URL and i already working on version 2012.06.28 Thanks in advance for your support, waiting for your reply... | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 5763 Registered: 08-2008 |
Hi, Are you running version 2012.06.28? That version does not support the ReceiptFailedStatus parameter. -- Des NowSMS Support | |||
MohamedAly New member Username: Mohamedaly Post Number: 14 Registered: 07-2016 |
Hi, Would you please let us know from which version enable this feature. Thanks. | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 5764 Registered: 08-2008 |
See the 10th post in this discussion thread. | |||
MohamedAly New member Username: Mohamedaly Post Number: 15 Registered: 07-2016 |
Hi Des, thanks for your usual support, we have another question, we worked now on version 2015.12.12 but we received the DLR with date as below: date:0000000000 so i added parameter date in the below URL: http://x.x.x.x:8800/?User=xxx&Password=xxx&ReceiptMessageID=xxx&ReceiptFailed=ye s&ReceiptFailedStatus=Failed&PhoneNumber=xxx&date= please note, i leave it blank and when submit the URL return with date and time automatically, that is right or we must put the date and time when submitting the URL. Thanks and waiting for your reply. | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 5766 Registered: 08-2008 |
Is that the submit date or the done date? If it is the submit date, it means the message id is not tracked. Is the ReceiptMessageID the original NowSMS assigned id or are you using the MessageIDResponsePrefix setting for NowSMS to parse the ID you assigned? | |||
MohamedAly New member Username: Mohamedaly Post Number: 16 Registered: 07-2016 |
Hi Des, I asked for DLR response date and time. | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 5767 Registered: 08-2008 |
The receipt contains 2 dates, a "submit date" and a "done date"... I was asking which was 00000000 But I see from earlier posts, it is "submit date"...see my earlier response "Posted on Wednesday, August 17, 2016 - 11:48 am:" for an explanation. | |||
MohamedAly New member Username: Mohamedaly Post Number: 17 Registered: 07-2016 |
I asked for done date if it is refer to the date and time for delivered SMS to handset. | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 5768 Registered: 08-2008 |
Done date can refer to the time of delivery, or in the case of non-delivery, it can mean the time at which the error condition occurred or was detected. There is support for a &ReceiptDoneDate= parameter. Whatever you specify for this parameter will be used as the "done date:" in the delivery report. | |||
MohamedAly New member Username: Mohamedaly Post Number: 18 Registered: 07-2016 |
This parameter have a specific format or not. | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 5769 Registered: 08-2008 |
NowSMS uses the suggested SMPP delivery receipt format from Appendix B of the SMPP v3.4 Specification. It defines the "done date" format as:
However, you are free to use any format you like. | |||
MohamedAly New member Username: Mohamedaly Post Number: 19 Registered: 07-2016 |
Thank you Des very much for your usual support. |