Jeff LaCoursiere
2010-Jun-22 16:41 UTC
[asterisk-users] Sangoma - how to show channels in use?
Hi, I have several 1.4.29 installations with Sangoma AFT101d cards. Normally we have been collecting the raw data and then graphing channel use for these customers with: asterisk -rx 'show channels' | cut -f1 -d' ' | grep Zap | sort -u | wc -l Then I recently noticed that there were some "zombie" calls in this list that were not actually active anymore. They go away if I restart asterisk, but in the meantime channel use appears artificially inflated. I am wondering if there is a better method, perhaps with Sangoma CLI tools, to show which channels are ACTUALLY in use? I played around with wanpipemon but that doesn't really give channel specific info. Any clues? I posted on the Sangoma forums also... Thanks! j
Danny Nicholas
2010-Jun-22 16:49 UTC
[asterisk-users] Sangoma - how to show channels in use?
Since you are already grepping, just add a grep -e zombie (you should probably go ahead and do "core show channels" instead of "show channels" since this will bite you at some time in the future). -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Jeff LaCoursiere Sent: Tuesday, June 22, 2010 11:41 AM To: asterisk-users at lists.digium.com Subject: [asterisk-users] Sangoma - how to show channels in use? Hi, I have several 1.4.29 installations with Sangoma AFT101d cards. Normally we have been collecting the raw data and then graphing channel use for these customers with: asterisk -rx 'show channels' | cut -f1 -d' ' | grep Zap | sort -u | wc -l Then I recently noticed that there were some "zombie" calls in this list that were not actually active anymore. They go away if I restart asterisk, but in the meantime channel use appears artificially inflated. I am wondering if there is a better method, perhaps with Sangoma CLI tools, to show which channels are ACTUALLY in use? I played around with wanpipemon but that doesn't really give channel specific info. Any clues? I posted on the Sangoma forums also... Thanks! j -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users