aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authormogorman <mogorman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-08 11:26:06 +0000
committermogorman <mogorman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-08 11:26:06 +0000
commit772c8f151197457fc06a11a00d37932663c6ad48 (patch)
tree3c8adb38140e9b6be9c1a137b62ce3d94f4578fc /apps
parentf0e9d7485d1db1a4e5821f7b13cda022070d75d1 (diff)
added managerevent meetmemute with status on or off.
patch provided by bug 6811, with modifications for api. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@25447 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r--apps/app_meetme.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/app_meetme.c b/apps/app_meetme.c
index b3dcfca4c..82abd1430 100644
--- a/apps/app_meetme.c
+++ b/apps/app_meetme.c
@@ -2289,6 +2289,11 @@ static int admin_exec(struct ast_channel *chan, void *data) {
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 @@ static int admin_exec(struct ast_channel *chan, void *data) {
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");
}