Hi Rodrigo, First of all thank you for your time.
It is very difficult to check if the TCP connection with the SMSC is up because that error is not very usually and when I see the error in the logs the connection is already reestablished by kannel. Anyway if the connection was broken I guess that the enquire link send by kannel should appear in the logs without its correspondig enquire link resp from smsc or, at least, kannel should try to reconnect inmeadtly and not 300 seconds after. Am I wrong about this ? Regards, Alberto On Thursday 22 December 2005 15:34, Rodrigo Cremaschi wrote: > Hola Alberto: > > Maybe your transmitter disconnects and that is why Kannel cannot > send any more SMPP packets to your SMSC. > > - Did you check if both transmitter and receiver are connected? > - Try to send some SMS to a phone as a keep-alive before the 6 minute > period, and see if the problem persists. (Some SMSCs behave strangely > and disconnect the ESME if they don“t get an SMS, even if you send > enquire links...). In this particular case, you should disconnect and > reconnect :( > > I hope this may be of help. > > Rodrigo. > > On 12/21/05, Alberto Devesa <[EMAIL PROTECTED]> wrote: > > 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
