The AMI Command function issues CLI commands, but carry on.
From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Michelle Dupuis Sent: Thursday, October 18, 2012 10:20 AM To: Asterisk Users List Subject: Re: [asterisk-users] Counting calls in progress from AMI I need to do this from the AMI (not the CLI)...I don't *think* a comparable command exists from the AMI. As well, I don't want to poll the system for calls so I'm hoping to trap a call bridged,unbridged type event. _____ From: asterisk-users-boun...@lists.digium.com [asterisk-users-boun...@lists.digium.com] On Behalf Of Danny Nicholas [da...@debsinc.com] Sent: Thursday, October 18, 2012 10:59 AM To: Asterisk Users List Subject: Re: [asterisk-users] Counting calls in progress from AMI The simplest way to accurately do this would be to issue command "core show channels verbose" From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Michelle Dupuis Sent: Thursday, October 18, 2012 9:58 AM To: Asterisk Users List Subject: [asterisk-users] Counting calls in progress from AMI I want to track the number of calls up at any given time, through the AMI. I found the Link and Unlink commands as the most likely candidates - is that the right way? Also, a comment on the wiki suggests that Link may be called several times for a single bridge if transcoding is required. That blows up accuracy of my count of course... Ideas?
-- _____________________________________________________________________ -- 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