Hello, t_relay() should return negative (false) in such case, but I am not sure it returns a specific value for it -- this can be a variant to add if needed.
Cheers, Daniel On 15.12.19 08:27, Juha Heinanen wrote: > In route block I call t_on_failure, t_on_branch_failure, and > t_on_branch. If branch route fails like this: > > Dec 15 08:52:19 box /usr/bin/sip-proxy[84346]: ERROR: tm [ut.h:284]: > uri2dst2(): failed to resolve "foo.tutpro.com" :unresolvable A or AAAA > request (-7) > Dec 15 08:52:19 box /usr/bin/sip-proxy[84346]: ERROR: tm [t_fwd.c:1738]: > t_forward_nonack(): failure to add branches > > failure_route or tm:branch-failure event_route is not executed. Is > there a way to catch such a failure? > > -- Juha > > _______________________________________________ > Kamailio (SER) - Users Mailing List > [email protected] > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users -- Daniel-Constantin Mierla -- www.asipto.com www.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio World Conference - April 27-29, 2020, in Berlin -- www.kamailioworld.com _______________________________________________ Kamailio (SER) - Users Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
