[asterisk-bugs] [Asterisk 0011667]: show channels concise fails

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Feb 6 19:42:21 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11667 
====================================================================== 
Reported By:                falves11
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11667
Category:                   Core/Channels
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 95794 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             01-02-2008 12:51 CST
Last Modified:              02-06-2008 19:42 CST
====================================================================== 
Summary:                    show channels concise fails
Description: 
As you can see below, I run two command from the command line. The first
command "core show channels concise" shows me only a few channels, but then
I send the command "core show channels count", I really have over 300
active channels.

It is a killer issue because I was relying on executing the "concise"
version to make sure that the calls on the database where exactly the same
ones as in Asterisk, every 10 minutes. It happens when there is a
substancial amount of calls. It might be that if it takes time to pull the
answer, the command "asterisk -rx" returns too fast, omitting information.
I don't know. But I also found also a reference from
http://readlist.com/lists/lists.digium.com/asterisk-users/11/56073.html,
where the author writes: "Asterisk intermittently fails to report call and
channel statistics when the CPU idle is low". So the problem is not new.

[root at Sipserver agi-bin]# asterisk -rx "core show channels concise"
SIP/67.110.179.253-b37f3650!default!16024376674*66*28*147*130*!12!Ring!(None)!!6169802925!!3!0!(None)!S208-1199299095.9024
SIP/67.110.179.253-b37ef6b8!default!14804882132*66*28*147*130*!12!Ring!(None)!!6169802925!!3!0!(None)!S208-1199299095.9023
SIP/66.28.190.221-08444e98!default!14805455050*66*28*147*130*!1!Down!AppDial!(Outgoing
Line)!14805455050*66*28*147*130*!!3!0!(None)!S208-1199299095.9022
SIP/67.110.179.253-b37eb720!default!14805455050*66*28*147*130*!16!Ring!Dial!SIP/14805455050 at 66.28.190.221,45,L(3600000)!6169802925!!3!0!(None)!S208-1199299095.9021
SIP/66.28.190.221-089ae7b0!default!14807263344*66*28*147*130*!1!Down!AppDial!(Outgoing
Line)!14807263344*66*28*147*130*!!3!0!(None)!S208-1199299095.9020
SIP/66.28.190.221-085a7600!default!15056534180!1!Down!AppDial!(Outgoing
Line)!15056534180!!3!0!(None)!S208-1199299095.9019
SIP/66.28.190.221-08aa3020!default!16025950099*66*28*147*130*!1!Down!AppDial!(Outgoing
Line)!16025950099*66*28*147*130*!!3!0!(None)!S208-1199299095.9018
SIP/67.110.179.253-b3ba9f48!default!16022755203*66*28*147*130*!16!Ring!Dial!SIP/16022755203 at 66.28.190.221,45,L(3600000)!6169802925!!3!0!(None)!S208-1199299095.9017
SIP/67.110.179.253-b3ba5fb0!default!14807263344*66*28*147*130*!16!Ring!Dial!SIP/14807263344 at 66.28.190.221,45,L(3600000)!6169802925!!3!0!(None)!S208-1199299095.9015
SIP/67.110.179.253-b3725618!default!16025950099*66*28*147*130*!16!Ring!Dial!SIP/16025950099 at 66.28.190.221,45,L(3600000)!6169802925!!3!0!(None)!S208-1199299095.9014
SIP/66.28.190.221-0820b230!default!14808397553*66*28*147*130*!1!Down!AppDial!(Outgoing
Line)!14808397553*66*28*147*130*!!3!0!(None)!S208-1199299095.9013
[root at Sipserver agi-bin]# asterisk -rx "core show channels count"
302 active channels
151 active calls
4423 calls processed

====================================================================== 

---------------------------------------------------------------------- 
 falves11 - 02-06-08 19:42  
---------------------------------------------------------------------- 
I think the patch works fine. I have 200 open calls and
I can not reproduce the original issue. Please commit it.
However I had to go back to version 99082 because after
that version the SIP contact field is flawed and Asterisk
can not talk to many end points (there is an open issue about it)
so please make sure, if possible, that this patch gets applied
to 99082 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-06-08 19:42  falves11       Note Added: 0081829                          
======================================================================




More information about the asterisk-bugs mailing list