SMPP Newbie question

SMPP Newbie question SearchSearch
Author Message
acartin
Posted on Saturday, April 26, 2003 - 09:05 pm:   

Hi, I downloaded your product and is really outstanding how easy to configure and use. Right now I am using a T68i infrared link and two way over modem works really well and I believe that I have a clear idea about what can I achieve with modems but...since in our country we don't have the smpp service available yet, please let me ask some trivial questions:

When using smpp, the user receive a message with a phone number sender on it?
If the user have to reply, it reply to some sore of ip adress or to a phone number or to a phone number and the operator reroute to NowSMS trough ip?

My concern is because I want to implement a entry level two way application on modem and later migrate it to smpp, since I use heavy use of SMS-IN folder to construct some sore of context/session, do I have to change something when we make the switch from modem to smpp?

Thanks.
Bryce Norwood - NowSMS Support (Bryce)
Posted on Sunday, April 27, 2003 - 12:08 am:   

In a typical SMPP connection, your application can set the "Sender address" to any value that you like (a phone number that would support replies, or an alphanumeric string that would not support replies).

If you will also be receiving SMS messages, then the provider would allocate one or more phone numbers that would be routed to your SMPP account.

In practice, it looks pretty much the same when you're interfacing with the NowSMS gateway ... with the exception that you have the ability to set the sender address when sending an outbound message ... and when receiving messages you might receive messages for multiple phone numbers over the same SMPP connection.

-bn
acartin
Posted on Sunday, April 27, 2003 - 06:36 am:   

Thanks Bryce.
So it is possible for somebody using smpp to send me messages with an ficticius sender number? so it will broke any two way algorithm based on sender number.

Do you have any advice on how to construct two way interactive using SMS-In folder messages?

Thanks
Bryce Norwood - NowSMS Support (Bryce)
Posted on Sunday, April 27, 2003 - 02:28 pm:   

I wouldn't worry too much about someone else using SMPP to send you messages with fictitious numbers. Generally someone else using an SMPP account would be developing an application like you. If for some reason they had a need to interact with your application, they would have to use a valid sender number.

Session handling is the most difficult part of doing a 2-way application. The issue is that you can't include a cookie or sequence number in an SMS message to track replies to a particular message. You can only keep track of what messages you have sent out to a particular phone number in order to interpret responses coming back from that phone number. (If you have an SMPP account receiving messages for multiple phone numbers, or you have multiple GSM modems attached, you could send different messages to the same number from different sender addresses, and match which message a user is replying to based on which phone number they are replying to.)

Aside from that, my usual recommendation is to use an HTTP command for the 2-way command to execute ... as it usually offers you more flexibility to have an HTTP script process received messages rather than writing a command-line program that runs on the gateway itself.

-bn