Modified: freeswitch/trunk/src/switch_ivr_originate.c (15008 => 15009)
--- freeswitch/trunk/src/switch_ivr_originate.c 2009-09-28 20:36:49 UTC (rev 15008)
+++ freeswitch/trunk/src/switch_ivr_originate.c 2009-09-28 22:36:34 UTC (rev 15009)
@@ -1399,6 +1399,8 @@
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 @@
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";