Delivery report <resultstring>

Delivery report <resultstring> SearchSearch
Author Message
Pavel Chelisant
New member
Username: Pchelisant

Post Number: 4
Registered: 01-2015
Posted on Thursday, July 02, 2020 - 12:51 pm:   

https://support.nowsms.com/discus/messages/1/25160.html

Gents found this old thread where nowsms is capable to interpret <resultstring> from upstream httpsmsc connection

Can you confirm that is working in fresh versions i.e v2020.01.15
Meanwhile i tried to test, but nothing.

Thanks!
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 6160
Registered: 08-2008
Posted on Thursday, July 02, 2020 - 03:32 pm:   

Hi,

It is implemented, but different from that description.

It should be:

[HTTP - server:port]
ParseSuccess1=<resultstring>success</resultstring>
ParseSuccess2=some other string


ParseFailure## can also be used to look for text that indicates failure.

--
Des
NowSMS Support
Pavel Chelisant
New member
Username: Pchelisant

Post Number: 5
Registered: 01-2015
Posted on Thursday, July 02, 2020 - 03:55 pm:   

Great, let me check that on my lab.
I assume that if failure accurs on the upstream to the client also and error should be returned?
What is the logic?
I assume that :
1) SMPP client submits an sms
2) Gw accepts and forwards to the HTTP SMSC upstream
3) Upstream in the HTTP response gives an error
4) Nowsms understands that
5) Sends back an error that the message is not accepted to the SMPP client.
Im i right?

Thank you
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 6161
Registered: 08-2008
Posted on Friday, July 03, 2020 - 08:13 pm:   

Whether or not an error (non-delivery report) is sent back to the SMPP client depends on the value of the registered_delivery parameter in the SMPP message.

The lower 2 bits of this parameter are for requesting delivery reports. When Bit 0 is set, this indicates that the client wants to receive delivery reports when message delivery is successful. When Bit 1 is set, this indicates that the client wants to receive delivery reports when message delivery fails.

NowSMS will return a non-delivery report in this instance if either (or both) of these bits is set.

--
Des
NowSMS Support

Add Your Message Here, or click here to start a new topic.
Post:
Bold text Italics Underline Create a hyperlink Insert a clipart image
Options: Automatically activate URLs in message
Action: