Length of SMS > 160 characters

Length of SMS > 160 characters SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through February 02, 2006 » Length of SMS > 160 characters « Previous || Next »
Author Message
Bryn Chapman
New member
Username: Chapster

Post Number: 1
Registered: 12-2005
Posted on Wednesday, December 28, 2005 - 05:10 am:   

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
Posted on Wednesday, January 11, 2006 - 11:50 pm:   

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
Posted on Friday, January 13, 2006 - 04:19 pm:   

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
Posted on Thursday, January 19, 2006 - 02:02 am:   

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


application/octet-streamSMSDEBUG.LOG
SMSDEBUG.LOG (5.9 k)
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 5460
Registered: 10-2002
Posted on Friday, January 27, 2006 - 06:50 pm:   

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
Posted on Sunday, January 29, 2006 - 11:33 pm:   

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
application/octet-streamSMSDEBUG.LOG
SMSDEBUG.LOG (5.1 k)
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 5488
Registered: 10-2002
Posted on Monday, January 30, 2006 - 06:18 pm:   

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
Posted on Tuesday, January 31, 2006 - 05:49 am:   

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
Posted on Wednesday, February 01, 2006 - 05:36 pm:   

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

Login Login / Register Logout Logout Search Last 30 Days Topics Topics