mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-15 05:48:33 +00:00
update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10533 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
50e1a8c23f
commit
1eea29a474
7 files changed
+68
-37
No files matched your search
@@ -1127,8 +1127,8 @@ SWITCH_STANDARD_API(transfer_function)
|
||||
} else if (!strcasecmp(arg, "both")) {
|
||||
if (uuid && (other_session = switch_core_session_locate(uuid))) {
|
||||
switch_channel_t *other_channel = switch_core_session_get_channel(other_session);
|
||||
switch_channel_set_flag(other_channel, CF_TRANSFER);
|
||||
switch_channel_set_flag(channel, CF_TRANSFER);
|
||||
switch_channel_set_flag(other_channel, CF_REDIRECT);
|
||||
switch_channel_set_flag(channel, CF_REDIRECT);
|
||||
switch_ivr_session_transfer(other_session, dest, dp, context);
|
||||
switch_core_session_rwunlock(other_session);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user