I want to create a simple bash script that performs the QUEUE_MEMBER_COUNT function and if $result = 0 then it sends an email.
I’m guessing AGI is the way to go but i looked through the list of agi commands (http://gundy.org/asterisk/agi.html) and couldn’t find anything relating to executing a function.
I know I must be wrong! A little help…! [/url]