One notes freeswitch self-understanding freeswitch

Foreword

    freeswitch is a soft phone, before learning, first loaded it up, run up and look at it in the end can be doing, quite interesting, you can call each other, the family installed a mobile client Zoiper, in the configuration of several personality numbers, registration on freeswitch, we can call each other up. Common way to learn open source software is to understand its configuration file, mastered how to configure the profile, we also mastered the use of freeswitch.

 

For configuration structure

1. Go to the directory freeswitchconf

CD / usr / local / FreeSWITCH / the conf 
CAT freeswitch.xml main configuration file

2 the main profile is freeswitch.xml, the following action is related tag analysis

2.1. <X-PRE-PROCESS cmd = "include" data = "vars.xml" /> This tag is a global variable xml, globals $$ reference symbols used in double

2.2. <section name="configuration" description="Various Configuration">

     <X--the PRE-the PROCESS cmd = "the include" Data = "autoload_configs / *. XML" />
</ sectionTop> This tag is freeswitch automatically start to load xml, the specific effect may be to view xml, wherein comparative more is  
event_socket.conf.xml this is xml client socket configuration

2.3.  <section name="dialplan" description="Regex/XML Dialplan">

<The X-the PROCESS-the PRE-cmd = "the include" the Data = "set dialplan value / *. Xml" />
</ Section> This is the dial plan configuration file is a simple dial-up route, that is, you hit a phone, it go that route

2.4  <section name="chatplan" description="Regex/XML Chatplan">

<-The PRE-X-cmd = the PROCESS "the include" Data = "chatplan / *. XML" />
</ sectionTop> chat program, is not yet know with zha

2.5<section name="directory" description="User Directory">

<-The PRE-X-cmd = the PROCESS "the include" Data = "Directory / *. XML" />
</ sectionTop> The tag is configured to call the user's directory

 

Understand the internal configuration properties

/usr/local/freeswitch/conf/sip_profiles/internal.xml This is an internal configuration attributes, you have to resolve arguments

to sum up

  freeswitch profound, need to refer to other cattle and official documentation to get to know

  

Guess you like

Origin www.cnblogs.com/whf191/p/12320705.html