FS-11454: [core] Add error log when attempting to route to an invalid dialplan interface
This commit is contained in:
parent
090e8284b6
commit
fdea350817
|
@ -273,6 +273,7 @@ static void switch_core_standard_on_routing(switch_core_session_t *session)
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (!(dialplan_interface = switch_loadable_module_get_dialplan_interface(dpname))) {
|
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;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue