Astconf 查询语言 asterisk-aql

软件介绍

AQL (Astconf Query Language) 是一种类似 SQL 的语句用来为 PHP 读写 Asterisk 配置文件提供方便。

示例代码:

 

<?
include
("aql.php");

// to query extension 8001 settings from sip.conf
$aql
= new aql;
$aql
->set('basedir','/etc/asterisk/');
$db
= $aql->query("select * from sip.conf where section='8001'");
print_r
($db);
?>

output:
Array
(
    [8888] => Array
        (
            [type] => friend
            .....
        )

)

本文地址:https://codercto.com/soft/d/25475.html

The Effective Engineer

The Effective Engineer

Edmond Lau / The Effective Bookshelf, Palo Alto, CA. / 2015-3-19 / USD 39.00

Introducing The Effective Engineer — the only book designed specifically for today's software engineers, based on extensive interviews with engineering leaders at top tech companies, and packed with h......一起来看看 《The Effective Engineer》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具