From: Anthony Minessale Date: Thu, 28 Jun 2012 15:21:08 +0000 (-0500) Subject: FS-4363 try this X-Git-Tag: v1.2.0~233^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1330ad9cf4d684a6728ea0bc01bb0d2d7f5d0241;p=thirdparty%2Ffreeswitch.git FS-4363 try this --- diff --git a/src/switch_ivr.c b/src/switch_ivr.c index 8f50fe1257..cac064b544 100644 --- a/src/switch_ivr.c +++ b/src/switch_ivr.c @@ -1734,7 +1734,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_session_transfer(switch_core_session_ (long) switch_epoch_time_now(NULL), new_profile->uuid_str, extension, use_context, use_dialplan); switch_channel_add_variable_var_check(channel, SWITCH_TRANSFER_HISTORY_VARIABLE, new_profile->transfer_source, SWITCH_FALSE, SWITCH_STACK_PUSH); - switch_channel_set_variable(channel, SWITCH_TRANSFER_SOURCE_VARIABLE, new_profile->transfer_source); + switch_channel_set_variable_var_check(channel, SWITCH_TRANSFER_SOURCE_VARIABLE, new_profile->transfer_source, SWITCH_FALSE); return SWITCH_STATUS_SUCCESS; }