Released 7 years ago , Last update 4 years ago

PHP Asterisk Manager Interface ( AMI ) is an event driven, object oriented client for ami.

PHP Asterisk Manager Interface ( AMI ) supports synchronous command ( action )/ responses and asynchronous events using the pattern observer-listener. Supports commands with responses with multiple events. Very suitable for development of operator consoles and / or asterisk / channels / peers monitoring through SOA, etc


14 day 14-day money-back guarantee


Apache License, 2.0

The Apache License, 2.0 is an open-source license.


  • TCP and TLS connections.
  • Event Driven (the framework will dispatch events to your listener)
  • Lightweight, easy of use, and useful.-
  • Supports synchronous and asynchronous events (Actions with Responses, and Responses with Events associated).
  • Supports SMS via VGMS boards.
  • Supports chan_dongle (huawei 3g).


PAMI means PHP Asterisk Manager Interface. It is an OOP client for the Asterisk Manager protocol, implemented in PHP.

Where to find

You can find PAMI:

  • Home:
  • Github:
  • Ohloh:
  • Freshmeat:
  • Binpress:



  • PHP 5.3.3+
  • Extensions: sockets
  • log4php (just put the src/main/php directory of the src distribution in your path).

Installing with pear

You can now easily install PAMI by issuing:

pear channel-discover
pear install marcelog/PAMI


pear install marcelog/PAMI-1.31.0

just replace 1.31.0 by the release version you'd like to install :)


Manual Install

You can download PAMI directly from github in the following forms:


NOTE: You will need to have log4php installed and in your include path (the src/main/php directory of the source distribution).

For a very raw quickstart: for all (and full) examples.

Also, for a more elegant example, mixing Ding and PAMI, Please see

Also, you might want to look at this article.

License » Apache License, 2.0 Download

Get A Quote

What do you need?
  • Custom development
  • Integration
  • Customization / Reskinning
  • Consultation
When do you need it?
  • Soon
  • Next week
  • Next month
  • Anytime

Thanks for getting in touch!

Your quote details have been received and we'll get back to you soon.

Or enter your name and Email
No comments have been posted yet.