Leandro Dardini - 2014-12-11

While the project seems quite with no changes from so long time, I am using it for my projects and found it useful. I have made a little change adding a new function to send an user event to Asterisk:

/**                                                                                                                                       
 * Send an User Event                                                                                                                     
 *                                                                                                                                        
 * @link http://www.voip-info.org/wiki/view/Asterisk+cmd+UserEvent                                                                        
 * @param string $userevent Event to send                                                                                                 
 * @param string $actionid message matching variable                                                                                      
 */
 function UserEvent($userevent, $actionid=NULL)
 {
   $parameters = array('UserEvent'=>$userevent);
   if($actionid) $parameters['ActionID'] = $actionid;
   return $this->send_request('UserEvent', $parameters);
 }