Summary:ASTERISK-04110: [patch] add pri show debug command
Reporter:izo (izo)Labels:
Date Opened:2005-05-07 23:19:52Date Closed:2011-06-07 14:04:44
Versions:Frequency of
Environment:Attachments:( 0) chan_zap.c.txt
( 1) chan_zap.c.V2.txt
( 2) libpri.diff.txt
Description:Following patch adds "pri show debug" command to cli.
It shows what spans debug is turned on and what kind.
It also shows filename that pri logging has been set to.


It was neccessary to modify libpri to acomplish that so two diffs attached
Comments:By: Clod Patry (junky) 2005-05-08 07:42:03

Nice feature.

By: Mark Spencer (markster) 2005-05-08 12:41:10

disclaimer status?

By: Clod Patry (junky) 2005-05-09 11:32:30

asterisk*CLI> pri debug span 1
Enabled debugging on span 1
asterisk*CLI> pri show debug
Span 1: Debug Yes Intense: No
asterisk*CLI> pri intense debug span 1
Enabled EXTENSIVE debugging on span 1
asterisk*CLI> pri show debug
Span 1: Debug No Intense: Yes

If you can make a \t between the first Yes/No values and the word Intense, that would be good, cause at a first sigh it's gonna be better.
something like:
Span 1: Debug: Yes     Intense: No

if you can make the changes and give status about your disclaimer, that would be great.


By: izo (izo) 2005-05-09 15:14:00

Disclaimer signed and faxed today.
Also fixed formatting

By: Clod Patry (junky) 2005-05-09 22:43:36

+1 for me.

By: Matthew Fredrickson (mattf) 2005-05-10 17:48:00

Added, thanks :-)