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ピアを抽出する必要があります。