[asterisk-users] Counting calls in progress from AMI

Danny Nicholas danny at debsinc.com
Thu Oct 18 10:22:40 CDT 2012


The AMI Command function issues CLI commands, but carry on.

 

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at 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-bounces at lists.digium.com
[asterisk-users-bounces at lists.digium.com] On Behalf Of Danny Nicholas
[danny at 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-bounces at lists.digium.com
[mailto:asterisk-users-bounces at 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?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20121018/086e9ab4/attachment.htm>


More information about the asterisk-users mailing list