[sr-dev] git:3.1: tm: allow t_on_reply() in branch_route
Alex Balashov
abalashov at evaristesys.com
Wed May 4 19:35:07 CEST 2011
When did this break?
--
Alex Balashov - Principal
Evariste Systems LLC
260 Peachtree Street NW
Suite 2200
Atlanta, GA 30303
Tel: +1-678-954-0670
Fax: +1-404-961-1892
Web: http://www.evaristesys.com/
On May 4, 2011, at 1:28 PM, Daniel-Constantin Mierla <miconda at gmail.com> wrote:
> Module: sip-router
> Branch: 3.1
> Commit: acad20d9479b2a48c29709304042b0f54032c16d
> URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=acad20d9479b2a48c29709304042b0f54032c16d
>
> Author: Daniel-Constantin Mierla <miconda at gmail.com>
> Committer: Daniel-Constantin Mierla <miconda at gmail.com>
> Date: Wed May 4 19:25:36 2011 +0200
>
> tm: allow t_on_reply() in branch_route
>
> - same for t_on_failure()
> - reported by Sebastian Damm
> (cherry picked from commit e950f44d733f9004710f0155d794a1c797f1580d)
>
> ---
>
> modules/tm/tm.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/modules/tm/tm.c b/modules/tm/tm.c
> index 160da26..c4ac427 100644
> --- a/modules/tm/tm.c
> +++ b/modules/tm/tm.c
> @@ -402,9 +402,9 @@ static cmd_export_t cmds[]={
> {"t_relay_cancel", w_t_relay_cancel, 0, 0,
> REQUEST_ROUTE},
> {"t_on_failure", w_t_on_negative, 1, fixup_on_failure,
> - REQUEST_ROUTE | FAILURE_ROUTE | TM_ONREPLY_ROUTE },
> + REQUEST_ROUTE | FAILURE_ROUTE | TM_ONREPLY_ROUTE | BRANCH_ROUTE },
> {"t_on_reply", w_t_on_reply, 1, fixup_on_reply,
> - REQUEST_ROUTE | FAILURE_ROUTE | TM_ONREPLY_ROUTE },
> + REQUEST_ROUTE | FAILURE_ROUTE | TM_ONREPLY_ROUTE | BRANCH_ROUTE },
> {"t_on_branch", w_t_on_branch, 1, fixup_on_branch,
> REQUEST_ROUTE | FAILURE_ROUTE },
> {"t_check_status", t_check_status, 1, fixup_t_check_status,
>
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
More information about the sr-dev
mailing list