Delivery Reports

Delivery Reports SearchSearch
Author Message
Blair
New member
Username: Bcotnam

Post Number: 20
Registered: 07-2011
Posted on Tuesday, January 31, 2012 - 11:45 pm:   

Hello,

We are having problems routing delivery reports back to the smpp client who sent the message. Below is our setup, we are running 2 instances of nowsms on 2 separate servers.

Lets Call our First Server NowSMS1 and Second Server NowSMS2.

NowSMS1 is our gateway server, we have 4 smpp clients connected directly to this server and sending messages via GSM Modems. We then have an SMSC setup for SMPP over TCP/IP which connects to our second instance of nowsms (NowSMS2), we have configure prefix routing on this particular connection to send specific messages through this connection to the NowSMS2. NowSMS2 is setup also with GSM Modems.

How do we send delivery reports back to the smpp client from NowSMS2 to NowSMS1?

So, messages are coming into NowSMS 1 and we are say filtering prefix +905 to goto the NowSMS2 server to get sent out, but once the message is sent out how do we send the DR back to the smpp client connected on NowSMS1?

I should also mention we are running build 2011.11.14, which enables us to use nowsms to generate and send the delivery report back to the smpp client instead of the operator. We have this enabled on all our modems on both servers.

So, the users we have setup. On NowSMS1 we have 4 smpp users setup, then on NowSMS2 i just setup a default account so, all messages sent to NowSMS2 are using the same default user i created. Not sure if this is correct or not, but it works this way, other than the Delivery Reports.

I hope i was clear enough.
Thanks,
Blair
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 3751
Registered: 08-2008
Posted on Wednesday, February 01, 2012 - 04:34 pm:   

Hi Blair,

What is happening with the delivery reports right now?

They should be handled automatically.

The only thing that I can think of is this ...

On NowSMS2, you have an "SMS User" account defined, which allows NowSMS1 to connect and send messages.

Make sure that "Accept received messages for this user" is checked. If this setting is not checked, NowSMS2 will not route any messages, including delivery receipts, to this account.

The other thing to check would be on the NowSMS1 side, make sure that the SMPP connection has "Receive Messages" checked, otherwise it will also not receive delivery reports.

--
Des
NowSMS Support
Blair
New member
Username: Bcotnam

Post Number: 21
Registered: 07-2011
Posted on Wednesday, February 01, 2012 - 05:00 pm:   

Hi

Thanks for your reply. We ended up getting the delivery reports working on both locations.

I have everything checked as you mentioned above.

Under the 2-way tab in nowsms, i had to check "Process Received SMS Messages" as i noticed all the delivery reports were in there. I though the 2way tab was just for HTTP and not SMPP, so didn't think much of it.

I haven't supplied anyting in the command table, but if we wanted to take delivery reports and store them into a database, i guess i can just add a filter of 'id=*' which will them get processed by a php file to insert into a database. Will that work?

So, as soon as i checked Process Receive sms messges DR wored.

Also, on the tab under SMS Users, under 'Accept receied messges for this user" i haven't inputed a number for "receipt address to route to this user" and it still works, do you usually have to put a recipient number in there for delivery reports to work?

I guess not, as i don't have anything in that field and it works.

Thanks,
Blair
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 3752
Registered: 08-2008
Posted on Wednesday, February 01, 2012 - 05:36 pm:   

Hi Blair,

Thanks for the follow-up.


quote:

So, as soon as i checked Process Receive sms messges DR worked.




I keep forgetting about this setting. This is a frequent problem.

Most of the functions that route messages to local user accounts will not work properly unless this setting is enabled on the 2-way page.

I'm going to take this issue up with engineering, because it does not make sense how this setting works.

But yes, you should have it enabled.


quote:

Also, on the tab under SMS Users, under 'Accept receied messges for
this user" i haven't inputed a number for "receipt address to route to
this user" and it still works, do you usually have to put a recipient
number in there for delivery reports to work?




That's correct.

Since only delivery reports should be routed to the account, the other field can be left blank.

--
Des
NowSMS Support