2-Way SMS scripts allocation

2-Way SMS scripts allocation SearchSearch
Author Message
Elvis Bregu
Unregistered guest
Posted on Thursday, December 11, 2003 - 11:49 am:   

Hello,
I have the following situation:
In the SMSC connections I have two SMPP connections with short codes AAA and BBB.
In the 2-way SMS I have two scripts aaa.vbs with prefix a, which I need to run when a message comes to AAA and bbb.vbs with prefix b, which I need to run when a message comes to BBB.
The problem is that I don’t wont the customers to send a message with the prefix a to the short code BBB and run the aaa.vbs script or the opposite, the customer sends a message whith prefix b to the short code AAA and runs the bbb.vbs script.
How can I prevent this from happening? Is there a way to allocate different scripts to different SMSC connections?
Thanks.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 1371
Registered: 10-2002
Posted on Friday, December 12, 2003 - 05:34 pm:   

Elvis,

This is one feature that I've been wanting to see for awhile, but it hasn't happened yet.

I'd suggest using a common script, or writing a separate script as a dispatcher.

What I mean by dispatcher is that the dispatcher script would look at the @@Recip@@ setting, and then call the appopriate script.

Meanwhile, I'm going to get development to look into this area again ... as I'm tired of suggesting this work-around.

-bn