AGI应用服务器 Agispeedy
fmms
12年前
Agispeedy 是一个 AGI 应用服务器的实现,使用纯 PHP 编写。
- compatible with asterisk 1.0/1.2/1.4/1.6/1.8/1.10 or higher.
- 100% compatible AGI commands.
- implemention of FastAGI over TCP Sockets.
- Work in Stabilize Prefork Mode and Written by Pure PHP.
- Automatic load your agi scripts when asterisk send request.
- Providing possibility of running AGI on a remote server.
- Fast Database Connect(hook functions in each children server).
- Perl Version (discard) in subversion : branches/agispeedy-perl
示例代码:
<?php function agi_main(&$agi) { $agi->answer(); $agi->hangup(); return(true); } ?>