Route sms from smpp client to 2-way command processor

Route sms from smpp client to 2-way command processor SearchSearch
Author Message
Siumafua Moala
New member
Username: Smoala

Post Number: 1
Registered: 05-2010
Posted on Thursday, May 20, 2010 - 01:33 am:   

My question is this possible? I know that default behavior is smpp client -> smsc link but is it possible for this smpp client -> 2-way command processor -> smsc link or smpp client

thanks for your help.
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 2146
Registered: 08-2008
Posted on Thursday, May 20, 2010 - 05:10 pm:   

Hi,

I can't think of any configuration scenarios that would allow this.

However, is your goal to pass the message to an HTTP link before sending it out? There are HTTP accounting callbacks that are triggered when users submit a message. Maybe you could make use of the HTTP accounting callback instead?

The following article describes how the accounting callbacks work (ignore the bit about dynamic routing, which isn't really relevant to your situation):

http://blog.nowsms.com/2009/01/dynamic-sms-message-routing-with-http.html

--
Des
NowSMS Support
Siumafua Moala
New member
Username: Smoala

Post Number: 2
Registered: 05-2010
Posted on Friday, May 21, 2010 - 01:22 am:   

Hi
Thank you for responding. I did test using accounting callback but the limitation is that I want to check the recipient account not the sender.

short transaction summary

1. user subscribe to a service - no credit is deduct, pre-check only (tested ok)
2. user details is send to content provider if step 1 is ok (tested ok)
3. Content provider send content to user(s). (tested ok)
4. accounting call back for preauth and accounting.
5. if preauth fail it will inform content provider so they can stop sending message to the customer(s)
6. on accounting callback deduct credit from customer account

How to I get the customers accounts. Is it possible to get the list of recipients, etc?


Thanks for your help in advance.
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 2155
Registered: 08-2008
Posted on Friday, May 21, 2010 - 05:05 pm:   

Thanks. That explanation helps me better understand.

The accounting callback will include the recipient in the "To=" parameter. So I think that should work for you. (The link in the previous reply shows more detail about the parameters available.)

--
Des
NowSMS Support