summaryrefslogtreecommitdiff
path: root/apps/app_meetme.c
diff options
context:
space:
mode:
authorJonathan Rose <jrose@digium.com>2012-08-29 21:15:24 +0000
committerJonathan Rose <jrose@digium.com>2012-08-29 21:15:24 +0000
commita4d3cb86d8ec17a8133f95dd165306d1cffc6c66 (patch)
tree8bad089f977ef0f1c7ea721f0561afb3391be009 /apps/app_meetme.c
parent7a6393d8de72b73ac8080deb3e41588d7d27c817 (diff)
app_meetme: Adding test events for following activity in MeetMe.
........ Merged revisions 371919 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 371920 from http://svn.asterisk.org/svn/asterisk/branches/10 ........ Merged revisions 371921 from http://svn.asterisk.org/svn/asterisk/branches/11 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@371922 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_meetme.c')
-rw-r--r--apps/app_meetme.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/app_meetme.c b/apps/app_meetme.c
index 593ce5b43..b66ef03a2 100644
--- a/apps/app_meetme.c
+++ b/apps/app_meetme.c
@@ -1147,6 +1147,13 @@ static void conf_play(struct ast_channel *chan, struct ast_conference *conf, enu
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);
@@ -4517,6 +4524,7 @@ static int conf_exec(struct ast_channel *chan, const char *data)
/* Not found? */
if (ast_strlen_zero(confno)) {
res = ast_streamfile(chan, "conf-noempty", ast_channel_language(chan));
+ ast_test_suite_event_notify("PLAYBACK", "Message: conf-noempty");
if (!res)
ast_waitstream(chan, "");
} else {
@@ -4597,6 +4605,9 @@ static int conf_exec(struct ast_channel *chan, const char *data)
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) {