Hi.

I have made a complete rewrite of Asterisk::Manager, and decided to
release it separately as Asterisk::CoroManager, since it relies heavily
on Coro, which is useless for the rest of the asterisk-perl-modules.

The reason for this is that I found the existing Asterisk::Manager
insufficient in a production environment with a constant stream of
events, and no guarantee that answers to commands sent with AMI return
in the same order as they are sent.  With Asterisk::CoroManager, you
have an eventbased, "threaded" execution (ok, not threaded as such, but
Coro implements continuations, so that one sendcommand can wait for it's
reply while other event callbacks are triggered etc).

The API is quite similar to the one in Asterisk::Manager.

NB: (Coro::)AnyEvent can use different different event-handlers, but I
have only tested the code with (Coro::)EV.

I'm posting this to the list before uploading to get comments, before
submitting to CPAN.  I hope it will be useful.

You can find it here (for now; I will publish through cpan):
http://fredrik.liljegren.org/Asterisk-CoroManager/

/ Fredrik



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to