Hello,

I am getting a strange behaviour while connected to a SMPP SMSC. Kannel is 
sending an enquire link each 60 seconds (as configured) but at a given moment 
it stops sending enquire links and after 6 minutes it complains about not 
receiving response from SMSC but it seems that really it is kannel who does 
not send the enquire link.

Here are the logs:


Enquire link n:

2005-12-21 19:43:22 [30798] [7] DEBUG: SMPP[smpp1]: Sending enquire link:
2005-12-21 19:43:22 [30798] [7] DEBUG: SMPP PDU 0x81bb170 dump:
2005-12-21 19:43:22 [30798] [7] DEBUG:   type_name: enquire_link
2005-12-21 19:43:22 [30798] [7] DEBUG:   command_id: 21 = 0x00000015
2005-12-21 19:43:22 [30798] [7] DEBUG:   command_status: 0 = 0x00000000
2005-12-21 19:43:22 [30798] [7] DEBUG:   sequence_number: 1729 = 0x000006c1
2005-12-21 19:43:22 [30798] [7] DEBUG: SMPP PDU dump ends.
2005-12-21 19:43:22 [30798] [7] DEBUG: SMPP[smpp1]: Got PDU:
2005-12-21 19:43:22 [30798] [7] DEBUG: SMPP PDU 0x81bb170 dump:
2005-12-21 19:43:22 [30798] [7] DEBUG:   type_name: enquire_link_resp
2005-12-21 19:43:22 [30798] [7] DEBUG:   command_id: 2147483669 = 0x80000015
2005-12-21 19:43:22 [30798] [7] DEBUG:   command_status: 0 = 0x00000000
2005-12-21 19:43:22 [30798] [7] DEBUG:   sequence_number: 1729 = 0x000006c1
2005-12-21 19:43:22 [30798] [7] DEBUG: SMPP PDU dump ends.

Enquire link n+1:

2005-12-21 19:44:22 [30798] [7] DEBUG: SMPP[smpp1]: Sending enquire link:
2005-12-21 19:44:22 [30798] [7] DEBUG: SMPP PDU 0x81bb170 dump:
2005-12-21 19:44:22 [30798] [7] DEBUG:   type_name: enquire_link
2005-12-21 19:44:22 [30798] [7] DEBUG:   command_id: 21 = 0x00000015
2005-12-21 19:44:22 [30798] [7] DEBUG:   command_status: 0 = 0x00000000
2005-12-21 19:44:22 [30798] [7] DEBUG:   sequence_number: 1730 = 0x000006c2
2005-12-21 19:44:22 [30798] [7] DEBUG: SMPP PDU dump ends.
2005-12-21 19:44:23 [30798] [7] DEBUG: SMPP[smpp1]: Got PDU:
2005-12-21 19:44:23 [30798] [7] DEBUG: SMPP PDU 0x81bb170 dump:
2005-12-21 19:44:23 [30798] [7] DEBUG:   type_name: enquire_link_resp
2005-12-21 19:44:23 [30798] [7] DEBUG:   command_id: 2147483669 = 0x80000015
2005-12-21 19:44:23 [30798] [7] DEBUG:   command_status: 0 = 0x00000000
2005-12-21 19:44:23 [30798] [7] DEBUG:   sequence_number: 1730 = 0x000006c2
2005-12-21 19:44:23 [30798] [7] DEBUG: SMPP PDU dump ends.

Enquire link n+2 (6 minutes later !!)

2005-12-21 19:50:35 [30798] [7] DEBUG: SMPP[smpp1]: Sending enquire link:
2005-12-21 19:50:35 [30798] [7] DEBUG: SMPP PDU 0x81bb170 dump:
2005-12-21 19:50:35 [30798] [7] DEBUG:   type_name: enquire_link
2005-12-21 19:50:35 [30798] [7] DEBUG:   command_id: 21 = 0x00000015
2005-12-21 19:50:35 [30798] [7] DEBUG:   command_status: 0 = 0x00000000
2005-12-21 19:50:35 [30798] [7] DEBUG:   sequence_number: 1731 = 0x000006c3
2005-12-21 19:50:35 [30798] [7] DEBUG: SMPP PDU dump ends.
2005-12-21 19:50:35 [30798] [7] ERROR: SMPP[smpp1]: No responses from SMSC 
within 300 sec. Reconnecting.

Here, kannel reconnects and all goes fine again.


Regards and thanks for your help

Alberto

Reply via email to