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.
我正在尝试使用 A2billing 来读取客户的余额。为此,我创建了第二个 agi-conf 并设置:
Say Balance After Auth to Yes,所以我想系统应该在输入 PIN 后说余额,但是这不会发生。系统只是重复询问 PIN。我的扩展是:
[balance] exten => 120,1,AGI(a2billing.php,2) exten => 120,n,Hangup()
任何帮助,将不胜感激。
在您的管理网站上,您应该更改 acgi-conf2(在 admin->config 部分中)并更改参数以在 auth=yes 之后说平衡。
你还需要确保你有 play_audio =yes 和 answer_call=yes
由于选项可以是 /var/lib/asterisk/sounds/en 中没有文件(这意味着您没有正确安装并且很可能需要正确重新安装系统)。
如果您仍然没有得到正确的行为,您已启用调试并查看 a2billing 编写或聘请专家的内容。