From 9694ce0407cf6c8f4fb3d002bfeefaa7c98d2624 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 17 Mar 2009 16:23:32 +0000 Subject: [PATCH] FSCORE-336 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12643 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_ivr_originate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }