我安装了 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/