Is 1.4.4 stable?
Hi, I have been having issues with 1.4.4 connecting to a SMSC, the bind is being dropped due to missed enquiry links. The behaviour is very sporadic behaves for a few days then all of a sudden bind breaks, Kannel rebinds after receiving an unbind but doesn't send any more messages and keeps unbinding and binding again on receiving an unbind from the SMSC. This continues until I do a restart. We switched from a transceiver to TX/RX model but it only improved the situation slightly. I have other connections that are functioning without any issues. Problem is similar to what was posted below https://www.mail-archive.com/devel@kannel.org/msg03423.html They are using Redknee for the SMSC It appears from the tcpdumps that they are attempting to communicate across a connection that is no longer active, but this doesn't make sense to me as kannel responds to the unbind messages. They have requested us to send an unbind request to gracefully shut down the connection and avoid confusion with the SMSC as to what connection is active. Anyone know how this can be accomplished ? Before I attempt to downgrade I wanted to find out if anyone has any ideas on how I should tackle this problem. -- Regards, Eric Magutu
Re: Messages not being delivered - Not ACKED message found, will retransmit.
bumping this to dev On Fri, Nov 7, 2014 at 7:15 PM, Eric Magutu wrote: > The telco says he is getting missed enquiry link > > On Fri, Nov 7, 2014 at 4:30 PM, Eric Magutu wrote: > >> Hi, >> here is an extract from the logs. >> >> >> 2014-11-06 14:39:45 [22646] [14] DEBUG: sms_router: time to sleep 30.00 >> secs. >> 2014-11-06 14:39:45 [22646] [14] DEBUG: re-queing SMS not-yet-to-be resent >> 2014-11-06 14:39:45 [22646] [14] DEBUG: sms_router: handling message >> (0x866f3c0 vs 0x866f3c0) >> 2014-11-06 14:39:45 [22646] [14] DEBUG: re-queing SMS not-yet-to-be resent >> 2014-11-06 14:39:45 [22646] [14] DEBUG: sms_router: handling message >> (0x86691f0 vs 0x866f3c0) >> 2014-11-06 14:39:45 [22646] [14] DEBUG: re-queing SMS not-yet-to-be resent >> 2014-11-06 14:39:45 [22646] [14] DEBUG: sms_router: handling message >> (0x866ee08 vs 0x866f3c0) >> 2014-11-06 14:39:45 [22646] [14] DEBUG: re-queing SMS not-yet-to-be resent >> 2014-11-06 14:39:45 [22646] [14] DEBUG: sms_router: handling message >> (0x8666ef8 vs 0x866f3c0) >> 2014-11-06 14:39:45 [22646] [14] DEBUG: re-queing SMS not-yet-to-be resent >> >> 2014-11-06 14:39:45 [22646] [14] DEBUG: sms_router: handling message >> (0x8621140 vs 0x866f3c0) >> 2014-11-06 14:39:45 [22646] [14] DEBUG: re-queing SMS not-yet-to-be resent >> 2014-11-06 14:39:45 [22646] [14] DEBUG: sms_router: handling message >> (0x866ed38 vs 0x866f3c0) >> 2014-11-06 14:39:45 [22646] [14] DEBUG: re-queing SMS not-yet-to-be resent >> 2014-11-06 14:39:45 [22646] [14] DEBUG: sms_router: handling message >> (0x8673f58 vs 0x866f3c0) >> 2014-11-06 14:39:45 [22646] [14] DEBUG: re-queing SMS not-yet-to-be resent >> 2014-11-06 14:39:45 [22646] [14] DEBUG: sms_router: handling message >> (0x8669300 vs 0x866f3c0) >> 2014-11-06 14:39:45 [22646] [14] DEBUG: re-queing SMS not-yet-to-be resent >> 2014-11-06 14:39:45 [22646] [14] DEBUG: sms_router: handling message >> (0x866f3c0 vs 0x866f3c0) >> 2014-11-06 14:39:45 [22646] [14] DEBUG: clear_old_concat_parts called >> 2014-11-06 14:39:45 [22646] [13] DEBUG: SMPP[dd-jm-test]: throughput >> (0.00,10.00) >> 2014-11-06 14:39:45 [22646] [13] DEBUG: SMPP PDU dump ends. >> 2014-11-06 14:39:45 [22646] [13] DEBUG: sequence_number: 2 = 0x0002 >> 2014-11-06 14:39:45 [22646] [13] DEBUG: command_status: 0 = 0x >> 2014-11-06 14:39:45 [22646] [13] DEBUG: command_id: 2147483669 = >> 0x8015 >> 2014-11-06 14:39:45 [22646] [13] DEBUG: type_name: enquire_link_resp >> 2014-11-06 14:39:45 [22646] [13] DEBUG: SMPP PDU 0xb3e0e7d0 dump: >> 2014-11-06 14:39:45 [22646] [13] DEBUG: SMPP[dd-jm-test]: Sending PDU: >> 2014-11-06 14:39:45 [22646] [13] DEBUG: SMPP PDU dump ends. >> 2014-11-06 14:39:45 [22646] [13] DEBUG: sequence_number: 2 = 0x0002 >> 2014-11-06 14:39:45 [22646] [13] DEBUG: command_status: 0 = 0x >> 2014-11-06 14:39:45 [22646] [13] DEBUG: command_id: 21 = 0x0015 >> 2014-11-06 14:39:45 [22646] [13] DEBUG: type_name: enquire_link >> 2014-11-06 14:39:45 [22646] [13] DEBUG: SMPP PDU 0xb3e0edd8 dump: >> 2014-11-06 14:39:45 [22646] [13] DEBUG: SMPP[dd-jm-test]: Got PDU: >> 2014-11-06 14:39:45 [22646] [13] DEBUG: SMPP[dd-jm-test]: throughput >> (0.00,10.00) >> 2014-11-06 14:39:45 [22646] [13] WARNING: SMPP[dd-jm-test]: Not ACKED >> message found, will retransmit. SENT<120>sec. ago, SEQ<426>, DST< >> +4545318> >> 2014-11-06 14:39:45 [22646] [13] WARNING: SMPP[dd-jm-test]: Not ACKED >> message found, will retransmit. SENT<120>sec. ago, SEQ<425>, DST< >> +9569818> >> 2014-11-06 14:39:45 [22646] [13] WARNING: SMPP[dd-jm-test]: Not ACKED >> message found, will retransmit. SENT<120>sec. ago, SEQ<424>, DST< >> +4322763> >> 2014-11-06 14:39:45 [22646] [13] WARNING: SMPP[dd-jm-test]: Not ACKED >> message found, will retransmit. SENT<120>sec. ago, SEQ<423>, DST< >> +4762896> >> 2014-11-06 14:39:45 [22646] [13] WARNING: SMPP[dd-jm-test]: Not ACKED >> message found, will retransmit. SENT<120>sec. ago, SEQ<422>, DST< >> +4366488> >> 2014-11-06 14:39:45 [22646] [13] WARNING: SMPP[dd-jm-test]: Not ACKED >> message found, will retransmit. SENT<120>sec. ago, SEQ<421>, DST< >> +4264317> >> 2014-11-06 14:39:45 [22646] [13] WARNING: SMPP[dd-jm-test]: Not ACKED >> message found, will retransmit. SENT<120>sec. ago, SEQ<420>, DST< >> +4366488> >> 2014-11-06 14:39:45 [22646] [13] WARNING: SMPP[dd-jm-test]: Not ACKED >> message found, will
Re: Messages not being delivered - Not ACKED message found, will retransmit.
The telco says he is getting missed enquiry link On Fri, Nov 7, 2014 at 4:30 PM, Eric Magutu wrote: > Hi, > here is an extract from the logs. > > > 2014-11-06 14:39:45 [22646] [14] DEBUG: sms_router: time to sleep 30.00 > secs. > 2014-11-06 14:39:45 [22646] [14] DEBUG: re-queing SMS not-yet-to-be resent > 2014-11-06 14:39:45 [22646] [14] DEBUG: sms_router: handling message > (0x866f3c0 vs 0x866f3c0) > 2014-11-06 14:39:45 [22646] [14] DEBUG: re-queing SMS not-yet-to-be resent > 2014-11-06 14:39:45 [22646] [14] DEBUG: sms_router: handling message > (0x86691f0 vs 0x866f3c0) > 2014-11-06 14:39:45 [22646] [14] DEBUG: re-queing SMS not-yet-to-be resent > 2014-11-06 14:39:45 [22646] [14] DEBUG: sms_router: handling message > (0x866ee08 vs 0x866f3c0) > 2014-11-06 14:39:45 [22646] [14] DEBUG: re-queing SMS not-yet-to-be resent > 2014-11-06 14:39:45 [22646] [14] DEBUG: sms_router: handling message > (0x8666ef8 vs 0x866f3c0) > 2014-11-06 14:39:45 [22646] [14] DEBUG: re-queing SMS not-yet-to-be resent > > 2014-11-06 14:39:45 [22646] [14] DEBUG: sms_router: handling message > (0x8621140 vs 0x866f3c0) > 2014-11-06 14:39:45 [22646] [14] DEBUG: re-queing SMS not-yet-to-be resent > 2014-11-06 14:39:45 [22646] [14] DEBUG: sms_router: handling message > (0x866ed38 vs 0x866f3c0) > 2014-11-06 14:39:45 [22646] [14] DEBUG: re-queing SMS not-yet-to-be resent > 2014-11-06 14:39:45 [22646] [14] DEBUG: sms_router: handling message > (0x8673f58 vs 0x866f3c0) > 2014-11-06 14:39:45 [22646] [14] DEBUG: re-queing SMS not-yet-to-be resent > 2014-11-06 14:39:45 [22646] [14] DEBUG: sms_router: handling message > (0x8669300 vs 0x866f3c0) > 2014-11-06 14:39:45 [22646] [14] DEBUG: re-queing SMS not-yet-to-be resent > 2014-11-06 14:39:45 [22646] [14] DEBUG: sms_router: handling message > (0x866f3c0 vs 0x866f3c0) > 2014-11-06 14:39:45 [22646] [14] DEBUG: clear_old_concat_parts called > 2014-11-06 14:39:45 [22646] [13] DEBUG: SMPP[dd-jm-test]: throughput > (0.00,10.00) > 2014-11-06 14:39:45 [22646] [13] DEBUG: SMPP PDU dump ends. > 2014-11-06 14:39:45 [22646] [13] DEBUG: sequence_number: 2 = 0x0002 > 2014-11-06 14:39:45 [22646] [13] DEBUG: command_status: 0 = 0x > 2014-11-06 14:39:45 [22646] [13] DEBUG: command_id: 2147483669 = > 0x8015 > 2014-11-06 14:39:45 [22646] [13] DEBUG: type_name: enquire_link_resp > 2014-11-06 14:39:45 [22646] [13] DEBUG: SMPP PDU 0xb3e0e7d0 dump: > 2014-11-06 14:39:45 [22646] [13] DEBUG: SMPP[dd-jm-test]: Sending PDU: > 2014-11-06 14:39:45 [22646] [13] DEBUG: SMPP PDU dump ends. > 2014-11-06 14:39:45 [22646] [13] DEBUG: sequence_number: 2 = 0x0002 > 2014-11-06 14:39:45 [22646] [13] DEBUG: command_status: 0 = 0x > 2014-11-06 14:39:45 [22646] [13] DEBUG: command_id: 21 = 0x0015 > 2014-11-06 14:39:45 [22646] [13] DEBUG: type_name: enquire_link > 2014-11-06 14:39:45 [22646] [13] DEBUG: SMPP PDU 0xb3e0edd8 dump: > 2014-11-06 14:39:45 [22646] [13] DEBUG: SMPP[dd-jm-test]: Got PDU: > 2014-11-06 14:39:45 [22646] [13] DEBUG: SMPP[dd-jm-test]: throughput > (0.00,10.00) > 2014-11-06 14:39:45 [22646] [13] WARNING: SMPP[dd-jm-test]: Not ACKED > message found, will retransmit. SENT<120>sec. ago, SEQ<426>, DST< > +4545318> > 2014-11-06 14:39:45 [22646] [13] WARNING: SMPP[dd-jm-test]: Not ACKED > message found, will retransmit. SENT<120>sec. ago, SEQ<425>, DST< > +9569818> > 2014-11-06 14:39:45 [22646] [13] WARNING: SMPP[dd-jm-test]: Not ACKED > message found, will retransmit. SENT<120>sec. ago, SEQ<424>, DST< > +4322763> > 2014-11-06 14:39:45 [22646] [13] WARNING: SMPP[dd-jm-test]: Not ACKED > message found, will retransmit. SENT<120>sec. ago, SEQ<423>, DST< > +4762896> > 2014-11-06 14:39:45 [22646] [13] WARNING: SMPP[dd-jm-test]: Not ACKED > message found, will retransmit. SENT<120>sec. ago, SEQ<422>, DST< > +4366488> > 2014-11-06 14:39:45 [22646] [13] WARNING: SMPP[dd-jm-test]: Not ACKED > message found, will retransmit. SENT<120>sec. ago, SEQ<421>, DST< > +4264317> > 2014-11-06 14:39:45 [22646] [13] WARNING: SMPP[dd-jm-test]: Not ACKED > message found, will retransmit. SENT<120>sec. ago, SEQ<420>, DST< > +4366488> > 2014-11-06 14:39:45 [22646] [13] WARNING: SMPP[dd-jm-test]: Not ACKED > message found, will retransmit. SENT<120>sec. ago, SEQ<419>, DST< > +4765807> > 2014-11-06 14:39:45 [22646] [13] DEBUG: SMPP PDU dump ends. > 2014-11-06 14:39:45 [22646] [13] DEBUG: sequence_number: 428 = 0x01ac > 2014-11-06 14:39:45 [22646] [13] DEBUG: command_status: 0 = 0x > 2014-11-06 14:39:45 [22646] [13] DEBUG: command_id: 21 = 0x0015 > 2014-11-06 1
Re: Messages not being delivered - Not ACKED message found, will retransmit.
Hi, here is an extract from the logs. 2014-11-06 14:39:45 [22646] [14] DEBUG: sms_router: time to sleep 30.00 secs. 2014-11-06 14:39:45 [22646] [14] DEBUG: re-queing SMS not-yet-to-be resent 2014-11-06 14:39:45 [22646] [14] DEBUG: sms_router: handling message (0x866f3c0 vs 0x866f3c0) 2014-11-06 14:39:45 [22646] [14] DEBUG: re-queing SMS not-yet-to-be resent 2014-11-06 14:39:45 [22646] [14] DEBUG: sms_router: handling message (0x86691f0 vs 0x866f3c0) 2014-11-06 14:39:45 [22646] [14] DEBUG: re-queing SMS not-yet-to-be resent 2014-11-06 14:39:45 [22646] [14] DEBUG: sms_router: handling message (0x866ee08 vs 0x866f3c0) 2014-11-06 14:39:45 [22646] [14] DEBUG: re-queing SMS not-yet-to-be resent 2014-11-06 14:39:45 [22646] [14] DEBUG: sms_router: handling message (0x8666ef8 vs 0x866f3c0) 2014-11-06 14:39:45 [22646] [14] DEBUG: re-queing SMS not-yet-to-be resent 2014-11-06 14:39:45 [22646] [14] DEBUG: sms_router: handling message (0x8621140 vs 0x866f3c0) 2014-11-06 14:39:45 [22646] [14] DEBUG: re-queing SMS not-yet-to-be resent 2014-11-06 14:39:45 [22646] [14] DEBUG: sms_router: handling message (0x866ed38 vs 0x866f3c0) 2014-11-06 14:39:45 [22646] [14] DEBUG: re-queing SMS not-yet-to-be resent 2014-11-06 14:39:45 [22646] [14] DEBUG: sms_router: handling message (0x8673f58 vs 0x866f3c0) 2014-11-06 14:39:45 [22646] [14] DEBUG: re-queing SMS not-yet-to-be resent 2014-11-06 14:39:45 [22646] [14] DEBUG: sms_router: handling message (0x8669300 vs 0x866f3c0) 2014-11-06 14:39:45 [22646] [14] DEBUG: re-queing SMS not-yet-to-be resent 2014-11-06 14:39:45 [22646] [14] DEBUG: sms_router: handling message (0x866f3c0 vs 0x866f3c0) 2014-11-06 14:39:45 [22646] [14] DEBUG: clear_old_concat_parts called 2014-11-06 14:39:45 [22646] [13] DEBUG: SMPP[dd-jm-test]: throughput (0.00,10.00) 2014-11-06 14:39:45 [22646] [13] DEBUG: SMPP PDU dump ends. 2014-11-06 14:39:45 [22646] [13] DEBUG: sequence_number: 2 = 0x0002 2014-11-06 14:39:45 [22646] [13] DEBUG: command_status: 0 = 0x 2014-11-06 14:39:45 [22646] [13] DEBUG: command_id: 2147483669 = 0x8015 2014-11-06 14:39:45 [22646] [13] DEBUG: type_name: enquire_link_resp 2014-11-06 14:39:45 [22646] [13] DEBUG: SMPP PDU 0xb3e0e7d0 dump: 2014-11-06 14:39:45 [22646] [13] DEBUG: SMPP[dd-jm-test]: Sending PDU: 2014-11-06 14:39:45 [22646] [13] DEBUG: SMPP PDU dump ends. 2014-11-06 14:39:45 [22646] [13] DEBUG: sequence_number: 2 = 0x0002 2014-11-06 14:39:45 [22646] [13] DEBUG: command_status: 0 = 0x 2014-11-06 14:39:45 [22646] [13] DEBUG: command_id: 21 = 0x0015 2014-11-06 14:39:45 [22646] [13] DEBUG: type_name: enquire_link 2014-11-06 14:39:45 [22646] [13] DEBUG: SMPP PDU 0xb3e0edd8 dump: 2014-11-06 14:39:45 [22646] [13] DEBUG: SMPP[dd-jm-test]: Got PDU: 2014-11-06 14:39:45 [22646] [13] DEBUG: SMPP[dd-jm-test]: throughput (0.00,10.00) 2014-11-06 14:39:45 [22646] [13] WARNING: SMPP[dd-jm-test]: Not ACKED message found, will retransmit. SENT<120>sec. ago, SEQ<426>, DST< +4545318> 2014-11-06 14:39:45 [22646] [13] WARNING: SMPP[dd-jm-test]: Not ACKED message found, will retransmit. SENT<120>sec. ago, SEQ<425>, DST< +9569818> 2014-11-06 14:39:45 [22646] [13] WARNING: SMPP[dd-jm-test]: Not ACKED message found, will retransmit. SENT<120>sec. ago, SEQ<424>, DST< +4322763> 2014-11-06 14:39:45 [22646] [13] WARNING: SMPP[dd-jm-test]: Not ACKED message found, will retransmit. SENT<120>sec. ago, SEQ<423>, DST< +4762896> 2014-11-06 14:39:45 [22646] [13] WARNING: SMPP[dd-jm-test]: Not ACKED message found, will retransmit. SENT<120>sec. ago, SEQ<422>, DST< +4366488> 2014-11-06 14:39:45 [22646] [13] WARNING: SMPP[dd-jm-test]: Not ACKED message found, will retransmit. SENT<120>sec. ago, SEQ<421>, DST< +4264317> 2014-11-06 14:39:45 [22646] [13] WARNING: SMPP[dd-jm-test]: Not ACKED message found, will retransmit. SENT<120>sec. ago, SEQ<420>, DST< +4366488> 2014-11-06 14:39:45 [22646] [13] WARNING: SMPP[dd-jm-test]: Not ACKED message found, will retransmit. SENT<120>sec. ago, SEQ<419>, DST< +4765807> 2014-11-06 14:39:45 [22646] [13] DEBUG: SMPP PDU dump ends. 2014-11-06 14:39:45 [22646] [13] DEBUG: sequence_number: 428 = 0x01ac 2014-11-06 14:39:45 [22646] [13] DEBUG: command_status: 0 = 0x 2014-11-06 14:39:45 [22646] [13] DEBUG: command_id: 21 = 0x0015 2014-11-06 14:39:45 [22646] [13] DEBUG: type_name: enquire_link 2014-11-06 14:39:45 [22646] [13] DEBUG: SMPP PDU 0xb3e0fa80 dump: 2014-11-06 14:39:45 [22646] [13] DEBUG: SMPP[dd-jm-test]: Sending enquire link: On Thu, Nov 6, 2014 at 5:29 PM, Eric Magutu wrote: > I should mention some messages go through others don't. Will increase > debugging level and revert. > On Nov 6, 2014 5:19 PM, "Tapan Kumar Thapa" > wrote: > >> As suggested by other user as well, try enabling debug logs and see
Re: Messages not being delivered - Not ACKED message found, will retransmit.
I should mention some messages go through others don't. Will increase debugging level and revert. On Nov 6, 2014 5:19 PM, "Tapan Kumar Thapa" wrote: > As suggested by other user as well, try enabling debug logs and see what > is the issue. if unable to understand debug output than paste here. > > On Thu, Nov 6, 2014 at 7:47 PM, Eric Magutu wrote: > >> Yes >> On Nov 6, 2014 5:16 PM, "Tapan Kumar Thapa" >> wrote: >> >>> In the admin interface of kannel, is smpp connection up? >>> >>> On Thu, Nov 6, 2014 at 7:26 PM, Eric Magutu wrote: >>> >>>> Hi, >>>> Here is my config >>>> >>>> # >>>> # dd-JM TEST SMSC >>>> # >>>> >>>> group = smsc >>>> smsc = "smpp" >>>> smsc-id = "dd-jm-test" >>>> allowed-smsc-id = "dd-jm-test" >>>> host = 172.16.2.7 >>>> #host = 172.16.2.59 >>>> port = 4000 >>>> transceiver-mode = 1 >>>> source-addr-ton = 3 >>>> source-addr-npi = 1 >>>> dest-addr-ton = 1 >>>> dest-addr-npi = 1 >>>> smsc-username = "" >>>> smsc-password = "" >>>> system-type = "SMPP" >>>> alt-charset = "UTF-8" >>>> enquire-link-interval = 60 >>>> throughput = 10 >>>> # >>>> # dd JM smsbox DIY >>>> # >>>> >>>> group = smsbox >>>> smsbox-id = "dd-jm-diy" >>>> #bearerbox-host = 127.0.0.1 >>>> bearerbox-host = localhost >>>> log-file = "/var/log/kannel/dd-jm-smsbox-diy.log" >>>> sendsms-port = 6089 >>>> sendsms-chars = "0123456789 +-" >>>> >>>> # >>>> # dd JM smsbox staging >>>> # >>>> >>>> group = smsbox >>>> smsbox-id = "dd-jm-staging" >>>> #bearerbox-host = 127.0.0.1 >>>> bearerbox-host = localhost >>>> log-file = "/var/log/kannel/dd-jm-smsbox-staging.log" >>>> sendsms-port = 6090 >>>> sendsms-chars = "0123456789 +-" >>>> >>>> # >>>> # dd JM smsbox staging >>>> # >>>> >>>> group = smsbox >>>> smsbox-id = "dd-jm-staging2" >>>> #bearerbox-host = 127.0.0.1 >>>> bearerbox-host = localhost >>>> log-file = "/var/log/kannel/dd-jm-smsbox-staging2.log" >>>> sendsms-port = 6091 >>>> sendsms-chars = "0123456789 +-" >>>> >>>> >>>> >>>> >>>> # >>>> # dd JM smsbox-route staging 2 >>>> # >>>> >>>> >>>> group = smsbox-route >>>> smsbox-id = "dd-jm-staging2" >>>> smsc-id = "dd-jm-test" >>>> shortcode = "164;+164" >>>> >>>> # >>>> # dd smsbox staging >>>> # >>>> >>>> group = smsbox >>>> smsbox-id = "dd-staging" >>>> #bearerbox-host = 127.0.0.1 >>>> bearerbox-host = localhost >>>> log-file = "/var/log/kannel/dd-smsbox-staging.log" >>>> sendsms-port = 6092 >>>> sendsms-chars = "0123456789 +-" >>>> >>>> >>>> On Thu, Nov 6, 2014 at 4:39 PM, Tapan Kumar Thapa < >>>> tapan.thapa2...@gmail.com> wrote: >>>> >>>>> No sure..But Is your SMPP connection working fine? >>>>> >>>>> Please also post your kannel config. >>>>> >>>>> On Thu, Nov 6, 2014 at 7:00 PM, Eric Magutu wrote: >>>>> >>>>>> Hi, >>>>>> I am running Kannel bearerbox version `1.4.4'. Build `Oct 12 2014 >>>>>> 04:19:47', compiler `4.6.3'. System Linux, release 3.2.0-70-virtual, >>>>>> version #105-Ubuntu >>>>>> >>>>>> My messages are not being delivered and I am getting the following >>>>>> error >>>>>> >>>>>> Not ACKED message found, will retransmit. >>>>>> >>>>>> When I do a tcpdump (attached) I can see the a lot of TCP >>>>>> Retransmission messages from my service provider followed by SMPP >>>>>> Enquire_link, Unbind >>>>>> >>>>>> Can someone assist me to figure out what is going on? >>>>>> >>>>>> Does my Enquire_link interval have to match the service provider? >>>>>> >>>>>> https://www.dropbox.com/s/z1royw0rwyjfsdh/jm.pcap >>>>>> >>>>>> >>>>>> -- >>>>>> Regards, >>>>>> Eric Magutu >>>>>> >>>>> >>>>> >>>> >>>> >>>> -- >>>> Regards, >>>> Eric Magutu >>>> >>> >>> >
Re: Messages not being delivered - Not ACKED message found, will retransmit.
Hi, Here is my config # # dd-JM TEST SMSC # group = smsc smsc = "smpp" smsc-id = "dd-jm-test" allowed-smsc-id = "dd-jm-test" host = 172.16.2.7 #host = 172.16.2.59 port = 4000 transceiver-mode = 1 source-addr-ton = 3 source-addr-npi = 1 dest-addr-ton = 1 dest-addr-npi = 1 smsc-username = "" smsc-password = "" system-type = "SMPP" alt-charset = "UTF-8" enquire-link-interval = 60 throughput = 10 # # dd JM smsbox DIY # group = smsbox smsbox-id = "dd-jm-diy" #bearerbox-host = 127.0.0.1 bearerbox-host = localhost log-file = "/var/log/kannel/dd-jm-smsbox-diy.log" sendsms-port = 6089 sendsms-chars = "0123456789 +-" # # dd JM smsbox staging # group = smsbox smsbox-id = "dd-jm-staging" #bearerbox-host = 127.0.0.1 bearerbox-host = localhost log-file = "/var/log/kannel/dd-jm-smsbox-staging.log" sendsms-port = 6090 sendsms-chars = "0123456789 +-" # # dd JM smsbox staging # group = smsbox smsbox-id = "dd-jm-staging2" #bearerbox-host = 127.0.0.1 bearerbox-host = localhost log-file = "/var/log/kannel/dd-jm-smsbox-staging2.log" sendsms-port = 6091 sendsms-chars = "0123456789 +-" # # dd JM smsbox-route staging 2 # group = smsbox-route smsbox-id = "dd-jm-staging2" smsc-id = "dd-jm-test" shortcode = "164;+164" # # dd smsbox staging # group = smsbox smsbox-id = "dd-staging" #bearerbox-host = 127.0.0.1 bearerbox-host = localhost log-file = "/var/log/kannel/dd-smsbox-staging.log" sendsms-port = 6092 sendsms-chars = "0123456789 +-" On Thu, Nov 6, 2014 at 4:39 PM, Tapan Kumar Thapa wrote: > No sure..But Is your SMPP connection working fine? > > Please also post your kannel config. > > On Thu, Nov 6, 2014 at 7:00 PM, Eric Magutu wrote: > >> Hi, >> I am running Kannel bearerbox version `1.4.4'. Build `Oct 12 2014 >> 04:19:47', compiler `4.6.3'. System Linux, release 3.2.0-70-virtual, >> version #105-Ubuntu >> >> My messages are not being delivered and I am getting the following error >> >> Not ACKED message found, will retransmit. >> >> When I do a tcpdump (attached) I can see the a lot of TCP Retransmission >> messages from my service provider followed by SMPP Enquire_link, Unbind >> >> Can someone assist me to figure out what is going on? >> >> Does my Enquire_link interval have to match the service provider? >> >> https://www.dropbox.com/s/z1royw0rwyjfsdh/jm.pcap >> >> >> -- >> Regards, >> Eric Magutu >> > > -- Regards, Eric Magutu
Messages not being delivered - Not ACKED message found, will retransmit.
Hi, I am running Kannel bearerbox version `1.4.4'. Build `Oct 12 2014 04:19:47', compiler `4.6.3'. System Linux, release 3.2.0-70-virtual, version #105-Ubuntu My messages are not being delivered and I am getting the following error Not ACKED message found, will retransmit. When I do a tcpdump (attached) I can see the a lot of TCP Retransmission messages from my service provider followed by SMPP Enquire_link, Unbind Can someone assist me to figure out what is going on? Does my Enquire_link interval have to match the service provider? https://www.dropbox.com/s/z1royw0rwyjfsdh/jm.pcap -- Regards, Eric Magutu jm.pcap Description: application/vnd.tcpdump.pcap
Re: Missing Messages
Yes I have the group smsbox-route, the connection was working fine, stopped and started working when I restarted it several times. On 8 May 2014 11:36, smii saber wrote: > hello > did have the group smsbox-route > > group = smsbox-route > smsbox-id = boxid that you have > smsc-id = list of smsc id configured to be connected to the bearerbox > > > Best regards > Saber > > > > 2014-05-07 22:32 GMT+01:00 Eric Magutu : > > Hi, >> I am having an issue with messages not being sent. I can see them in my >> smsbox but they don't show up in bearerbox. What should I check? How do I >> prevent this from happening again? >> >> version of Kannel is `1.5.0'. Build `Aug 15 2013 12:20:44', >> >> -- >> Regards, >> Eric Magutu >> > > -- Regards, Eric Magutu
Missing Messages
Hi, I am having an issue with messages not being sent. I can see them in my smsbox but they don't show up in bearerbox. What should I check? How do I prevent this from happening again? version of Kannel is `1.5.0'. Build `Aug 15 2013 12:20:44', -- Regards, Eric Magutu
Re: Setting esm-class
I am looking for the file that I will need to patch pdu->u.submit_sm.esm_class = ESM_CLASS_SUBMIT_STORE_AND_FORWARD_MODE to pdu->u.submit_sm.esm_class = ESM_CLASS_SUBMIT_DEFAULT_SMSC_MODE On Tue, Aug 13, 2013 at 6:48 AM, Eric Magutu wrote: > Hi, > I have upgraded and still getting the below error when I try to add the > line > esm-class = 0 > > ERROR: Group 'smsc' may not contain field 'esm-class' > > > > On Tue, Aug 13, 2013 at 6:13 AM, Juan Nin wrote: > >> And it's not esm_class, but esm-class >> From >> http://www.kannel.org/download/kannel-userguide-snapshot/userguide.html: >> >> esm-class number Change the "esm_class" parameter sent from Kannel. >> Accepted values are 0 (Default SMSC Mode) and 3 (Store and Forward). >> Defaults to 3. >> >> >> On Mon, Aug 12, 2013 at 12:29 PM, Ahemd Al-saigh < >> ahmedshabana2...@gmail.com> wrote: >> >>> try svn version or 1.5 >>> >>> >>> On Mon, Aug 12, 2013 at 1:14 PM, Eric Magutu wrote: >>> >>>> Hi, >>>> I am trying to set esm-class to 0 but I'm getting the following error >>>> >>>> [0] ERROR: Group 'smsc' may not contain field 'esm_class'. >>>> >>>> I am running >>>> Kannel bearerbox version `1.4.3'. Build `Nov 24 2011 08:02:18', >>>>compiler `4.6.2'. System Linux, release 3.2.0-30-virtual, version >>>> >>>> -- >>>> Regards, >>>> Eric Magutu >>>> >>> >>> >>> >>> -- >>> >>> _____ >>> >>> >>> >>>_ __ __ _ _ >>> /_\ | |__ _ __ ___ ___ __| | / _\ |__ __ _| |__ __ _ _ __ __ _ >>> //_\\| '_ \| '_ ` _ \ / _ \/ _` | \ \| '_ \ / _` | '_ \ / _` | '_ \ / _` | >>> / _ \ | | | | | | | | __/ (_| | _\ \ | | | (_| | |_) | (_| | | | | (_| | >>> \_/ \_/_| |_|_| |_| |_|\___|\__,_| \__/_| |_|\__,_|_.__/ \__,_|_| |_|\__,_| >>> >>> >> > > > -- > Regards, > Eric Magutu > -- Regards, Eric Magutu
Re: Setting esm-class
Hi, I have upgraded and still getting the below error when I try to add the line esm-class = 0 ERROR: Group 'smsc' may not contain field 'esm-class' On Tue, Aug 13, 2013 at 6:13 AM, Juan Nin wrote: > And it's not esm_class, but esm-class > From > http://www.kannel.org/download/kannel-userguide-snapshot/userguide.html: > > esm-class number Change the "esm_class" parameter sent from Kannel. > Accepted values are 0 (Default SMSC Mode) and 3 (Store and Forward). > Defaults to 3. > > > On Mon, Aug 12, 2013 at 12:29 PM, Ahemd Al-saigh < > ahmedshabana2...@gmail.com> wrote: > >> try svn version or 1.5 >> >> >> On Mon, Aug 12, 2013 at 1:14 PM, Eric Magutu wrote: >> >>> Hi, >>> I am trying to set esm-class to 0 but I'm getting the following error >>> >>> [0] ERROR: Group 'smsc' may not contain field 'esm_class'. >>> >>> I am running >>> Kannel bearerbox version `1.4.3'. Build `Nov 24 2011 08:02:18', >>>compiler `4.6.2'. System Linux, release 3.2.0-30-virtual, version >>> >>> -- >>> Regards, >>> Eric Magutu >>> >> >> >> >> -- >> >> _ >> >> >>_ __ __ _ _ >> /_\ | |__ _ __ ___ ___ __| | / _\ |__ __ _| |__ __ _ _ __ __ _ >> //_\\| '_ \| '_ ` _ \ / _ \/ _` | \ \| '_ \ / _` | '_ \ / _` | '_ \ / _` | >> / _ \ | | | | | | | | __/ (_| | _\ \ | | | (_| | |_) | (_| | | | | (_| | >> \_/ \_/_| |_|_| |_| |_|\___|\__,_| \__/_| |_|\__,_|_.__/ \__,_|_| |_|\__,_| >> >> > -- Regards, Eric Magutu
Setting esm-class
Hi, I am trying to set esm-class to 0 but I'm getting the following error [0] ERROR: Group 'smsc' may not contain field 'esm_class'. I am running Kannel bearerbox version `1.4.3'. Build `Nov 24 2011 08:02:18', compiler `4.6.2'. System Linux, release 3.2.0-30-virtual, version -- Regards, Eric Magutu
mysql dlr storage
Hi, I am running kannel on Ubuntu. I am trying to store DLR information into a MySQL database. I get the following error when checking the status: While trying to retrieve the URL: http://192.168.16.191:13000/status The following error was encountered: Connection Failed The system returned: (61) Connection refused The remote host or network may be down. Please try the request again. my kannel. conf file is:## Sample configuration file for Kannel bearerbox on Debian.# See the documentation for explanations of fields. ## HTTP administration is disabled by default. Make sure you set the# password if you enable it.group = coreadmin-port = 13000admin-password = bar#admin-deny-ip = "*.*.*.*" admin-allow-ip = "*.*.*.*"wapbox-port = 13002smsbox-port = 13003dlr-storage = mysqlwdp-interface-name = "*"log-file = "/var/log/kannel/bearerbox.log"box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1"group = wapboxbearerbox-host = localhostlog-file = "/var/log/kannel/wapbox.log"group = smsboxbearerbox-host = localhost log-file = "/var/log/kannel/smsbox.log"group = smscsmsc = fakesmsc-id = testport = 13005allowed-prefix = 07log-file = "/var/log/kannel/smsc.log"connect-allow-ip = 127.0.0.1group = mysql-connectionid = mydlrhost = localhostusername = kannelpassword = kanneldatabase = kannelmax-connections = 1group = dlr-dbid = mdlrtable = dlrfield-smsc = smsc field-timestamp = tsfield-destination = destinationfield-source = sourcefield-service = servicefield-url = "">field-mask = maskfield-status = statusfield-boxc-id = boxcWhen I comment out the following lines: ## Sample configuration file for Kannel bearerbox on Debian.# See the documentation for explanations of fields.## HTTP administration is disabled by default. Make sure you set the# password if you enable it. group = coreadmin-port = 13000admin-password = bar#admin-deny-ip = "*.*.*.*"admin-allow-ip = "*.*.*.*"wapbox-port = 13002smsbox-port = 13003#dlr-storage = mysqlwdp-interface-name = "*" log-file = "/var/log/kannel/bearerbox.log"box-deny-ip = "*.*.*.*"box-allow-ip = "127.0.0.1"group = wapboxbearerbox-host = localhost log-file = "/var/log/kannel/wapbox.log"group = smsboxbearerbox-host = localhostlog-file = "/var/log/kannel/smsbox.log"group = smscsmsc = fakesmsc-id = testport = 13005 allowed-prefix = 07log-file = "/var/log/kannel/smsc.log"connect-allow-ip = 127.0.0.1group = mysql-connectionid = mydlrhost = localhost#username = kannel #password = kanneldatabase = kannelmax-connections = 1group = dlr-dbid = mdlrtable = dlrfield-smsc = smscfield-timestamp = tsfield-destination = destinationfield-source = source field-service = servicefield-url = "">field-mask = maskfield-status = statusfield-boxc-id = boxcMy status is ok. Please let me know what I'm doing wrong.Eric
connection refused
Hi, i am running kannel on ubuntu. When I restart kannel and access it through the URL http://192.168.16.191:13000/status. I get a response for like 10 seconds then I get the following error: The following error was encountered: Connection Failed The system returned: (61) Connection refused The remote host or network may be down. Please try the request again. My kannel.conf file is:## Sample configuration file for Kannel bearerbox on Debian.# See the documentation for explanations of fields. ## HTTP administration is disabled by default. Make sure you set the# password if you enable it.group = coreadmin-port = 13000admin-password = bar#admin-deny-ip = "*.*.*.*" admin-allow-ip = "*.*.*.*"smsbox-port = 13002#wdp-interface-name = "*"log-file = "/var/log/kannel/bearerbox.log"#box-deny-ip = "*.*.*.*"box-allow-ip = " 127.0.0.1"log-level = 0access-log = "/var/log/kannel/access.log"http-proxy-host = "127.0.0.1"http-proxy-port = 8080http-proxy-exceptions = " 127.0.0.1"http-proxy-username = "user"http-proxy-password = "password"# Smsbox relatedgroup = smsboxsmsbox-id = smsbox1bearerbox-host = localhost sendsms-port = 13003log-file = "var/log/kannel/smsbox.log"#unified-prefix = "00358,0"#white-list = "http://127.0.0.1/white-list.txt" #black-list = "http://127.0.0.1/black-list.txt"#store-file = "kannel.store" My bearerbox.log file is:2006-10-13 10:30:38 [25342] [0] INFO: Kannel bearerbox II version 1.4.0 starting2006-10-13 10:30:38 [25342] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 25342.2006-10-13 10:30:38 [25342] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 25342.2006-10-13 10:30:38 [25342] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) maps to pid 25342. 2006-10-13 10:30:43 [25342] [0] INFO: MAIN: Start-up done, entering mainloop2006-10-13 10:30:43 [25342] [0] DEBUG: Shutting down Kannel...2006-10-13 10:30:43 [25342] [0] DEBUG: shutting down smsc2006-10-13 10:30:43 [25342] [0] DEBUG: shutting down udp 2006-10-13 10:30:43 [25342] [0] INFO: All flow threads have died, killing core2006-10-13 10:30:43 [25342] [0] DEBUG: Waiting for 2 (gwlib/http.c:server_thread) to terminate2006-10-13 10:30:43 [25342] [3] DEBUG: HTTP: No clients with requests, quitting. 2006-10-13 10:30:43 [25342] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) terminates.2006-10-13 10:30:43 [25342] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) terminates.2006-10-13 10:30:43 [25342] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) terminates. 2006-10-13 10:30:43 [25342] [0] INFO: Total WDP messages: received 0, sent 02006-10-13 10:30:43 [25342] [0] INFO: Total SMS messages: received 0, sent 02006-10-13 10:30:43 [25342] [0] DEBUG: Immutable octet strings: 105. 2006-10-13 10:30:45 [25350] [0] INFO: Added logfile `/var/log/kannel/bearerbox.log' with level `0'.2006-10-13 10:30:45 [25350] [0] INFO: Started access logfile `/var/log/kannel/access.log'.2006-10-13 10:30:45 [25350] [0] INFO: HTTP: Opening server at port 13000. 2006-10-13 10:30:45 [25350] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)2006-10-13 10:30:45 [25350] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread)2006-10-13 10:30:45 [25350] [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run) 2006-10-13 10:30:45 [25350] [0] INFO: 2006-10-13 10:30:45 [25350] [0] INFO: Kannel bearerbox II version 1.4.0 starting2006-10-13 10:30:45 [25350] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 25350. 2006-10-13 10:30:45 [25350] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 25350.2006-10-13 10:30:45 [25350] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) maps to pid 25350.2006-10-13 10:30:50 [25350] [0] INFO: MAIN: Start-up done, entering mainloop 2006-10-13 10:30:50 [25350] [0] DEBUG: Shutting down Kannel...2006-10-13 10:30:50 [25350] [0] DEBUG: shutting down smsc2006-10-13 10:30:50 [25350] [0] DEBUG: shutting down udp2006-10-13 10:30:50 [25350] [0] INFO: All flow threads have died, killing core 2006-10-13 10:30:50 [25350] [0] DEBUG: Waiting for 2 (gwlib/http.c:server_thread) to terminate2006-10-13 10:30:50 [25350] [3] DEBUG: HTTP: No clients with requests, quitting.2006-10-13 10:30:50 [25350] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) terminates. 2006-10-13 10:30:50 [25350] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) terminates.2006-10-13 10:30:50 [25350] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) terminates.2006-10-13 10:30:50 [25350] [0] INFO: Total WDP messages: received 0, sent 0 2006-10-13 10:30:50 [25350] [0] INFO: Total SMS messages: received 0, sent 02006-10-13 10:30:50 [25350] [0] DEBUG: Immutable octet strings: 105.2006-10-13 10:31:44 [25396] [0] INFO: Added logfile `/var/log/kannel/bearerbox.log' with level `0'. 2006-10-13 10:31:44 [25396] [0] INFO: Started access logfile `/var/log/kannel/access.log'.2006-10-13 10:31:44 [25396] [0] INFO: HTTP: Opening server at port 13000.2006-10-13 10:31:44 [25396] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2006-10-13 10:31:44 [
Error when starting kannel
Hi, I am running ubuntu and this is my kannel.conf:group = coreadmin-port = 13000admin-password = bar#status-password = foo#admin-deny-ip = ""admin-allow-ip = "*.*.*.*" log-file = "/tmp/kannel.log"log-level = 0access-log = "access.log"#http-proxy-host = "127.0.0.1"#http-proxy-port = 8080#http-proxy-exceptions = " 127.0.0.1"# Smsbox relatedsmsbox-port = 13001#box-deny-ip = "*.*.*.*"box-allow-ip = "127.0.0.1"#unified-prefix = "00358,0" #white-list = "http://127.0.0.1/white-list.txt"#black-list = "http://127.0.0.1/black-list.txt"#store-file = " kannel.store"I am getting the following errors when restarting kannel: sudo /etc/init.d/kannel restart Stopping WAP gateway: wapbox bearerbox.Starting WAP gateway: bearerbox/usr/sbin/run_kannel_box: open: /var/run/kannel/kannel_bearerbox.pid: No such file or directory wapbox/usr/sbin/run_kannel_box: open: /var/run/kannel/kannel_wapbox.pid: No such file or directory I had posted this message before and was told to create /var/run/kannel location manually. Everytime I restart my machine the dir dissapears. Please help.Eric
kannel.conf
Hi,I recently installed kannel on Ubuntu. When I search for kannel.conf I get the following 2 results:/etc/kannel/kannel.conf/usr/sbin/kannel.confWhich one do I edit if I want to set up a fake SMSC? Regards,Eric
Error when restarting kannel
Hi, I am new to Kannel. When I try to restart kannel I get the following error: Starting WAP gateway: bearerbox/usr/sbin/run_kannel_box: open: /var/run/kannel/kannel_bearerbox.pid: No such file or directory wapbox/usr/sbin/run_kannel_box: open: /var/run/kannel/kannel_wapbox.pid: No such file or directory What should I do to correct the problem?Regards,Eric
Help Please
Hi, I have just installed kannel on Ubuntu and I'm having problems setting up an sms gateway. I need to set up a fake smsc. can someone please help me with the following:1.Where do I put smskannel.conf?2.define an 'smsbox' group into the configuration file to be able to use SMS Kannel. which config file is being referred to in the documentation?3. How do you start the bearerbox?4 How do you start the smsbox?5. How do you set up the HTTP administration interface? Any help will be appreciated.Regards,Eric.