From: Marc Olivier Chouinard Date: Fri, 22 Jan 2010 21:56:20 +0000 (+0000) Subject: Fix Attended Transfer that skipped the next extension entry X-Git-Tag: v1.0.6~625 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a3a7f3ee12535cebbcfe976b1943620a91db5b8;p=thirdparty%2Ffreeswitch.git 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 --- diff --git a/src/switch_ivr_originate.c b/src/switch_ivr_originate.c index d3691e365c..b891fc88aa 100644 --- a/src/switch_ivr_originate.c +++ b/src/switch_ivr_originate.c @@ -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); } }