|Question 2-way SMPP to HTTP||Search|
|SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through April 08, 2009 » Question 2-way SMPP to HTTP||« Previous || Next »|
Post Number: 1
we receive sms through SMPP to nowsms and later we send through HTTP our provider.
Is this routed using 2-way? Can it be routed?.
How can I route this sms to 2-way ?
|Des - NowSMS Support
Post Number: 520
When you use an SMPP client to connect to NowSMS, any messages submitted by the SMPP client are considered "outbound" (or "MT") messages.
NowSMS will route them to an "SMSC" connection for processing. This SMSC connection might be an HTTP URL (defined as an HTTP SMSC).
The 2-way commands are used for messages that are considered "inbound" (or "MO") messages.
Maybe you can explain what you are trying to do ... explain the routing path of the message ... and I will have some suggestions.
Post Number: 2
How can nowsms connect to a database to store the information?
For outbound sms.
|Des - NowSMS Support
Post Number: 534
NowSMS does not connect directly to a database. However, it does provide HTTP based accounting callbacks that you can use to interface with a database.
This HTTP-based accounting interface can call a URL that you configure every time NowSMS processes a message. You can use the information provided in this callback to store information in your database.
This link explains the basics of the accounting callbacks:
However, you will notice that the information in referenced those callbacks is rather sparse.
That link is a bit old, and needs to be updated ... as the callback actually does include more information, including the message content.
The following link provides more information about the parameters that are currently included in the SMS HTTP accounting callbacks:
(Only the response code handling for dynamic message routing requires the latest version ... the other parameters have been implemented for awhile.)
So ... as an example, if you configure an accounting URL of http://server/path, when a message is submitted, you'll get a callback like this, allowing you to record the information: