[Kamailio-Devel] on tcp connect "errors"

Juha Heinanen jh at tutpro.com
Sun Oct 26 09:24:37 CET 2008


Klaus Darilion writes:

 > What if the proxy tries to connect to a gateway. Would you handle this 
 > es error? Or do you want to set the loglevel to WARNING or INFO?

if tcp connection cannot be established to gw, i would like failure
route to be executed in the same way as when there is no response from
the gw.

if i remember correctly, internal 408 does call failure route, but
tcp connect error does not.  this is very bad and greatly complicates
the script and is impossible to handle in 1.4.

 > > you mean that if an existing connection does not exist, then don't try
 > > to open a new one?
 > 
 > Yes. That would be useful for SIP clients to avoid unnecessary blocking.

i agree, but then again failure route would need to be called.

-- juha



More information about the Devel mailing list