Can NowSMS Modem Android App support SMS delivery reports?

Can NowSMS Modem Android App support SMS delivery reports? SearchSearch
Author Message
Philippe
New member
Username: Philippe

Post Number: 1
Registered: 05-2014
Posted on Monday, May 05, 2014 - 02:42 pm:   

Hi,

Can NowSMS Modem Android App support SMS delivery reports?
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 4881
Registered: 08-2008
Posted on Monday, May 05, 2014 - 06:48 pm:   

Hi Philippe,

Yes. SMS delivery reports are supported with the Android modem connection, as long as they are supported by the network.

Reports (we often call them receipts) must be requested when the message is submitted (or there is a config option to request them always).

When you submit a message to NowSMS, it will assign a message ID that is returned in the HTTP response.

Later, delivery reports, will be delivered back to you referencing this message ID. These reports start with the text id: followed by the message ID.

A good resource for more information is here:

http://support.nowsms.com/discus/messages/1/24078.html

--
Des
NowSMS Support
Philippe
New member
Username: Philippe

Post Number: 2
Registered: 05-2014
Posted on Sunday, May 11, 2014 - 08:16 pm:   

Can I submit message with SMPP, NowSMS sends out with Android app, and delivery report gets sent back to SMPP?
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 4894
Registered: 08-2008
Posted on Monday, May 12, 2014 - 02:59 pm:   

Hi Philippe,

Yes.

In your SMPP submit request, you should set the registered_delivery parameter to indicate that a delivery report is being requested. (If for some reason you cannot set this parameter, there is an SMSGW.INI setting that will assume this parameter is set. Search for DeliveryReceiptFlag in http://www.nowsms.com/doc/advanced-configuration-settings/ini-file-settings)

You should also make sure that in the "SMS Users" account definition for that SMPP client that "Accept received messages for this user" is enabled. Otherwise delivery reports will be routed to the 2-way command processor instead of back to the SMPP client.

Similarly the SMPP client must be connected either as a transceiver, or with separate sender and receiver binds. NowSMS will only deliver delivery reports back over a transceiver or receiver bind. If only a sender bind is used, NowSMS will not send any deliver_sm messages over that connection, this includes delivery reports.

Finally, the mobile operator network must support delivery reports. For example, in the US, Verizon does not appear to support delivery reports. Check the SMSIN-yyyymmdd.LOG to see if delivery reports are being received. They will start with the text id:, as is the normal SMPP format.

There are also configuration settings where NowSMS can generate a delivery report when it has transmitted the SMS message. It is possible to generate ENROUTE interim status reports to indicate that the message has been transmitted and further delivery status reports may not be available ... or you can lie and return delivery reports.

For any outbound SMSC connection, under the SMSC specific section header (e.g., [Modem - xxxx] or [NowSMSModem - xxxx]) of SMSGW.INI, you can add:

DeliveryReportEnroute=Yes

With this setting, if the client requested a delivery report, an in-transit/interim delivery report is generated as soon as the SMS is accepted by a modem.

This can be combined with another setting: DisableDeliveryReceipt=Yes

If DisableDeliveryReceipt=Yes and DeliveryReportEnroute=Yes are set for a connection, and a message requests a delivery report, an in-transit delivery report will be generated when the message is successfully dispatched to the modem (DeliveryReportEnroute=Yes). The message sent via the modem will NOT request further delivery reports (DisableDeliveryReceipt=Yes).

To specify a different status code in this interim delivery report. Together with DeliveryReportEnroute=Yes, use DeliveryReportEnrouteStat=DELIVRD or DeliveryReportEnrouteStat=ACCEPTD.


--
Des
NowSMS Support