2-Way sms, how to process a received binary sms

2-Way sms, how to process a received binary sms SearchSearch
Author Message
Michel Groot
New member
Username: Mgroot

Post Number: 2
Registered: 04-2010
Posted on Tuesday, August 10, 2010 - 10:34 am:   

Hi,

I'm trying to setup 2-way processing of sms messages to send a received binary SMS to an ASP.Net application when it is received. It seems that only a text message is forwarded from NowSMS. I have tryed to add @@BINARY@@ to the url but that doesn't work either.

URL to execute: http://localhost:1331/Default.aspx?binary=@@BINARY@@&sender=@@SENDER@@&fullsms=@ @FullSMS@@

SMS:
[SMS-IN]
ModemName=COM1:
Sender=+31655555555
dcs=F6
Data=A6AA48725A3657666742AC0A000102F304B5060708D90301F0F164B407F77CCBED36BF1F6DB 48E1FCF6F834226F6CD5BB0F45EDC24EC7CBA7ECE0E7DE8BDC0A60BA2353624259AB61C3CED03AC7 4614A014B551F4C7B0126E6740C86F615A6E3AD563FA128DB0B65FD06DCB250746DB5ECCED8F0918 D676788FA08502BC7C2
Binary=1
ReceivedSMSC=+31653131313

Is it possible to use the 2-way option to process messages like this?
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 2406
Registered: 08-2008
Posted on Tuesday, August 10, 2010 - 01:49 pm:   

Hi Michel,

That should definitely work.

I just did a quick verification on a test system, and all I had to do was add @@BINARY@@ into a command string and binary SMS messages started being routed to it. (Similar to you, I just added it as another HTTP variable.)

What happens to this message on your system, does it go to SMS-IN with a ".SMS" extension? (Tip: Rename it to *.IN to trigger it to be reprocessed.)

Is the "SMS Command Prefix" set to *?

If other text messages are being processed by this command, I can't imagine what else could be wrong.

When you receive a text message with this command, does your ASP script see the "binary=0" parameter? I'm just wondering if the command was saved properly. (It is necessary for the service to restart to pick up changes to the 2-way commands.)

--
Des
NowSMS Support
Michel Groot
New member
Username: Mgroot

Post Number: 3
Registered: 04-2010
Posted on Tuesday, August 10, 2010 - 02:19 pm:   

Thanks. Changing the extension from .SMS to .IN did the trick. It works now.

I thougth that NowSMS automaticly processed the old messages to.