[asterisk-users] Peak number of calls?

Steve Edwards asterisk.org at sedwards.com
Wed Jan 23 13:06:26 CST 2008


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      sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                             Fax: +1-760-731-3000



More information about the asterisk-users mailing list