Multipart SMS received by CIMD2 are not routed to smsbox

Michael Zervakis <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hello,

    I noticed that when bearerbox receives multipart sms from a CIMD2 
connection it won't route it to smsbox and it will keep multipart sms 
queued indefinitely. However if bearerbox is restarted all previously 
queued multipart sms are routed to smsbox.

Any help will be appreciated. Thanks.

#Kannel version: cvs-20071001
#CIMD2 conf:
group = smsc
smsc = cimd2
smsc-id = "55555"
host = 10.10.10.10
port = 9971
smsc-username = "user"
smsc-password = "pass"
keepalive = 120
my-number = never
allowed-smsc-id = "55555"
unified-prefix = "+3069,69;+3069,3069;+3069,003069"

#smsbox conf:
group = smsbox-route
smsbox-id = "01"
smsc-id = "55555"

group = sms-service
keyword = default
post-xml = "http://10.10.12.12/sms.aspx"
accepted-smsc = "55555"
concatenation = no
send-sender = yes
max-messages = 0


Bearerbox startup log reports:
2008-03-21 15:09:22 [1236] [0] DEBUG: smsbox MO concatenated message 
handling enabled

CIMD2 log:
2008-03-21 13:56:55 [12553] [25] DEBUG: CIMD2[smsc10]: received: 
<^B20:154        021:55555000002 023:306979797979        
060:080321135654        032:050003000201        
034:004C039F0056039500200398039
5039B03A90020039D039100200391039A039F03A503A303A9002003A4039F002003A10399039E03950020039C03990391002003A3039A0391039B0391002003A303C403BF002003A603B503B303B303B103C103B9002003A4039F03A50020039D03A40391039B03
9103A103910020039A0020039D03910020        052:0   030:8   
028:30971200000 026:202010201047160     069:3097100012  D2^C>
2008-03-21 13:56:55 [12553] [25] DEBUG: CIMD2[smsc10]: sending 
<^B70:154  46^C>
2008-03-21 13:56:55 [12553] [25] DEBUG: CIMD2[smsc10]: new message received
2008-03-21 13:56:55 [12553] [25] DEBUG: Got part 1 [ref 0, total parts 
2] of message from +306979797979. Dump follows:
2008-03-21 13:56:55 [12553] [25] DEBUG: Msg object at 0x827c3c8:
2008-03-21 13:56:55 [12553] [25] DEBUG:  type: sms
2008-03-21 13:56:55 [12553] [25] DEBUG:  sms.sender:
2008-03-21 13:56:55 [12553] [25] DEBUG:  Octet string at 0x827c490:
2008-03-21 13:56:55 [12553] [25] DEBUG:    len:  13
2008-03-21 13:56:55 [12553] [25] DEBUG:    size: 14
2008-03-21 13:56:55 [12553] [25] DEBUG:    immutable: 0
2008-03-21 13:56:55 [12553] [25] DEBUG:    data: 2b 33 30 36 39 37 32 37 
32 37 32 37 32            +306979797979
2008-03-21 13:56:55 [12553] [25] DEBUG:  Octet string dump ends.
2008-03-21 13:56:55 [12553] [25] DEBUG:  sms.receiver:
2008-03-21 13:56:55 [12553] [25] DEBUG:  Octet string at 0x827c4c0:
2008-03-21 13:56:55 [12553] [25] DEBUG:    len:  11
2008-03-21 13:56:55 [12553] [25] DEBUG:    size: 12
2008-03-21 13:56:55 [12553] [25] DEBUG:    immutable: 0
2008-03-21 13:56:55 [12553] [25] DEBUG:    data: 35 35 35 35 35 30 30 30 
30 30 32                  55555000002
2008-03-21 13:56:55 [12553] [25] DEBUG:  Octet string dump ends.
2008-03-21 13:56:55 [12553] [25] DEBUG:  sms.udhdata:
2008-03-21 13:56:55 [12553] [25] DEBUG:  Octet string at 0x827c4d8:
2008-03-21 13:56:55 [12553] [25] DEBUG:    len:  6
2008-03-21 13:56:55 [12553] [25] DEBUG:    size: 7
2008-03-21 13:56:55 [12553] [25] DEBUG:    immutable: 0
2008-03-21 13:56:55 [12553] [25] DEBUG:    data: 05 00 03 00 02 
01                                 ......
2008-03-21 13:56:55 [12553] [25] DEBUG:  Octet string dump ends.
2008-03-21 13:56:55 [12553] [25] DEBUG:  sms.msgdata:
2008-03-21 13:56:55 [12553] [25] DEBUG:  Octet string at 0x827c4f0:
2008-03-21 13:56:55 [12553] [25] DEBUG:    len:  134
2008-03-21 13:56:55 [12553] [25] DEBUG:    size: 135
2008-03-21 13:56:55 [12553] [25] DEBUG:    immutable: 0
2008-03-21 13:56:55 [12553] [25] DEBUG:    data: 00 4c 03 9f 00 56 03 95 
00 20 03 98 03 95 03 9b   .L...V... ......
2008-03-21 13:56:55 [12553] [25] DEBUG:    data: 03 a9 00 20 03 9d 03 91 
00 20 03 91 03 9a 03 9f   ... ..... ......
2008-03-21 13:56:55 [12553] [25] DEBUG:    data: 03 a5 03 a3 03 a9 00 20 
03 a4 03 9f 00 20 03 a1   ....... ..... ..
2008-03-21 13:56:55 [12553] [25] DEBUG:    data: 03 99 03 9e 03 95 00 20 
03 9c 03 99 03 91 00 20   ....... .......
2008-03-21 13:56:55 [12553] [25] DEBUG:    data: 03 a3 03 9a 03 91 03 9b 
03 91 00 20 03 a3 03 c4   ........... ....
2008-03-21 13:56:55 [12553] [25] DEBUG:    data: 03 bf 00 20 03 a6 03 b5 
03 b3 03 b3 03 b1 03 c1   ... ............
2008-03-21 13:56:55 [12553] [25] DEBUG:    data: 03 b9 00 20 03 a4 03 9f 
03 a5 00 20 03 9d 03 a4   ... ....... ....
2008-03-21 13:56:55 [12553] [25] DEBUG:    data: 03 91 03 9b 03 91 03 a1 
03 91 00 20 03 9a 00 20   ........... ...
2008-03-21 13:56:55 [12553] [25] DEBUG:    data: 03 9d 03 91 00 
20                                 .....
2008-03-21 13:56:55 [12553] [25] DEBUG:  Octet string dump ends.
2008-03-21 13:56:55 [12553] [25] DEBUG:  sms.time: 1206100615
2008-03-21 13:56:55 [12553] [25] DEBUG:  sms.smsc_id:
2008-03-21 13:56:55 [12553] [25] DEBUG:  Octet string at 0x827c598:
2008-03-21 13:56:55 [12553] [25] DEBUG:    len:  12
2008-03-21 13:56:55 [12553] [25] DEBUG:    size: 13
2008-03-21 13:56:55 [12553] [25] DEBUG:    immutable: 0
2008-03-21 13:56:55 [12553] [25] DEBUG:    data: 63 6f 73 6d 6f 74 65 35 
34 39 35 34               smsc10
2008-03-21 13:56:55 [12553] [25] DEBUG:  Octet string dump ends.
2008-03-21 13:56:55 [12553] [25] DEBUG:  sms.smsc_number:
2008-03-21 13:56:55 [12553] [25] DEBUG:  sms.service:
2008-03-21 13:56:55 [12553] [25] DEBUG:  sms.account:
2008-03-21 13:56:55 [12553] [25] DEBUG:  sms.id: 
a09d5b92-c108-4219-a7b4-8ffb2c1da9a4
2008-03-21 13:56:55 [12553] [25] DEBUG:  sms.sms_type: 0
2008-03-21 13:56:55 [12553] [25] DEBUG:  sms.mclass: -1
2008-03-21 13:56:55 [12553] [25] DEBUG:  sms.mwi: -1
2008-03-21 13:56:55 [12553] [25] DEBUG:  sms.coding: 2
2008-03-21 13:56:55 [12553] [25] DEBUG:  sms.compress: 0
2008-03-21 13:56:55 [12553] [25] DEBUG:  sms.validity: -1
2008-03-21 13:56:55 [12553] [25] DEBUG:  sms.deferred: -1
2008-03-21 13:56:55 [12553] [25] DEBUG:  sms.dlr_mask: -1
2008-03-21 13:56:55 [12553] [25] DEBUG:  sms.dlr_url:
2008-03-21 13:56:55 [12553] [25] DEBUG:  sms.pid: -1
2008-03-21 13:56:55 [12553] [25] DEBUG:  sms.alt_dcs: 0
2008-03-21 13:56:55 [12553] [25] DEBUG:  sms.rpi: -1
2008-03-21 13:56:55 [12553] [25] DEBUG:  sms.charset:
2008-03-21 13:56:55 [12553] [25] DEBUG:  sms.boxc_id:
2008-03-21 13:56:55 [12553] [25] DEBUG:  sms.binfo:
2008-03-21 13:56:55 [12553] [25] DEBUG:  sms.msg_left: -1
2008-03-21 13:56:55 [12553] [25] DEBUG:  sms.split_parts: (nil)
2008-03-21 13:56:55 [12553] [25] DEBUG:  sms.priority: -1
2008-03-21 13:56:55 [12553] [25] DEBUG:  sms.resend_try: -1
2008-03-21 13:56:55 [12553] [25] DEBUG:  sms.resend_time: -1
2008-03-21 13:56:55 [12553] [25] DEBUG: Msg object ends.
2008-03-21 13:56:57 [12553] [25] DEBUG: CIMD2[smsc10]: received: 
<^B20:156        021:55555000001 023:306979797979        
060:080321135657        032:050003000202        
034:03A303A4039F0020039103A6039
9039503A103A903A303A9002E002E0391039D039D039100210020    052:0   030:8   
028:30971200000 026:202010201047160     069:3097100012  16^C>
2008-03-21 13:56:57 [12553] [25] DEBUG: CIMD2[smsc10]: sending 
<^B70:156  48^C>
2008-03-21 13:56:57 [12553] [25] DEBUG: CIMD2[smsc10]: new message received
2008-03-21 13:56:57 [12553] [25] DEBUG: Got part 2 [ref 0, total parts 
2] of message from +306979797979. Dump follows:
2008-03-21 13:56:57 [12553] [25] DEBUG: Msg object at 0x827cf88:
2008-03-21 13:56:57 [12553] [25] DEBUG:  type: sms
2008-03-21 13:56:57 [12553] [25] DEBUG:  sms.sender:
2008-03-21 13:56:57 [12553] [25] DEBUG:  Octet string at 0x827b580:
2008-03-21 13:56:57 [12553] [25] DEBUG:    len:  13
2008-03-21 13:56:57 [12553] [25] DEBUG:    size: 14
2008-03-21 13:56:57 [12553] [25] DEBUG:    immutable: 0
2008-03-21 13:56:57 [12553] [25] DEBUG:    data: 2b 33 30 36 39 37 32 37 
32 37 32 37 32            +306979797979
2008-03-21 13:56:57 [12553] [25] DEBUG:  Octet string dump ends.
2008-03-21 13:56:57 [12553] [25] DEBUG:  sms.receiver:
2008-03-21 13:56:57 [12553] [25] DEBUG:  Octet string at 0x827c6c0:
2008-03-21 13:56:57 [12553] [25] DEBUG:    len:  11
2008-03-21 13:56:57 [12553] [25] DEBUG:    size: 12
2008-03-21 13:56:57 [12553] [25] DEBUG:    immutable: 0
2008-03-21 13:56:57 [12553] [25] DEBUG:    data: 35 35 35 35 35 30 30 30 
30 30 31                  55555000001
2008-03-21 13:56:57 [12553] [25] DEBUG:  Octet string dump ends.
2008-03-21 13:56:57 [12553] [25] DEBUG:  sms.udhdata:
2008-03-21 13:56:57 [12553] [25] DEBUG:  Octet string at 0x827c6d8:
2008-03-21 13:56:57 [12553] [25] DEBUG:    len:  6
2008-03-21 13:56:57 [12553] [25] DEBUG:    size: 7
2008-03-21 13:56:57 [12553] [25] DEBUG:    immutable: 0
2008-03-21 13:56:57 [12553] [25] DEBUG:    data: 05 00 03 00 02 
02                                 ......
2008-03-21 13:56:57 [12553] [25] DEBUG:  Octet string dump ends.
2008-03-21 13:56:57 [12553] [25] DEBUG:  sms.msgdata:
2008-03-21 13:56:57 [12553] [25] DEBUG:  Octet string at 0x827c738:
2008-03-21 13:56:57 [12553] [25] DEBUG:    len:  40
2008-03-21 13:56:57 [12553] [25] DEBUG:    size: 41
2008-03-21 13:56:57 [12553] [25] DEBUG:    immutable: 0
2008-03-21 13:56:57 [12553] [25] DEBUG:    data: 03 a3 03 a4 03 9f 00 20 
03 91 03 a6 03 99 03 95   ....... ........
2008-03-21 13:56:57 [12553] [25] DEBUG:    data: 03 a1 03 a9 03 a3 03 a9 
00 2e 00 2e 03 91 03 9d   ................
2008-03-21 13:56:57 [12553] [25] DEBUG:    data: 03 9d 03 91 00 21 00 
20                           .....!.
2008-03-21 13:56:57 [12553] [25] DEBUG:  Octet string dump ends.
2008-03-21 13:56:57 [12553] [25] DEBUG:  sms.time: 1206100617
2008-03-21 13:56:57 [12553] [25] DEBUG:  sms.smsc_id:
2008-03-21 13:56:57 [12553] [25] DEBUG:  Octet string at 0x827c750:
2008-03-21 13:56:57 [12553] [25] DEBUG:    len:  12
2008-03-21 13:56:57 [12553] [25] DEBUG:    size: 13
2008-03-21 13:56:57 [12553] [25] DEBUG:    immutable: 0
2008-03-21 13:56:57 [12553] [25] DEBUG:    data: 63 6f 73 6d 6f 74 65 35 
34 39 35 34               smsc10
2008-03-21 13:56:57 [12553] [25] DEBUG:  Octet string dump ends.
2008-03-21 13:56:57 [12553] [25] DEBUG:  sms.smsc_number:
2008-03-21 13:56:57 [12553] [25] DEBUG:  sms.service:
2008-03-21 13:56:57 [12553] [25] DEBUG:  sms.account:
2008-03-21 13:56:57 [12553] [25] DEBUG:  sms.id: 
5a68f3b5-c8fb-401b-a990-a506f130b909
2008-03-21 13:56:57 [12553] [25] DEBUG:  sms.sms_type: 0
2008-03-21 13:56:57 [12553] [25] DEBUG:  sms.mclass: -1
2008-03-21 13:56:57 [12553] [25] DEBUG:  sms.mwi: -1
2008-03-21 13:56:57 [12553] [25] DEBUG:  sms.coding: 2
2008-03-21 13:56:57 [12553] [25] DEBUG:  sms.compress: 0
2008-03-21 13:56:57 [12553] [25] DEBUG:  sms.validity: -1
2008-03-21 13:56:57 [12553] [25] DEBUG:  sms.deferred: -1
2008-03-21 13:56:57 [12553] [25] DEBUG:  sms.dlr_mask: -1
2008-03-21 13:56:57 [12553] [25] DEBUG:  sms.dlr_url:
2008-03-21 13:56:57 [12553] [25] DEBUG:  sms.pid: -1
2008-03-21 13:56:57 [12553] [25] DEBUG:  sms.alt_dcs: 0
2008-03-21 13:56:57 [12553] [25] DEBUG:  sms.rpi: -1
2008-03-21 13:56:57 [12553] [25] DEBUG:  sms.charset:
2008-03-21 13:56:57 [12553] [25] DEBUG:  sms.boxc_id:
2008-03-21 13:56:57 [12553] [25] DEBUG:  sms.binfo:
2008-03-21 13:56:57 [12553] [25] DEBUG:  sms.msg_left: -1
2008-03-21 13:56:57 [12553] [25] DEBUG:  sms.split_parts: (nil)
2008-03-21 13:56:57 [12553] [25] DEBUG:  sms.priority: -1
2008-03-21 13:56:57 [12553] [25] DEBUG:  sms.resend_try: -1
2008-03-21 13:56:57 [12553] [25] DEBUG:  sms.resend_time: -1
2008-03-21 13:56:57 [12553] [25] DEBUG: Msg object ends.
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.