[prev in list] [next in list] [prev in thread] [next in thread]
List: serdev
Subject: [sr-dev] git:master: tmx: handle branch_route for $T_reply_code
From: Daniel-Constantin Mierla <miconda () gmail ! com>
Date: 2014-06-30 12:39:06
Message-ID: 20140630123906.9AED1EF8074 () rimmer ! ryngle ! com
[Download RAW message or body]
Module: sip-router
Branch: master
Commit: 2e28163f2f3e756c89f8cc43df0644be38c5e06f
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2e28163f2f3e756c89f8cc43df0644be38c5e06f
Author: Daniel-Constantin Mierla <miconda@gmail.com>
Committer: Daniel-Constantin Mierla <miconda@gmail.com>
Date: Mon Jun 30 14:37:40 2014 +0200
tmx: handle branch_route for $T_reply_code
- use latest sent reply code
- related to the log message reported in FS#445
---
modules/tmx/t_var.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/tmx/t_var.c b/modules/tmx/t_var.c
index 6f7d346..b71c3bb 100644
--- a/modules/tmx/t_var.c
+++ b/modules/tmx/t_var.c
@@ -487,6 +487,7 @@ int pv_get_tm_reply_code(struct sip_msg *msg, pv_param_t *param,
} else {
switch (get_route_type()) {
case REQUEST_ROUTE:
+ case BRANCH_ROUTE:
/* use the status of the last sent reply */
code = t->uas.status;
break;
_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic