Sending Binary message per 2-Way-SMS | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through May 12, 2004 ⬆ |
◄ ► |
Author | Message | |||
Mario Stoll Unregistered guest |
hello everybody, i'm trying to send a binary message to a subscriber with http://192.168.1.4:8800/?PhoneNumber=2400119&UDH=01020001&DCS=c8. The marked part of the string i would like to extract out of an receiving sms. But it seems like the labels PhoneNumber, &UDH, &DCS couldn't be extractet with http://192.168.1.4:8800/@@SMS@@.If i only extract e.g. the Phonenumber out of the sms-text with http://192.168.1.4:8800/?PhoneNumber=@@SMS@@&UDH=01020001&DCS=c8 it works. DOes anybody know what's wrong ?? thanks for help Mario Stoll} | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 2348 Registered: 10-2002 |
Hi Mario, Could you explain this in some more detail? I'm not sure that I follow what you're trying to accomplish. If you want a 2-way SMS command to be able to receive and process a binary SMS message, the 2-way command must include @@BINARY@@ in the command. If this is what you're trying to accomplish, see http://support.nowsms.com/discus/messages/485/624.html. If not, please explain the logic flow of what you're trying to accomplish. -bn | |||
usmanmalik New member Username: Usman786 Post Number: 1 Registered: 04-2004 |
hello naved did u get my message | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 2361 Registered: 10-2002 |
hello usmanmalik ... This is a discussion board. If you are expecting to post a message to this discussion board and have it sent out via SMS, you are sadly misinformed. | |||
Mario Stoll Unregistered guest |
Hi Bryce, i'm back to office today and found your answer/question. I'm trying to do this : Sending a text-SMS-message to the Now-SMS-Gateway and using the content of the SMS to execute the command : http://192.168.1.4:8800/?PhoneNumber=xxxxxx&UDH=yyyyyyyy&DCS=zz The variables x, y, z are the content of the text-SMS-message. Witch "labels" i have to use in the "Command to execute" field of the 2-way-SMS-Menue ?? I have even tried to send the SMS-Text-String : ?/PhoneNumber=01522400093&UDH=01020001&DCS=c8 and configured the "Command to execute" field like : http://192.168.1.4:8800/@@SMS@@ But the command hasn't been executed after receiving the SMS. To avoid one more question : i'm using a smsprefix in the sms i'm sending !! Is my intention now clearer ?? i hope so. thanks Mario | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 2402 Registered: 10-2002 |
Hi Mario, You are going to need to setup a custom script to handle that. The built in "2-way" command parsing only will parse the first word of the SMS message (and pass it as the @@SMSPREFIX@@ parameter in a command). It sounds like you want to parse multiple keywords out of the received SMS. For that you would need to create your own script. Your script would parse the content of the SMS message, and then it would respond back with a "redirect" response ("Location:" header) to send a command back to NowSMS to send a binary message. There's a simple example of a PHP script that returns a redirect response in the following thread: http://support.nowsms.com/discus/messages/1/3991.html That might provide a good starting point for you. -bn |