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
1 changed files with 2 additions and 0 deletions

View File

@ -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 {