Multiple SMSC

Multiple SMSC SearchSearch
Author Message
Shubhadeep Roychowdhury
New member
Username: Shubhadeep

Post Number: 2
Registered: 08-2007
Posted on Friday, August 31, 2007 - 02:03 pm:   

Hello Sir,
I had asked on the different thread regarding some problem of arabic text and all. Anyway, i had solved this via different way (all on my side). And i just let nowsms to route all the sms that it gets to my script (using the wildcard "*" character) and i compare the keyword there.

Anyway, this time i have a different problem altogether. i want to combine many SMSC with different short code. any in every case i wish to use the same arabic keyword. considering the condition i stated above. plz suggest me a way to do this. I mean, if i configure all the 2-way SMS to route without matching a keyword, then is the only way that i am left with is the one that to trace the @@RECIP@@ parameter to understand which short code it was sent to? (as i need to answer from the same short code to the sender)

Pls help
Shubhadeep
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 7440
Registered: 10-2002
Posted on Monday, September 10, 2007 - 09:55 pm:   

Hi Shubhadeep,

If you return a simple text response to the 2-way command to generate your reply, then NowSMS will automatically apply @@RECIP@@ as the sender address of the reply. This way the SMS goes back out with the sender address matching the short code to which the message was originally addressed.

If you are doing something more complex in your script and returning an HTTP URL redirect response, then you would need to parse the @@RECIP@@ parameter in your script, and put this value into the redirect URL as the "&Sender=" parameter.

I should also mention that it is possible to define different 2-way scripts for messages received on different phone numbers or short codes. The "Receive Phone Number(s)" field can specify a (comma delimited) list of phone numbers or short codes for which that particular command is valid.

-bn