zoukankan      html  css  js  c++  java
  • FS配置文件

    FS配置文件

    配置文件由许多XML文件组成,在系统装载时,XML解析器将所有的XML文件组织在一起,并读入内存,组成一个大的XML文档,称为XML注册表。

    其中最主要的配置文件时freeswitch.xml,它的作用是将所有的配置文件粘到一起。

    其中:X-PRE-PROCESS标签是FreeSWITCH中特有的,它称为预处理指令,用于设置一些变量和装入其他配置文件。

    在XML加载阶段,FS的XML解析器会先将预处理命令展开,在FS内部生成一个大的XML文档。 在log/freeswitch.xml.fsxml是FS内部的XML内存镜像。

    XML分为几个重要的部分:

    配置,dialplan,chatplan,directory以及phrase等。

    [root@asr conf]# tree -L 2
    .
    ├── autoload_configs
    │   ├── abstraction.conf.xml
    │   ├── acl.conf.xml
    │   ├── alsa.conf.xml
    │   ├── amqp.conf.xml
    │   ├── amr.conf.xml
    │   ├── amrwb.conf.xml
    │   ├── av.conf.xml
    │   ├── avmd.conf.xml
    │   ├── blacklist.conf.xml
    │   ├── callcenter.conf.xml
    │   ├── cdr_csv.conf.xml
    │   ├── cdr_mongodb.conf.xml
    │   ├── cdr_pg_csv.conf.xml
    │   ├── cdr_sqlite.conf.xml
    │   ├── cepstral.conf.xml
    │   ├── cidlookup.conf.xml
    │   ├── conference.conf.xml
    │   ├── conference_layouts.conf.xml
    │   ├── console.conf.xml
    │   ├── curl.conf.xml
    │   ├── db.conf.xml
    │   ├── dialplan_directory.conf.xml
    │   ├── dingaling.conf.xml
    │   ├── directory.conf.xml
    │   ├── distributor.conf.xml
    │   ├── easyroute.conf.xml
    │   ├── enum.conf.xml
    │   ├── erlang_event.conf.xml
    │   ├── event_multicast.conf.xml
    │   ├── event_socket.conf.xml
    │   ├── fax.conf.xml
    │   ├── fifo.conf.xml
    │   ├── format_cdr.conf.xml
    │   ├── graylog2.conf.xml
    │   ├── hash.conf.xml
    │   ├── hiredis.conf.xml
    │   ├── httapi.conf.xml
    │   ├── http_cache.conf.xml
    │   ├── ivr.conf.xml
    │   ├── java.conf.xml
    │   ├── kazoo.conf.xml
    │   ├── lcr.conf.xml
    │   ├── local_stream.conf.xml
    │   ├── logfile.conf.xml
    │   ├── lua.conf.xml
    │   ├── memcache.conf.xml
    │   ├── modules.conf.xml
    │   ├── mongo.conf.xml
    │   ├── msrp.conf.xml
    │   ├── nibblebill.conf.xml
    │   ├── opal.conf.xml
    │   ├── opus.conf.xml
    │   ├── oreka.conf.xml
    │   ├── osp.conf.xml
    │   ├── perl.conf.xml
    │   ├── pocketsphinx.conf.xml
    │   ├── portaudio.conf.xml
    │   ├── post_load_modules.conf.xml
    │   ├── presence_map.conf.xml
    │   ├── python.conf.xml
    │   ├── redis.conf.xml
    │   ├── rss.conf.xml
    │   ├── rtmp.conf.xml
    │   ├── sangoma_codec.conf.xml
    │   ├── shout.conf.xml
    │   ├── skinny.conf.xml
    │   ├── smpp.conf.xml
    │   ├── sms_flowroute.conf.xml
    │   ├── sofia.conf.xml
    │   ├── spandsp.conf.xml
    │   ├── switch.conf.xml
    │   ├── syslog.conf.xml
    │   ├── timezones.conf.xml
    │   ├── translate.conf.xml
    │   ├── tts_commandline.conf.xml
    │   ├── unicall.conf.xml
    │   ├── unimrcp.conf.xml
    │   ├── v8.conf.xml
    │   ├── verto.conf.xml
    │   ├── voicemail.conf.xml
    │   ├── voicemail_ivr.conf.xml
    │   ├── vpx.conf.xml
    │   ├── xml_cdr.conf.xml
    │   ├── xml_curl.conf.xml
    │   ├── xml_rpc.conf.xml
    │   ├── xml_scgi.conf.xml
    │   └── zeroconf.conf.xml
    ├── chatplan
    │   └── default.xml
    ├── dialplan
    │   ├── default
    │   ├── default.xml
    │   ├── features.xml
    │   ├── public
    │   ├── public.xml
    │   ├── skinny-patterns
    │   └── skinny-patterns.xml
    ├── directory
    │   ├── default
    │   └── default.xml
    ├── extensions.conf
    ├── freeswitch.xml
    ├── fur_elise.ttml
    ├── ivr_menus
    │   ├── demo_ivr.xml
    │   └── new_demo_ivr.xml
    ├── jingle_profiles
    │   ├── client.xml
    │   └── server.xml
    ├── lang
    │   ├── de
    │   ├── en
    │   ├── es
    │   ├── fr
    │   ├── he
    │   ├── pt
    │   ├── ru
    │   └── sv
    ├── mime.types
    ├── mrcp_profiles
    │   ├── loquendo-7-mrcp-v2.xml
    │   ├── nuance-1.0.0-mrcp-v1.xml
    │   ├── nuance-5.0-mrcp-v1.xml
    │   ├── nuance-5.0-mrcp-v2.xml
    │   ├── unimrcpserver-mrcp-v1.xml
    │   ├── vestec-mrcp-v1.xml
    │   └── voxeo-prophecy-8.0-mrcp-v1.xml
    ├── notify-voicemail.tpl
    ├── sip_profiles
    │   ├── external
    │   ├── external-ipv6
    │   ├── external-ipv6.xml
    │   ├── external.xml
    │   ├── internal-ipv6.xml
    │   └── internal.xml
    ├── skinny_profiles
    │   └── internal.xml
    ├── tetris.ttml
    ├── vars.xml
    ├── voicemail.tpl
    └── web-vm.tpl
    

      

  • 相关阅读:
    电视盒子通过adb安装第三方应用
    采用网闸隔离的内外网如何进行数据的即时交互?
    数据结构-python-二叉树
    Python+uiautomator2写安卓手机脚本前期准备
    centos6.5离线rpm安装mysql
    centos7 nginx 启动脚本
    zabbix简单改造为免密登陆
    vue生命周期函数
    mysql 深入问题了解
    9. 回文数.py
  • 原文地址:https://www.cnblogs.com/damizhou/p/14130601.html
Copyright © 2011-2022 走看看