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.
在 PHPAGI 中用于从用户读取数字我正在使用 $agi->get_data
$rawInput = $agi->get_data($audio, 5000, 1); $input = $rawInput['result'];
有些用户没有按任何键,但在 2-3 秒后音频播放立即停止并$rawInput['result']显示"D"结果! 难道我做错了什么?还是它的 Asterisk 或 PHPAGI 错误?
$rawInput['result']
"D"
D 是扩展 DTMF 格式中的有效 DTMF 数字。有效值为 0-9,AF,*,#
你已经做了调试 dtmf 和一般调试,看看到底发生了什么。