Module: sip-router Branch: master Commit: 6e28b187ab4d9cb100e58cb7667c0ee64e8b6deb URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=6e28b187...
Author: Hugh Waite hugh.waite@crocodile-rcs.com Committer: Hugh Waite hugh.waite@crocodile-rcs.com Date: Wed Apr 10 11:33:15 2013 +0100
modules/tm: Enable named branch_failure routes
- branch failure routes must be named with the format: -- "tm:branch-failure:myroute" - and enabled with the function: -- t_on_branch_failure("myroute")
---
modules/tm/h_table.h | 4 ++++ modules/tm/t_fwd.c | 1 + modules/tm/t_lookup.c | 1 + modules/tm/t_reply.c | 41 ++++++++++++++++++++++++++++++++--------- modules/tm/t_reply.h | 3 ++- modules/tm/tm.c | 46 ++++++++++++++++++++++++++++++++++++++++------ 6 files changed, 80 insertions(+), 16 deletions(-)
Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=6e28...
10 apr 2013 kl. 13:37 skrev Hugh Waite hugh.waite@crocodile-rcs.com:
-- t_on_branch_failure("myroute")
Gotta love it.
Thanks for your hard work, Hugh!
/O
Hugh Waite writes:
modules/tm: Enable named branch_failure routes
- branch failure routes must be named with the format:
-- "tm:branch-failure:myroute"
- and enabled with the function:
-- t_on_branch_failure("myroute")
thanks. i gave it a try by calling t_on_branch_failure("myroute") in branch route where i knew if it needs to be called and it worked as expected.
-- juha