<?xml version="1.0" ?>
<!DOCTYPE model 
    PUBLIC "-//SIPFoundry//sipXconfig//Model specification 2.0//EN" 
    "http://www.sipfoundry.org/sipXconfig/dtd/setting_2_0.dtd" [
  <!ENTITY types SYSTEM "types.xml">
  ]>
<model>
    &types;
    <group name="phone">
        <label>Phone</label>
        <setting name="P196">
            <label>End User Password</label>
            <type>
                <string/>
            </type>
            <value>123</value>
        </setting>
        <setting name="P2">
            <label>Admin password</label>
            <type>
                <string/>
            </type>
            <value>admin</value>
            <description>Admin password for web interface</description>
        </setting>
        <setting name="P64">
            <label>Time Zone</label>
            <type refid="gstimezone"/>
            <value>420</value>
        </setting>
        <setting name="P75">
            <label>Enable Daylight Savings Time</label>
            <type>
                <boolean/>
            </type>
            <value>0</value>
        </setting>
        <setting name="P102" if="Phone.*">
            <label>Date Display Format</label>
            <type>
                <enum>
                    <option>
                        <label>Y-M-D</label>
                        <value>0</value>
                    </option>
                    <option>
                        <label>M-D-Y</label>
                        <value>1</value>
                    </option>
                    <option>
                        <label>D-M-Y</label>
                        <value>2</value>
                    </option>
                </enum>
            </type>
            <value>0</value>
        </setting>
        <setting name="P122" if="PhoneGxp">
            <label>Time Display Format</label>
            <type>
                <enum>
                    <option>
                        <label>12 hour</label><value>0</value>
                    </option>
                    <option>
                        <label>24 hour</label><value>1</value>
                    </option>
                </enum>
            </type>
            <value>0</value>
        </setting>
        <setting name="P123" if="PhoneGxp">
            <label>Display Clock</label>
            <type>
                <boolean/>
            </type>
            <value>0</value>
            <description>Display clock instead of date.</description>
        </setting>
        <setting name="P322" if="PhoneGxp">
            <label>LCD Backlight always on</label>
            <type>
                <boolean/>
            </type>
            <value>0</value>
        </setting>
        <setting name="P85">
            <label>No Key Entry Timeout</label>
            <type refid="byte"/>
            <value>4</value>
        </setting>
        <setting name="P50" if="Phone.*">
            <label>Silence Suppression</label>
            <type>
                <boolean/>
            </type>
            <value>0</value>
        </setting>
        <setting name="P91" if="Phone.*">
            <label>Disable Call-Waiting</label>
            <type>
                <boolean/>
            </type>
            <value>1</value>
        </setting>
        <setting name="P72" if="Phone.*">
            <label>Use # as Dial Key</label>
            <type>
                <boolean/>
            </type>
            <value>1</value>
            <description>Use # as Dial Key (if checked, "#" will function as the "(Re-)Dial" key)</description>
        </setting>
        <setting name="P105" if="Phone.*">
            <label>Caller ID for ring tone 1</label>
            <type>
                <string/>
            </type>
            <value>0</value>
            <description>Use custom ring tone 1 if incoming caller ID is the following.</description>
        </setting>
        <setting name="P106" if="Phone.*">
            <label>Caller ID for ring tone 2</label>
            <type>
                <string/>
            </type>
            <value>0</value>
            <description>Use custom ring tone 2 if incoming caller ID is the following.</description>
        </setting>
        <setting name="P107" if="Phone.*">
            <label>Caller ID for ring tone 3</label>
            <type>
                <string/>
            </type>
            <value>0</value>
            <description>Use custom ring tone 3 if incoming caller ID is the following.</description>
        </setting>
        <setting name="P86" if="Ht.*">
            <label>FXS Impedence</label>
            <type>
                <enum>
                    <option>
                        <label>600 Ohm (North America)</label>
                        <value>0</value>
                    </option>
                    <option>
                        <label>900 Ohm</label>
                        <value>1</value>
                    </option>
                    <option>
                        <label>600 Ohm + 2.16 uF</label>
                        <value>2</value>
                    </option>
                    <option>
                        <label>900 Ohm + 2.16 uF</label>
                        <value>3</value>
                    </option>
                    <option>
                        <label>CTR21</label>
                        <value>4</value>
                    </option>
                    <option>
                        <label>Australia/New Zealand #1</label>
                        <value>5</value>
                    </option>
                    <option>
                        <label>Slovakia/Slovenia/South Africa</label>
                        <value>6</value>
                    </option>
                    <option>
                        <label>New Zealand #2</label>
                        <value>7</value>
                    </option>
                </enum>
            </type>
            <value>0</value>
        </setting>
        <setting name="P200" if="Ht.*">
            <label>Caller ID Scheme</label>
            <type>
                <enum>
                    <option>
                        <label>Bellcore (North America)</label>
                        <value>0</value>
                    </option>
                    <option>
                        <label>ETSI-FSK (F, D, N, TW, UK-CCA)</label>
                        <value>1</value>
                    </option>
                    <option>
                        <label>ETSI-DTMF (FIN, S)</label>
                        <value>2</value>
                    </option>
                    <option>
                        <label>Denmark-DTMF</label>
                        <value>3</value>
                    </option>
                </enum>
            </type>
            <value>0</value>
        </setting>
        <setting name="P205" if="Ht.*">
            <label>Enable Polarity Reversal</label>
            <type>
                <boolean/>
            </type>
            <value>0</value>
        </setting>
        <setting name="P206" if="Ht.*">
            <label>Onhook Voltage</label>
            <type>
                <enum>
                    <option>
                        <label>18V</label>
                        <value>1</value>
                    </option>
                    <option>
                        <label>24V</label>
                        <value>5</value>
                    </option>
                    <option>
                        <label>36V</label>
                        <value>2</value>
                    </option>
                    <option>
                        <label>48V</label>
                        <value>3</value>
                    </option>
                    <option>
                        <label>51V</label>
                        <value>4</value>
                    </option>
                </enum>
            </type>
            <value>2</value>
        </setting>
        <setting name="P195" if="Ht386|Ht486">
            <label>PSTN Access Code</label>
            <type>
                <string/>
            </type>
            <value>*00</value>
            <description>Key pattern to use the PSTN line.</description>
        </setting>
    </group>
    <group name="network">
        <label>Network</label>
        <setting name="P8">
            <label>DHCP Off</label>
            <type>
                <boolean/>
            </type>
            <value>0</value>
            <description>Disable DHCP support.</description>
        </setting>
        <setting name="__IPAddress-9">
            <label>IP Address</label>
            <profileName>P9,P10,P11,P12</profileName>
            <type>
                <ipaddr/>
            </type>
            <value></value>
            <description>Ignore if DHCP or PPPoE is used</description>
        </setting>
        <setting name="__SubnetMask-13">
            <label>Subnet mask</label>
            <profileName>P13,P14,P15,P16</profileName>
            <type>
                <ipaddr/>
            </type>
            <value>255.255.255.0</value>
            <description>Ignore if DHCP or PPPoE is used</description>
        </setting>
        <setting name="__Router-17">
            <label>Gateway</label>
            <profileName>P17,P18,P19,P20</profileName>
            <type>
                <ipaddr/>
            </type>
            <value></value>
            <description>Ignore if DHCP or PPPoE is used</description>
        </setting>
        <setting name="__DNS1-21">
            <label>DNS 1</label>
            <profileName>P21,P22,P23,P24</profileName>
            <type>
                <ipaddr/>
            </type>
            <value></value>
            <description>Ignore if DHCP or PPPoE is used</description>
        </setting>
        <setting name="__DNS2-25">
            <label>DNS 2</label>
            <profileName>P25,P26,P27,P28</profileName>
            <type>
                <ipaddr/>
            </type>
            <value></value>
            <description>Ignore if DHCP or PPPoE is used</description>
        </setting>
        <setting name="__DNSServer-92">
            <label>DNS server</label>
            <profileName>P92,P93,P94,P95</profileName>
            <type>
                <ipaddr/>
            </type>
            <value></value>
            <description>Use this DNS server if specified.</description>
        </setting>
        <setting name="P30">
            <label>NTP Server</label>
            <type>
                <string/>
            </type>
            <value>pool.ntp.org</value>
        </setting>
        <setting name="P207">
            <label>Syslog Server</label>
            <type>
                <string/>
            </type>
            <value></value>
        </setting>
        <setting name="P208">
            <label>Syslog Level</label>
            <type>
                <enum>
                    <option>
                        <label>NONE</label><value>0</value>
                    </option>
                    <option>
                        <label>DEBUG</label><value>1</value>
                    </option>
                    <option>
                        <label>INFO</label><value>2</value>
                    </option>
                    <option>
                        <label>WARNING</label><value>3</value>
                    </option>
                    <option>
                        <label>ERROR</label><value>4</value>
                    </option>
                </enum>
            </type>
            <value>0</value>
        </setting>
        <setting name="P244" if="PhoneBt|Ht286|Ht486">
            <label>Override MTU Size</label>
            <type>
                <integer/>
            </type>
            <value>0</value>
        </setting>
        <setting name="P190" if="Ht4.*">
            <label>WAN Side HTTP Access</label>
            <type>
                <boolean/>
            </type>
            <value>0</value>
            <description>Allow access to HTTP server from WAN side.</description>
        </setting>
        <setting name="P189" if="Ht486">
            <label>Reply to ICMP on WAN port</label>
            <type>
                <boolean/>
            </type>
            <value>0</value>
            <description>Unit will respond to ping from WAN side.</description>
        </setting>
        <setting name="P38">
            <label>IP QoS</label>
            <type refid="byte"/>
            <value>48</value>
            <description>IP QoS (IP Diff-Serv or Precedence value for RTP)</description>
        </setting>
        <setting name="P51">
            <label>Layer 2 QoS</label>
            <type>
                <integer min="0" max="4095"/>
            </type>
            <value>0</value>
            <description>Layer 2 QoS. 802.1Q/VLAN Tag (VLAN classification for RTP)</description>
        </setting>
        <setting name="P87">
            <label>Layer 2 QoS</label>
            <type>
                <integer min="0" max="7"/>
            </type>
            <value>0</value>
            <description>Layer 2 QoS. 802.1p priority value (0 - 7)</description>
        </setting>
        <setting name="P229" if="Ht486">
            <label>Layer 2 Qos (PC) 802.1Q/VLAN Tag</label>
            <type>
                <string/>
            </type>
            <value></value>
        </setting>
        <setting name="P230" if="Ht486">
            <label>802.1p priority value</label>
            <type>
                <integer min="0" max="7"/>
            </type>
            <value></value>
        </setting>
        <setting name="P82">
            <label>PPPoE user ID</label>
            <type>
                <string/>
            </type>
            <value></value>
            <description>PPPoE support. PPPoE user ID</description>
        </setting>
        <setting name="P83">
            <label>PPPoE password</label>
            <type>
                <string/>
            </type>
            <value></value>
        </setting>
    </group>
    <group name="sip">
        <label>SIP</label>
        <setting name="P76">
            <label>STUN server</label>
            <type>
                <string/>
            </type>
            <value></value>
        </setting>
        <setting name="P84">
            <label>Keep-alive interval</label>
            <type>
                <integer min="0" max="65535"/>
            </type>
            <value>20</value>
            <description>Keep-alive interval (in seconds. default 20 seconds)</description>
        </setting>
        <setting name="P101">
            <label>Use NAT IP</label>
            <type>
                <ipaddr/>
            </type>
            <value></value>
            <description>Use NAT IP. This will enable our SIP client to use this IP in the SIP message. Example
                64.3.153.50.
            </description>
        </setting>
        <setting name="P37" if="Phone.*">
            <label>Voice Frames per TX</label>
            <type>
                <integer min="0" max="64"/>
            </type>
            <value>2</value>
            <description>Voice Frames per TX (up to 10/20/32/64 frames for G711/G726/G723/other codecs
                respectively)
            </description>
        </setting>
        <setting name="P39" if="Phone.*">
            <label>Local RTP port</label>
            <type>
                <integer min="1024" max="65535"/>
            </type>
            <value>5004</value>
            <description>Local RTP port (1024-65535, default 5004)</description>
        </setting>
        <setting name="P79" if="Phone.*">
            <label>DTMF Payload Type</label>
            <type refid="byte"/>
            <value>101</value>
        </setting>
        <setting name="P239" if="PhoneBt|Ht286|Ht486">
            <label>SIP Register Expiration</label>
            <type>
                <integer/>
            </type>
            <value>3600</value>
            <description>in seconds (default 1 hour, max 45 days)</description>
        </setting>
        <setting name="P243" if="PhoneBt|Ht286|Ht486">
            <label>Allow incoming SIP messages</label>
            <type>
                <boolean/>
            </type>
            <value>0</value>
            <description>from SIP proxy only.</description>
        </setting>
        <setting name="P198.bt" if="PhoneBt">
            <label>Special Feature</label>
            <profileName>P198</profileName>
            <type>
                <enum>
                    <option>
                        <label>Standard</label><value>100</value>
                    </option>
                    <option>
                        <label>MediaRing</label><value>106</value>
                    </option>
                </enum>
            </type>
            <value>100</value>
        </setting>
        <setting name="P198.ht487" if="Ht486">
            <label>Special feature</label>
            <profileName>P198</profileName>
            <type>
                <enum>
                    <option>
                        <label>Standard</label><value>100</value>
                    </option>
                    <option>
                        <label>Nortel MCS</label><value>101</value>
                    </option>
                    <option>
                        <label>Sonus ASX</label><value>104</value>
                    </option>
                    <option>
                        <label>Lucent FS5000 Simple Endpoint</label><value>105</value>
                    </option>
                    <option>
                        <label>MediaRing</label><value>106</value>
                    </option>
                    <option>
                        <label>Level3</label><value>107</value>
                    </option>
                </enum>
            </type>
            <value>100</value>
        </setting>
        <setting name="P260" if="Ht486">
            <label>Session Expiration</label>
            <type>
                <integer/>
            </type>
            <value>180</value>
            <description>sec</description>
        </setting>
        <setting name="P261" if="Ht486">
            <label>Min-SE</label>
            <type>
                <integer min="90"/>
            </type>
            <value>90</value>
            <description>sec, minimum = 90 sec</description>
        </setting>
        <setting name="P262" if="Ht486">
            <label>Caller Request Timer</label>
            <type>
                <boolean/>
            </type>
            <value>0</value>
            <description>Request for timer when making outbound calls.</description>
        </setting>
        <setting name="P263" if="Ht486">
            <label>Callee Request Timer</label>
            <type>
                <boolean/>
            </type>
            <value>0</value>
            <description>When caller supports timer but did not request one.</description>
        </setting>
        <setting name="P264" if="Ht486">
            <label>Force Timer</label>
            <type>
                <boolean/>
            </type>
            <value>0</value>
            <description>User timer even when remote party does not support.</description>
        </setting>
        <setting name="P266" if="Ht486">
            <label>UAC Specify Refresher</label>
            <type>
                <enum>
                    <option>
                        <label>UAC</label><value>1</value>
                    </option>
                    <option>
                        <label>UAS</label><value>2</value>
                    </option>
                    <option>
                        <label>Omit</label><value>0</value>
                    </option>
                </enum>
            </type>
            <value>0</value>
        </setting>
        <setting name="P267" if="Ht486">
            <label>UAS Specify Refresher</label>
            <type>
                <enum>
                    <option>
                        <label>UAC</label><value>1</value>
                    </option>
                    <option>
                        <label>UAS</label><value>2</value>
                    </option>
                </enum>
            </type>
            <value>1</value>
            <description>When UAC did not specify refresher tag.</description>
        </setting>
        <setting name="P265" if="Ht486">
            <label>Force INVITE</label>
            <type>
                <boolean/>
            </type>
            <value>0</value>
            <description>Always refresh with INVITE instead of UPDATE.</description>
        </setting>
    </group>
    <group name="speeddial" if="PhoneGxp">
        <label>Speed Dial</label>
        <setting name="P302">
            <label>Speed Dial 1 Name</label>
            <type>
                <string/>
            </type>
            <value></value>
        </setting>
        <setting name="P303">
            <label>Speed Dial 1 UserID</label>
            <type>
                <integer/>
            </type>
            <value></value>
        </setting>
        <setting name="P301">
            <label>Speed Dial 1 Account</label>
            <type refid="gxpaccount"/>
            <value>0</value>
        </setting>
        <setting name="P305">
            <label>Speed Dial 2 Name</label>
            <type>
                <string/>
            </type>
            <value></value>
        </setting>
        <setting name="P306">
            <label>Speed Dial 2 UserID</label>
            <type>
                <integer/>
            </type>
            <value></value>
        </setting>
        <setting name="P304">
            <label>Speed Dial 2 Account</label>
            <type refid="gxpaccount"/>
            <value>0</value>
        </setting>
        <setting name="P308">
            <label>Speed Dial 3 Name</label>
            <type>
                <string/>
            </type>
            <value></value>
        </setting>
        <setting name="P309">
            <label>Speed Dial 3 UserID</label>
            <type>
                <integer/>
            </type>
            <value></value>
        </setting>
        <setting name="P307">
            <label>Speed Dial 3 Account</label>
            <type refid="gxpaccount"/>
            <value>0</value>
        </setting>
        <setting name="P311">
            <label>Speed Dial 4 Name</label>
            <type>
                <string/>
            </type>
            <value></value>
        </setting>
        <setting name="P312">
            <label>Speed Dial 4 UserID</label>
            <type>
                <integer/>
            </type>
            <value></value>
        </setting>
        <setting name="P310">
            <label>Speed Dial 4 Account</label>
            <type refid="gxpaccount"/>
            <value>0</value>
        </setting>
        <setting name="P314">
            <label>Speed Dial 5 Name</label>
            <type>
                <string/>
            </type>
            <value></value>
        </setting>
        <setting name="P315">
            <label>Speed Dial 5 UserID</label>
            <type>
                <integer/>
            </type>
            <value></value>
        </setting>
        <setting name="P313">
            <label>Speed Dial 5 Account</label>
            <type refid="gxpaccount"/>
            <value>0</value>
        </setting>
        <setting name="P317">
            <label>Speed Dial 6 Name</label>
            <type>
                <string/>
            </type>
            <value></value>
        </setting>
        <setting name="P318">
            <label>Speed Dial 6 UserID</label>
            <type>
                <integer/>
            </type>
            <value></value>
        </setting>
        <setting name="P316">
            <label>Speed Dial 6 Account</label>
            <type refid="gxpaccount"/>
            <value>0</value>
        </setting>
        <setting name="P320">
            <label>Speed Dial 7 Name</label>
            <type>
                <string/>
            </type>
            <value></value>
        </setting>
        <setting name="P321">
            <label>Speed Dial 7 UserID</label>
            <type>
                <integer/>
            </type>
            <value></value>
        </setting>
        <setting name="P319">
            <label>Speed Dial 7 Account</label>
            <type refid="gxpaccount"/>
            <value>0</value>
        </setting>
    </group>
    <group name="wan" if="Ht4.*">
        <label>WAN</label>
        <setting name="P110">
            <label>LAN Subnet Mask</label>
            <type>
                <ipaddr/>
            </type>
            <value>255.255.255.0</value>
        </setting>
        <setting name="P111">
            <label>LAN DHCP Base IP</label>
            <type>
                <ipaddr/>
            </type>
            <value>192.168.2.1</value>
            <description>Base IP for the LAN port.</description>
        </setting>
        <setting name="P112">
            <label>DHCP IP Lease Time</label>
            <type>
                <integer/>
            </type>
            <value>120</value>
            <description>hours</description>
        </setting>
        <setting name="P113">
            <label>DMZ IP</label>
            <type>
                <ipaddr/>
            </type>
            <value></value>
        </setting>
        <setting name="P115">
            <label>Cloned WAN MAC Addr</label>
            <type>
                <string/>
            </type>
            <value></value>
            <description>hex byte 1</description>
        </setting>
        <setting name="P116">
            <label>Cloned WAN MAC Addr</label>
            <type>
                <string/>
            </type>
            <value></value>
            <description>hex byte 2</description>
        </setting>
        <setting name="P117">
            <label>Cloned WAN MAC Addr</label>
            <type>
                <string/>
            </type>
            <value></value>
            <description>hex byte 3</description>
        </setting>
        <setting name="P118">
            <label>Cloned WAN MAC Addr</label>
            <type>
                <string/>
            </type>
            <value></value>
            <description>hex byte 4</description>
        </setting>
        <setting name="P119">
            <label>Cloned WAN MAC Addr</label>
            <type>
                <string/>
            </type>
            <value></value>
            <description>hex byte 5</description>
        </setting>
        <setting name="P120">
            <label>Cloned WAN MAC Addr</label>
            <type>
                <string/>
            </type>
            <value></value>
            <description>hex byte 6</description>
        </setting>
        <setting name="P150">
            <label>Port Forwarding 1</label>
            <type>
                <integer/>
            </type>
            <value></value>
            <description>WAN port</description>
        </setting>
        <setting name="P158">
            <label>Port Forwarding 1</label>
            <type>
                <ipaddr/>
            </type>
            <value></value>
            <description>LAN IP</description>
        </setting>
        <setting name="P166">
            <label>Port Forwarding 1</label>
            <type>
                <integer/>
            </type>
            <value></value>
            <description>LAN port</description>
        </setting>
        <setting name="P174">
            <label>Port Forwarding 1</label>
            <type>
                <enum>
                    <option>
                        <label>UDP only</label><value>0</value>
                    </option>
                    <option>
                        <label>TCP only</label><value>1</value>
                    </option>
                    <option>
                        <label>TCP/UDP</label><value>2</value>
                    </option>
                </enum>
            </type>
            <value></value>
            <description>Protocol</description>
        </setting>
        <setting name="P151">
            <label>Port Forwarding 2</label>
            <type>
                <integer/>
            </type>
            <value></value>
            <description>WAN port</description>
        </setting>
        <setting name="P159">
            <label>Port Forwarding 2</label>
            <type>
                <ipaddr/>
            </type>
            <value></value>
            <description>LAN IP</description>
        </setting>
        <setting name="P167">
            <label>Port Forwarding 2</label>
            <type>
                <integer/>
            </type>
            <value></value>
            <description>LAN port</description>
        </setting>
        <setting name="P175">
            <label>Port Forwarding 2</label>
            <type>
                <enum>
                    <option>
                        <label>UDP only</label><value>0</value>
                    </option>
                    <option>
                        <label>TCP only</label><value>1</value>
                    </option>
                    <option>
                        <label>TCP/UDP</label><value>2</value>
                    </option>
                </enum>
            </type>
            <value></value>
            <description>Protocol</description>
        </setting>
        <setting name="P152">
            <label>Port Forwarding 3</label>
            <type>
                <integer/>
            </type>
            <value></value>
            <description>WAN port</description>
        </setting>
        <setting name="P160">
            <label>Port Forwarding 3</label>
            <type>
                <ipaddr/>
            </type>
            <value></value>
            <description>LAN IP</description>
        </setting>
        <setting name="P168">
            <label>Port Forwarding 3</label>
            <type>
                <integer/>
            </type>
            <value></value>
            <description>LAN port</description>
        </setting>
        <setting name="P176">
            <label>Port Forwarding 3</label>
            <type>
                <enum>
                    <option>
                        <label>UDP only</label><value>0</value>
                    </option>
                    <option>
                        <label>TCP only</label><value>1</value>
                    </option>
                    <option>
                        <label>TCP/UDP</label><value>2</value>
                    </option>
                </enum>
            </type>
            <value></value>
            <description>Protocol</description>
        </setting>
        <setting name="P153">
            <label>Port Forwarding 4</label>
            <type>
                <integer/>
            </type>
            <value></value>
            <description>WAN port</description>
        </setting>
        <setting name="P161">
            <label>Port Forwarding 4</label>
            <type>
                <ipaddr/>
            </type>
            <value></value>
            <description>LAN IP</description>
        </setting>
        <setting name="P169">
            <label>Port Forwarding 4</label>
            <type>
                <integer/>
            </type>
            <value></value>
            <description>LAN port</description>
        </setting>
        <setting name="P177">
            <label>Port Forwarding 4</label>
            <type>
                <enum>
                    <option>
                        <label>UDP only</label><value>0</value>
                    </option>
                    <option>
                        <label>TCP only</label><value>1</value>
                    </option>
                    <option>
                        <label>TCP/UDP</label><value>2</value>
                    </option>
                </enum>
            </type>
            <value></value>
            <description>Protocol</description>
        </setting>
        <setting name="P154">
            <label>Port Forwarding 5</label>
            <type>
                <integer/>
            </type>
            <value></value>
            <description>WAN port</description>
        </setting>
        <setting name="P162">
            <label>Port Forwarding 5</label>
            <type>
                <ipaddr/>
            </type>
            <value></value>
            <description>LAN IP</description>
        </setting>
        <setting name="P170">
            <label>Port Forwarding 5</label>
            <type>
                <integer/>
            </type>
            <value></value>
            <description>LAN port</description>
        </setting>
        <setting name="P178">
            <label>Port Forwarding 5</label>
            <type>
                <enum>
                    <option>
                        <label>UDP only</label><value>0</value>
                    </option>
                    <option>
                        <label>TCP only</label><value>1</value>
                    </option>
                    <option>
                        <label>TCP/UDP</label><value>2</value>
                    </option>
                </enum>
            </type>
            <value></value>
            <description>Protocol</description>
        </setting>
        <setting name="P155">
            <label>Port Forwarding 6</label>
            <type>
                <integer/>
            </type>
            <value></value>
            <description>WAN port</description>
        </setting>
        <setting name="P163">
            <label>Port Forwarding 6</label>
            <type>
                <ipaddr/>
            </type>
            <value></value>
            <description>LAN IP</description>
        </setting>
        <setting name="P171">
            <label>Port Forwarding 6</label>
            <type>
                <integer/>
            </type>
            <value></value>
            <description>LAN port</description>
        </setting>
        <setting name="P179">
            <label>Port Forwarding 6</label>
            <type>
                <enum>
                    <option>
                        <label>UDP only</label><value>0</value>
                    </option>
                    <option>
                        <label>TCP only</label><value>1</value>
                    </option>
                    <option>
                        <label>TCP/UDP</label><value>2</value>
                    </option>
                </enum>
            </type>
            <value></value>
            <description>Protocol</description>
        </setting>
        <setting name="P156">
            <label>Port Forwarding 7</label>
            <type>
                <integer/>
            </type>
            <value></value>
            <description>WAN port</description>
        </setting>
        <setting name="P164">
            <label>Port Forwarding 7</label>
            <type>
                <ipaddr/>
            </type>
            <value></value>
            <description>LAN IP</description>
        </setting>
        <setting name="P172">
            <label>Port Forwarding 7</label>
            <type>
                <integer/>
            </type>
            <value></value>
            <description>LAN port</description>
        </setting>
        <setting name="P180">
            <label>Port Forwarding 7</label>
            <type>
                <enum>
                    <option>
                        <label>UDP only</label><value>0</value>
                    </option>
                    <option>
                        <label>TCP only</label><value>1</value>
                    </option>
                    <option>
                        <label>TCP/UDP</label><value>2</value>
                    </option>
                </enum>
            </type>
            <value></value>
            <description>Protocol</description>
        </setting>
        <setting name="P157">
            <label>Port Forwarding 8</label>
            <type>
                <integer/>
            </type>
            <value></value>
            <description>WAN port</description>
        </setting>
        <setting name="P165">
            <label>Port Forwarding 8</label>
            <type>
                <ipaddr/>
            </type>
            <value></value>
            <description>LAN IP</description>
        </setting>
        <setting name="P173">
            <label>Port Forwarding 8</label>
            <type>
                <integer/>
            </type>
            <value></value>
            <description>LAN port</description>
        </setting>
        <setting name="P181">
            <label>Port Forwarding 8</label>
            <type>
                <enum>
                    <option>
                        <label>UDP only</label><value>0</value>
                    </option>
                    <option>
                        <label>TCP only</label><value>1</value>
                    </option>
                    <option>
                        <label>TCP/UDP</label><value>2</value>
                    </option>
                </enum>
            </type>
            <value></value>
            <description>Protocol</description>
        </setting>
        <setting name="P231">
            <label>Device Mode</label>
            <type>
                <enum>
                    <option>
                        <label>NAT Router</label><value>0</value>
                    </option>
                    <option>
                        <label>Bridge</label><value>1</value>
                    </option>
                </enum>
            </type>
            <value>0</value>
        </setting>
    </group>
    <group name="pstn" if="Ht488">
        <label>PSTN</label>
        <setting name="P195">
            <label>PSTN Access Code</label>
            <type>
                <string/>
            </type>
            <value>*00</value>
            <description>Key pattern to use the PSTN line.</description>
        </setting>
        <setting name="P260">
            <label>Route Call to PSTN 1</label>
            <type>
                <string/>
            </type>
            <value></value>
            <description>Outbound calls will be routed to PSTN port when dialed digits match.</description>
        </setting>
        <setting name="P261">
            <label>Route Call to PSTN 2</label>
            <type>
                <string/>
            </type>
            <value></value>
            <description>Outbound calls will be routed to PSTN port when dialed digits match.</description>
        </setting>
        <setting name="P262">
            <label>Route Call to PSTN 3</label>
            <type>
                <string/>
            </type>
            <value></value>
            <description>Outbound calls will be routed to PSTN port when dialed digits match.</description>
        </setting>
        <setting name="P263">
            <label>Route Call to PSTN 4</label>
            <type>
                <string/>
            </type>
            <value></value>
            <description>Outbound calls will be routed to PSTN port when dialed digits match.</description>
        </setting>
        <setting name="P264">
            <label>Route Call to PSTN 5</label>
            <type>
                <string/>
            </type>
            <value></value>
            <description>Outbound calls will be routed to PSTN port when dialed digits match.</description>
        </setting>
        <setting name="P270">
            <label>Forward to PSTN</label>
            <type>
                <string/>
            </type>
            <value></value>
            <description>VoIP calls will be forwarded to the specified PSTN number.</description>
        </setting>
        <setting name="P271">
            <label>Forward to VoIP</label>
            <type>
                <string/>
            </type>
            <value></value>
            <description>PSTN calls will be forwarded to the specified VoIP number.</description>
        </setting>
        <setting name="P780">
            <label>Route Call to PSTN 1</label>
            <type>
                <string/>
            </type>
            <value></value>
            <description>Outbound calls will be routed to PSTN port when dialed digits match.</description>
        </setting>
        <setting name="P781">
            <label>Route Call to PSTN 2</label>
            <type>
                <string/>
            </type>
            <value></value>
            <description>Outbound calls will be routed to PSTN port when dialed digits match.</description>
        </setting>
        <setting name="P782">
            <label>Route Call to PSTN 3</label>
            <type>
                <string/>
            </type>
            <value></value>
            <description>Outbound calls will be routed to PSTN port when dialed digits match.</description>
        </setting>
        <setting name="P783">
            <label>Route Call to PSTN 4</label>
            <type>
                <string/>
            </type>
            <value></value>
            <description>Outbound calls will be routed to PSTN port when dialed digits match.</description>
        </setting>
        <setting name="P784">
            <label>Route Call to PSTN 5</label>
            <type>
                <string/>
            </type>
            <value></value>
            <description>Outbound calls will be routed to PSTN port when dialed digits match.</description>
        </setting>
        <setting name="P794">
            <label>PIN for PSTN Calls</label>
            <type>
                <string/>
            </type>
            <value></value>
            <description>Enter digits to authorize calling PSTN numbers from VoIP.</description>
        </setting>
        <setting name="P795">
            <label>PIN for VoIP Calls</label>
            <type>
                <string/>
            </type>
            <value></value>
            <description>Enter digits to authorize calling VoIP terminals from PSTN.</description>
        </setting>
        <setting name="P796">
            <label>Forward to PSTN</label>
            <type>
                <string/>
            </type>
            <value></value>
            <description>VoIP calls will be forwarded to the specified PSTN number.</description>
        </setting>
        <setting name="P797">
            <label>Forward to VoIP</label>
            <type>
                <string/>
            </type>
            <value></value>
            <description>PSTN calls will be forwarded to the specified VoIP number.</description>
        </setting>
        <setting name="P798">
            <label>Number of Rings</label>
            <type>
                <integer/>
            </type>
            <value>4</value>
            <description>Number of phone rings before a PSTN incoming call is forwarded.</description>
        </setting>
        <setting name="P799">
            <label>FXS Phone Line Failover</label>
            <type>
                <boolean/>
            </type>
            <value>0</value>
            <description>Automatically connect to PSTN when Ethernet down or SIP registration is lost. No IVR available if enabled.</description>
        </setting>
        <setting name="P800">
            <label>PSTN AC Termination</label>
            <type>
                <enum>
                    <option>
                        <label>
                            600 Ohm (North America)
                        </label>
                        <value>0</value>
                    </option>
                    <option>
                        <label>
                            900 Ohm
                        </label>
                        <value>1</value>
                    </option>
                    <option>
                        <label>
                            270 Ohm + (750 Ohm || 150 nF) and 275 Ohm + (780 Ohm || 150 nF)
                        </label>
                        <value>2</value>
                    </option>
                    <option>
                        <label>
                            220 Ohm + (820 Ohm || 120 nF) and 220 Ohm + (820 Ohm || 115 nF)
                        </label>
                        <value>3</value>
                    </option>
                    <option>
                        <label>
                            370 Ohm + (620 Ohm || 310 nF)
                        </label>
                        <value>4</value>
                    </option>
                    <option>
                        <label>
                            320 Ohm + (1050 Ohm || 230 nF))
                        </label>
                        <value>5</value>
                    </option>
                    <option>
                        <label>
                            370 Ohm + (820 Ohm || 110 nF)
                        </label>
                        <value>6</value>
                    </option>
                    <option>
                        <label>
                            275 Ohm + (780 Ohm || 150 nF)
                        </label>
                        <value>7</value>
                    </option>
                    <option>
                        <label>
                            120 Ohm + (820 Ohm || 110 nF)
                        </label>
                        <value>8</value>
                    </option>
                    <option>
                        <label>
                            350 Ohm + (1000 Ohm || 210 nF)
                        </label>
                        <value>9</value>
                    </option>
                    <option>
                        <label>
                            0Ohm + (900 Ohm || 30 nF)
                        </label>
                        <value>10</value>
                    </option>
                    <option>
                        <label>
                            600 Ohm + 2.16 uF
                        </label>
                        <value>11</value>
                    </option>
                    <option>
                        <label>
                            900 Ohm + 1 uF
                        </label>
                        <value>12</value>
                    </option>
                    <option>
                        <label>
                            900 Ohm + 2.16 uF
                        </label>
                        <value>13</value>
                    </option>
                    <option>
                        <label>
                            600 Ohm + 1 uF
                        </label>
                        <value>14</value>
                    </option>
                    <option>
                        <label>
                            Global complex impedance
                        </label>
                        <value>15</value>
                    </option>
                </enum>
            </type>
            <value>0</value>
            <description>Impedance.</description>
        </setting>
        <setting name="P801">
            <label>PSTN Disconnect Tone 1</label>
            <type>
                <integer/>
            </type>
            <value>480</value>
            <description>Frequency f1 Hz</description>
        </setting>
        <setting name="P802">
            <label>PSTN Disconnect Tone 2</label>
            <type>
                <integer/>
            </type>
            <value>620</value>
            <description>Frequency f2 Hz, 0 = inactive</description>
        </setting>
        <setting name="P804">
            <label>PSTN Disconnect Tone Cadence</label>
            <type>
                <integer/>
            </type>
            <value></value>
            <description>Choice 1 On (ms, 0 = disabled)</description>
        </setting>
        <setting name="P805">
            <label>PSTN Disconnect Tone Cadence</label>
            <type>
                <integer/>
            </type>
            <value></value> 
            <description>Choice 1 Off (ms, 0 = disabled)</description>
        </setting>
        <setting name="P806">
            <label>PSTN Disconnect Tone Cadence</label>
            <type>
                <integer/>
            </type>
            <value></value>
            <description>Choice 2 On (ms, 0 = disabled)</description>
        </setting>
        <setting name="P807">
            <label>PSTN Disconnect Tone Cadence</label>
            <type>
                <integer/>
            </type>
            <value></value> 
            <description>Choice 2 Off (ms, 0 = disabled)</description>
        </setting>
        <setting name="P808">
            <label>PSTN Disconnect Tone Cadence</label>
            <type>
                <integer/>
            </type>
            <value></value>
            <description>Choice 3 On (ms, 0 = disabled)</description>
        </setting>
        <setting name="P809">
            <label>PSTN Disconnect Tone Cadence</label>
            <type>
                <integer/>
            </type>
            <value></value> 
            <description>Choice 3 Off (ms, 0 = disabled)</description>
        </setting>
        <setting name="P810">
            <label>PSTN Silence Timeout</label>
            <type>
                <integer/>
            </type>
            <value>60</value>
            <description>sec, Terminate call after long silence detected, max 65536 sec</description>
        </setting>
    </group>
    <group name="upgrade">
        <label>Upgrade</label>
        <setting name="P212" if="Phone.*|Ht286|Ht486">
            <label>Firmware Upgrade Type</label>
            <type>
                <enum>
                    <option>
                        <label>TFTP Upgrade</label><value>0</value>
                    </option>
                    <option>
                        <label>HTTP Upgrade</label><value>1</value>
                    </option>
                </enum>
            </type>
            <value>0</value>
        </setting>
        <setting name="P192" if="Phone.*|Ht286|Ht486">
            <label>Firmware Server Path</label>
            <type>
                <string/>
            </type>
            <value></value>
        </setting>
        <setting name="__TFTPServer-213" if="PhoneGxp|Ht286">
            <label>TFTP server</label>
            <profileName>P213,P214,P215,P216</profileName>
            <type>
                <ipaddr/>
            </type>
            <value></value>
            <description>TFTP Server address.</description>
        </setting>        
        <setting name="__TFTPServerOld-41" if="Ht386|Ht488|Ht496">
            <label>TFTP server</label>
            <profileName>P41,P42,P43,P44</profileName>
            <type>
                <ipaddr/>
            </type>
            <value></value>
        </setting>
        <setting name="P193" if="Phone.*|Ht286|Ht486">
            <label>Automatic HTTP Upgrade</label>
            <type>
                <boolean/>
            </type>
            <value>0</value>
            <description>Checking every defined days.</description>
        </setting>
        <setting name="P194" if="Phone.*|Ht286|Ht486">
            <label>Check Interval</label>
            <type>
                <integer/>
            </type>
            <value>7</value>
            <description>Check for new firmware every x days</description>
        </setting>
        <setting name="P232" if="PhoneBt|Ht486">
            <label>Firmware File Prefix</label>
            <type>
                <string/>
            </type>
            <value></value>
        </setting>
        <setting name="P233" if="PhoneBt|Ht486">
            <label>Firmware File Postfix</label>
            <type>
                <string/>
            </type>
            <value></value>
        </setting>
        <setting name="P234" if="PhoneBt|Ht486">
            <label>Config File Prefix</label>
            <type>
                <string/>
            </type>
            <value></value>
        </setting>
        <setting name="P235" if="PhoneBt|Ht486">
            <label>Config File Postfix</label>
            <type>
                <string/>
            </type>
            <value></value>
        </setting>
        <setting name="P237" if="PhoneBt|Ht486">
            <label>Config Server Path</label>
            <type>
                <string/>
            </type>
            <value></value>
        </setting>
        <setting name="P238" if="PhoneBt|Ht486">
            <label>Firmware Check</label>
            <type>
                <enum>
                    <option>
                        <label>Always</label><value>0</value>
                    </option>
                    <option>
                        <label>Only when FW pre/suffix changes</label><value>1</value>
                    </option>
                </enum>
            </type>
            <value>0</value>
        </setting>
        <setting name="P240" if="PhoneBt|Ht286|Ht486">
            <label>Authenticate Conf File</label>
            <type>
                <boolean/>
            </type>
            <value>0</value>
            <description>Authenticate configuration file before acceptance.</description>
        </setting>
        <setting name="P242" if="PhoneBt|Ht486">
            <label>Firmware Key</label>
            <type>
                <string/>
            </type>
            <value></value>
            <description>(in hexadecimal representation)</description>
        </setting>
        <setting name="P88">
            <label>Lock Keypad Update</label>
            <type>
                <boolean/>
            </type>
            <value>0</value>
            <description>Configuration update via keypad is disabled if checked.</description>
        </setting>
    </group>
</model>
