Asterisk-CoroManager
view release on metacpan or search on metacpan
lib/Asterisk/CoroManager.pm view on Meta::CPAN
$astman->disconnect;
=head1 DESCRIPTION
This module provides a dependable, event-based interface to the
asterisk manager interface.
L<http://www.voip-info.org/wiki/view/Asterisk+manager+API>
This is done with L<Coro>, and continuations. If you are unfamiliar
with L<Coro>, go read up on it! Your program should 'use Coro' quite
at the beginning, and be aware of that it is asynchronous. If you
wait for an answer to a sendcommand, other events will probably be
triggered in the meanwhile.
=head2 Logging / Error handling
Asterisk::CoroManager uses L<Log::Log4perl> if it is installed. Read
L<Log::Log4perl>, or initialize a simple logger like this:
use Log::Log4perl qw(:easy);
Log::Log4perl->easy_init( { level => $DEBUG,
( run in 0.224 second using v1.01-cache-2.11-cpan-0d8aa00de5b )