[asterisk-bugs] [Asterisk 0011181]: Manager API hangs on "Command: show channels"

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Nov 7 08:15:10 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11181 
====================================================================== 
Reported By:                acunningham
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11181
Category:                   Core/ManagerInterface
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.13  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             11-07-2007 07:02 CST
Last Modified:              11-07-2007 08:15 CST
====================================================================== 
Summary:                    Manager API hangs on "Command: show channels"
Description: 
If a client connects to the manager API, and does the following:

Action: Command
Command: show channels

That manager API session hangs indefinitely. Both "show channels" and
"show channels concise" are affected, but other commands such as "core set
verbose 9" are not. This affects both Asterisk 1.4.11 and 1.4.13, and
possibly other versions as well.
====================================================================== 

---------------------------------------------------------------------- 
 acunningham - 11-07-07 08:15  
---------------------------------------------------------------------- 
Further testing:

- "core show channels" and "core show channels concise" are also
affected.

- Loading an Asterisk console with "asterisk -r", then doing "show
channels" breaks all subsequent console commands on the 1.4.13 system I
have been testing on:

test:~# asterisk -r
Asterisk 1.4.13, Copyright (C) 1999 - 2007 Digium, Inc. and others.
Created by Mark Spencer <markster at digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for
details.
This is free software, with components licensed under the GNU General
Public
License version 2 and other licenses; you are welcome to redistribute it
under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 1.4.13 currently running on test (pid = 2785)
test*CLI> set verbose 9
Verbosity was 0 and is now 9
test*CLI> show channels
Channel              Location             State   Application(Data)       
     
SIP/111.111.111.111: (None)               Up      Bridged
Call(Local/1234603 at ens
Local/1234603 at enswit 1234603 at enswitch-pho Up     
Dial(SIP/1234603 at 111.111.111.1
Local/1234603 at enswit (None)               Up      Bridged
Call(SIP/111.111.111.1
test*CLI> show channels
test*CLI> show channels
test*CLI> show channels
test*CLI> set verbose 9
test*CLI> show dialplan
test*CLI> exit

(hostname and IP address changed)

Note the lack of output from subsequent commands. Multiple "show dialplan"
commands work correctly if no "show channels" has been run on this console.
Exiting the console, then reloading it fixes the problem until the next
"show channels". 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-07-07 08:15  acunningham    Note Added: 0073297                          
======================================================================




More information about the asterisk-bugs mailing list