I need a custom asterisk script to do the following.
It would basically be something which i would add to an hourly cron job.
Basically the script need to execute asterisk -rx ‘show channels’
If the asterisk says it has more than 300 active calls then the program would send me an email saying the asterisk server x.x.x.x has reached X amount of calls.
Is there a different way of doing this?
can anyone please give me a hand in doing so??