[sr-dev] git:master:4d122e15: tm: set next hop as dst_uri for appended branches
Federico Cabiddu
federico.cabiddu at gmail.com
Fri Nov 20 11:16:10 CET 2015
Module: kamailio
Branch: master
Commit: 4d122e15f4599010000f6e5d2e60e9bc13b2281a
URL: https://github.com/kamailio/kamailio/commit/4d122e15f4599010000f6e5d2e60e9bc13b2281a
Author: Federico Cabiddu <federico.cabiddu at gmail.com>
Committer: Federico Cabiddu <federico.cabiddu at gmail.com>
Date: 2015-11-20T11:13:40+01:00
tm: set next hop as dst_uri for appended branches
---
Modified: modules/tm/t_append_branches.c
---
Diff: https://github.com/kamailio/kamailio/commit/4d122e15f4599010000f6e5d2e60e9bc13b2281a.diff
Patch: https://github.com/kamailio/kamailio/commit/4d122e15f4599010000f6e5d2e60e9bc13b2281a.patch
---
diff --git a/modules/tm/t_append_branches.c b/modules/tm/t_append_branches.c
index 65073b1..f38a0a2 100644
--- a/modules/tm/t_append_branches.c
+++ b/modules/tm/t_append_branches.c
@@ -140,7 +140,7 @@ int t_append_branches(void) {
new_branch=add_uac( t, &faked_req, ¤t_uri,
(dst_uri.len) ? (&dst_uri) : ¤t_uri,
&path, 0, si, faked_req.fwd_send_flags,
- PROTO_NONE, (dst_uri.len)?-1:UAC_SKIP_BR_DST_F, &instance,
+ PROTO_NONE, (dst_uri.len)?0: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);
More information about the sr-dev
mailing list