From: Anthony Minessale Date: Tue, 17 Mar 2009 16:23:32 +0000 (+0000) Subject: FSCORE-336 X-Git-Tag: v1.0.4~1494 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9694ce0407cf6c8f4fb3d002bfeefaa7c98d2624;p=thirdparty%2Ffreeswitch.git FSCORE-336 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12643 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch_ivr_originate.c b/src/switch_ivr_originate.c index 3a72d8bf6a..221733a4d0 100644 --- a/src/switch_ivr_originate.c +++ b/src/switch_ivr_originate.c @@ -1440,7 +1440,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess } 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; }