]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
REVERT FSCORE-450
authorAnthony Minessale <anthony.minessale@gmail.com>
Mon, 12 Oct 2009 14:58:09 +0000 (14:58 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Mon, 12 Oct 2009 14:58:09 +0000 (14:58 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15138 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_ivr_originate.c

index ae78c300489e07bc8a7a86a43cad1b5059e6b919..6ba73cc5a9a1abfead994c3980a001ecf339b319 100644 (file)
@@ -1520,8 +1520,6 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess
                                        new_profile->uuid = SWITCH_BLANK_STRING;
                                        new_profile->chan_name = SWITCH_BLANK_STRING;
                                        new_profile->destination_number = switch_core_strdup(new_profile->pool, chan_data);
-                                       new_profile->dialplan = SWITCH_BLANK_STRING;
-                                       new_profile->context = SWITCH_BLANK_STRING;
 
                                        if (cid_name_override) {
                                                new_profile->caller_id_name = switch_core_strdup(new_profile->pool, cid_name_override);
@@ -1539,8 +1537,6 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess
                                                new_profile->destination_number = switch_core_strdup(new_profile->pool, switch_str_nil(chan_data));
                                                new_profile->uuid = SWITCH_BLANK_STRING;
                                                new_profile->chan_name = SWITCH_BLANK_STRING;
-                                               new_profile->dialplan = SWITCH_BLANK_STRING;
-                                               new_profile->context = SWITCH_BLANK_STRING;
                                        } else {
                                                if (!cid_name_override) {
                                                        cid_name_override = "FreeSWITCH";