Log error when there's no IVR menus configured when you call 'ivr' DP app
This commit is contained in:
parent
a8b2840f2b
commit
300348916e
|
@ -1485,6 +1485,8 @@ SWITCH_STANDARD_APP(ivr_application_function)
|
|||
} else {
|
||||
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR, "Unable to find menu\n");
|
||||
}
|
||||
} else {
|
||||
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR, "No menus configured\n");
|
||||
}
|
||||
switch_xml_free(cxml);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue