Length of SMS > 160 characters | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through February 02, 2006 ⬆ |
◄ ► |
Author | Message | ||||
Bryn Chapman New member Username: Chapster Post Number: 1 Registered: 12-2005 |
Hi Bryce I have an issue with an application I developed for NowSMS. I am using 2-way to parse the smstext through to a script on a unix server. The issue is that when the message is greater than 160 characters it appears on NowSMS as a binary encoded sms. This binary sms is then passed to the script on the unix server. Is there anyway of getting NowSMS to combine the sms's which form the long sms and send them as text to the script instead of as a binary message? The log file for the sms's is below: 2005-12-23 09:30:04,+61434989302,Text,Vibe,0423154364 2005-12-23 14:03:49,+61403999987,Binary,050003760201303430333939393938372031323132323131323 035206D65737361676564207567682069732061207465737420616E642061207465737420616E642 061207465726D20616E642061207465737420616E642061207465737420616E64206120746573742 0616E642061207465737420616E642061207465737420616E642061207465737420616E642061207 465737420616E64206120746573,228 2005-12-23 14:03:51,+61403999987,Binary,0500037602027420616E642061207465737420616E642061207 465737420656E64,228 Many thanks, Bryn | ||||
Bryn Chapman New member Username: Chapster Post Number: 2 Registered: 12-2005 |
Hi Bryce Please could you have a look at this question? Many thanks, Bryn | ||||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 5407 Registered: 10-2002 |
Hi Bryn, The 2-way command facility automatically reassembles and decodes these types of messages. Do you have a 2-way command configured, or are you processing the log files (or message files)? I'd like to see an SMSDEBUG.LOG excerpt ... as maybe the segmentation headers are not being received with the UDH flag set -bn | ||||
Bryn Chapman New member Username: Chapster Post Number: 3 Registered: 12-2005 |
Hi Bryce Thanks for the response. I have a 2-way command configured. I have attached the log file for the specific record from the SMSDEBUG.LOG. Regards, Bryn
| ||||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 5460 Registered: 10-2002 |
Bryn, Sorry, I was away for a week, and it's taking me some time to get caught up. It looks to me like that message was successfully re-assembled. Well, I take that back. It looks like it was re-assembled, but not necessarily with success. Try again with the update at http://www.nowsms.com/download/latestpatch.zip, as I believe we made a change to our logic in processing received long messages. In fact, here's a mention of the change in the v5.51c release notes: * SMS/SMPP Server: When acting as an SMPP server, and sending or receiving messages from SMPP clients, assume that long text messages will be encoded in text format with UDH instead of binary encoding. (Previous versions would send long text SMS messages to a connected SMPP client with the text packed using 7-bit encoding. To enable the previous behaviour, edit SMSGW.INI, and create an [SMPP] section with a setting of LongSMSPacked=Yes.) Based upon what I see in the log, I believe the update should resolve the problem. -bn | ||||
Bryn Chapman New member Username: Chapster Post Number: 4 Registered: 12-2005 |
Hi Bryce Many thanks for your response. I have auploaded the patch however I seem to be getting the same issue as before. I have attached the new smsdebug.log file. Many thanks, Bryn
| ||||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 5488 Registered: 10-2002 |
Hi Bryn, It looks like you didn't get the patch. You got v5.51b, but it needs to be v5.51c or later. The link that I referenced above (http://www.nowsms.com/download/latestpatch.zip) should have v5.51k. -bn | ||||
Ramakrishna Amperayani New member Username: Amperayanirk Post Number: 3 Registered: 01-2006 |
Hi, This is kris, developing sms application. Iam planning to use third party gateway. How can i do 2 way sms. Any body send me the sample code. Many Thanks kris | ||||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 5500 Registered: 10-2002 |
Hi, The best links for information on 2-way SMS with NowSMS are here: http://support.nowsms.com/discus/messages/1/4520.html http://www.nowsms.com/documentation/ProductDocumentation/2_way_sms_support.htm -bn |