FreeSwitch(1.6.20) modules.conf 找不到文件

FreeSwitch(1.6.20) modules.conf file not found

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

如有任何帮助,我们将不胜感激。谢谢。

简而言之:"There is no modules.conf file in FreeSWITCH."

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/ 如果手动编译而不是从包中安装。