Hello,
I have the following settings for my sendsms-user
group = sendsms-user
username = xyz
password = 123
max-messages = 5
concatenation = 1
And when I send a message through kannel that is over 160 characters long, I
have had it work (sometimes) for message that was 212 characters long, and
never for one that was 292 characters long: here is my latest output.
I am new to this, so I would be grateful for any ideas:
2008-06-19 16:01:01 [23721] [2] DEBUG: HTTP: Created HTTPClient area 0x98ae138.
2008-06-19 16:01:01 [23721] [3] INFO: smsbox: Got HTTP request
</cgi-bin/sendsms> from <127.0.0.1>
2008-06-19 16:01:01 [23721] [3] INFO: sendsms used by <tester>
2008-06-19 16:01:01 [23721] [3] INFO: sendsms sender:<tester:15015> (127.0.0.1)
to:<6145551212> msg:<here is a super long message that will end p being over
160 characters long, but we will see what happens, I am not quite sure, it is
supposed to concatenate it into one big message, but we will see what happens.>
2008-06-19 16:01:01 [23721] [3] DEBUG: Stored UUID
b4c22305-825a-47be-90b6-262923481f2c
2008-06-19 16:01:01 [23721] [3] DEBUG: message length 212, sending 2 messages
2008-06-19 16:01:01 [23721] [3] DEBUG: Status: 202 Answer: <Sent. Message
splits: 2>
2008-06-19 16:01:01 [23721] [3] DEBUG: Delayed reply - wait for bearerbox
2008-06-19 16:01:01 [23661] [8] DEBUG: boxc_receiver: sms received
2008-06-19 16:01:01 [23661] [8] DEBUG: new split_parts created 0xa01aaa8
2008-06-19 16:01:01 [23661] [8] DEBUG: send_msg: sending msg to box: <127.0.0.1>
2008-06-19 16:01:01 [23721] [0] DEBUG: Got ACK (0) of
b4c22305-825a-47be-90b6-262923481f2c
2008-06-19 16:01:01 [23721] [0] DEBUG: HTTP: Destroying HTTPClient area
0x98ae138.
2008-06-19 16:01:01 [23721] [0] DEBUG: HTTP: Destroying HTTPClient for
`127.0.0.1'.
2008-06-19 16:01:03 [23661] [6] DEBUG: AT2[/dev/ttyS0]: TP-Validity-Period:
24.0 hours
2008-06-19 16:01:03 [23661] [6] DEBUG: AT2[/dev/ttyS0]: --> AT+CMGS=71^M
2008-06-19 16:01:03 [23661] [6] DEBUG: AT2[/dev/ttyS0]: <-- >
2008-06-19 16:01:03 [23661] [6] DEBUG: AT2[/dev/ttyS0]: send command status: 1
2008-06-19 16:01:03 [23661] [6] DEBUG: AT2[/dev/ttyS0]: -->
0051000A8116449311900000A742050003000202DC617A1994A683D26EFA1BF4769741E2F419D42ECFE7E173990512D7E9A07B19744FB3D9A079B90CBAA3C374103A0C8797DD7317
2008-06-19 16:01:03 [23661] [6] DEBUG: AT2[/dev/ttyS0]: --> ^Z
2008-06-19 16:01:03 [23661] [6] DEBUG: AT2[/dev/ttyS0]: <-- >
2008-06-19 16:01:03 [23661] [6] DEBUG: AT2[/dev/ttyS0]: <-- ERROR
2008-06-19 16:01:03 [23661] [6] ERROR: AT2[/dev/ttyS0]: Generic error: ERROR
2008-06-19 16:01:03 [23661] [6] DEBUG: AT2[/dev/ttyS0]: send command status: -1
2008-06-19 16:01:03 [23661] [6] DEBUG: AT2[/dev/ttyS0]: --> AT+CMGS=71^M
2008-06-19 16:01:03 [23661] [6] DEBUG: AT2[/dev/ttyS0]: <-- >
2008-06-19 16:01:03 [23661] [6] DEBUG: AT2[/dev/ttyS0]: send command status: 1
2008-06-19 16:01:03 [23661] [6] DEBUG: AT2[/dev/ttyS0]: -->
0051000A8116449311900000A742050003000202DC617A1994A683D26EFA1BF4769741E2F419D42ECFE7E173990512D7E9A07B19744FB3D9A079B90CBAA3C374103A0C8797DD7317
2008-06-19 16:01:03 [23661] [6] DEBUG: AT2[/dev/ttyS0]: --> ^Z
2008-06-19 16:01:03 [23661] [6] DEBUG: AT2[/dev/ttyS0]: <-- >
2008-06-19 16:01:03 [23661] [6] DEBUG: AT2[/dev/ttyS0]: <-- ERROR
2008-06-19 16:01:03 [23661] [6] ERROR: AT2[/dev/ttyS0]: Generic error: ERROR
2008-06-19 16:01:03 [23661] [6] DEBUG: AT2[/dev/ttyS0]: send command status: -1
2008-06-19 16:01:03 [23661] [6] DEBUG: AT2[/dev/ttyS0]: --> AT+CMGS=71^M
2008-06-19 16:01:03 [23661] [6] DEBUG: AT2[/dev/ttyS0]: <-- >
2008-06-19 16:01:03 [23661] [6] DEBUG: AT2[/dev/ttyS0]: send command status: 1
2008-06-19 16:01:03 [23661] [6] DEBUG: AT2[/dev/ttyS0]: -->
0051000A8116449311900000A742050003000202DC617A1994A683D26EFA1BF4769741E2F419D42ECFE7E173990512D7E9A07B19744FB3D9A079B90CBAA3C374103A0C8797DD7317
2008-06-19 16:01:03 [23661] [6] DEBUG: AT2[/dev/ttyS0]: --> ^Z
2008-06-19 16:01:03 [23661] [6] DEBUG: AT2[/dev/ttyS0]: <-- >
2008-06-19 16:01:03 [23661] [6] DEBUG: AT2[/dev/ttyS0]: <-- ERROR
2008-06-19 16:01:03 [23661] [6] ERROR: AT2[/dev/ttyS0]: Generic error: ERROR
2008-06-19 16:01:03 [23661] [6] DEBUG: AT2[/dev/ttyS0]: send command status: -1
2008-06-19 16:01:03 [23661] [6] DEBUG: Set split msg status to 3
2008-06-19 16:01:03 [23661] [6] DEBUG: AT2[/dev/ttyS0]: TP-Validity-Period:
24.0 hours
2008-06-19 16:01:03 [23661] [6] DEBUG: AT2[/dev/ttyS0]: --> AT+CMGS=153^M
2008-06-19 16:01:03 [23661] [6] DEBUG: AT2[/dev/ttyS0]: <-- >
2008-06-19 16:01:03 [23661] [6] DEBUG: AT2[/dev/ttyS0]: send command status: 1
2008-06-19 16:01:03 [23661] [6] DEBUG: AT2[/dev/ttyS0]: -->
0051000A8116449311900000A7A0050003000201D0657919949E83C2A0791D5E9683D86FF719D42ECFE7E17319444787E9A07B9ACD0695DD64101C242EA7DD67D0DB5E9683623618688C0ECBC3637A593E07B1DFEE330B24AED341F732E89E66B341F37219744787E92074180E2FBBE72C5012146E83DC6F3A285E4FD3CBA0795D5E6681D274507A0E9AD7E1F0F7BC4C06D1DFA0F1DB3D0ED3CB
2008-06-19 16:01:04 [23661] [6] DEBUG: AT2[/dev/ttyS0]: --> ^Z
2008-06-19 16:01:04 [23661] [6] DEBUG: AT2[/dev/ttyS0]: <-- >
2008-06-19 16:01:04 [23661] [6] DEBUG: AT2[/dev/ttyS0]: <-- ERROR
2008-06-19 16:01:04 [23661] [6] ERROR: AT2[/dev/ttyS0]: Generic error: ERROR
2008-06-19 16:01:04 [23661] [6] DEBUG: AT2[/dev/ttyS0]: send command status: -1
2008-06-19 16:01:04 [23661] [6] DEBUG: AT2[/dev/ttyS0]: --> AT+CMGS=153^M
2008-06-19 16:01:04 [23661] [6] DEBUG: AT2[/dev/ttyS0]: <-- >
2008-06-19 16:01:04 [23661] [6] DEBUG: AT2[/dev/ttyS0]: send command status: 1
2008-06-19 16:01:04 [23661] [6] DEBUG: AT2[/dev/ttyS0]: -->
0051000A8116449311900000A7A0050003000201D0657919949E83C2A0791D5E9683D86FF719D42ECFE7E17319444787E9A07B9ACD0695DD64101C242EA7DD67D0DB5E9683623618688C0ECBC3637A593E07B1DFEE330B24AED341F732E89E66B341F37219744787E92074180E2FBBE72C5012146E83DC6F3A285E4FD3CBA0795D5E6681D274507A0E9AD7E1F0F7BC4C06D1DFA0F1DB3D0ED3CB
2008-06-19 16:01:04 [23661] [6] DEBUG: AT2[/dev/ttyS0]: --> ^Z
2008-06-19 16:01:04 [23661] [6] DEBUG: AT2[/dev/ttyS0]: <-- >
2008-06-19 16:01:04 [23661] [6] DEBUG: AT2[/dev/ttyS0]: <-- ERROR
2008-06-19 16:01:04 [23661] [6] ERROR: AT2[/dev/ttyS0]: Generic error: ERROR
2008-06-19 16:01:04 [23661] [6] DEBUG: AT2[/dev/ttyS0]: send command status: -1
2008-06-19 16:01:04 [23661] [6] DEBUG: AT2[/dev/ttyS0]: --> AT+CMGS=153^M
2008-06-19 16:01:04 [23661] [6] DEBUG: AT2[/dev/ttyS0]: <-- >
2008-06-19 16:01:04 [23661] [6] DEBUG: AT2[/dev/ttyS0]: send command status: 1
2008-06-19 16:01:04 [23661] [6] DEBUG: AT2[/dev/ttyS0]: -->
0051000A8116449311900000A7A0050003000201D0657919949E83C2A0791D5E9683D86FF719D42ECFE7E17319444787E9A07B9ACD0695DD64101C242EA7DD67D0DB5E9683623618688C0ECBC3637A593E07B1DFEE330B24AED341F732E89E66B341F37219744787E92074180E2FBBE72C5012146E83DC6F3A285E4FD3CBA0795D5E6681D274507A0E9AD7E1F0F7BC4C06D1DFA0F1DB3D0ED3CB
2008-06-19 16:01:04 [23661] [6] DEBUG: AT2[/dev/ttyS0]: --> ^Z
2008-06-19 16:01:04 [23661] [6] DEBUG: AT2[/dev/ttyS0]: <-- >
2008-06-19 16:01:04 [23661] [6] DEBUG: AT2[/dev/ttyS0]: <-- ERROR
2008-06-19 16:01:04 [23661] [6] ERROR: AT2[/dev/ttyS0]: Generic error: ERROR
2008-06-19 16:01:04 [23661] [6] DEBUG: AT2[/dev/ttyS0]: send command status: -1
2008-06-19 16:01:04 [23661] [6] DEBUG: Set split msg status to 3
2008-06-19 16:01:04 [23661] [6] DEBUG: Parts of concatenated message failed.
2008-06-19 16:01:10 [23661] [6] DEBUG: AT2[/dev/ttyS0]: <-- OK