]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FSCORE-336
authorAnthony Minessale <anthony.minessale@gmail.com>
Tue, 17 Mar 2009 16:23:32 +0000 (16:23 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Tue, 17 Mar 2009 16:23:32 +0000 (16:23 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12643 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_ivr_originate.c

index 3a72d8bf6a48f9b7f0801967492b5c55372c5081..221733a4d0f7f82a17e4b6b748197e811eae5340 100644 (file)
@@ -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;
                                }