PHPDaemon\Clients\Asterisk\Connection::getIaxPeers PHP Method

getIaxPeers() public method

Action: IAXpeerlist Synopsis: List IAX Peers Privilege: system,reporting,all
public getIaxPeers ( callable $cb ) : void
$cb callable Callback called when response received
return void
    public function getIaxPeers($cb)
    {
        $this->command("Action: IAXpeerlist\r\n", $cb, ['event' => 'peerlistcomplete']);
    }