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 <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
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
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to