A rails-based REST API for the Asterisk PBX