Louis-David Mitterrand
2008-Nov-06 12:18 UTC
[asterisk-users] tired of "midget packet received" warnings
Hi, When monitoring an asterisk through its iax2 port I get these warnings at the console: [Nov 6 13:15:15] WARNING[2209]: chan_iax2.c:7000 socket_process: midget packet received (1 of 4 min) This is triggered by the monitoring app sending a POKE to the iax port. The warning appears even without any '-v'. Is there a way to avoid these warnings? Or at least turn them off when at the console in non-verbose mode? Thanks, -- http://www.lesculturelles.net
Kevin P. Fleming
2008-Nov-06 14:42 UTC
[asterisk-users] tired of "midget packet received" warnings
Louis-David Mitterrand wrote:> When monitoring an asterisk through its iax2 port I get these warnings > at the console: > > [Nov 6 13:15:15] WARNING[2209]: chan_iax2.c:7000 socket_process: midget packet received (1 of 4 min) > > This is triggered by the monitoring app sending a POKE to the iax port. > The warning appears even without any '-v'.Your monitoring app is not sending valid IAX2 packets to the server. If it was sending a true IAX2 POKE, it would be a valid packet and wouldn't generate this warning. -- Kevin P. Fleming Director of Software Technologies Digium, Inc. - "The Genuine Asterisk Experience" (TM)
Rob Hillis
2008-Nov-09 16:51 UTC
[asterisk-users] tired of "midget packet received" warnings
Russell Bryant wrote:> 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: >I would have thought logging to syslog and using the filter functions there would have been considerably easier than recompiling a patched version of Asterisk - particularly if precompiled versions are in use.