[SR-Users] how to detect "failure to add branches"?

Juha Heinanen jh at tutpro.com
Sun Dec 15 08:27:36 CET 2019

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

More information about the sr-users mailing list