Summary:ASTERISK-17159: [patch] Allow more control over the output of pri debug
Reporter:Birger "WIMPy" Harzenetter (wimpy)Labels:
Date Opened:2010-12-25 00:25:19.000-0600Date Closed:2012-02-06 14:27:01.000-0600
Versions:Frequency of
Environment:Attachments:( 0) prisetdebug.patch
Description:This little patch changes the debuglevel of 'pri set debug' to a bit mask allowing to independently select bits of output:
1 libpri internals including state machine
2 Decoded Q.931 messages
4 Decoded Q.921 headers
8 raw hex dump of the full frames


I had been thinking about this earlier as I'm only interested in the hex dumps to make the readable by an external decoder and the rest of the debug output only clutters the screen/log.

After rmudgett also expressed a preference for non intense debugs in ASTERISK-17152, I thought it was the right time to do it.
Comments:By: Birger "WIMPy" Harzenetter (wimpy) 2010-12-25 00:27:19.000-0600

Also needs the patch to libpri from PRI-119 to make hex dump only work.

By: Birger "WIMPy" Harzenetter (wimpy) 2012-02-06 15:56:46.485-0600


Would just be nice to get rid of the empty lines.