Hello, This is a bug in the 7 bit encoding, and is not directly related with the size of the message: -> "123456789012345678901234567890z" works (31 chars) -> "......." does not work (7 chars)
In attachment goes the patch that solves this bug. Regards, Rodrigo -----Original Message----- From: [EMAIL PROTECTED] [mailto:devel-admin@;kannel.3glab.org] On Behalf Of Rene Kluwen Sent: Friday, October 18, 2002 3:03 AM To: [EMAIL PROTECTED] Subject: 31 characters (was: Funny) I tracked it down to: All messages of 31 characters won't send (in my case). I tested using both a Siemens SL45 and a Siemens M35. Is this a Siemens thingy? Or is something wrong packing the PDU? Could anybody confirm or deny this using a non-Siemens phone? I will see if I can find something in the source when it is not 4am in the morning anymore ;) -- Rene... -------- This email message has been automatically scanned for viri using Sophos antivirus. -------- ----- Original Message ----- From: Rene Kluwen / Chimit Software Solutions To: [EMAIL PROTECTED] Sent: Friday, October 18, 2002 3:49 AM Subject: Funny... The following message: "Slotkoers ABN Amro: 15.00 Euro." (without the quotes) won't send using the AT2 smsc. >From the logs: ==> /var/log/kannel/bearerbox.log <== 2002-10-18 03:46:29 [5] DEBUG: AT2[mysmsc]: TP-Validity-Period: 24.0 hours 2002-10-18 03:46:29 [5] DEBUG: AT2[mysmsc]: --> AT+CMGS=40^M 2002-10-18 03:46:29 [5] DEBUG: AT2[mysmsc]: <-- > 2002-10-18 03:46:29 [5] DEBUG: AT2[mysmsc]: send command status: 1 2002-10-18 03:46:29 [5] DEBUG: AT2[mysmsc]: --> 0031000A8160229761500000A71F53F69BBE7E97E5735050E80405DBF2B70E14ABB96030 50B12E7FBB 2002-10-18 03:46:29 [5] DEBUG: AT2[mysmsc]: --> ^Z 2002-10-18 03:46:29 [5] DEBUG: AT2[mysmsc]: <-- > 2002-10-18 03:46:29 [5] DEBUG: AT2[mysmsc]: <-- ERROR If I change any character within the message... Or if I add or remove 1 character... It will send... But just this particular message doesn't work... Does anybody have any idea why? -------- This email message has been automatically scanned for viri using Sophos antivirus. --------
smsc_at2.c.patch
Description: Binary data