[asterisk-dev] Monitor Asterisk

Jared Smith jsmith at digium.com
Sat Feb 23 07:17:18 CST 2008


On Sat, 2008-02-23 at 11:45 +0530, Michael Henderson wrote:
> Hi, I have some experience with Asterisk. What I would like to know
> is, are there any programmable APIs that we can use to get the
> information monitored by asterisk.

Sure, one popular method is to use the Asterisk Manager Interface.  Have
your program make a socket connection to Asterisk, and then you can
query Asterisk for all sorts of information.

Chapter 10 in the second edition of "Asterisk: The Future of Telephony"
shows you how to connect to the Asterisk Manager Interface, and appendix
F shows you a list of the AMI commands, along with examples.  You can
download the book in PDF form for free from
http://downloads.oreilly.com/books/9780596510480.pdf

-- 
Jared Smith
Community Relations Manager
Digium, Inc.




More information about the asterisk-dev mailing list