Module: kamailio
Branch: 4.2
Commit: de64dbefeb04889bd0d2477918e3c84abb203d74
URL:
https://github.com/kamailio/kamailio/commit/de64dbefeb04889bd0d2477918e3c84…
Author: Federico Cabiddu <federico.cabiddu(a)gmail.com>
Committer: Federico Cabiddu <federico.cabiddu(a)gmail.com>
Date: 2015-09-22T16:19:22+02:00
tsilo: don't force destination protocol on branches added by t_append_branches
(cherry picked from commit 6bdddb99d7bca42897b2c0f96a87c49b97efd8ac)
---
Modified: modules/tm/t_append_branches.c
---
Diff:
https://github.com/kamailio/kamailio/commit/de64dbefeb04889bd0d2477918e3c84…
Patch:
https://github.com/kamailio/kamailio/commit/de64dbefeb04889bd0d2477918e3c84…
---
diff --git a/modules/tm/t_append_branches.c b/modules/tm/t_append_branches.c
index 19d0d34..053a69b 100644
--- a/modules/tm/t_append_branches.c
+++ b/modules/tm/t_append_branches.c
@@ -131,7 +131,7 @@ int t_append_branches(void) {
new_branch=add_uac( t, orig_msg, ¤t_uri,
(dst_uri.len) ? (&dst_uri) : ¤t_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);