Not getting events with PAMI
问题 class VoipEventStart implements IEventListener { public function handle(EventMessage $event) { $a = $event->getKeys(); if( ($a['event'] == "Hangup" || $a['event'] == "HangupRequest") && strpos($a['channel'], 'SIP/') !== FALSE) { return true; } return false; } } With above code ,I get peer status events, dont get the call events. Can any one help me what will be the reason? 回答1: Check your asterisk manager.conf. Each AMI account has a list of read/write permissions. Ensure that your account