Hi Andrei,
On Jun 22, 2009 at 12:37, Ivan Genov ivangg_q@yahoo.com wrote:
It depends on what are you using: pre-sip-router kamailio, pre-sip-router ser or the latest sip-router code.
If you are using sip-router or a recent ser (e.g 2.1), then the tcp code does not block (you can make it block if you want though). However this is not yet true for tls (the tls code is not yet async.). For the same "versions" (ser 2.1 or sip-router) you can stop outgoing connects by setting tcp_no_connect to yes. You can do this any time, even even if sip-router is already started (in this case using sercmd cfg.set_now_int tcp no_connect 1).
this is a system wide config option, right? Is or would it be possible to have this option on a transaction/user base? I'm thinking since quite some time that it would be ideal to decide as result from the NAT detection if it is worth trying to re-establish a TCP connection from the proxy to the UA or not.
Thanks Nils