One SMPP link, 2 shortcodes

One SMPP link, 2 shortcodes SearchSearch
Author Message
Gerrit Maasz
New member
Username: Gmaasz

Post Number: 1
Registered: 10-2006
Posted on Thursday, October 19, 2006 - 08:56 pm:   

Hi Everyone,

We are evaluating the software and it works very good. We ran into the following scenario and need some assistance: We have setup one SMPP link over TCPIP. We want now to activate 2 shortcodes (247, 365) from the Service Provider. Every thing is setup and we can send a SMS to both shortcodes and send a response out. The problem we are experiencing is that we want to link a certain keyword to a shortcode. At this stage we can send a sms to both shortcodes with the same keyword. We would like to seperate the keywords for the different shortcodes.

Your assistance would be much appreciated.

Gerrit
MedSalimALI
Frequent Contributor
Username: Salim

Post Number: 106
Registered: 04-2005
Posted on Friday, October 20, 2006 - 07:37 pm:   

Hi Gerrit,

until bryce reply to you, you need to use Prefix parameter in 2-way command in NowSMS gateway. every SMS received you will capture this prefix keyword and store in your database to initiate a reply back. I should advice you to use a separate script in the case that you want to use many short codes in one single SMPP account....The prefix, i mean the keyword, this is the subscription scenario which most of us, we are using with NowSMS and everything is fine...

Salim...
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 6708
Registered: 10-2002
Posted on Friday, October 20, 2006 - 09:29 pm:   

Hi Gerrit,

Use the "Receive phone number(s)" parameter when setting up the 2-way commands. This specifies that a script should only be triggered if the recipient phone number (i.e., the short code on which the message was received) matches this value.

Note that you can also pass this number to a 2-way script using the @@RECIP@@ variable, if you want to control the logic in your application instead.

-bn