]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Add "DAHDI" to a couple of app_meetme error messages.
authorRussell Bryant <russell@russellbryant.com>
Thu, 2 Dec 2010 13:16:15 +0000 (13:16 +0000)
committerRussell Bryant <russell@russellbryant.com>
Thu, 2 Dec 2010 13:16:15 +0000 (13:16 +0000)
This is in response to some questions on IRC.  To the user, there was nothing
that made it obvious that this error had anything to do with DAHDI not being
loaded.

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

apps/app_meetme.c

index 28237d9e42d73f21b3712f3dd5bc0a72ac7be0fa..9f6d7d77f3f090d51bdde66d08613796d55d396d 100644 (file)
@@ -826,7 +826,7 @@ static struct ast_conference *build_conf(char *confno, char *pin, char *pinadmin
        ztc.confmode = DAHDI_CONF_CONFANN | DAHDI_CONF_CONFANNMON;
        cnf->fd = open(DAHDI_FILE_PSEUDO, O_RDWR);
        if (cnf->fd < 0 || ioctl(cnf->fd, DAHDI_SETCONF, &ztc)) {
-               ast_log(LOG_WARNING, "Unable to open pseudo device\n");
+               ast_log(LOG_WARNING, "Unable to open DAHDI pseudo device\n");
                if (cnf->fd >= 0)
                        close(cnf->fd);
                free(cnf);
@@ -1807,7 +1807,7 @@ static int conf_run(struct ast_channel *chan, struct ast_conference *conf, int c
                /* open pseudo in non-blocking mode */
                fd = open(DAHDI_FILE_PSEUDO, O_RDWR | O_NONBLOCK);
                if (fd < 0) {
-                       ast_log(LOG_WARNING, "Unable to open pseudo channel: %s\n", strerror(errno));
+                       ast_log(LOG_WARNING, "Unable to open DAHDI pseudo channel: %s\n", strerror(errno));
                        goto outrun;
                }
                using_pseudo = 1;