I'm sorry for the incorrect commit message, I realized too late that I wrote "tsilo" instead of "tm".

Regards,

Federico 

On Tue, Sep 22, 2015 at 3:54 PM, Federico Cabiddu <federico.cabiddu@gmail.com> wrote:
Module: kamailio
Branch: master
Commit: 6bdddb99d7bca42897b2c0f96a87c49b97efd8ac
URL: https://github.com/kamailio/kamailio/commit/6bdddb99d7bca42897b2c0f96a87c49b97efd8ac

Author: Federico Cabiddu <federico.cabiddu@gmail.com>
Committer: Federico Cabiddu <federico.cabiddu@gmail.com>
Date: 2015-09-22T15:53:28+02:00

tsilo: don't force destination protocol on branches added by t_append_branches

---

Modified: modules/tm/t_append_branches.c

---

Diff:  https://github.com/kamailio/kamailio/commit/6bdddb99d7bca42897b2c0f96a87c49b97efd8ac.diff
Patch: https://github.com/kamailio/kamailio/commit/6bdddb99d7bca42897b2c0f96a87c49b97efd8ac.patch

---

diff --git a/modules/tm/t_append_branches.c b/modules/tm/t_append_branches.c
index 1344a5d..19782a7 100644
--- a/modules/tm/t_append_branches.c
+++ b/modules/tm/t_append_branches.c
@@ -128,7 +128,7 @@ int t_append_branches(void) {
                new_branch=add_uac( t, orig_msg, &current_uri,
                                        (dst_uri.len) ? (&dst_uri) : &current_uri,
                                        &path, 0, si, orig_msg->fwd_send_flags,
-                                       orig_msg->rcv.proto, (dst_uri.len)?-1:UAC_SKIP_BR_DST_F, &instance,
+                                       PROTO_NONE, (dst_uri.len)?-1:UAC_SKIP_BR_DST_F, &instance,
                                        &ruid, &location_ua);

                LM_DBG("added branch [%.*s] with ruid [%.*s]\n", current_uri.len, current_uri.s, ruid.len, ruid.s);


_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev