HTTP Provider and Delivery Reports

HTTP Provider and Delivery Reports SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through April 16, 2015 » HTTP Provider and Delivery Reports « Previous || Next »
Author Message
Colin
New member
Username: Colinis

Post Number: 1
Registered: 09-2014
Posted on Monday, September 15, 2014 - 06:39 pm:   

New to NowSMS, just downloaded a Demo.

We have taken on a new supplier that only provides a HTTP connection. Our customers connection via SMPP to our Ozeki NG Server.

Ozeki doesn't allow Delivery Reports via a HTTP connection.

We would like to use NowSMS to connect to the HTTP supplier and process the delivery reports in NowSMS and send the information back to Ozeki via SMPP and then Ozeki handles the reports back to our customer etc.

We will only use one account with NowSMS and one provider.

I am trying to setup the HTTP provider and request delivery receipts
I have read but didn't understand the following;
http://support.nowsms.com/discus/messages/1/24078.html
http://support.nowsms.com/discus/messages/1/15186.html

The supplier will send the delivery information back via HTTP POST XML containing the following

version, msisdn (number), submission_ref (supplier ref)
status - (Buffered, Acknowledged, Delivered, Failed, Unknown), Timestamp

Do you have a step by step i can follow?

I have added the following

[HTTP]
TrackHTTPReceipts=Yes
MessageIDResponsePrefix=error code|error text|submission reference 0|sms submitted|
[SMSGW]
ReceiptRequested=Yes

Also will a member of sales send me your current pricing info?

thanks
Colin
New member
Username: Colinis

Post Number: 2
Registered: 09-2014
Posted on Tuesday, September 16, 2014 - 08:24 am:   

Little update:

Steps completed

SMSGW.INI Edited (added the below)

[HTTP - IP:PORT]
TrackHTTPReceipts=Yes
MessageIDResponsePrefix=submitted|

[SMSGW]
ReceiptRequested=Yes

Processed received SMS Messages is ticked

Setup Admin
ticked enabled SMPP Login

Enabled SMPP Server

SMSOUT-20140916.LOG now logs SMSCMsgId=

Example: 2014-09-16 10:00:09,54170F4A,192.168.1.70,447xxxxxxxx,OK -- HTTP - IP:PORT,SubmitUser=admin;SMSCRouteName=Name;Sender=Col;SMSCMsgId=5b5cab55c5fed81 d0245a5d614a01c88-3;Text="test"

if i send open up a web browser and goto

http://Server:8800/?Sender=447xxxxxxxxx&PhoneNumber=447xxxxxxxxx&ReceiptMsgID=5b 5cab55c5fed81d0245a5d614a01c88-3&ReceiptDelivered=Yes&user=admin&password=passwo rd

or

http://Server:8800/?Sender=447xxxxxxxxx&PhoneNumber=447xxxxxxxxx&ReceiptMsgID=54 170F4A&ReceiptDelivered=Yes&user=admin&password=password

I get a new message ID -

Example:
Message Submitted
Continue
MessageID=54170F4D, Recipient=447xxxxxxxx

And the SMPP connection (on user admin) doesn't receive the delivery receipt

Back in SMSOUT-20140916.LOG I can see the following

2014-09-16 10:20:23,54170F4D,127.0.0.1,447xxxxxxxx,OK -- HTTP - IP:PORT,SubmitUser=admin;SMSCRouteName=Name;Sender=447xxxxxxxxx

what am i missing/doing wrong?

thanks :)
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 5043
Registered: 08-2008
Posted on Tuesday, September 16, 2014 - 10:04 am:   

Hi Colin,

I think you're close.

Change ReceiptMsgID to ReceiptMessageID.

--
Des
NowSMS Support
Colin
New member
Username: Colinis

Post Number: 3
Registered: 09-2014
Posted on Tuesday, September 16, 2014 - 10:16 am:   

thanks that working great!

Link Used (to help others) :)

IP:8800/?Sender=447xxxxxxxx&PhoneNumber=447xxxxxxxx&ReceiptMessageID=f84872c1844 78d40fa396a6566bc3e72-3&ReceiptDelivered=Yes

Now on to the next step - get the provider to post the above on delivered :) - and the below on not delivered:

IP:8800/?Sender=447xxxxxxxx&PhoneNumber=447xxxxxxxx&ReceiptMessageID=f84872c1844 78d40fa396a6566bc3e72-3&ReceiptDelivered=No

Wish me luck
Colin
New member
Username: Colinis

Post Number: 4
Registered: 09-2014
Posted on Wednesday, September 17, 2014 - 07:23 am:   

The link for not delivered: - ReceiptFailed=Yes

Example:

127.0.0.1:8800/?Sender=447xxxxxxxx&PhoneNumber=447xxxxxxxx&ReceiptMessageID=1e8a c7a74a602376f13845e21816b9d4-3&ReceiptFailed=Yes
Colin
New member
Username: Colinis

Post Number: 5
Registered: 09-2014
Posted on Wednesday, September 17, 2014 - 07:54 am:   

and - ReceiptIntransit=Yes :)
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 5044
Registered: 08-2008
Posted on Wednesday, September 17, 2014 - 08:01 am:   

And you just beat me to mentioning that last one...

Also of note is a parameter to set the done date, otherwise the current date/time is used:

* SMS Gateway: Allow HTTP based SMSC to return a custom "done date:" value when generating a delivery report. Use &ReceiptDoneDate=yymmddhh in the URL together with &ReceiptMessageID=xxxxxxxxx. (Also include either &ReceiptDelivered=Yes or &ReceiptFailed=Yes or &ReceiptIntransit=Yes to specify status.)


--
Des
NowSMS Support
Colin
New member
Username: Colinis

Post Number: 6
Registered: 09-2014
Posted on Wednesday, September 17, 2014 - 08:06 am:   

thanks again Des

Is there a minutes and seconds on the ReceiptDoneDate?

&ReceiptDoneDate=yymmddhhmmss

Example:

&ReceiptDoneDate=140917100544 (17/09/14 @ 10:05:44am)

Could you also PM me your price list?
Colin
New member
Username: Colinis

Post Number: 7
Registered: 09-2014
Posted on Thursday, September 18, 2014 - 09:15 am:   

One last thing to add for people that need help :)

The below fields are not required when submitting a DLR with a correct ReceiptMessageID

&Sender=447xxxxxxxx&PhoneNumber=447xxxxxxxx& but you might need user=username&password=password

So steps are as follows:


SMSGW.INI Edited (added the below)

[HTTP - IP:PORT]
TrackHTTPReceipts=Yes
MessageIDResponsePrefix=submitted|

[SMSGW]
ReceiptRequested=Yes

Processed received SMS Messages is ticked

Setup Admin
ticked enabled SMPP Login

Enabled SMPP Server

Check SMSOUT-YYYYMMDD.LOG you should now see SMSCMsgId=

Links for delivery;

http://IP:8800/?user=username&password=password&ReceiptMessageID=SupplierID&Rece iptDelivered=Yes&ReceiptDoneDate=yymmddhhmm

&ReceiptDelivered=Yes or &ReceiptFailed=Yes or &ReceiptIntransit=Yes

Good luck :)

Few notes

in my setup the ReceiptMessageID requires a "-3" to be added at the end - supplier doesn't send "-3" back on the delivery receipts

The ReceiptDoneDate from supplier to NowSMS then Ozeki is not stored (i can see it sends the time and date information but Ozeki just uses the time the delivery receipt is received.

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