Features/Mass Deployment/Setting Files/XML/Container/Settings/Example

From Snom User Wiki

Jump to: navigation, search
  • Example file name: http://domain/snom3x0/allsettings.xml
<?xml version="1.0" encoding="utf-8"?>
<settings>
 <phone-settings>
  <web_language perm="RW">English</web_language>
  <timezone perm="RW">USA-5</timezone>
  <date_us_format perm="R">on</date_us_format>
  <time_24_format perm="R">off</time_24_format>
  
  <user_pname idx="1" perm="R">AUTHUSER1</user_pname>
  <user_pass idx="1" perm="R">AUTHPASSWORD1</user_pass>
  <user_name idx="1" perm="R">LINEPORT1</user_name>
  <user_realname idx="1" perm="R">User1</user_realname>
  <user_host idx="1" perm="R">proxy1.net</user_host>
  <user_srtp idx="1" perm="RW">off</user_srtp>
  <user_dp_str idx="1" perm="">!([^#]%2b)#!sip:\1@\d!d</user_dp_str>
   
  <!-- the following parameters are only required to provide automated firmware updates--> 
  <!-- IMPORTANT: define the URL of the firmware setting file--> 
  <firmware_status perm="R">http://domain/snom/snom3x0-firmware.htm</<firmware_status>
  <update_policy perm="R">auto_update</update_policy>
  <firmware_interval perm="R">2880 </firmware_interval>

 </phone-settings>

 <functionKeys>
  <fkey idx="0" context="active" perm="">line</fkey>
  <fkey idx="1" context="active" perm="">line</fkey>
  <fkey idx="2" context="active" perm="">keyevent F_REDIAL</fkey>
  <fkey idx="3" context="active" perm="">keyevent F_ADR_BOOK</fkey>
  <fkey idx="4" context="active" perm="">keyevent F_TRANSFER</fkey>
  <fkey idx="5" context="active" perm="">keyevent F_MUTE</fkey>
 </functionKeys>

 <tbook>
  <item context="line1" type="none" index="0">
   <name>Adrian</name>
   <number>42965</number>
  </item>
  <item context="active" type="colleagues" index="1">
   <name>Roland</name>
   <number>16424</number>
  </item>
  ...
  <item context="line12" type="friends" index="99">
   <name>Suzy</name>
   <number>78371</number>
  </item>
 </tbook>

 <dialplan>
  <template match="0" timeout="4" scheme="sip" user="phone" rewrite="" />
  <template match="00" timeout="0" scheme="sip" user="phone" rewrite="" />
  <template match="011............" timeout="4" scheme="sip" user="phone" rewrite="" />
  <template match="*79" timeout="0" scheme="sip" user="phone" rewrite="" />
  <template match="*234" timeout="0" scheme="sip" user="phone" rewrite="" />
  <template match="9,......." timeout="0" scheme="sip" user="phone" rewrite="" />
  <template match="424#" timeout="0" scheme="sip" user="phone" rewrite="" />
  <template match="...#" timeout="0" scheme="sip" user="phone" rewrite="" />
  <template match="[7-9].." timeout="0" scheme="sip" user="phone" rewrite="" />
  <template match="*[5-7][1-9]" timeout="0" scheme="sip" user="phone" rewrite="" /> 
 </dialplan>
</settings>
Personal tools
Interoperability