Re: are these bugs when sending concatenated SMSs

"Alexander Malysh" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hi,

Am 30.01.2007, 20:03 Uhr, schrieb Hillel <[email protected]>:

> Hi,
>
> I'm sure many of you are sending concatenated SMSs. Please will someone  
> give
> some suggestions.
>
> 1. If the message length is 1440 chars why is it sending 10 messages (as  
> per
> the DEBUG log below) as (1440/160 = 9 messages) ? or in the other case  
> with
> message length 320, why is it sending 3 messages (320/160 = 2 messages)  
> (as
> per the DEBUG log below)?

because for each concatenated message kannel adds UDH that is 6 Octets.

>
> 2. What does "ERROR: Error reading from fd 24:" mean? Is this a Kannel  
> bug?

As you can see further in your log:
> 2007-01-30 20:54:21 [26825] [1] ERROR: System error 104: Connection  
> reset by
> peer

=> not a kannel bug, peer just closed connection.

>
> We are using the latest cvs-20070130
>
> We are using:
>
> group = sendsms-user
> username = xxxxx
> password = yyyyyy
> concatenation = true
> max messages =10
>
> 2007-01-30 20:10:41 [26825] [3] INFO: sendsms
> sender:<xxxxx:2783123456789012> (112.112.112.122) to:<27831234678>
> msg:<01234567890123456789a01234567890123456789b01234567890123456789c01234567
> 890123456789d01234567890123456789e01234567890123456789f01234567890123456789g
> 01234567890123456789h01234567890123456789i01234567890123456789j0123456789012
> 3456789k01234567890123456789l01234567890123456789m01234567890123456789n01234
> 567890123456789o01234567890123456789p01234567890123456789q012345678901234567
> 89r01234567890123456789s01234567890123456789t01234567890123456789u0123456789
> 0123456789v01234567890123456789w01234567890123456789x01234567890123456789y01
> 234567890123456789z01234567890123456789A01234567890123456789B012345678901234
> 56789C01234567890123456789D01234567890123456789E01234567890123456789F0123456
> 7890123456789G01234567890123456789H01234567890123456789I01234567890123456789
> J01234567890123456789K01234567890123456789L01234567890123456789M012345678901
> 23456789N01234567890123456789O01234567890123456789P01234567890123456789Q0123
> 4567890123456789R01234567890123456789S01234567890123456789T01234567890123456
> 789U01234567890123456789V01234567890123456789W01234567890123456789X012345678
> 90123456789Y01234567890123456789Z01234567890123456789a01234567890123456789b0
> 1234567890123456789c01234567890123456789d01234567890123456789e01234567890123
> 456789f01234567890123456789g01234567890123456789h01234567890123456789i012345
> 67890123456789j01234567890123456789k01234567890123456789l0123456789012345678
> 9m01234567890123456789n01234567890123456789o01234567890123456789p01234569xSM
> S>
> 2007-01-30 20:10:41 [26825] [3] DEBUG: message length 1440, sending 10
> messages
> 2007-01-30 20:10:41 [26825] [3] DEBUG: Status: 202 Answer: <Sent. Message
> splits: 10>
> 2007-01-30 20:10:41 [26825] [3] DEBUG: HTTP: Resetting HTTPClient for
> `112.112.112.122'.
> 2007-01-30 20:10:42 [26825] [1] ERROR: Error reading from fd 24:
> 2007-01-30 20:10:42 [26825] [1] ERROR: System error 104: Connection  
> reset by
> peer
> 2007-01-30 20:10:42 [26825] [1] DEBUG: HTTP: Destroying HTTPClient area
> 0xa17c4f0.
> 2007-01-30 20:10:42 [26825] [1] DEBUG: HTTP: Destroying HTTPClient for
> `112.112.112.122'.
>
>
> 2007-01-30 20:54:21 [26825] [3] INFO: sendsms
> sender:<xxxxx:2783123456789012> (112.112.112.122) to:<27831234678>
> msg:<01234567890123456789a01234567890123456789b01234567890123456789c01234567
> 890123456789d01234567890123456789e01234567890123456789f01234567890123456789g
> 01234567890123456789h01234567890123456789i01234567890123456789j0123456789012
> 3456789k01234567890123456789l01234567890123456789m01234567890123456789n01234
> 567890123456789o2xSMS>
> 2007-01-30 20:54:21 [26825] [3] DEBUG: message length 320, sending 3
> messages
> 2007-01-30 20:54:21 [26825] [3] DEBUG: Status: 202 Answer: <Sent. Message
> splits: 3>
> 2007-01-30 20:54:21 [26825] [3] DEBUG: HTTP: Resetting HTTPClient for
> `112.112.112.122'.
> 2007-01-30 20:54:21 [26825] [1] ERROR: Error reading from fd 24:
> 2007-01-30 20:54:21 [26825] [1] ERROR: System error 104: Connection  
> reset by
> peer
> 2007-01-30 20:54:21 [26825] [1] DEBUG: HTTP: Destroying HTTPClient area
> 0xa17c4f0.
> 2007-01-30 20:54:21 [26825] [1] DEBUG: HTTP: Destroying HTTPClient for
> `112.112.112.122'.
>
> Thanks
>
>
>
>



-- 
Thanks,
Alex
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.