The dial plan settings (<dialplan> or <dial-plan> tag) contain the global dial plan parameters. For further description please see the detailed XML dial plan feature description.


Index:


The XML Dial plan can be placed either inside the <settings> tag

<?xml version="1.0" encoding="utf-8" ?>
 <settings>
  <phone-settings></phone-settings>
  <functionKeys></functionKeys>
  <tbook></tbook>
  <uploads></uploads>
  <certificates></certificates>
  <dialplan e="2">
   <!--Example North American Dialplan-->
   <TEMPLATE MATCH="0" Timeout="1" User="Phone"/>
   <TEMPLATE MATCH="9,011*" Timeout="6" User="Phone"/>
   <TEMPLATE MATCH="9,0" Timeout="1" User="Phone"/>
   <TEMPLATE MATCH="9,11" Timeout="0" User="Phone" Rewrite="9911"/>
   <TEMPLATE MATCH="9,.11" Timeout="0" User="Phone"/>
   <TEMPLATE MATCH="9,101..............." Timeout="0" User="Phone"/>
   <TEMPLATE MATCH="9,10.............." Timeout="0" User="Phone"/>
   <TEMPLATE MATCH="9,10*" Timeout="6" User="Phone"/> 
   <TEMPLATE MATCH="9,1.........." Timeout="0" User="Phone"/>
   <TEMPLATE MATCH="9,......." Timeout="0" User="Phone"/>
   <TEMPLATE MATCH="*" Timeout="15"/>
  </dialplan>
 </settings>

or as an individual XML file whose URL is listed inside <setting-files> tag:

<?xml version="1.0" encoding="utf-8"?>
<dialplan e="2">
 <!--Example North American Dialplan-->
 <TEMPLATE MATCH="0" Timeout="1" User="Phone"/>
 <TEMPLATE MATCH="9,011*" Timeout="6" User="Phone"/>
 <TEMPLATE MATCH="9,0" Timeout="1" User="Phone"/>
 <TEMPLATE MATCH="9,11" Timeout="0" User="Phone" Rewrite="9911"/>
 <TEMPLATE MATCH="9,.11" Timeout="0" User="Phone"/>
 <TEMPLATE MATCH="9,101..............." Timeout="0" User="Phone"/>
 <TEMPLATE MATCH="9,10.............." Timeout="0" User="Phone"/>
 <TEMPLATE MATCH="9,10*" Timeout="6" User="Phone"/> 
 <TEMPLATE MATCH="9,1.........." Timeout="0" User="Phone"/>
 <TEMPLATE MATCH="9,......." Timeout="0" User="Phone"/>
 <TEMPLATE MATCH="*" Timeout="15"/>
</dialplan>