Sending Long Text

Sending Long Text SearchSearch
Author Message
ganesan subburaj
New member
Username: Essgan

Post Number: 3
Registered: 03-2007
Posted on Friday, May 04, 2007 - 01:22 pm:   

Hello,

This is Ganesh from GistMe Communications,We are using nowsms to send SMS

I am facing some issues when sending long text(more than 160 chrs) in a single sms submit.

I tried to send more then 160 character as single sms using NowSMS URL as a single submit,like the following(Total of around 250 characters)

http://127.0.0.1:8800/?PhoneNumber=919894710352&Text=Hi+Ganesh%2cAre+you+saying+ that+the+length+of+the+message+is+always+ok+if+you+submit+through+the+NowSMS+web +form%3fIf+so%2c+then+it+sounds+like+something+might+be+wrong+with+the+program+t hat+you+are+using+the+perform+the+URL+submission&SMSCRoute=ClickaTellGateway&Sen der=GISTTEST


After that submission the message are submitted as two sms (as a binary SMS) and I can't get response on my phone.

But when i send less then 160 character,i got a response on my phone.

The following are the logs in the NowSms Server

SMSDEBUG.LOG

12:55:05:046 [12] ThreadProcessConnection: Processing request /?PhoneNumber=919894710352&Text=Hi+Ganesh%2cAre+you+saying+that+the+length+of+th e+message+is+always+ok+if+you+submit+through+the+NowSMS+web+form%3fIf+so%2c+then +it+sounds+like+something+might+be+wrong+with+the+program+that+you+are+using+the +perform+the+URL+submission&SMSCRoute=ClickaTellGateway&Sender=GISTTEST

SMSOUT-20070504.LOG

2007-05-04 12:55:05,SAR-919894710352-19-2-1.req,172.17.17.10,919894710352,OK -- SMPP - smpp.clickatell.com:2345,Sender=GISTTEST;SMSCMsgId=fefec0bc8f040af08fcc10a6b60bb 7f6;Binary=1;UDH=050003190201;Data=9069D031EC2ECFD1ACA0BC0CCABFEBA079389F769F417 474980EA2A3CB2076D97DA6A3416F33888E2E83DAE5F93C7C2E83D27350987D0FE7E7A0F71A94368 3F2EF3A685E17B7D374101D2D7FD7CF68101D5D0639DFF769730ABA97C520F35BDEFE25CDA0F99B0 5A2A3CB6E509A0E9ABFEB6EF21CC44EAFCBA0F9BB5DA6A3D3EE33A89D3EA3E9

2007-05-04 12:55:06,SAR-919894710352-19-2-2.req,172.17.17.10,919894710352,OK -- SMPP - smpp.clickatell.com:2345,Sender=GISTTEST;SMSCMsgId=caca87482020893775cd0cbaa2786 f98;Binary=1;UDH=050003190202;Data=40E232E82E7FBBCFA07B9A8E06D1D165105CFE3ECBC36 D101D1DA683F2EF3A282C2F83EAF3B4FB0CA2A3CB2078596E7ECBDB203ABA0CAA4A99A0795DDC4EC FE7E9B71B


Could you please help me to solve the issue

Thanks
Ganesh
ganesan subburaj
New member
Username: Essgan

Post Number: 4
Registered: 03-2007
Posted on Saturday, May 05, 2007 - 11:08 am:   

Hello Sir,


I tried the following but i can't get the expected result.

"Encode long text messages with 7-bit packed encoding" - Checked, "Use TLV parameters for port numbers and segmentation" -- UNCHECKED

* 2 binary sms are submited to smpp providers and i did'nt get any sms

"Encode long text messages with 7-bit packed encoding" - UNChecked , "Use TLV parameters for port numbers and segmentation" -- UNCHECKED

* 2 files created in Queue and those are not submited to smpp providers,it remains in the Queue

SAR-919894710352-7c.LCK
SAR-919894710352-7c-2-1.req

Logs in SMSOUT-20070505.LOG

2007-05-05 10:53:57,SAR-919894710352-7c-2-1.req,127.0.0.1,919894710352,Retry Pending - ERROR: Message Length is invalid -- SMPP - smpp.clickatell.com:2345,Sender=GistMe


"Use TLV parameters for port numbers and segmentation" -- CHECKED, "Encode long text messages with 7-bit packed encoding" - UNChecked



Logs in SMSOUT-20070505.LOG

2007-05-05 08:26:10,SAR-919894710352-8e-2-1.req,172.17.17.10,919894710352,OK -- SMPP - smpp.clickatell.com:2345,Sender=GISTTEST;SMSCMsgId=37d956e99209a448a8718504b5252 936;Binary=1;UDH=0500038E0201;Data=8E6177791E76B382F23228FFAE83E6E17CDA7D06D1D16 13A888E2E83D865F7998E06BDCD203ABA0C6A97E7F3F0B90C4ACF4161F63D9C9F83DE6B50DA0CCAB FEBA0795DDC4ED34174B4FC5D3FA341747419E47CDFA7CD29E85E1683CC6F791B943483E66F16888 E2EBB41693A68FEAEBBC973103BBD2E83E6EF76998E4EBBCFA076FA8CA683C4



2007-05-05 08:26:11,SAR-919894710352-8e-2-2.req,172.17.17.10,919894710352,OK -- SMPP - smpp.clickatell.com:2345,Sender=GISTTEST;SMSCMsgId=bf552cba1e935309269ceb61c45fa 18e;Binary=1;UDH=0500038E0202;Data=CAA0BBFCED3E83EE693A1A4447974170F9FB2C0FB7417 474980ECABFEBA0B0BC0CAACFD3EE33888E2E83E065B9F92D6F83E8E832A82A6582E675713B3D9FA 7DF6E


SMSDEBUG.LOG

08:26:09:218 [12] ThreadProcessConnection: Processing request /?PhoneNumber=919894710352&Text=Ganesan%2cAre+you+saying+that+the+length+of+the+ message+is+always+ok+if+you+submit+through+the+NowSMS+web+form+If+so%2c+then+it+ sounds+like+something+might+be+wrong+with+the+program+that+you+are+using+the+per form+the+URL+submission&SMSCRoute=ClickaTellGateway&Sender=GISTTEST





I got the two sms with following text



<Empty Reply from service providers>





Can you please help me out


Thanks
Ganesh