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

FS-3589 --resolve

上级 adf6cb52
......@@ -2077,7 +2077,8 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_execute_application_get_flag
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG,
"%s Channel is hungup and application '%s' does not have the zombie_exec flag.\n",
switch_channel_get_name(session->channel), app);
return SWITCH_STATUS_IGNORE;
switch_goto_status(SWITCH_STATUS_IGNORE, done);
}
if (!arg && strstr(app, "::")) {
......@@ -2087,7 +2088,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_execute_application_get_flag
if ((application_interface = switch_loadable_module_get_application_interface(app)) == 0) {
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR, "Invalid Application %s\n", app);
switch_channel_hangup(session->channel, SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER);
return SWITCH_STATUS_FALSE;
switch_goto_status(SWITCH_STATUS_FALSE, done);
}
if (!application_interface->application_function) {
......
......@@ -231,7 +231,9 @@ static void *SWITCH_THREAD_FUNC collect_thread_run(switch_thread_t *thread, void
wbreak:
switch_core_session_rwunlock(collect->session);
UNPROTECT_INTERFACE(application_interface);
return NULL;
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论