From: Anthony Minessale Date: Mon, 28 Sep 2009 22:36:34 +0000 (+0000) Subject: FSCORE-450 X-Git-Tag: v1.0.6~1779 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ad63ce82e512c52c6dc9d7e4c0e73e3e19ed989;p=thirdparty%2Ffreeswitch.git FSCORE-450 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15009 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch_ivr_originate.c b/src/switch_ivr_originate.c index bb804ca254..dc4e5af2f8 100644 --- a/src/switch_ivr_originate.c +++ b/src/switch_ivr_originate.c @@ -1399,6 +1399,8 @@ 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); @@ -1416,6 +1418,8 @@ 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";