SMS Redirect help

SMS Redirect help SearchSearch
Author Message
Prateek
Unregistered guest
Posted on Thursday, May 13, 2004 - 07:42 pm:   

Sir, is there any way thru which i can process the sms recieved (using php) and then send it to SOME ANOTHER MOBILE PHONE and not to the mobile from where it came?
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 2599
Registered: 10-2002
Posted on Friday, May 14, 2004 - 04:42 am:   

Hi Prateek,

The 2way-redirect.php example in the following thread is a good starting point:

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

You would just change the following statement:

header ("Location: http://ipaddress:port/?phonenumber=" . $_REQUEST['sender'] . "&text=" . urlencode("I received your message : " . $_REQUEST['text']));

So that phonenumber= was contained the recipient, or a string of the recipients that you want to send the message to. In this example, we're sending a message back to the sender, but you could generate any field you like here.

Let's say that you wanted to send several messages (and not the same text for each message).

As an alternative to using this "redirect" technique, you can also just make your own connections back to NowSMS to submit messages.

For example, you could call the PHP functions in the sendsms.php or sendmms.php scripts in the following links:

http://support.nowsms.com/discus/messages/1/867.html
http://support.nowsms.com/discus/messages/1/1113.html
http://support.nowsms.com/discus/messages/1/1490.html

Also, see this thread for some advice:

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

-bn
Prateek
Unregistered guest
Posted on Friday, May 14, 2004 - 11:35 am:   

THANK YOU SIR, THANKS A LOT FOR THE HELP. That would solve most of my problems.

Sir, I have one more query. Do you provide any discounts to the educational institutes who would like to implement your service?

We are thinking to implement some SMS related stuff in our college. I have advised college managment to use your software. So please tell me if any discount is possible.

Thanking you,
Prateek
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 2611
Registered: 10-2002
Posted on Monday, May 17, 2004 - 02:53 pm:   

Hi Prateek,

I don't normally work on the sales side of things. But I have noticed that we have been selling product to mroe educational institutions over the past couple of months. So there may indeed be a program in place. Send an e-mail to nowsms@now.co.uk with details about the college, and someone will reply back with pricing details.

-bn
Prateek
Unregistered guest
Posted on Wednesday, May 19, 2004 - 07:48 pm:   

Thank you sir, I will surely contact ur sales department. Thanks a lot.
ashot shahbazian
New member
Username: Animatele

Post Number: 5
Registered: 06-2004
Posted on Wednesday, June 09, 2004 - 12:21 am:   

Prateek,

If you receive messages through a GSM modem try sending the following command from it to your SMSC:

DIVERT TO +(mobile# where you want the messages diverted to)

Disabling/enabling it is DIVERT Off and DIVERT On

Command has to be send to your operator's SMSC number as it's stored on your SIM card. Not all operators support it though. If successful, you'll be receiving some confirmation message.