Asterisk PHP API

Asterisk LogoAsterisk is an open source PBX providing a huge range of features and with that comes its manager API.  Asterisk's manager API enables developer to access the server and send commands to administer and control it remotely.

There have been other PHP libraries built for this in the past but they are either poorly documented or too 'low level' forcing you to understand the manager API before you can use it.

I decided to build my own to fill the gap I saw and plan on implementing every function of the Asterisk manager interface as a distinct method in the class.  So far I've succeeded in producing the following:

Get The API

Page: Google Project Page

SVN:  svn checkout http://asterisk-php-api.googlecode.com/svn/trunk/ asterisk-php-api-read-only


PEAR

I've begun to get the class ready for making a proposal for addition to the Pear repository.  I think Asterisk finally deserves a solid API in PHP and this process will involve the following (non-exhaustive list):

  • End user documentation.
  • Use of PEAR_Exception library.
  • Take on boardpear-dev group comments.
  • Code cleanup.
  • Robust testing.

Please feel free to discuss this in the comments, email me, comment at Google Code project site or post in the pear-dev mailing list.

Reference

Share and Enjoy:
  • Digg
  • del.icio.us
  • Google
  • BlinkList
  • description
  • Live
  • Ma.gnolia
  • Reddit
  • Slashdot
  • SphereIt
  • StumbleUpon


4 Responses to “Asterisk PHP API”

  1. Straw Dogs » Asterisk Manager API [PHP] Says:

    [...] Visit the blog page for more info on the new PHP interface.                 [...]

  2. j sidhu Says:

    Very nice. please keep up the good work. I will start contributing when I feel comfortable enough.

  3. admin Says:

    I’ve corrected the bug you posted at the libs Google Projects site. Thanks for bringing it to my attention. Its much appreciated.

  4. » …but Mercurial is even better @ Straw Dogs Says:

    [...] was again compounded when I had to implement a patch in my Asterisk PHP API which is Subversion hosted.  As the current version was out of date the patch failed so needed to [...]

Leave a Comment