Re: Redis delivery report DLR backend
Forwarding to devel-list, hopefully someone would check and copying Alexander. 2014-03-13 17:10 GMT+04:00 Lorenzo Bagni ba...@networkweb.net: Hi, I've found the problem under redis backend crash. My dlr-url ( http://my.fqdn.name/DlrManager.aspx31oa=%pda=%Psmsc=%idlrtype=%ddetail=%atempo=%Tid=%idelr=%Auser=%nforeign=%Fidgen=0|1|2|3|4|5|6) contais many parameters with values as %[char], some of this broke /usr/bin/bearerbox, some not but store on Redis backend different values: %p %P %T %n = PANIC %a is soted as 0x0.07f1160003b48p-1022 %A is soted as 0x0.07f1160003b48p-1022 %F is soted as 0.00 %i is soted as 378 %d is soted as 378 The dlr-url is passed is urlencoded, so I guess the issue is when the bearer decode and evaluate per params sent to http://kannel-ip:13013/cgi-bin/sendsms. Last thing, I've tried to register under Kannel Redmine, but after successully registration I cannot login because I've nevere recevied the confirmation mail. For admins: could you kinldy check my account and unlock my account? Thanks in advance Bagni 2014-03-12 16:06 GMT+01:00 Lorenzo Bagni ba...@networkweb.net: Hi, I've activated the REDIS_DEBUG but the HMSET command works on redis-cli, but not with Kannel: bearerbox.log: 2014-03-12 15:54:14 [30938] [8] DEBUG: DLR[redis]: Adding DLR smsc=kannelfake, ts=8f3d43b4-f93c-4d8f-b681-35b658f74d90, src=51303, dst=39328000, mask=31, boxc= 2014-03-12 15:54:14 [30938] [8] DEBUG: Adding DLR into keystore 2014-03-12 15:54:14 [30938] [8] DEBUG: redis cmd: HMSET dlr:kannelfake:8f3d43b4-f93c-4d8f-b681-35b658f74d90:4677782 smsc kannelfake ts 8f3d43b4-f93c-4d8f-b681-35b658f74d90 source 51303 destination 39328 service user_mobyt_fake url http://my.fqdn.name/DlrManager.aspx31oa=%pda=%Psmsc=%idlrtype=%ddetail=%atempo=%Tid=%idelr=%Auser=%nforeign=%Fidgen=0|1|2|3|4|5|6mask _NULL_ boxc ? status 0 2014-03-12 15:54:14 [30938] [8] PANIC: /usr/sbin/bearerbox() [0x4a810c] 2014-03-12 15:54:14 [30938] [8] PANIC: /lib64/libpthread.so.0(+0xf710) [0x7f3d26ec0710] 2014-03-12 15:54:14 [30938] [8] PANIC: /usr/sbin/bearerbox() [0x48d431] 2014-03-12 15:54:14 [30938] [8] PANIC: /usr/sbin/bearerbox() [0x41fa63] 2014-03-12 15:54:14 [30938] [8] PANIC: /usr/sbin/bearerbox(dlr_add_real+0x3a3) [0x41cf63] 2014-03-12 15:54:14 [30938] [8] PANIC: /usr/sbin/bearerbox() [0x457b7f] 2014-03-12 15:54:14 [30938] [8] PANIC: /usr/sbin/bearerbox(smscconn_send+0x5f) [0x42406f] 2014-03-12 15:54:14 [30938] [8] PANIC: /usr/sbin/bearerbox(smsc2_rout+0x428) [0x417f68] 2014-03-12 15:54:14 [30938] [8] PANIC: /usr/sbin/bearerbox() [0x418e1d] 2014-03-12 15:54:14 [30938] [8] PANIC: /usr/sbin/bearerbox() [0x491da9] 2014-03-12 15:54:14 [30938] [8] PANIC: /lib64/libpthread.so.0(+0x79d1) [0x7f3d26eb89d1] 2014-03-12 15:54:14 [30938] [8] PANIC: /lib64/libc.so.6(clone+0x6d) [0x7f3d25c50b6d] Any clue for this? Thanks in advance Bagni 2014-03-06 12:37 GMT+01:00 Lorenzo Bagni ba...@networkweb.net: Hi all, I'm facing a blocking problem on redis backend for delivery report. I'm sendig correctly (and receive on my MT) but the bearerbox hangs when try to write on redis: smsc log: 2014-03-06 11:44:54 [25724] [7] DEBUG: SMPP[mobytusaprod]: Got PDU: 2014-03-06 11:44:54 [25724] [7] DEBUG: SMPP PDU 0x7f6c08000a10 dump: 2014-03-06 11:44:54 [25724] [7] DEBUG: type_name: submit_sm_resp 2014-03-06 11:44:54 [25724] [7] DEBUG: command_id: 2147483652 = 0x8004 2014-03-06 11:44:54 [25724] [7] DEBUG: command_status: 0 = 0x 2014-03-06 11:44:54 [25724] [7] DEBUG: sequence_number: 2 = 0x0002 2014-03-06 11:44:54 [25724] [7] DEBUG: message_id: 2014-03-06 11:44:54 [25724] [7] DEBUG:Octet string at 0x7f6c080011a0: 2014-03-06 11:44:54 [25724] [7] DEBUG: len: 36 2014-03-06 11:44:54 [25724] [7] DEBUG: size: 37 2014-03-06 11:44:54 [25724] [7] DEBUG: immutable: 0 2014-03-06 11:44:54 [25724] [7] DEBUG: data: 37 35 33 31 62 34 32 61 2d 66 34 34 66 2d 34 33 7531b42a-f44f-43 2014-03-06 11:44:54 [25724] [7] DEBUG: data: 38 31 2d 39 63 35 61 2d 36 31 37 65 32 32 33 31 81-9c5a-617e2231 2014-03-06 11:44:54 [25724] [7] DEBUG: data: 36 30 35 63 605c 2014-03-06 11:44:54 [25724] [7] DEBUG:Octet string dump ends. 2014-03-06 11:44:54 [25724] [7] DEBUG: SMPP PDU dump ends. 2014-03-06 11:44:54 [25724] [7] DEBUG: new group created `smpp' 2014-03-06 11:44:54 [25724] [7] DEBUG: group=`smpp' key=`mobyt_campaignid' value=`1245' 2014-03-06 11:44:54 [25724] [7] DEBUG: DLR[redis]: Adding DLR smsc=mobytusaprod, ts=7531b42a-f44f-4381-9c5a-617e2231605c, src=51303, dst=393284677782, mask=31, boxc= 2014-03-06 11:44:54 [25724] [7] DEBUG: Adding DLR into keystore bearerbox log: 2014-03-06 11:44:33 [25724] [9] DEBUG: Started thread 10 (gw/bb_boxc.c:boxc_sender) 2014-03-06 11:44:33 [25724] [10] DEBUG: Thread 10 (gw/bb_boxc.c:boxc_sender) maps to pid 25724. 2014-03-06 11:44:54 [25724] [9] DEBUG:
Re: Redis delivery report DLR backend
Hi, Lorenzo your account on redmine activated now and email configuration error in redmine fixed. Alex Am 13.03.2014 um 17:15 schrieb spameden spame...@gmail.com: Forwarding to devel-list, hopefully someone would check and copying Alexander. 2014-03-13 17:10 GMT+04:00 Lorenzo Bagni ba...@networkweb.net: Hi, I've found the problem under redis backend crash. My dlr-url ( http://my.fqdn.name/DlrManager.aspx31oa=%pda=%Psmsc=%idlrtype=%ddetail=%atempo=%Tid=%idelr=%Auser=%nforeign=%Fidgen=0|1|2|3|4|5|6 ) contais many parameters with values as %[char], some of this broke /usr/bin/bearerbox, some not but store on Redis backend different values: %p %P %T %n = PANIC %a is soted as 0x0.07f1160003b48p-1022 %A is soted as 0x0.07f1160003b48p-1022 %F is soted as 0.00 %i is soted as 378 %d is soted as 378 The dlr-url is passed is urlencoded, so I guess the issue is when the bearer decode and evaluate per params sent to http://kannel-ip:13013/cgi-bin/sendsms. Last thing, I've tried to register under Kannel Redmine, but after successully registration I cannot login because I've nevere recevied the confirmation mail. For admins: could you kinldy check my account and unlock my account? Thanks in advance Bagni 2014-03-12 16:06 GMT+01:00 Lorenzo Bagni ba...@networkweb.net: Hi, I've activated the REDIS_DEBUG but the HMSET command works on redis-cli, but not with Kannel: bearerbox.log: 2014-03-12 15:54:14 [30938] [8] DEBUG: DLR[redis]: Adding DLR smsc=kannelfake, ts=8f3d43b4-f93c-4d8f-b681-35b658f74d90, src=51303, dst=39328000, mask=31, boxc= 2014-03-12 15:54:14 [30938] [8] DEBUG: Adding DLR into keystore 2014-03-12 15:54:14 [30938] [8] DEBUG: redis cmd: HMSET dlr:kannelfake:8f3d43b4-f93c-4d8f-b681-35b658f74d90:4677782 smsc kannelfake ts 8f3d43b4-f93c-4d8f-b681-35b658f74d90 source 51303 destination 39328 service user_mobyt_fake url http://my.fqdn.name/DlrManager.aspx31oa=%pda=%Psmsc=%idlrtype=%ddetail=%atempo=%Tid=%idelr=%Auser=%nforeign=%Fidgen=0|1|2|3|4|5|6 mask _NULL_ boxc ? status 0 2014-03-12 15:54:14 [30938] [8] PANIC: /usr/sbin/bearerbox() [0x4a810c] 2014-03-12 15:54:14 [30938] [8] PANIC: /lib64/libpthread.so.0(+0xf710) [0x7f3d26ec0710] 2014-03-12 15:54:14 [30938] [8] PANIC: /usr/sbin/bearerbox() [0x48d431] 2014-03-12 15:54:14 [30938] [8] PANIC: /usr/sbin/bearerbox() [0x41fa63] 2014-03-12 15:54:14 [30938] [8] PANIC: /usr/sbin/bearerbox(dlr_add_real+0x3a3) [0x41cf63] 2014-03-12 15:54:14 [30938] [8] PANIC: /usr/sbin/bearerbox() [0x457b7f] 2014-03-12 15:54:14 [30938] [8] PANIC: /usr/sbin/bearerbox(smscconn_send+0x5f) [0x42406f] 2014-03-12 15:54:14 [30938] [8] PANIC: /usr/sbin/bearerbox(smsc2_rout+0x428) [0x417f68] 2014-03-12 15:54:14 [30938] [8] PANIC: /usr/sbin/bearerbox() [0x418e1d] 2014-03-12 15:54:14 [30938] [8] PANIC: /usr/sbin/bearerbox() [0x491da9] 2014-03-12 15:54:14 [30938] [8] PANIC: /lib64/libpthread.so.0(+0x79d1) [0x7f3d26eb89d1] 2014-03-12 15:54:14 [30938] [8] PANIC: /lib64/libc.so.6(clone+0x6d) [0x7f3d25c50b6d] Any clue for this? Thanks in advance Bagni 2014-03-06 12:37 GMT+01:00 Lorenzo Bagni ba...@networkweb.net: Hi all, I'm facing a blocking problem on redis backend for delivery report. I'm sendig correctly (and receive on my MT) but the bearerbox hangs when try to write on redis: smsc log: 2014-03-06 11:44:54 [25724] [7] DEBUG: SMPP[mobytusaprod]: Got PDU: 2014-03-06 11:44:54 [25724] [7] DEBUG: SMPP PDU 0x7f6c08000a10 dump: 2014-03-06 11:44:54 [25724] [7] DEBUG: type_name: submit_sm_resp 2014-03-06 11:44:54 [25724] [7] DEBUG: command_id: 2147483652 = 0x8004 2014-03-06 11:44:54 [25724] [7] DEBUG: command_status: 0 = 0x 2014-03-06 11:44:54 [25724] [7] DEBUG: sequence_number: 2 = 0x0002 2014-03-06 11:44:54 [25724] [7] DEBUG: message_id: 2014-03-06 11:44:54 [25724] [7] DEBUG:Octet string at 0x7f6c080011a0: 2014-03-06 11:44:54 [25724] [7] DEBUG: len: 36 2014-03-06 11:44:54 [25724] [7] DEBUG: size: 37 2014-03-06 11:44:54 [25724] [7] DEBUG: immutable: 0 2014-03-06 11:44:54 [25724] [7] DEBUG: data: 37 35 33 31 62 34 32 61 2d 66 34 34 66 2d 34 33 7531b42a-f44f-43 2014-03-06 11:44:54 [25724] [7] DEBUG: data: 38 31 2d 39 63 35 61 2d 36 31 37 65 32 32 33 31 81-9c5a-617e2231 2014-03-06 11:44:54 [25724] [7] DEBUG: data: 36 30 35 63 605c 2014-03-06 11:44:54 [25724] [7] DEBUG:Octet string dump ends. 2014-03-06 11:44:54 [25724] [7] DEBUG: SMPP PDU dump ends. 2014-03-06 11:44:54 [25724] [7] DEBUG: new group created `smpp' 2014-03-06 11:44:54 [25724] [7] DEBUG: group=`smpp' key=`mobyt_campaignid' value=`1245' 2014-03-06 11:44:54 [25724] [7] DEBUG: DLR[redis]: Adding DLR smsc=mobytusaprod, ts=7531b42a-f44f-4381-9c5a-617e2231605c, src=51303, dst=393284677782, mask=31, boxc= 2014-03-06 11:44:54 [25724] [7] DEBUG: Adding DLR into keystore bearerbox log: