FS-11454: [core] Add error log when attempting to route to an invalid dialplan interface

This commit is contained in:
Mike Jerris 2018-10-11 18:28:59 +00:00 committed by Mike Jerris
parent 090e8284b6
commit fdea350817
1 changed files with 1 additions and 0 deletions

View File

@ -273,6 +273,7 @@ static void switch_core_standard_on_routing(switch_core_session_t *session)
continue;
}
if (!(dialplan_interface = switch_loadable_module_get_dialplan_interface(dpname))) {
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR, "Dialplan [%s] not found, skipping\n", dpname);
continue;
}