freeswitch.xml 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. <document type="freeswitch/xml">
  2. <!--#comment
  3. All comments starting with #command will be preprocessed and never sent to the xml parser
  4. Valid instructions:
  5. #include ==> Include another file to this exact point
  6. (partial xml should be encased in <include></include> tags)
  7. #set ==> Set a global variable (can be expanded during preprocessing with $$ variables)
  8. (note the double $$ which denotes preprocessor variables)
  9. #comment ==> A general comment such as this
  10. The preprocessor will compile the full xml document to ${prefix}/log/freeswitch.xml.fsxml
  11. Don't modify it while freeswitch is running cos it is mem mapped in most cases =D
  12. The same can be achieved with the <X-PRE-PROCESS> tag where the attrs 'cmd' and 'data' are
  13. parsed in the same way.
  14. -->
  15. <X-PRE-PROCESS cmd="include" data="vars.xml"/>
  16. <section name="configuration" description="Various Configuration">
  17. <X-PRE-PROCESS cmd="include" data="autoload_configs/*.xml"/>
  18. </section>
  19. <section name="dialplan" description="Regex/XML Dialplan">
  20. <X-PRE-PROCESS cmd="include" data="dialplan/*.xml"/>
  21. </section>
  22. </document>