Process incoming binary SMS? | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through September 15, 2003 ⬆ |
◄ ► |
Author | Message | |||
Anthony Dyson |
My installation is writing incoming binary SMS's into the SMS_IN directory and not processing them. Text messages are being processed correctly, i.e. the script command is ok (and associated with *). Can anyone help me persuade NowSMS to process a binary message? I'm supposed to have this demo app working this week... all the other components are fine, only the communication NowSMS->data processor is not working. | |||
Anthony Dyson |
An additional comment: I'd be perfectly happy for the gateway to pass my external application a string rendering of the binary data, e.g. 00a318321347839210ff | |||
Kent Williams |
Anthony, Presently the only way to process a binary SMS is to process the incoming file directly from the SMS-IN directory. It will have a ".SMS file extension. We should revisit this and define a way to configure the that a "2-way" command can process a binary message. But that won't help you this weekend. What might help you is if you can engineer something to scan for *.SMS in the SMS-IN directory. - Kent Williams Now Wireless Support | |||
Anthony Dyson |
Thanks Kent for the information. Guess I should have tested that aspect before deciding to go for this SMS gateway. Might be good if it was mentioned in the docs as a restriction in the 2-way functionality. Although if past experience is anything to go on you may well have a solution sometime soon... As I mentioned, I'd be perfectly happy if the gateway would just send the string representation it writes in the .SMS file. | |||
Kent Williams |
Anthony, I'm thinking we could do a quick configuration setting that forced the binary messages to go through the 2-way interface. There would just have to be some flag setting that could indicate that the message is binary. Unfortunately, I don't think we can do anything on the week-end, but I've had a quick discussion with engineering, and they do tell me that it can be looked at on Monday. - Kent | |||
Bryce Norwood - NowSMS Support |
Follow-up ... someone asked about this feature on another thread. This feature was added to NowSMS effective with v5.0 (including all beta releases of v5.0). The following text describes how to configure a 2-way command that can receive binary messages: Allow received binary messages to be processed by a 2-way command. Note that no binary messages will be passed to a 2-way command unless the 2-way command includes a replaceable parameter setting named "@@Binary@@". This replaceable parameter will be set to "1" for binary messages, and "0" for text messages. Additional replaceable parameters supported include @@DCS@@, @@PID@@ and @@UDH@@ (user data header). |