[Kamailio-Devel] on tcp connect "errors"

Klaus Darilion klaus.mailinglists at pernau.at
Tue Oct 21 12:22:58 CEST 2008



Juha Heinanen schrieb:
> when kamailio fails to establish tcp connection to an UA, it spits out
> large number of error messages:
> 
> Oct 21 13:03:21 lohi /usr/sbin/kamailio[18429]: ERROR:core:tcp_blocking_connect: timeout 10 s elapsed from 10 s 
> Oct 21 13:03:21 lohi /usr/sbin/kamailio[18429]: ERROR:core:tcpconn_connect: tcp_blocking_connect failed 
> Oct 21 13:03:21 lohi /usr/sbin/kamailio[18429]: ERROR:core:tcp_send: connect failed 
> Oct 21 13:03:21 lohi /usr/sbin/kamailio[18429]: ERROR:tm:msg_send: tcp_send failed 
> Oct 21 13:03:21 lohi /usr/sbin/kamailio[18429]: ERROR:tm:t_uac: attempt to send to 'sip:QBTCqy8RxYu3NHTzoslk at 192.62.180.41;transport=TCP' failed 
> 
> in my opinion, this is not really an error condition and no error
> messages should be printed.

IMO it is an error - but probably one log message would be enough.

Further, IMO it would be cool to have a feature to do not attempt to 
open TCP connection after lookup() and a certain flag is set at all.

klaus



More information about the Devel mailing list