Rami (Ruby Asterisk Manager Interface) provides a client library and built in proxy server for interfacing with the Asterisk manager interface.