mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-11 12:07:06 +00:00
pass and decrement max_forwards across the bridge for sip
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4135 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
1b4e65d4a5
commit
608fac923a
3 files changed
+17
-2
No files matched your search
@@ -1660,6 +1660,10 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_outgoing_channel(switch_core
|
||||
if ((val = switch_channel_get_variable(channel, SWITCH_R_SDP_VARIABLE))) {
|
||||
switch_channel_set_variable(peer_channel, SWITCH_B_SDP_VARIABLE, val);
|
||||
}
|
||||
|
||||
if ((val = switch_channel_get_variable(channel, SWITCH_MAX_FORWARDS_VARIABLE))) {
|
||||
switch_channel_set_variable(peer_channel, SWITCH_MAX_FORWARDS_VARIABLE, val);
|
||||
}
|
||||
|
||||
if (switch_channel_test_flag(channel, CF_NOMEDIA)) {
|
||||
switch_channel_set_flag(peer_channel, CF_NOMEDIA);
|
||||
|
||||
Reference in new issue
Block a user