Outgoing SMS Connection

Outgoing SMS Connection SearchSearch
Author Message
Rhea
New member
Username: Rhea

Post Number: 19
Registered: 08-2006
Posted on Monday, October 23, 2006 - 07:46 pm:   

Dear bryce,

I have 2 services each a different short number but i cannot differentiate them using "Preferred SMSC Connection" because the number prefix is the same. What happens when a user sends an SMS to one shortnumber the system cannot differentiate which shortnumber to reply back to him and therefore if he sends to 2222 he might get a reply from 9999 and vice versa. So how can make the 2222 Service always reply back using the 2222 and not the 9999?

Please note that the 2-way commands defined in the dialog box already distinguishes the receive number, but i do not know how to define the send number.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 6733
Registered: 10-2002
Posted on Tuesday, October 24, 2006 - 12:23 pm:   

Hi Rhea,

By default, if you just return a simple text response to a 2way command, NowSMS will apply the recipient as the sender in the response, so that it gets routed out to the correct modem.

If you are using the redirect technique to generate your response, then you need to pass the @@RECIP@@ variable to your script, and then include this as the &Sender= value in the URL that you build.

For more complete control, you can use the @@SMSCROUTE@@ variable in your script, which will tell you which SMSC the message was received from ... and you can pass this value back in a URL using the &SMSCRoute= parameter.

-bn