Author: anthm Date: Tue Mar 17 11:23:32 2009 New Revision: 12643 Log: FSCORE-336 Modified: freeswitch/trunk/src/switch_ivr_originate.c Modified: freeswitch/trunk/src/switch_ivr_originate.c ============================================================================== --- freeswitch/trunk/src/switch_ivr_originate.c (original) +++ freeswitch/trunk/src/switch_ivr_originate.c Tue Mar 17 11:23:32 2009 @@ -1440,7 +1440,7 @@ } if (current_variable || (current_variable = switch_event_get_header(var_event, "origination_caller_id_name"))) { - new_profile->caller_id_number = switch_core_strdup(new_profile->pool, current_variable); + new_profile->caller_id_name = switch_core_strdup(new_profile->pool, current_variable); myflags |= SOF_NO_EFFECTIVE_CID_NAME; }