[asterisk-commits] trunk r25447 - /trunk/apps/app_meetme.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon May 8 04:26:07 MST 2006


Author: mogorman
Date: Mon May  8 06:26:06 2006
New Revision: 25447

URL: http://svn.digium.com/view/asterisk?rev=25447&view=rev
Log:
added managerevent meetmemute with status on or off.
patch provided by bug 6811, with modifications for api.

Modified:
    trunk/apps/app_meetme.c

Modified: trunk/apps/app_meetme.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_meetme.c?rev=25447&r1=25446&r2=25447&view=diff
==============================================================================
--- trunk/apps/app_meetme.c (original)
+++ trunk/apps/app_meetme.c Mon May  8 06:26:06 2006
@@ -2289,6 +2289,11 @@
 			case 77: /* M: Mute */ 
 				if (user) {
 					user->adminflags |= ADMINFLAG_MUTED;
+					manager_event(EVENT_FLAG_CALL, "MeetmeMute",
+						"Status: on"
+						"Meetme: %s\r\n"
+						"Usernum: %d\r\n",
+						cnf->confno, user->user_no);
 				} else {
 					ast_log(LOG_NOTICE, "Specified User not found!\n");
 				}
@@ -2308,6 +2313,11 @@
 			case 109: /* m: Unmute */ 
 				if (user && (user->adminflags & ADMINFLAG_MUTED)) {
 					user->adminflags ^= ADMINFLAG_MUTED;
+					manager_event(EVENT_FLAG_CALL, "MeetmeMute",
+						"Status: off"
+						"Meetme: %s\r\n"
+						"Usernum: %d\r\n",
+						cnf->confno, user->user_no);
 				} else {
 					ast_log(LOG_NOTICE, "Specified User not found or he muted himself!\n");
 				}



More information about the asterisk-commits mailing list