gpt4 book ai didi

xml - FreeSwitch - 为拨号方案使用 mod_xml_curl

转载 作者:行者123 更新时间:2023-12-05 07:59:25 24 4
gpt4 key购买 nike

我正在使用 mod_xml_curl 在 FreeSwitch 服务器上注册 SIP 用户。我可以从 MySQL 数据库中获取用户信息,但现在我遇到了 FreeSwitch 拨号方案的问题。当我调用另一个注册用户时,它会发出 hold_music 声音。

它不会调用其他注册用户。

Case 1
* No mod_xml_curl for directory
* No mod_xml_curl for dialplan
Result - It works fine, but I cannot use user information in My-SQL database.

Case 2
* using mod_xml_curl for directory
* No mod_xml_curl for Dialplan
Result - Registeration is working using My-SQL database, but call is failed.

Case 3
* using mod_xml_curl for directory
* using mod_xml_curl for Dialplan
Result - Registeration is working using My-SQL database, but call makes hold_music sound.

拨号方案使用xml_curl时有什么信息吗?

谢谢。

最佳答案

当使用 xml_curl 作为拨号方案时,您要为拨号方案返回什么?如果您要返回一个播放等待音乐的拨号方案,那么它就可以工作。

您可以使用命令 xml_curl debug_on 在 freeswitch 中启用调试以查看 Web 服务器返回的拨号方案。

关于xml - FreeSwitch - 为拨号方案使用 mod_xml_curl,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21842942/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com