]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
app_meetme: Adding test events for following activity in MeetMe.
authorJonathan Rose <jrose@digium.com>
Wed, 29 Aug 2012 21:23:05 +0000 (21:23 +0000)
committerJonathan Rose <jrose@digium.com>
Wed, 29 Aug 2012 21:23:05 +0000 (21:23 +0000)
........

Merged revisions 371919 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/certified/branches/1.8.11@371941 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_meetme.c

index f1f259713ecea9310518c77d8508323eed589808..ba7c3b78193f3b54c02ab0bc6047a2667a1fbe72 100644 (file)
@@ -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);
 
@@ -4296,6 +4303,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, "");
@@ -4377,6 +4385,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) {