git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13847 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2009-06-18 19:47:29 +00:00
parent 1d4944f663
commit cdd0bcfdf3

View File

@ -1002,7 +1002,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess
if (ovars) {
var_event = ovars;
} else {
if (switch_event_create(&var_event, SWITCH_EVENT_GENERAL) != SWITCH_STATUS_SUCCESS) {
if (switch_event_create_plain(&var_event, SWITCH_EVENT_CHANNEL_DATA) != SWITCH_STATUS_SUCCESS) {
abort();
}
}
@ -1516,7 +1516,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess
local_clobber = switch_true(lc);
}
if (!local_clobber) {
if (local_clobber) {
if (var_event) {
switch_event_t *event;
switch_event_header_t *header;
@ -1549,7 +1549,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess
}
}
if (local_clobber) {
if (!local_clobber) {
if (var_event) {
switch_event_t *event;
switch_event_header_t *header;