2010/3/9 Andrei Pelinescu-Onciul <andrei(a)iptel.org>rg>:
Yes I'm
wrong. t_relay() doesn't fail (doesn't return a error) in case a TCP
connection can not be established. If you set branch_route before it will be
executed and ~10 seconds later (configurable) you get the TCP error:
ERROR:core:tcp_blocking_connect: timeout 10 s elapsed from 10 s
ERROR:core:tcpconn_connect: tcp_blocking_connect failed
That's because you're in tcp non-async mode (not recommended in general,
unless you have to use tls).
Yes, the above log is got using Kamailio 1.5 in which TM is blocking
(no async mode) :)
--
Iñaki Baz Castillo
<ibc(a)aliax.net>