Here’s a quick way of keeping track of how many concurrent calls are in progress on your Asterisk system.
From the command line we can run –
That works for Asterisk 1.8 and probably all other versions. It will just report how many active calls are in progress.
If we wanted it with the date and time we could run –
and if we wanted to run it every 5 minutes and write the output to a log we could add it to cron like this –
and check that it’s now in crontab with –
That should write how many calls are in progress every 5 minutes to a file called /var/log/asterisk_calls.log.
Remember the log file will just keep growing over time if it’s not manually emptied.