I eagerly tried the smsc_emi2 'idle-timeout' configuration committed by Jörg
Pommitz a month or so ago, but get the following error:

2002-01-03 16:37:13 [0] INFO: Added logfile
`/home/sms/kannel/log/kannel.log' with level `0'.
2002-01-03 16:37:13 [0] INFO: ----------------------------------------
2002-01-03 16:37:13 [0] INFO: Kannel bearerbox II version cvs starting
2002-01-03 16:37:13 [0] INFO: Started access logfile
`/home/sms/kannel/log/kannelaccess.log'.
2002-01-03 16:37:13 [0] DEBUG: HTTP: Opening server at port 15000.
2002-01-03 16:37:13 [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
2002-01-03 16:37:13 [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread)
2002-01-03 16:37:13 [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run)
2002-01-03 16:37:13 [0] DEBUG: starting smsbox connection module
2002-01-03 16:37:13 [0] DEBUG: Started thread 4 (gw/bb_boxc.c:smsboxc_run)
2002-01-03 16:37:13 [0] DEBUG: Started thread 5
(gw/smsc_emi2.c:emi2_listener)
2002-01-03 16:37:13 [0] DEBUG: Started thread 6 (gw/smsc_emi2.c:emi2_sender)
2002-01-03 16:37:13 [0] DEBUG: Started thread 7
(gw/bb_smscconn.c:sms_router)
2002-01-03 16:37:13 [0] INFO: MAIN: Start-up done, entering mainloop
2002-01-03 16:37:13 [0] DEBUG: smsc_emi2: start called
2002-01-03 16:37:13 [7] DEBUG: sms_router: time to sleep
2002-01-03 16:37:13 [6] DEBUG: Sending operation type 60, message with
password not shown in log file.
2002-01-03 16:37:13 [7] DEBUG: sms_router: list_len = 0
2002-01-03 16:37:13 [6] DEBUG: emi2 parsing packet:
<00/00036/R/60/A/test:030102163951/C5>
2002-01-03 16:37:43 [6] INFO: emi2: closing idle connection.
2002-01-03 16:38:13 [6] PANIC: gwlib/conn.c:107: lock_in: Assertion `conn !=
NULL' failed.

In the above example 'idle-timeout' is set to 30 and I've commented out the
keepalive setting (I've tried various combinations of 'idle-timeout' and
'keepalive' settings but with the same result). Am I doing something wrong?

cheers,

Frederik Ammitzbøll
Unwire
Vestergade 12A, 3.
1456 København K
Denmark

Mobil: +45 27 11 99 99
Fax :  +45 33 33 09 70
Web:   www.unwire.dk


> >From the updated Userguide:
>
> idle-timeout - number (seconds)
>
> If this option is set to a value larger than 0, then the connection will
> be closed after the configured amount of seconds without activity. This
> option interacts with the keepalive configuration option. If keepalive
> is smaller than idle-timeout, then the connection will never be idle and
> those this option has no effect. If keepalive is larger than
> idle-timeout,
> than keepalive reopens the connection. This allows one to poll
> for pending
> mobile originated Short Messages at the SMSC.
>
> In my limited testing everything worked fine. If nobody objects
> I'm going to commit my changes soon.
>
> Regards
>   Jörg
>
>


Reply via email to