Forward SMS messages to another mobile number that is set by the cl... | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through January 23, 2007 ⬆ |
◄ ► |
Author | Message | |||
Jorge Go New member Username: Ace888net Post Number: 4 Registered: 11-2006 |
Can any one help me on this I would like to make as service to forward the sms of a user to another, but the case is that the user will be the one who chooses where the sms will go everytime he sends it. SMS forward Service commands Send Format FWD:Phone_numer_of_Receptient\Message_of_Sender could any one teach me how to do this I am really stuck.. | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 6821 Registered: 10-2002 |
To do this with NowSMS, you would need to do it via a 2-way script. I do not have an example that provides this specific functionality, but here is some information on how the 2-way command facility works. When NowSMS receives an SMS message, it can be configured to call an HTTP script that you configure. (This would be a script running on a separate web server, although it could also be a command line program.) That script could check the sender against an allowed list, and forward the message only if the sender was allowed. Here is basic information on scripts and the 2-way SMS facility: http://www.nowsms.com/documentation/ProductDocumentation/2_way_sms_support.htm http://support.nowsms.com/discus/messages/1/4520.html Basically, NowSMS is going to pass the details about the received message to your script. Your script is going to parse the information from the message to determine whether or not and to whom the message is going to be forwarded. For the script to actually forward the message, it would use the "redirect technique" described in the above links, where the message gets resubmitted to NowSMS, but addressed to a new recipient (or list of recipients). The following thread talks about receiving messages and forwarding them out to a group, which might also provide some helpful background: http://support.nowsms.com/discus/messages/1/7944.html -bn |