gietos/phpagi
最新稳定版本:2.0.3
Composer 安装命令:
composer require gietos/phpagi
包简介
PHPAGI is a PHP class for the Asterisk Gateway Interface. The package is available for use and distribution under the terms of the GNU Public License.
README 文档
README
PHPAGI is a set of PHP classes for use in developing applications with the Asterisk Gateway Interface forked from https://github.com/d4rkstar/phpagi.
Installation
The suggested installation method is via composer:
composer require gietos/phpagi
Usage
Create a script agi.php
Put there:
<?php require 'vendor/autoload.php'; $agi = new \gietos\AGI\Handler(); $agi->handleRequest(); $agi->sayTime();
Put in extensions.ael:
context incoming {
_7XXXXXXXXXX => {
AGI(/path/to/agi.php);
Hangup();
}
}
Test
composer install
composer test
统计信息
- 总下载量: 15.72k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GNU
- 更新时间: 2014-11-19