[asterisk-commits] qwell: trunk r43727 - /trunk/apps/app_meetme.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Sep 26 15:18:04 MST 2006


Author: qwell
Date: Tue Sep 26 17:18:04 2006
New Revision: 43727

URL: http://svn.digium.com/view/asterisk?rev=43727&view=rev
Log:
Fire a manager event when a meetme is started/stopped.

Issue #7891, patch by suhler.

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=43727&r1=43726&r2=43727&view=diff
==============================================================================
--- trunk/apps/app_meetme.c (original)
+++ trunk/apps/app_meetme.c Tue Sep 26 17:18:04 2006
@@ -651,6 +651,7 @@
 			if (option_verbose > 2)
 				ast_verbose(VERBOSE_PREFIX_3 "Created MeetMe conference %d for conference '%s'\n", cnf->zapconf, cnf->confno);
 			AST_LIST_INSERT_HEAD(&confs, cnf, list);
+			manager_event(EVENT_FLAG_CALL, "MeetmeStart", "Meetme: %s\r\n", cnf->confno);
 		} 
 	}
  cnfout:
@@ -946,6 +947,7 @@
 	int x;
 	
 	AST_LIST_REMOVE(&confs, conf, list);
+	manager_event(EVENT_FLAG_CALL, "MeetmeEnd", "Meetme: %s\r\n", conf->confno);
 
 	if (conf->recording == MEETME_RECORD_ACTIVE) {
 		conf->recording = MEETME_RECORD_TERMINATE;



More information about the asterisk-commits mailing list