[sr-dev] handling failed t_relay() when multiple usr locations

Iñaki Baz Castillo ibc at aliax.net
Tue Mar 9 11:55:45 CET 2010


2010/3/9 Andrei Pelinescu-Onciul <andrei at iptel.org>:
>> 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 at aliax.net>



More information about the sr-dev mailing list