mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
add -bleg and -both flags to the transfer api command so you can transfer both sides or the opposite side of a call as well
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5770 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -895,6 +895,8 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_session_transfer(switch_core_session_
|
||||
}
|
||||
|
||||
if (uuid && (other_session = switch_core_session_locate(uuid))) {
|
||||
other_channel = switch_core_session_get_channel(other_session);
|
||||
assert(other_channel != NULL);
|
||||
switch_channel_set_variable(other_channel, SWITCH_SIGNAL_BOND_VARIABLE, NULL);
|
||||
switch_core_session_rwunlock(other_session);
|
||||
}
|
||||
|
Reference in New Issue
Block a user