[asterisk-users] concurrent call tracking

Skyler skchopperguy at gmail.com
Wed May 11 17:36:31 CDT 2011


Thanks Dovid, if you don't mind sharing the code and the dial plan side I'd
like to take a look at it for sure. The dial plan example Leif replied with
is pretty much what I was thinking, just didn't have a clue how to go about
it. ;)

 

 Haven't figured out how I'm going to display the usage info either so if
you don't mind sharing the graph/code as well that would be sweet.

 

 

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Dovid Bender
Sent: Wednesday, May 11, 2011 2:17 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] concurrent call tracking

 

What I do is when ever a call comes in I update a table in MySQL to active =
(active +1). On hang up I do active = (active -1).

 

I have a cron that checks once a minute to see how many active and stores it
along with epoch in db.

 

I then have a graph that shows channel usage. If you want the code let me
know.

 

----- Original Message ----- 

From: Skyler <mailto:skchopperguy at gmail.com>  

To: asterisk-users at lists.digium.com 

Sent: Wednesday, May 11, 2011 19:57

Subject: [asterisk-users] concurrent call tracking

 

Hi all,

 

 I would like to track/store concurrent call usage per user by
day/week/month and get server totals by day/week/month. Google comes up with
mostly info regarding concurrent call limits, though my goal is to calculate
actual concurrent channel usage and add it into reporting. I'm using * 1.6.2
+ mysql - realtime (no gui). Any suggestions / open-source / AGI on where to
start looking into implementing something like this? 

 

TIA,

 

Skyler

 

 


  _____  


--
_____________________________________________________________________
-- 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

  _____  

No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1325 / Virus Database: 1500/3630 - Release Date: 05/11/11

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110511/4e7881bb/attachment.htm>


More information about the asterisk-users mailing list