summaryrefslogtreecommitdiff
path: root/apps/app_meetme.c
diff options
context:
space:
mode:
authorJason Parker <jparker@digium.com>2006-09-26 22:18:04 +0000
committerJason Parker <jparker@digium.com>2006-09-26 22:18:04 +0000
commitee13556e3093967218c847d148d339822f24d343 (patch)
tree55f792048508149a8d25ccea1d1aa6868cdaf640 /apps/app_meetme.c
parenta046b75f8a90866199e6d5efa04a46fa46b663de (diff)
Fire a manager event when a meetme is started/stopped.
Issue #7891, patch by suhler. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43727 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_meetme.c')
-rw-r--r--apps/app_meetme.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/app_meetme.c b/apps/app_meetme.c
index df39581a9..d357f69b1 100644
--- a/apps/app_meetme.c
+++ b/apps/app_meetme.c
@@ -651,6 +651,7 @@ static struct ast_conference *build_conf(char *confno, char *pin, char *pinadmin
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 @@ static int conf_free(struct ast_conference *conf)
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;