demote always-appearing debug message (for certain boards) to ast_debug lev 3 msg...
authorSteve Murphy <murf@digium.com>
Fri, 12 Dec 2008 19:16:32 +0000 (19:16 +0000)
committerSteve Murphy <murf@digium.com>
Fri, 12 Dec 2008 19:16:32 +0000 (19:16 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@163675 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_dahdi.c

index 9e615e9..dff85fd 100644 (file)
@@ -8167,7 +8167,8 @@ static void *do_monitor(void *data)
                                                                /* Set driver resources for signalling VMWI */
                                                                res2 = ioctl(last->subs[SUB_REAL].dfd, DAHDI_VMWI, res);
                                                                if (res2) {
-                                                                       ast_log(LOG_DEBUG, "Unable to control message waiting led on channel %d: %s\n", last->channel, strerror(errno));
+                                                                       /* TODO: This message will ALWAYS be generated on some cards; any way to restrict it to those cards where it is interesting? */
+                                                                       ast_debug(3, "Unable to control message waiting led on channel %d: %s\n", last->channel, strerror(errno));
                                                                }
                                                                /* This channel has a new voicemail state,
                                                                * initiate a mechanism to send an MWI message