NowSMS to forward a delivery report to a http server

NowSMS to forward a delivery report to a http server SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through August 22, 2012 » NowSMS to forward a delivery report to a http server « Previous || Next »
Author Message
Mark Gaffney
New member
Username: Mgaffney

Post Number: 1
Registered: 02-2012
Posted on Tuesday, February 28, 2012 - 01:15 pm:   

Hi,
I'm new to NowSMS and to SMS in general, but my query is this as I was unsure after I read the documentation.
What is the best way for my application (a java application talking only over http) to receive a delivery report or an inbound SMS message from NowSMS Gateway? Is it possible that the NowSMS Gateway can route an incoming sms message or a delivery report back to a java http server of my chosing?

FYI the NowSMS Gateway is speaking SMPP to the SMSC

Thank so much

Mark
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 3817
Registered: 08-2008
Posted on Tuesday, February 28, 2012 - 03:01 pm:   

Hi Mark,

Delivery receipts are handled similar to other received messages.

So the easiest way for an HTTP app to deal with them is via the 2-way command facility.

The following thread is a little long, but it provides some more info about the delivery receipt format that you will see:

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

The format is derived from an example in the SMPP v3.4 specification. It's important to note, however, that the format was offered as an example, so it can vary some with different SMPP providers. (NowSMS tries to clean up the receipts to match this format, but you can see some slight variations, especially with regard to status information with different SMPP providers.)

One other important note ...

For the HTTP client account defined in NowSMS ("SMS Users"), leave "Accept Received Messages for this user" as UNchecked.

If this setting is checked, the messages won't go to 2-way SMS, and can currently only be picked up via SMPP (or POP3).

--
Des
NowSMS Support

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