autoload_configs目录

autoload_configs

autoload_configs 目录下各种配置文件会在系统启动时装入。一般来说都是模块级的配置文件,每个模块对应一个,命名方式:模块名.conf.xml的方式命名。比如:sofia.conf.xml

global_setting 标签定义了一些全局参数。

profiles标签可通过X-PRE-PROCESS指令装入其他的配置文件,这些配置文件都是每个文件描述了一个 profile。

<configuration name="sofia.conf" description="sofia Endpoint">

  <global_settings>
    <param name="log-level" value="0"/>
    <!-- <param name="auto-restart" value="false"/> -->
    <param name="debug-presence" value="0"/>
    <!-- <param name="capture-server" value="udp:homer.domain.com:5060"/> -->

    <!-- 
        the new format for HEPv2/v3 and capture ID    
        
        protocol:host:port;hep=2;capture_id=200;

    -->

    <!-- <param name="capture-server" value="udp:homer.domain.com:5060;hep=3;capture_id=100"/> -->
  </global_settings>

  <!--
      The rabbit hole goes deep.  This includes all the
      profiles in the sip_profiles directory that is up
      one level from this directory.
  -->
  <profiles>
    <X-PRE-PROCESS cmd="include" data="../sip_profiles/*.xml"/>
  </profiles>

</configuration>

modules.conf.xml:决定FS启动时自动加载那些模块。

post_load_modules.conf.xml 文件,不同的是其中定义的模块加载时间比较晚。

原文地址:https://www.cnblogs.com/damizhou/p/14130843.html