bumping this to dev

On Fri, Nov 7, 2014 at 7:15 PM, Eric Magutu <emag...@gmail.com> wrote:

> The telco says he is getting missed enquiry link
>
> On Fri, Nov 7, 2014 at 4:30 PM, Eric Magutu <emag...@gmail.com> 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 = 0x00000002
>> 2014-11-06 14:39:45 [22646] [13] DEBUG:   command_status: 0 = 0x00000000
>> 2014-11-06 14:39:45 [22646] [13] DEBUG:   command_id: 2147483669 =
>> 0x80000015
>> 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 = 0x00000002
>> 2014-11-06 14:39:45 [22646] [13] DEBUG:   command_status: 0 = 0x00000000
>> 2014-11-06 14:39:45 [22646] [13] DEBUG:   command_id: 21 = 0x00000015
>> 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<
>> +22224545318>
>> 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<
>> +22229569818>
>> 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<
>> +22224322763>
>> 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<
>> +22224762896>
>> 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<
>> +22224366488>
>> 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<
>> +22224264317>
>> 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<
>> +22224366488>
>> 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<
>> +22224765807>
>> 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 =
>> 0x000001ac
>> 2014-11-06 14:39:45 [22646] [13] DEBUG:   command_status: 0 = 0x00000000
>> 2014-11-06 14:39:45 [22646] [13] DEBUG:   command_id: 21 = 0x00000015
>> 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 <emag...@gmail.com> 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" <tapan.thapa2...@gmail.com>
>>> 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 <emag...@gmail.com> wrote:
>>>>
>>>>> Yes
>>>>> On Nov 6, 2014 5:16 PM, "Tapan Kumar Thapa" <tapan.thapa2...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> In the admin interface of kannel, is smpp connection up?
>>>>>>
>>>>>> On Thu, Nov 6, 2014 at 7:26 PM, Eric Magutu <emag...@gmail.com>
>>>>>> 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 = "aaaa"
>>>>>>> smsc-password = "bbbb"
>>>>>>> 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 <emag...@gmail.com>
>>>>>>>> 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
>>>>>>>
>>>>>>
>>>>>>
>>>>
>>
>>
>> --
>> Regards,
>> Eric Magutu
>>
>
>
>
> --
> Regards,
> Eric Magutu
>



-- 
Regards,
Eric Magutu

Reply via email to