PHP calss for AGI Asterisk