MT#7059 allow t_is_failure_route() call from branch route.

mr3.4.1
Andrew Pogrebennyk 12 years ago
parent d3001c9e7a
commit 2ff07db4b3

@ -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

@ -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;
Loading…
Cancel
Save