[asterisk-users] PRI DEBUG

Yves A. yves030 at gmx.de
Thu Apr 11 05:22:57 CDT 2013


hi,

strange behaviour while trying to use pri debugging on asterisk 11.x ...

please take a look:

bas1104*CLI> pri show version
libpri version: 1.4.13
bas1104*CLI> dahdi show version
DAHDI Version: 2.6.1 Echo Canceller: HWEC
bas1104*CLI> help pri
*pri intense debug span*<no description available>
    pri service disable channel Remove a channel from service
     pri service enable channel Return a channel to service
*pri set debug {on|off*|hex|inte Enables PRI debugging on a span
             pri set debug file Sends PRI debug output to the specified file
              pri show channels Displays PRI channel information
*pri show debug*Displays current PRI debug settings
                 pri show spans Displays PRI span information
                  pri show span Displays PRI span information
               pri show version Displays libpri version
bas1104*CLI> help dahdi
          dahdi destroy channel Destroy a channel
                  dahdi restart Fully restart DAHDI channels
                  dahdi set dnd Sets/resets DND (Do Not Disturb) mode on 
a channel
               dahdi set hwgain Set hardware gain on a channel
               dahdi set swgain Set software gain on a channel
            dahdi show cadences List cadences
dahdi show channels [group|con Show active DAHDI channels
             dahdi show channel Show information on a channel
              dahdi show status Show all DAHDI cards status
             dahdi show version Show the DAHDI version in use
/
//currently all debug off:/

bas1104*CLI> pri show debug
Span 1: Debug: No       Intense: No
Span 2: Debug: No       Intense: No
Span 3: Debug: No       Intense: No
Span 4: Debug: No       Intense: No
/
//switching it on (which currently works as expected)/


bas1104*CLI> pri intense debug span 1
Enabled debugging on span 1
/
//
//oops, still shows no debug.... but it IS activated.../

bas1104*CLI> pri show debug
Span 1: Debug: No       Intense: No
Span 2: Debug: No       Intense: No
Span 3: Debug: No       Intense: No
Span 4: Debug: No       Intense: No
/
//huh... how to disable it again? on some machines I can do so with "pri 
no debug span <nr>" but not here... gives same result (no//
//such command) and debug is still enabled.../

bas1104*CLI> pri set debug off
No such command 'pri set debug off' (type 'core show help pri set' for 
other possible commands)
bas1104*CLI>


so... whats the right way to disable pri debugging?

thx,
yves


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130411/91d1f4d3/attachment.htm>


More information about the asterisk-users mailing list