Asterisk VoIP News

Monday, October 17, 2005

Announce: Ruby module for the Asterisk Manager Interface

Chris has posted a new module for the Asterisk Manager Interface.

I have just released the first version of Rami, a ruby module for the Asterisk Manager Interface. It includes a client library and proxy server for sending multiple simultaneous requests with just one open connection to asterisk.

One of the unique features is that the proxy server stores internal events into queues which can be retrieved or searched by value. For example with the Originate command, if you use it with Async, it will return immediately and the proxy server will store the associated events in the queue which can be queried at a later time. WIthout Async the Originate command will block until it is finished, returning all the events at once.

Rami is distributed as a Ruby Gem.

You can download it and view the documentation at: http://rubyforge.org/projects/rami/

Chris