Long SMS's Corrupt

Long SMS's Corrupt SearchSearch
Author Message
Anonymous
 
Posted on Tuesday, December 30, 2003 - 02:10 pm:   

Whenever I send an SMS longer than 160 Chars via our SMPP provider is arrives as one single junk unreadable SMS. Any ideas why and how to fix it? Short messages are OK
morlac
Unregistered guest
Posted on Wednesday, December 31, 2003 - 01:30 pm:   

Hi there,
I have had the same problem and managed to solve it by converting the whole message to a binary string then I send it as a binary sms using:
http://xxx.xxx.xxx.xxx:8800/Send Text Message.htm?PhoneNumber=xxxxxxxxxxx&Data=yyyyyyyyyy&Binary=1
where yyyyyyyyyy is the binary formated string of the original message.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 1467
Registered: 10-2002
Posted on Wednesday, December 31, 2003 - 05:44 pm:   

Hi,

Some SMPP providers do not follow the specs correctly for handling long SMS. It sounds like you're experiencing the same problem that we found when using Mobileway.

Admittedly, the SMPP specifications are a little vague in this area. But most providers expect a long SMS to be encoded into 7-bit packed encoding. (Others like Mobileway expect the user data header to be binary, but the text itself to be standard 8-bit.)

There is an update patch for NowSMS v5.0 available for download at http://www.nowsms.com/download/nowsms5-patch4.zip. With this updated version, you can manually edit SMSGW.INI, and under the section header where the parameters for your SMPP connection are defined (e.g., [SMPP - x.x.x.x:yy]), add LongSMSAlt=Yes.

That tells NowSMS to use an alternate encoding for long SMS text messages.