[asterisk-users] Manager Interface API's

Tzafrir Cohen tzafrir.cohen at xorcom.com
Thu Aug 17 00:22:36 MST 2006


On Wed, Aug 16, 2006 at 03:43:26PM -0600, Douglas Garstang wrote:

[ Unnecessary flames snipped ]

> I did mention the code. I mentioned the two python API's, and the perl API.
> http://sourceforge.net/projects/pyst
> http://py-asterisk.berlios.de/py-asterisk.php
> http://search.cpan.org/~xantus/POE-Component-Client-Asterisk-Manager/Manager.pm

I haven't tried the python interface. I have experimented a bit with the
perl Asterisk POE component.

  perldoc POE::Component::Client::Asterisk::Manager

gives you a nice little program. However you must realise that it is
part of a bigger framework (POE). Try

  perldoc POE

for starters.

Also note that those modules don't attempt to give you a full
documentation of the Asterisk manager interface, as the manager
interface's specific functions depend on the availbility of specific
modules in the Asterisk installation and of the version of Asterisk. The
manager interface has basic documentation in Asterisk ('show manager
command foo' or 'show manager commands').

IIRC, however, something I found lacking at that wrapper to the manager
interface is that its main loop does not give a separate ID to each
command I send. And thus it can be confused when you get a fast flow of
events.

-- 
Tzafrir Cohen         sip:tzafrir at local.xorcom.com
icq#16849755          iax:tzafrir at local.xorcom.com
+972-50-7952406          jabber:tzafrir at jabber.org
tzafrir.cohen at xorcom.com     http://www.xorcom.com



More information about the asterisk-users mailing list