From: Jonathan Rose Date: Wed, 29 Aug 2012 20:42:54 +0000 (+0000) Subject: app_meetme: Adding test events for following activity in MeetMe. X-Git-Tag: 1.8.17.0-rc1~39 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=466e22fafc48ae0e319687d8ce78d0b2ab0b97a4;p=thirdparty%2Fasterisk.git app_meetme: Adding test events for following activity in MeetMe. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@371919 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_meetme.c b/apps/app_meetme.c index 002f130e72..966320b3f5 100644 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -1113,6 +1113,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); @@ -4304,6 +4311,7 @@ static int conf_exec(struct ast_channel *chan, const char *data) /* Not found? */ if (ast_strlen_zero(confno)) { + ast_test_suite_event_notify("PLAYBACK", "Message: conf-noempty"); res = ast_streamfile(chan, "conf-noempty", chan->language); if (!res) ast_waitstream(chan, ""); @@ -4385,6 +4393,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) {