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

getConfigJSON() public method

Variables: Filename: Configuration filename (e.g. foo.conf)
public getConfigJSON ( string $filename, callable $cb ) : void
$filename string Filename
$cb callable Callback called when response received
return void
    public function getConfigJSON($filename, $cb)
    {
        $this->command("Action: GetConfigJSON\r\nFilename: " . trim($filename) . "\r\n", $cb);
    }