On Wed, 23 Jan 2008, Drew Gibson wrote:

> Gordon Henderson wrote:
>> Is there any way to find-out the peak number of calls that an asterisk
>> system has had? Not the total number of calls, but the maximum number of
>> simultaneous calls.
>
> We use Asterisk-stat from Areski (GPL). It will show peak number of
> calls by the hour. Select "Daily Load", scroll down and choose the hour
> you want and "Fluctuation Graph". Lots of other goodies too.
>
> http://areski.net/areski/index.php?option=com_content&task=view&id=22&Itemid=54

Or, as a quick & dirty...

         DATE=$(date +%F-%H-%M-%S)
         COUNT=$(sudo /usr/sbin/asterisk -r -x "sip show channels" | wc -l)
         echo $DATE $COUNT >>/tmp/channel-counts

in a shell script executed every second in cron.

Thanks in advance,
------------------------------------------------------------------------
Steve Edwards      [EMAIL PROTECTED]      Voice: +1-760-468-3867 PST
Newline                                             Fax: +1-760-731-3000

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to