Adding +91 to all outbound messages

Adding +91 to all outbound messages SearchSearch
Author Message
Suvinay
New member
Username: Suvinay

Post Number: 12
Registered: 07-2004
Posted on Thursday, September 02, 2004 - 04:29 am:   

Hi Bryce,
I am using SMPP connection to operator SMSC.
All inbound messages from the SMSC are in the format 9829xxxxxx.
Whereas for submitting messages to the SMSC, the SMSC requires the format +919829xxxxxx.

I understand that I can automatically add the + sign by specifying 1 in Destination TON.

How do I set the gateway up so that the 91 is also added automatically to all outbound messages??? (this will be used in 2 way SMS)

Secondly in case the link breaks between NowSMS and SMSC... how do I specify the time to wait before trying to reconnect to SMSC and how many attempts to make before aborting any more attempts?

Thanks again
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 3410
Registered: 10-2002
Posted on Thursday, September 02, 2004 - 10:23 pm:   

Unfortunately we don't have a setting that will apply that type of conversion.

My suggestion would be to have the 2-way script implement that logic. Then instead of replying directly, issue an HTTP redirect response, specifying the recipient value.

See:

http://www.nowsms.com/support/bulletins/tb-nowsms-003.htm

And for a practical example written in PHP, see:

http://support.nowsms.com/discus/messages/1/3991.html