2-way and echo

2-way and echo SearchSearch
Author Message
Harman Ng
New member
Username: Harman

Post Number: 1
Registered: 06-2006
Posted on Tuesday, June 27, 2006 - 05:34 am:   

Hello,

I have a 2-way sms and echo requirement like this.
- when A sends a sms to NowSMS, echo the SMS to B
- When B sends a sms to NowSMS, echo the SMS to A

This is for unicode (Chinese) message.

Any suggestion? Thanks in Advance.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 6125
Registered: 10-2002
Posted on Tuesday, June 27, 2006 - 05:53 pm:   

Hi,

You'd need to use a scripting language to write a simple script.

That script would parse the sender address, and the message text ... and then issue an HTTP redirect command back to NowSMS to tell it to send a message to another recipient.

The redirect technique is described in general here:
http://www.nowsms.com/tb/TB-NOWSMS-003.htm

Here's a PHP example that might provide a starting point:

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

... the 2way-redirect script in that example is only echoing back a response. But it shows how to build a redirect URL, and you would modify the logic to send to a different phone number instead of back to the sender.

Other 2-way examples that might be helpful:

http://support.nowsms.com/discus/messages/1/7944.html
http://support.nowsms.com/discus/messages/1/4520.html

-bn