But when does t_relay() itself ever fail due to endpoint reachability
issues? I think t_relay() only fails for formal reasons, like host
name lookup failure, invalid address format, etc? Otherwise, it
returns success; if the endpoint is not reachable, the transaction
simply times out. If this is the case, branch route does get called.
Is this not the case?
On 03/08/2010 12:03 PM, Juha Heinanen wrote:
Iñaki Baz Castillo writes:
> No, branch_route is not execed when t_relay() fails.
> In case a TCP connection is broken t_relay() returns an error ($rc is
> negative) and no branch_route is entered.
inaki,
i think the idea was to call set_forward_no_connect() in branch route
before calling t_relay().
-- juha
_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
--
Alex Balashov - Principal
Evariste Systems LLC
Tel : +1 678-954-0670
Direct : +1 678-954-0671
Web : http://www.evaristesys.com/
_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev