提交 cdd0bcfd authored 作者: Anthony Minessale's avatar Anthony Minessale

doh

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13847 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 1d4944f6
...@@ -1002,7 +1002,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess ...@@ -1002,7 +1002,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess
if (ovars) { if (ovars) {
var_event = ovars; var_event = ovars;
} else { } 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(); abort();
} }
} }
...@@ -1516,7 +1516,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess ...@@ -1516,7 +1516,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess
local_clobber = switch_true(lc); local_clobber = switch_true(lc);
} }
if (!local_clobber) { if (local_clobber) {
if (var_event) { if (var_event) {
switch_event_t *event; switch_event_t *event;
switch_event_header_t *header; switch_event_header_t *header;
...@@ -1549,7 +1549,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess ...@@ -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) { if (var_event) {
switch_event_t *event; switch_event_t *event;
switch_event_header_t *header; switch_event_header_t *header;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论