Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question

2 Answers 2

up vote 1 down vote accepted

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

share|improve this answer

To get information from Asterisk you can use the Asterisk Manager Interface (AMI), there are some information about it available at the-asterisk-book.com and voip-info.org. Then I am sure you can monitor the status of peers, channels and if they are calling or answering.

I hope this will help you.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.