iahunter/php5-callmanager-axl
Composer 安装命令:
composer require iahunter/php5-callmanager-axl
包简介
PHP Cisco CallManager AXL SOAP/XML Library
README 文档
README
PHP Implementation to interface with Cisco unified call manager (CUCM) over the administrative XML (AXL) implememtation. This library requires a copy of the CORRECT .WSDL file for YOUR VERSION of callmanager. This library is under development so should be considered unstable and subject to major changes.
Naming Convention
This library is dependent on a naming convention specific to the owner's environment. Use at your own risk.
| Object Type | Example Name |
|---|---|
| Route Group | RG_{$SITE} |
| Media Resourse Group List | MRGL_{$SITE} |
| Media Resourse Group | MRG_{$SITE} |
| Media Terminiation Point | {$SITE}_711 |
| Media Terminiation Point | {$SITE}_729 |
| Conference Bridge | {$SITE}_CFB |
| Device Pool | DP_{$SITE} |
| Call Manager Group | CMG-{$SITE} |
| Region | R_{$SITE} |
| Location | LOC_{$SITE} |
| Calling Search Space | CSS_{$SITE} |
| Partition | PT_{$SITE} |
| SRST | SRST_{$SITE} |
Install via Composer
composer require iahunter/php5-callmanager-axl
Example - List Device Pool Names
require_once "./vendor/autoload.php"; $URL = "https://10.11.12.13:8443/axl"; // Prod CUCM $SCHEMA = "./axl/schema/10.5/AXLAPI.wsdl"; $USER = "username"; $PASS = "password"; try { $CUCM = new \Iahunter\CallmanagerAXL\Callmanager($URL, $SCHEMA, $USER, $PASS); $DP = $CUCM->get_device_pool_names(); print_r($DP); } catch (\Exception $E) { echo "Error communicating with callmanager: {$E->getMessage()}".PHP_EOL; }
Example - List Phone Names
require_once "./vendor/autoload.php"; $URL = "https://10.11.12.13:8443/axl"; // Prod CUCM $SCHEMA = "./axl/schema/10.5/AXLAPI.wsdl"; $USER = "username"; $PASS = "password"; try { $CUCM = new \Iahunter\CallmanagerAXL\Callmanager($URL, $SCHEMA, $USER, $PASS); $PHONES = $CUCM->get_phone_names(); print_r($PHONES); } catch (\Exception $E) { echo "Error communicating with callmanager: {$E->getMessage()}".PHP_EOL; }
统计信息
- 总下载量: 333
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 12
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL3.0
- 更新时间: 2017-11-12