]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Fix Attended Transfer that skipped the next extension entry
authorMarc Olivier Chouinard <mochouinard@moctel.com>
Fri, 22 Jan 2010 21:56:20 +0000 (21:56 +0000)
committerMarc Olivier Chouinard <mochouinard@moctel.com>
Fri, 22 Jan 2010 21:56:20 +0000 (21:56 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16471 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_ivr_originate.c

index d3691e365c59dd526c037e186caafff86e687587..b891fc88aaa96579533974af54c12c31783c7510 100644 (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);
                                                        }
                                                }