Author: mikej Date: Wed Sep 19 17:01:38 2007 New Revision: 5723 Modified: freeswitch/trunk/src/switch_ivr_originate.c Log: fix brokeness caused by r5673. Don't pre-set uuid and chan_name on originate off the source profile. Fix for FSCORE-49 Modified: freeswitch/trunk/src/switch_ivr_originate.c ============================================================================== --- freeswitch/trunk/src/switch_ivr_originate.c (original) +++ freeswitch/trunk/src/switch_ivr_originate.c Wed Sep 19 17:01:38 2007 @@ -471,6 +471,8 @@ caller_caller_profile = caller_profile_override ? caller_profile_override : switch_channel_get_caller_profile(caller_channel); new_profile = switch_caller_profile_clone(session, caller_caller_profile); + new_profile->uuid = NULL; + new_profile->chan_name = NULL; new_profile->destination_number = chan_data; if (cid_name_override) { @@ -491,6 +493,8 @@ if (caller_profile_override) { new_profile = switch_caller_profile_dup(pool, caller_profile_override); new_profile->destination_number = chan_data; + new_profile->uuid = NULL; + new_profile->chan_name = NULL; } else { if (!cid_name_override) { cid_name_override = "FreeSWITCH";
participants (1)
-
Freeswitch SVN