Revision
16471
Author
mochouinard
Date
2010-01-22 15:56:20 -0600 (Fri, 22 Jan 2010)

Log Message

Fix Attended Transfer that skipped the next extension entry

Modified Paths

Diff

Modified: freeswitch/trunk/src/switch_ivr_originate.c (16470 => 16471)


--- freeswitch/trunk/src/switch_ivr_originate.c	2010-01-22 21:24:18 UTC (rev 16470)
+++ freeswitch/trunk/src/switch_ivr_originate.c	2010-01-22 21:56:20 UTC (rev 16471)
@@ -2945,7 +2945,7 @@
 						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);
 							}
 						}