SMPP Delivery Report to wrong client IP

SMPP Delivery Report to wrong client IP SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through May 19, 2016 » SMPP Delivery Report to wrong client IP « Previous || Next »
Author Message
Mortsubite
New member
Username: Mortsubite

Post Number: 2
Registered: 06-2015
Posted on Thursday, August 27, 2015 - 11:43 am:   

Hello,

We have faced with the problem of Delivery Reports.

We have a client who has 2 ip addresses.

This client send messages from these two ip addresses. The issue is that sometimes when the client sends messages from first ip, we send him Delivery Report to the second ip, but not to the first one.

Thank you for your help!
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 5426
Registered: 08-2008
Posted on Thursday, August 27, 2015 - 12:38 pm:   

Hi,

That is expected behavior.

Delivery reports are routed back to the sender account, not an IP address.

If the delivery reports need to be segregated, separate client accounts must be used.


--
Des
NowSMS Support
Ansh Gupta
New member
Username: Ansh_gupta

Post Number: 1
Registered: 08-2015
Posted on Sunday, August 30, 2015 - 03:23 pm:   

Hello,
I don't know how i can send flash message?
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 5429
Registered: 08-2008
Posted on Monday, August 31, 2015 - 02:42 pm:   

Hi,

Assuming your SMSC connection supports Flash SMS (an Android device as modem will not unless it is an HTC device)...

From the NowSMS web interface, enable developer options (click Show Developer Options), and choose Class 0 as an option for the message.

If submitting via URL, include the parameter &DCS=F0

--
Des
NowSMS Support
btwob
New member
Username: B2b

Post Number: 1
Registered: 09-2015
Posted on Thursday, October 01, 2015 - 04:39 am:   

Hello,

We have faced problem with the Delivery Reports. We are unable to extract the delivery report. Please help..
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 5462
Registered: 08-2008
Posted on Thursday, October 01, 2015 - 09:17 am:   


quote:

We have faced problem with the Delivery Reports. We are unable to extract the delivery report. Please help..




Hi,

I need more details to be able to answer your question. Specifically what are you trying to accomplish? What have you tried? What is not working like you expect?

--
Des
NowSMS Support
btwob
New member
Username: B2b

Post Number: 2
Registered: 09-2015
Posted on Thursday, October 01, 2015 - 09:56 am:   

Hi,
i am sending multiple sms through now SMS software and i want to fetch out delivery reports of all the mobiles numbers. i am unable to find any option in the software to extract the delivery reports. please help..
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 5464
Registered: 08-2008
Posted on Thursday, October 01, 2015 - 06:25 pm:   

Hi again,

What protocol are you using to submit messages to NowSMS? I'm guessing HTTP?

If you want to receive a delivery report, you need to ask for it when submitting a message. When using HTTP, include the URL parameter "&ReceiptRequested=Yes" to request a delivery report.

When you submit a message to NowSMS via HTTP, the HTTP 200 OK response includes text such as the following:

MessageID=54321098, Recipient=+xxxxxxxxxx

If the message was posted to multiple recipients, this will be repeated for each recipient.

You can parse the text from this HTTP response to determine the Message id that NowSMS has assigned to the message.

When a delivery report comes back into the system, it gets routed to the 2-way command facility (unless SMPP access is enabled for the account that originally submitted the message to NowSMS, in which case the report gets queued for delivery back to the client account via SMPP).

Normally, the SMSC will prefix the text of all delivery receipts with "id:" ... and if the message is properly formatted as a delivery receipt, but this prefix is not present, NowSMS will reformat the message to include this prefix.

To define a 2-way command specific to processing delivery receipts, define the 2-way command with a "Keyword" of id:*

Leave "Receive Phone Number(s)" blank.

Then in the "HTTP or Local Command" field, define a command that NowSMS should run to process the delivery report.

For example http://server/report.php?id=@@RECEIPTMESSAGEID@@&text=@@FULLSMS@@

In this example, @@RECEIPTMESSAGEID@@ will contain the message id for which this receipt applies, and @@FULLSMS@@ will get the text of the delivery report which has a format like this:

id: 54321098 sub:000 dlvrd:001 submit date:151001121622 done date:151001121639 stat:DELIVRD err:000 text:

The message id in the receipt (either @@RECEIPTMESSAGEID@@ or the text after "id:" in the text of the receipt) allows you to match up the receipt with the originally submitted message.

Delivery report status is currently available only by parsing the text of the receipt.

Look for the text that follows "stat:"

DELIVRD means successful delivery
ENROUTE is an interim OK response (some SMSCs cannot give delivery receipts, and by returning this response it indicates that the message has been queued for delivery, but an actual delivery receipt may not be available)
REJECTD means failed or rejected
EXPIRED means expired without being delivered
DELETED means message was deleted without being delivered
ACCEPTD is similar to ENROUTE
UNKNOWN means an unknown type of failure

--
Des
NowSMS Support
Mathew Mathachan
Frequent Contributor
Username: Mathewm

Post Number: 74
Registered: 04-2011
Posted on Tuesday, October 13, 2015 - 06:48 am:   

Des,

In your reply on Aug-31, you mention that DCS=F0 is to be set in URL for flash message. However, in NowSMS documentation (Pg-198) it indicates DCS=10. Was that a typo error or??

Mathew
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 5480
Registered: 08-2008
Posted on Tuesday, October 13, 2015 - 02:40 pm:   

Hi Mathew,

In GSM, DCS=10 and DCS=F0 both mean class 0 (flash).

However, in SMPP, DCS=10 is not valid, and DCS=F0 is the only supported value for class 0.

For this reason, if you submit DCS=10, NowSMS changes to DCS=F0 if the message is routed to SMPP.

--
Des
NowSMS Support
Mathew Mathachan
Frequent Contributor
Username: Mathewm

Post Number: 75
Registered: 04-2011
Posted on Wednesday, October 14, 2015 - 07:25 am:   

Thanks Des for the clarification.

Mathew

Login Login / Register Logout Logout Search Last 30 Days Topics Topics