Features/Mass Deployment/Setting Files/XML/Phone Settings

From Snom User Wiki

Jump to: navigation, search

Contents

Introduction

The phone settings XML tag (<phone-settings>) contains the main part of the available settings (configuration parameters).

Syntax

This XML tag can be used either

 <phone-settings e="2">
  <parameter(1)> idx="<index>" perm="<permission flag>" <value></<parameter>
  ...
  <parameter(n)> idx="<index>" perm="<permission flag>" <value></<parameter>>
 </phone-settings>
<?xml version="1.0" encoding="utf-8"?>
 <phone-settings e="2">
  <parameter(1)> idx="<index>" perm="<permission flag>" <value></<parameter>
  ...
  <parameter(n)> idx="<index>" perm="<permission flag>" <value></<parameter>>
 </phone-settings>

The following attributes are allowed:

  • e="2" defines that unicode-values inside xml-escapes (e.g. & # 6 4 ;) may be greater than 255.
  • <parameter> tag contains

Example

General phone settings file

  • Example file name: http://domain/snom3x0/general.xml
<?xml version="1.0" encoding="utf-8"?>
<settings>
 <phone-settings>
  <web_language perm="RW">English</web_language>
  <timezone perm="RW">USA-5</timezone>
  <tone_scheme perm="RW">USA</tone_scheme>
  <date_us_format perm="R">on</date_us_format>
  <time_24_format perm="R">off</time_24_format>

  <!-- 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>
</settings>

Specific phone settings file

  • Example file name: http://domain/snom3x0/specific.xml
<?xml version="1.0" encoding="utf-8"?>
<settings>
 <phone-settings>
  <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>

  <user_pname idx="2" perm="R">AUTHUSER2</user_pname>
  <user_pass idx="2" perm="R">AUTHPASSWORD2</user_pass>
  <user_name idx="2" perm="R">LINEPORT2</user_name>
  <user_realname idx="2" perm="R">User1</user_realname>
  <user_host idx="2" perm="R">proxy2.net</user_host>
  <user_srtp idx="2" perm="RW">off</user_srtp>
  <user_dp_str idx="2" perm="">!([^#]%2b)#!sip:\1@\d!d</user_dp_str>

  <!-- the following parameters are only required to provide automated firmware updates for specific phones -->
  <!-- IMPORTANT: define the URL of the firmware setting file -->
  <firmware_status perm="R">http://domain/snom/snom3x0-firmware.htm</<firmware_status>
  <!-- additionally the update policy may be defined -->
  <update_policy perm="R">auto_update</update_policy>
  <!-- additionally the firmware update interval may be defined --> 
  <firmware_interval perm="R">2880 </firmware_interval>
 </phone-settings>
</settings>
Personal tools
Interoperability