From: Andrew Thompson Date: Sun, 9 Jan 2011 19:42:42 +0000 (-0500) Subject: Log error when there's no IVR menus configured when you call 'ivr' DP app X-Git-Tag: v1.2-rc1~207^2~1^2~16 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=300348916ed9417dd16e7fa041ba56676ae08f1b;p=thirdparty%2Ffreeswitch.git Log error when there's no IVR menus configured when you call 'ivr' DP app --- diff --git a/src/mod/applications/mod_dptools/mod_dptools.c b/src/mod/applications/mod_dptools/mod_dptools.c index 4602dd2bc5..41417255bb 100755 --- a/src/mod/applications/mod_dptools/mod_dptools.c +++ b/src/mod/applications/mod_dptools/mod_dptools.c @@ -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 {