On Nov 8, 2008, at 1:30 PM, Atis Lezdins wrote:
> Asterisk offers very much the same flexibility. You can disable
> specific log levels (for example warnings) in logger.conf or you can
> log everything to syslog, where filter out this specific message.


Of course, there is always this method, which is an even easier way to  
disable this specific message:

Index: channels/chan_iax2.c
===================================================================
--- channels/chan_iax2.c        (revision 155670)
+++ channels/chan_iax2.c        (working copy)
@@ -7058,7 +7058,6 @@
        memcpy(&sin, &thread->iosin, sizeof(sin));

        if (res < sizeof(*mh)) {
-               ast_log(LOG_WARNING, "midget packet received (%d of %zd 
min)\n",  
res, sizeof(*mh));
                return 1;
        }
        if ((vh->zeros == 0) && (ntohs(vh->callno) & 0x8000)) {

--
Russell Bryant
Senior Software Engineer
Open Source Team Lead
Digium, Inc.





_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to