Binary encoding support

Binary encoding support SearchSearch
Author Message
seemant bisht
New member
Username: Seemantb

Post Number: 2
Registered: 12-2009
Posted on Tuesday, January 05, 2010 - 05:21 am:   

I have to send SMS text in binary encoded format using the SMPP SUBMIT_SM packet setting data_coding field of SMPP SUBMIT_SM to "2". Can tell me does NowSMS supports Binary encoding? If yes, then which is algorithm is used for that?
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1629
Registered: 08-2008
Posted on Tuesday, January 05, 2010 - 08:56 pm:   

If you submit binary SMS to NowSMS, and it is routed to an SMPP connection, NowSMS normally uses a data_coding value of 4. (NowSMS actually will convert a data_coding value of 2 to 4. Both values mean binary encoding in SMPP, but only 4 means binary encoding in GSM environments. That is why NowSMS has historically converted 2 to 4 for binary messages.)

That said, we have encountered some SMPP service providers that understand binary messages with a data_coding value of 2, but do not understand a data_coding of 4.

There is a configuration setting in NowSMS 2009.03.17 or later that is available to force NowSMS to use a binary DCS value of 2.

To activate this setting, edit SMSGW.INI, and locate the [SMPP - server:port] section that defines settings for your SMPP connection. Under this section header add BinaryDCS=2

More details:


quote:

* SMPP: In SMPP environments, generic 8 bit-binary messages can be encoded with a data_coding value of either 2 or 4. NowSMS always uses a data_coding value of 4 (and converts 2 to 4, as they mean the same thing in the SMPP specification), because 4 is a valid data_coding value for a binary message sent over the air in a GSM environment, while 2 is not a valid value for an actual over the air message. To address an issue for a service provider that will only accept binary messages with a data_coding value of 2, there is a new configuration setting to remap the data_coding value from 4 to 2 for SMPP connections. To apply this setting for messages being submitted to a particular SMSC, edit SMSGW.INI, and under the SMSC specific section (e.g., [SMPP - server:port]), add BinaryDCS=2. To apply this setting for all SMPP client accounts (e.g., "SMS Users"), add BinaryDCS=2 under a section header of [SMPP] (this section may or may not already exist, if it does not, it should be added). (Note: There is also a BinaryDCS=## setting available under the [SMSGW] section of SMSGW.INI, however this setting has a slightly different purpose. The other BinaryDCS=## setting sets the data_coding value to be used for any WAP Push messages generated by NowSMS. By default it is F5, however some SMSCs require a value of 4 instead.) http://support.nowsms.com/discus/messages/1/24851.html




--
Des
NowSMS Support