Fix Attended Transfer that skipped the next extension entry

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16471 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Marc Olivier Chouinard 2010-01-22 21:56:20 +00:00
parent adb4862774
commit 9a3a7f3ee1
1 changed files with 1 additions and 1 deletions

View File

@ -2945,7 +2945,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess
switch_status_t mstatus = SWITCH_STATUS_FALSE;
if (caller_channel) {
if ((mstatus = switch_channel_caller_extension_masquerade(caller_channel, holding_channel, 1)) == SWITCH_STATUS_SUCCESS) {
if ((mstatus = switch_channel_caller_extension_masquerade(caller_channel, holding_channel, 0)) == SWITCH_STATUS_SUCCESS) {
switch_channel_restart(holding_channel);
}
}