Hi,

I'm using a kannel version 1.2.1 and my server keeps on reconnecting to my service provider. I've already tried setting the keepalive from 0 to 60 seconds but the results are still the same. Here's a sample of my logs:

2004-03-01 20:23:42 [6] WARNING: cimd2_pending_smsmessage: service center closed connection.
2004-03-01 20:23:42 [6] DEBUG: smsc_wrapper <CIMD2:203.172.10.05:9000:mpalumni:mpalumni>: reconnect started
2004-03-01 20:23:42 [6] WARNING: Attempting to re-open CIMD2 connection
2004-03-01 20:23:42 [8] WARNING: cimd2_pending_smsmessage: service center closed connection.
2004-03-01 20:23:42 [8] DEBUG: smsc_wrapper <CIMD2:203.172.10.05:9000:mpalumni>: reconnect started
2004-03-01 20:23:42 [8] WARNING: Attempting to re-open CIMD2 connection
2004-03-01 20:23:44 [6] INFO: CIMD2:203.172.10.05:9000:mpalumni:mpalumni logged in.
2004-03-01 20:23:44 [6] INFO: Re-open of CIMD2:203.172.10.05:9000:mpalumni:mpalumni succeeded.
2004-03-01 20:23:44 [8] INFO: CIMD2:203.172.10.05:9999:mpalumni logged in.
2004-03-01 20:23:44 [8] INFO: Re-open of CIMD2:203.172.10.05:9000:mpalumni succeeded.



Our server is required to send CIMD2 code 40 keepalive packets to our SMSC provider but currently, it is not sending any. Is there a way to set kannel in such a way that it is capable of sending code 40 keepalive packets like every 60 seconds for example? It should be sending something like <STX>40 to the SMSC provider like the sample log below...It's the log from our SMSC provider and it's receiving the code 40 alive packet from one of its clients.



2004 Feb 26 11:07:23.080 DEBUG: (mprpn259) Received packet: <STX>40:123<TAB>3F<ETX> 2004 Feb 26 11:07:23.080 INFO : (mprpn259) Received alive packet 2004 Feb 26 11:07:23.080 DEBUG: (mprpn259) Sending packet: <STX>90:123<TAB>44<ETX> 2004 Feb 26 11:07:23.080 DEBUG: (mprpn259) Waiting for next packet 2004 Feb 26 11:07:40.490 DEBUG: (mprpn259:mprpn259) Received packet: <STX>40:125<TAB>41<ETX> 2004 Feb 26 11:07:40.490 INFO : (mprpn259:mprpn259) Received alive packet 2004 Feb 26 11:07:40.490 DEBUG: (mprpn259:mprpn259) Sending packet: <STX>90:125<TAB>46<ETX>


Any help would be greatly appreciated... Thanks.

Mc




Reply via email to