centos - 未找到 FreeSwitch(1.6.20) modules.conf 文件

标签 centos freeswitch mod-python

我安装了 FreeSwitch 1.6.20 并尝试使用 FreeSwitch 文档中描述的 mod_python 模块。在此期间,我没有找到 modules.conf 文件。所以 mod_python 没有安装。我正在使用 CentOS 7。

任何帮助将不胜感激。谢谢你。

最佳答案

简而言之: “FreeSWITCH 中没有 modules.conf 文件。”

https://freeswitch.org/confluence/display/FREESWITCH/Configuring+FreeSWITCH 中所述

FreeSWITCH™ configuration data is stored in XML format

在哪里 modules.conf是其中一种配置(见名称):
<configuration name="modules.conf" description="Modules">
...
</configuration>

以及 python.conf是 FreeSWITCH 中的另一个配置:
<configuration name="python.conf" description="PYTHON Configuration">

但这些只是他们文件中的 xml:
/etc/freeswitch/autoload_configs/modules.conf.xml
/etc/freeswitch/autoload_configs/python.conf.xml

备注 .xml在文件名的末尾。

所以答案是:

你需要看看/etc/freeswitch/autoload_configs/modules.conf.xml要查找的文件 modules.conf配置。

/usr/local/freeswitch/conf/如果手动编译而不是从包中安装。

关于centos - 未找到 FreeSwitch(1.6.20) modules.conf 文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59854235/

相关文章:

opencv - 段错误 OpenCV/Facedetect.c/CentOS 6 64Bit

python - 名称或服务未知

javascript - Ajax 加载 url 中存在空格的问题

python - mod_python和子包导入问题: ImportError: No module named

python - 如何在 Wampserver 上设置和运行 Python?

linux - 使用 shell 脚本搜索和替换文件内容

linux - 在aarch64 Linux中安装anaconda

amazon-ec2 - FreeSwitch - 我在 Amazon EC2 服务器上听不到声音

javascript - 远程视频黑屏: WebRTC

android - FreeSwitch 使用 API 创建分机/SIP 用户