我安装了FreeSwitch 1.6.20,并尝试使用FreeSwitch文档中描述的mod_python模块。在此期间,我没有找到modules.conf文件。因此,mod_python没有安装。我正在使用CentOS 7。
任何帮助都将不胜感激。谢谢。
发布于 2020-01-23 12:02:49
简单地说:“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 configuration.
或者/usr/local/freeswitch/conf/,如果是手动编译,而不是从包安装的话。
https://stackoverflow.com/questions/59854235
复制相似问题