PHP Class for Asterisk Manager Interface