freeswitch.xml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <include>
  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. <!-- mod_dingaling is reliant on the vcard data in the "directory" section. -->
  23. <!-- mod_sofia is reliant on the user data for authorization -->
  24. <section name="directory" description="User Directory">
  25. <X-PRE-PROCESS cmd="include" data="directory/*.xml"/>
  26. </section>
  27. <!-- phrases section (under development still) -->
  28. <section name="phrases" description="Speech Phrase Management">
  29. <macros>
  30. <X-PRE-PROCESS cmd="include" data="lang/en/*.xml"/>
  31. </macros>
  32. </section>
  33. </include>