[asterisk-commits] tilghman: trunk r228191 - /trunk/apps/app_meetme.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Nov 5 15:24:26 CST 2009


Author: tilghman
Date: Thu Nov  5 15:24:21 2009
New Revision: 228191

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=228191
Log:
MEETME_INFO should not return a literal error message to the dialplan.
(closes issue #15450)
 Reported by: JimVanM
 Patches: 
       meetmeinfopatch.diff.txt uploaded by dbrooks (license 790)
 Tested by: JimVanM

Modified:
    trunk/apps/app_meetme.c

Modified: trunk/apps/app_meetme.c
URL: http://svnview.digium.com/svn/asterisk/trunk/apps/app_meetme.c?view=diff&rev=228191&r1=228190&r2=228191
==============================================================================
--- trunk/apps/app_meetme.c (original)
+++ trunk/apps/app_meetme.c Thu Nov  5 15:24:21 2009
@@ -6450,7 +6450,8 @@
 	} else if (result == -1) {
 		snprintf(buf, len, "%s %s", "Error: invalid keyword:", args.keyword);
 	} else if (result == -2) {
-		snprintf(buf, len, "Error: conference (%s) not found", args.confno);
+		ast_log(LOG_NOTICE, "Error: conference (%s) not found\n", args.confno); 
+		snprintf(buf, len, "0");
 	}
 
 	return 0;




More information about the asterisk-commits mailing list