Hi, I've just joined the list, primarily to send the following trivial patch.
The patch is available at: http://insom.me.uk/hacks/kannel-timeouts.diff with a write up at: http://insom.me.uk/hacks/kannel-timeouts.html Copied here for completeness: --- kannel-timeouts.diff implements a timeout for SMSC connections with Kannel. SMPP contains primitives called link_enquire & link_enquire_resp, which are used to make sure that both ends of an SMPP are both live. After a period of time, if no response is received for an enquiry then the connection should be broken and reconnection attempted. Kannel 1.2.1 (Stable) doesn't ship with this facility, and if the network between hosts goes down (for example, an IPsec VPN timing out) Kannel may wait until the socket closes from ECONNRESET, which can be a long time indeed. By default, this patch waits until three enquiries go unanswered before closing the connection and setting the flag SMSCCONN_RECONNECTING to make it reconnect. Work on tracking down this problem and fixing it was sponsored by BongTree Mobile --- Best regards, Aaron Brady, Crestsource Limited - http://www.crestsource.com