I know. Please try the following patch:

diff -u smsc_emi2.orig  smsc_emi2.c
--- smsc_emi2.orig      Wed Dec 19 17:46:49 2001
+++ smsc_emi2.c Wed Dec 19 17:58:08 2001
@@ -1074,6 +1074,10 @@
        case EMI2_TIMEOUT:
            break;
        }
+
+       if (emi2_handle_smscreq (conn, *server) < 0) {
+            return; /* reopen the connection */
+       }
 
        if (emi2_needs_keepalive (conn)) {
            if (*server == NULL) {

Regards
  Jörg

Zitiere Jorge Nunes da Silva <[EMAIL PROTECTED]>:

> 
> Hi all
> 
> I suspect I found a bug in Kannel (CVS version).
> 
> I am using emi2 and window=10.
> 
> I am sending about 1500 SMS messages and after analysing the logs for
> several cases I found the following:
> 
> Whenever I receive 10 ack messages in a row (emi2 parsing packet:
> < 30/00042/R/51/A//...) the bearerbox stops sending SMSs until an event
> wakes him up. This event can be a timeout due to keepalive
> configuration; a connection closed by a timeout on the SMSC side.
> 
> I'm sending one part of a log where the problem occurs 2 times. I've
> entered white lines where the bearerbox is stoping. And replaced phone
> numbers with XXXX.
> 
>  <<mail.log>> 
> Regards,
> Jorge Silva
> ----
> 
> 

Reply via email to