Utility functions for Freepbx and Asterisk, written in Ruby