1
0
mirror of https://github.com/signalwire/freeswitch.git synced 2025-04-15 00:22:35 +00:00

Log error when there's no IVR menus configured when you call 'ivr' DP app

This commit is contained in:
Andrew Thompson 2011-01-09 14:42:42 -05:00
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 {