PHP class for interacting with asterisk manager interface