AMS is a suite of software intended to make day to day administration and monitoring of an Asterisk PBX server easier. It contains a daemon that acts as a proxy to Asterisk's Manger Interface and a GTK GUI application for monitoring and administration.
This library can allow you to connect to the Asterisk Manager Interface (AMI).
The AMI allows a client program to connect to an Asterisk instance and issue commands or read PBX events over a TCP/IP stream.