[asterisk-commits] jrose: branch 1.8 r371919 - /branches/1.8/apps/app_meetme.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Aug 29 15:42:58 CDT 2012


Author: jrose
Date: Wed Aug 29 15:42:54 2012
New Revision: 371919

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=371919
Log:
app_meetme: Adding test events for following activity in MeetMe.

Modified:
    branches/1.8/apps/app_meetme.c

Modified: branches/1.8/apps/app_meetme.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/apps/app_meetme.c?view=diff&rev=371919&r1=371918&r2=371919
==============================================================================
--- branches/1.8/apps/app_meetme.c (original)
+++ branches/1.8/apps/app_meetme.c Wed Aug 29 15:42:54 2012
@@ -1113,6 +1113,13 @@
 	int len;
 	int res = -1;
 
+	ast_test_suite_event_notify("CONFPLAY", "Channel: %s\r\n"
+									"Conference: %s\r\n"
+									"Marked: %d",
+									chan->name,
+									conf->confno,
+									conf->markedusers);
+
 	if (!ast_check_hangup(chan))
 		res = ast_autoservice_start(chan);
 
@@ -4304,6 +4311,7 @@
 
 			/* Not found? */
 			if (ast_strlen_zero(confno)) {
+				ast_test_suite_event_notify("PLAYBACK", "Message: conf-noempty");
 				res = ast_streamfile(chan, "conf-noempty", chan->language);
 				if (!res)
 					ast_waitstream(chan, "");
@@ -4385,6 +4393,9 @@
 							res = 0;
 						} else {
 							/* Prompt user for pin if pin is required */
+							ast_test_suite_event_notify("PLAYBACK", "Message: conf-getpin\r\n"
+								"Channel: %s",
+								chan->name);
 							res = ast_app_getdata(chan, "conf-getpin", pin + strlen(pin), sizeof(pin) - 1 - strlen(pin), 0);
 						}
 						if (res >= 0) {




More information about the asterisk-commits mailing list