mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 12:40:17 +00:00
FS-3589 --resolve
This commit is contained in:
parent
adf6cb5219
commit
bad5964b94
@ -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,
|
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",
|
"%s Channel is hungup and application '%s' does not have the zombie_exec flag.\n",
|
||||||
switch_channel_get_name(session->channel), app);
|
switch_channel_get_name(session->channel), app);
|
||||||
return SWITCH_STATUS_IGNORE;
|
|
||||||
|
switch_goto_status(SWITCH_STATUS_IGNORE, done);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!arg && strstr(app, "::")) {
|
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) {
|
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_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);
|
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) {
|
if (!application_interface->application_function) {
|
||||||
|
@ -231,7 +231,9 @@ static void *SWITCH_THREAD_FUNC collect_thread_run(switch_thread_t *thread, void
|
|||||||
wbreak:
|
wbreak:
|
||||||
|
|
||||||
switch_core_session_rwunlock(collect->session);
|
switch_core_session_rwunlock(collect->session);
|
||||||
|
|
||||||
UNPROTECT_INTERFACE(application_interface);
|
UNPROTECT_INTERFACE(application_interface);
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user