Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们有星号服务器,我需要获取当前时间调用的号码。我尝试使用php agi库,但我得到的最大值是频道列表。
$agi_manager = new AGI_AsteriskManager(null, $agi_config); $connect = $agi_manager->connect(); $result = $agi_manager->command('core show channels');
这正是您所需要的。
现在您必须解析该表并从中提取 SIP 对等方。