I want to make a real time program that shows the inbound calls. The problem is that i don't know where to get the call status, like hold, calling or answered.
Asterisk has a Variable ${CALLERID(num)} to get the number but don't know where to get the rest of the info.
Best Answer
You will get it through PHP-AGI. You can connect to Asterisk Cli using this. The command "queue show
http://sysadminman.net/blog/2012/asterisk-elastix-queue-and-agent-wallboard-3604
Hope the above will help