From 2ff07db4b3cc55812591f6999b993ccc036bb6f0 Mon Sep 17 00:00:00 2001 From: Andrew Pogrebennyk Date: Mon, 30 Jun 2014 17:32:44 +0200 Subject: [PATCH] MT#7059 allow t_is_failure_route() call from branch route. --- debian/patches/series | 1 + .../upstream/0006-tmx-handle-branch-route.patch | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 debian/patches/upstream/0006-tmx-handle-branch-route.patch diff --git a/debian/patches/series b/debian/patches/series index 32f3e4fcc..fa0c7b84b 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -2,6 +2,7 @@ upstream/acc-allow-pseudo-variables-as-first-parameter-for-fu.patch upstream/acc-add-documentation-note-indicating-the-use-of-pse.patch upstream/debug/0001-modules-debugger-trace-msg-out.patch +upstream/0006-tmx-handle-branch-route.patch ## multipart bodies upstream/0001-parser-add-internal-flag-FL_BODY_MULTIPART.patch upstream/0001-core-add-str_append-helper-function.patch diff --git a/debian/patches/upstream/0006-tmx-handle-branch-route.patch b/debian/patches/upstream/0006-tmx-handle-branch-route.patch new file mode 100644 index 000000000..7d8c53112 --- /dev/null +++ b/debian/patches/upstream/0006-tmx-handle-branch-route.patch @@ -0,0 +1,10 @@ +--- a/modules/tmx/t_var.c ++++ b/modules/tmx/t_var.c +@@ -472,6 +472,7 @@ int pv_get_tm_reply_code(struct sip_msg + } else { + switch (get_route_type()) { + case REQUEST_ROUTE: ++ case BRANCH_ROUTE: + /* use the status of the last sent reply */ + code = t->uas.status; + break;