Somehow my groups that have if= attributes won't disappear no matter
what, as if the attribute wasn't set. Does anyone know what I'm doing
wrong? I just can't find an error there and the log doesn't say anything
either
<?xml version="1.0"?>
<!DOCTYPE model
PUBLIC "-//SIPFoundry//sipXconfig//Model specification 2.0//EN"
"http://www.sipfoundry.org/sipXconfig/dtd/setting_2_0.dtd">
<model>
<type id="bool">
<boolean>
<true><value>true</value></true>
<false><value>false</value></false>
</boolean>
</type>
<group name="id">
<label>Identity</label>
<setting name = "e164">
<label>E-164 number</label>
<type><string /></type>
<value></value>
<description>E-164 number of the phone, doubles as username</description>
</setting>
<setting name = "sip-user-id">
<label>User name</label>
<type><string /></type>
<value></value>
<description>Username for SIP registration</description>
</setting>
<setting name = "sip-pwd">
<label>Password</label>
<type><string /></type>
<value></value>
<description>Password for SIP registration</description>
</setting>
<setting name = "use-display-id">
<label>Enable Display ID</label>
<type refid="bool" />
<value>true</value>
<description>Show Display ID instead of terminal name on status display</description>
</setting>
<setting name = "display-id-unicode">
<label>Display identity</label>
<type><string maxLen="24" /></type>
<value></value>
<description>Unicode display ID shown if enabled</description>
</setting>
</group>
<group name="server">
<label>Server</label>
<setting name = "reg-addr">
<label>SIP Proxy Address</label>
<type><hostname /></type>
<value></value>
<description>Address of the SIP proxy server</description>
</setting>
<setting name = "reg-port">
<label>SIP Proxy Port</label>
<type><integer /></type>
<value>5060</value>
<description>Port of the SIP proxy server</description>
</setting>
<setting name = "registrar-addr">
<label>SIP Registrar Address</label>
<type><hostname /></type>
<value></value>
<description>Address of the SIP registrar server</description>
</setting>
<setting name = "registrar-port">
<label>SIP Registrar Port</label>
<type><integer /></type>
<value>5060</value>
<description>Port of the SIP registrar server</description>
</setting>
</group>
</model><?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:util="http://www.springframework.org/schema/util"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
<bean id="openstageModel" class="org.sipfoundry.sipxconfig.phone.PhoneModel" parent="abstractPhoneModel" abstract="true">
<property name="beanId" value="openstagePhone"/>
<property name="maxLineCount" value="1"/>
<property name="profileTemplate" value="openstagePhone/config.vm" />
<property name="restartSupported" value="true" />
</bean>
<bean id="openstage20" parent="openstageModel">
<property name="label" value="Siemens OpenStage 20"/>
</bean>
<bean id="openstage40" parent="openstageModel">
<property name="label" value="Siemens OpenStage 40"/>
<property name="supportedFeatures">
<set>
<value>fpk</value>
</set>
</property>
</bean>
<bean id="openstage60" parent="openstageModel">
<property name="label" value="Siemens OpenStage 60"/>
<property name="supportedFeatures">
<set>
<value>fpk</value>
</set>
</property>
</bean>
<bean id="openstagePhone" class="org.sipfoundry.sipxconfig.phone.openstage.OpenstagePhone" scope="prototype"
parent="abstractPhone">
<property name="ldapManager" ref="ldapManager" />
</bean>
</beans>
<?xml version="1.0"?>
<!DOCTYPE model
PUBLIC "-//SIPFoundry//sipXconfig//Model specification 2.0//EN"
"http://www.sipfoundry.org/sipXconfig/dtd/setting_2_0.dtd">
<model>
<type id="bool">
<boolean>
<true><value>true</value></true>
<false><value>false</value></false>
</boolean>
</type>
<type id="cos3">
<enum>
<option><label>BE</label><value>0</value></option>
<option><label>AF11</label><value>10</value></option>
<option><label>AF12</label><value>11</value></option>
<option><label>AF13</label><value>12</value></option>
<option><label>AF21</label><value>18</value></option>
<option><label>AF22</label><value>20</value></option>
<option><label>AF23</label><value>22</value></option>
<option><label>AF31</label><value>26</value></option>
<option><label>AF32</label><value>28</value></option>
<option><label>AF33</label><value>30</value></option>
<option><label>AF41</label><value>34</value></option>
<option><label>AF42</label><value>36</value></option>
<option><label>AF43</label><value>38</value></option>
<option><label>EF</label><value>46</value></option>
<option><label>CS7</label><value>56</value></option>
</enum>
</type>
<type id="port-speed">
<enum>
<option><label>Automatic</label><value>0</value></option>
<option><label>10MBit/s Half Duplex</label><value>1</value></option>
<option><label>10MBit/s Full Duplex</label><value>2</value></option>
<option><label>100MBit/s Half Duplex</label><value>3</value></option>
<option><label>100MBit/s Full Duplex</label><value>4</value></option>
<option><label>Gigabit/s Half Duplex</label><value>5</value></option>
<option><label>Gigabit/s Full Duplex</label><value>6</value></option>
</enum>
</type>
<type id="fpk-func">
<enum>
<option><label>None</label><value>0</value></option>
<option><label>Dial pre-defined number</label><value>1</value></option>
<option><label>Re-dial last number</label><value>3</value></option>
<!-- Value 6 is forwarding, sipXecs does not like phones trying to forward stuff so it's disabled-->
<option><label>Disable ringer (calls will be indicated visually)</label><value>9</value></option>
<option><label>Put call on hold</label><value>10</value></option>
<option><label>Alternate between two calls</label><value>11</value></option>
<option><label>Blind transfer</label><value>12</value></option>
<option><label>Join active call with call on hold, disconnect this phone</label><value>13</value></option>
<!-- 14 is deflect, disabled -->
<option><label>Shift FPKs</label><value>18</value></option>
<option><label>Establish conference with active call and call on hold</label><value>22</value></option>
<option><label>Accept call with headset</label><value>24</value></option>
<option><label>Set Do Not Disturb</label><value>25</value></option>
<option><label>Repertory Dial (refer to OpenStage administration manual)</label><value>30</value></option>
<!-- Supposedly only works with a proprietary kind of server.
The parameters are not documented and would need to be figured out manually
<option><label>Switch Line</label><value>31</value>-->
<option><label>Consult and transfer</label><value>50</value></option>
<option><label>Call waiting toggle</label><value></value>53</option>
<!-- 54 is Invoke Server Feature-->
<option><label>Busy Lamp Field</label><value>59</value></option>
<!-- 60 is Start XML Application-->
<!-- 63 is Send URL, requires Firmware V2-->
</enum>
</type>
<group name="network">
<label>Network</label>
<group name="ip">
<label>IP configuration</label>
<setting name = "lldp-enabled" advanced="yes">
<label>LLP-MED Enabled</label>
<type refid="bool" />
<value>false</value>
<description>Set VLAN ID and QoS parameters via LLDP-MED</description>
</setting>
<setting name = "dhcp" advanced="yes">
<label>DHCP Enabled</label>
<type refid="bool" />
<value>true</value>
<description>Enable DHCP discovery (DHCP also provides server addresses)</description>
</setting>
<setting name = "dhcp-reuse" advanced="yes">
<label>DHCP Lease Reuse</label>
<type refid="bool" />
<value>false</value>
<description>Keep lease IP address if the lease expires and no new lease can be obtained</description>
</setting>
<setting name = "ipaddress" advanced="yes">
<label>IP Address</label>
<type><ipaddr /></type>
<value></value>
<description>Phone IP address, read-only if provided by DHCP</description>
</setting>
<setting name = "mask" advanced="yes">
<label>Subnet Mask</label>
<type><ipaddr /></type>
<value></value>
<description>The phone's subnet, read-only if provided by DHCP</description>
</setting>
<setting name = "route" advanced="yes">
<label>Default route</label>
<type><ipaddr required="false" /></type>
<value></value>
<description>Default network route for the phone, read-only if provided by DHCP</description>
</setting>
<setting name = "dns-domain-name" advanced="yes">
<label>DNS domain</label>
<type><string /></type>
<value></value>
<description>DNS domain where the phone is residing, read-only if provided by DHCP</description>
</setting>
<setting name = "dns-server-addr" advanced="yes">
<label>Primary DNS</label>
<type><ipaddr required="false" /></type>
<value></value>
<description>Primary DNS server address, read-only if provided by DHCP</description>
</setting>
<setting name = "dns-server-addr2" advanced="yes">
<label>Secondary DNS</label>
<type><ipaddr required="false" /></type>
<value></value>
<description>Secondary DNS server address, read-only if provided by DHCP</description>
</setting>
<setting name = "route1">
<label>Route 1 IP address</label>
<type><ipaddr required="false" /></type>
<value></value>
<description>Specific route 1</description>
</setting>
<setting name = "gw1">
<label>Route 1 gateway</label>
<type><ipaddr required="false" /></type>
<value></value>
<description>Gateway for specific route 1</description>
</setting>
<setting name = "mask1">
<label>Route 1 mask</label>
<type><ipaddr required="false" /></type>
<value></value>
<description>Subnet mask for specific route 1</description>
</setting>
<setting name = "route2">
<label>Route 2</label>
<type><ipaddr required="false" /></type>
<value></value>
<description>Specific route 2</description>
</setting>
<setting name = "gw2">
<label>Route 2 gateway</label>
<type><ipaddr required="false" /></type>
<value></value>
<description>Gateway for specific route 2</description>
</setting>
<setting name = "mask2">
<label>Route 2 mask</label>
<type><ipaddr required="false" /></type>
<value></value>
<description>Subnet mask for specific route 1</description>
</setting>
<setting name = "vlan-method" advanced="yes">
<label>VLAN discovery method</label>
<type>
<enum>
<option><label>Manual</label><value>0</value></option>
<option><label>DHCP</label><value>1</value></option>
<option><label>LLDP</label><value>2</value></option>
</enum>
</type>
<value>1</value>
<description>Method for determining VLAN ID</description>
</setting>
<setting name = "vlan-id" advanced="yes">
<label>VLAN ID</label>
<type><integer min="0" max="4095" /></type>
<value></value>
<description>VLAN ID for the phone, read-only if set by DHCP vendor specific option</description>
</setting>
</group>
<group name = "dls" advanced="yes">
<label>Provisioning Interface</label>
<setting name = "dls-addr" advanced="yes">
<label>Provisioning server address</label>
<type><hostname /></type>
<value></value>
<description>IP address or hostname of the provisioning server, read-only if provided by DHCP vendor-specific option</description>
</setting>
<setting name = "dls-port" advanced="yes">
<label>Provisioning server port</label>
<type><integer /></type>
<value>18443</value>
<description>Port the OpenStage-specific provisioning server is listening at, read-only if provided by DHCP vendor-specific option</description>
</setting>
<setting name = "dls-contact-gap">
<label>Contact gap</label>
<type><integer /></type>
<value>300</value>
<description>Minimum time interval in seconds between responses to contact-me requests</description>
</setting>
<!-- Has no place in the web interface
<setting name = "contact-me-uri">
<label>Contact URI</label>
<type><hostname /></type>
<value></value>
<description>URI to which the provisioning server must send contact-me messages to reach the phone, READ-ONLY</description>
</setting>
<setting name = "configuration-changed-flag">
<label>Configuration changed</label>
<type refid="bool" />
<value>false</value>
<description>Has the configuration changed since the last contact with the provisioning server? READ-ONLY</description>
</setting>
-->
</group>
<group name = "qos">
<label>Quality of Service</label>
<setting name = "qos-layer2" advanced="yes">
<label>Layer 2 QoS</label>
<type refid="bool" />
<value>true</value>
<description>Enable QoS layer 2</description>
</setting>
<setting name = "l2qos-voice" advanced="yes">
<label>Layer 2 voice CoS</label>
<type><integer max="7" /></type>
<value>5</value>
<description>The layer 2 Class of Service value for voice (RTP streams)</description>
</setting>
<setting name = "l2qos-signalling" advanced="yes">
<label>Layer 2 signaling CoS</label>
<type><integer max="7" /></type>
<value>5</value>
<description>The Class of Service for signaling</description>
</setting>
<setting name = "l2qos-default" advanced="yes">
<label>Layer 2 default CoS</label>
<type><integer max="7" /></type>
<value>0</value>
<description>The default Class of Service</description>
</setting>
<setting name = "qos-layer3" advanced="yes">
<label>Layer 3 QoS</label>
<type refid="bool" />
<value>true</value>
<description>Enable layer 3 QoS</description>
</setting>
<setting name = "l3qos-voice" advanced="yes">
<label>Layer 3 voice CoS</label>
<type refid="cos3" />
<value>46</value>
<description>The layer 3 Class of Service for voice data (RTP streams)</description>
</setting>
<setting name = "l3qos-signalling" advanced="yes">
<label>Layer 3 signaling CoS</label>
<type refid="cos3" />
<value>26</value>
<description>The layer 3 Class of Service for signaling</description>
</setting>
</group>
<group name = "ports">
<label>Port configuration</label>
<setting name = "sgnl-gateway-port-user">
<label>SIP gateway port</label>
<type><integer /></type>
<value>5060</value>
<description>Port of the SIP gateway</description>
</setting>
<setting name = "phone-port">
<label>SIP local port</label>
<type><integer /></type>
<value>5060</value>
<description>Port for sending and receiving SIP messages</description>
</setting>
<setting name = "backup-port">
<label>Backup proxy port</label>
<type><integer /></type>
<value>5060</value>
<description>Port of the backup proxy server</description>
</setting>
<setting name = "rtp-base-port">
<label>RTP base port</label>
<type><integer /></type>
<value>5010</value>
<description>Port for negotiating the RTP port number</description>
</setting>
<setting name = "ldap-server-port">
<label>LDAP server port</label>
<type><integer /></type>
<value>389</value>
<description>Port on which the LDAP server is listening for requests</description>
</setting>
<setting name = "port1">
<label>LAN port speed</label>
<type refid="port-speed" />
<value>0</value>
<description>Speed of the ethernet port connected to the LAN switch</description>
</setting>
<setting name = "port2">
<label>PC port speed</label>
<type refid="port-speed" />
<value>0</value>
<description>Speed of the ethernet port connected to the PC</description>
</setting>
<setting name = "port2-mode">
<label>PC port mode</label>
<type>
<enum>
<option><label>Disabled</label><value>0</value></option>
<option><label>Enabled</label><value>1</value></option>
<option><label>Mirror</label><value>2</value></option>
</enum>
</type>
<value>0</value>
<description>Mode of the PC port</description>
</setting>
<setting name = "port2-auto-mdix-enabled">
<label>PC port autoMDIX</label>
<type refid="bool" />
<value>false</value>
<description>Enables the port connected to the PC to switch automatically between MDI and MDI-X</description>
</setting>
</group>
<group name="LLDP-MED Operation">
<setting name = "lldp-timetolive">
<label>Time to live (seconds)</label>
<type>
<enum>
<option><value>40</value></option>
<option><value>60</value></option>
<option><value>80</value></option>
<option><value>100</value></option>
<option><value>110</value></option>
<option><value>120</value></option>
<option><value>140</value></option>
<option><value>180</value></option>
<option><value>240</value></option>
<option><value>320</value></option>
<option><value>400</value></option>
</enum>
</type>
<value>120</value>
<description>How long received LLDP information is valid in seconds</description>
</setting>
</group>
</group>
<group name="system">
<label>System</label>
<group name="id">
<label>System Identity</label>
<setting name = "hostname" if="firmwareV2">
<label>Web name</label>
<type><string /></type>
<value></value>
<description>Default DNS hostname for the phone, requires firmware V2</description>
</setting>
<setting name = "automatic-hostname-type" advanced="yes">
<label>DNS name construction</label>
<type>
<enum>
<option><label>No DDNS hostname</label><value>0</value></option>
<option><label>only hostname</label><value>1</value></option>
<option><label>only number</label><value>2</value></option>
<option><label>prefix number</label><value>3</value></option>
<option><label>MAC based</label><value>4</value></option>
</enum>
</type>
<value></value>
<description>Determine how the customized DNS hostname for the phone is constructed, requires firmware V2</description>
</setting>
<setting name = "outbound-proxy-user">
<label>Outbound proxy</label>
<type refid="bool" />
<value>false</value>
<description>Whether the server will respolve the domain name in the SIP request. Otherwise the phone will.</description>
</setting>
<setting name = "default-domain">
<label>Default outbound proxy domain</label>
<type><hostname /></type>
<value></value>
<description>If the number or name the user dials does not include a domain name this value will be used. Otherwise the domain of the outbound proxy will be appended</description>
</setting>
<setting name = "sip-transport-user" advanced="yes">
<label>SIP transport protocol</label>
<type>
<enum>
<option><label>UDP</label><value>0</value></option>
<option><label>TCP</label><value>1</value></option>
<option><label>TLS</label><value>2</value></option>
</enum>
</type>
<value>0</value>
<description>Transport protocol to be used for SIP messages</description>
</setting>
<setting name = "transaction-timer">
<label>Response timer (ms)</label>
<type><integer min="3000" max="32000" /></type>
<value>32000</value>
<description>A SIP response to an INVITE message must arrive within this timespan</description>
</setting>
<setting name = "transaction-timer-f">
<label>Use backup after (ms)</label>
<type><integer min="3001" max="32001" /></type>
<value>32001</value>
<description>If no response to an INVITE has been received within this timespan the phone will contact the backup server</description>
</setting>
<setting name = "registration-backoff-timer">
<label>Registration backoff timer (seconds)</label>
<type><integer min="60" max="600" /></type>
<value>60</value>
<description>Maximum waiting time after a failed REGISTER attempt before sending the next one</description>
</setting>
<setting name = "voip-connectivity-check-interval">
<label>VoIP Connectivity check timer (seconds)</label>
<type><integer max = "3600" /></type>
<value>0</value>
<description>When set to a non-zero value the phone will send test messages this often to check the TLS connection</description>
</setting>
</group>
<group name="registration">
<label>Registration</label>
<setting name = "sgnl-gateway-addr-user">
<label>SIP gateway address</label>
<type><hostname /></type>
<value></value>
<description>Address of the SIP gateway</description>
</setting>
<setting name = "session-timer">
<label>Session timer enabled</label>
<type refid="bool" />
<value>false</value>
<description>Keep-alive mechanism, if enabled the phone sends INVITE messages regularly. If no re-INVITE is received within the session duration the session is considered terminated.</description>
</setting>
<setting name = "session-duration" if="session-timer">
<label>Session timer (seconds)</label>
<type><integer /></type>
<value>3600</value>
<description>Duration of the session timer</description>
</setting>
<setting name = "reg-ttl">
<label>Registration timer (seconds)</label>
<type><integer /></type>
<value>3600</value>
<description>Expiry time of a registration</description>
</setting>
<!-- Server type omitted because sipXecs counts as "other" anyway -->
<!--<setting name = "server-type" hidden="yes">
<type><Integer /></type>
<value>0</value>
</setting>-->
<setting name = "backup-registration">
<label>Backup registration allowed</label>
<type refid="bool" />
<value>true</value>
<description>Allow using the backup proxy server as a registrar</description>
</setting>
<setting name = "backup-addr">
<label>Backup proxy address</label>
<type><hostname /></type>
<value></value>
<description>Address of the backup proxy server</description>
</setting>
<setting name = "backup-reg-timer" if="backup-registration">
<label>Backup registration timer (seconds)</label>
<type><integer max="4320" /></type>
<value>0</value>
<description>Expiry time for registrations with the backup proxy</description>
</setting>
<setting name = "backup-transport" advanced="yes">
<label>Backup transport protocoll</label>
<type>
<enum>
<option><label>UDP</label><value>0</value></option>
<option><label>TCP</label><value>1</value></option>
</enum>
</type>
<value>0</value>
<description>Transport protocol to be used for messages to the backup proxy</description>
</setting>
<setting name = "backup-outbound-proxy">
<label>Backup outbound proxy</label>
<type refid="bool" />
<value>false</value>
<description>Use the backup proxy as an outbound proxy</description>
</setting>
</group>
<group name="features">
<label>Features</label>
<setting name = "emergency-e164">
<label>Emergency number</label>
<type><string /></type>
<value></value>
<description>Emergency number, can be called even if the phone is locked</description>
</setting>
<setting name = "voice-mail-e164">
<label>Voice mail number</label>
<type><string /></type>
<value></value>
<description>Number to dial in order to reach voice mail</description>
</setting>
</group>
<group name="auth">
<label>Authentication</label>
<setting name = "admin-pwd">
<label>Administrator password</label>
<type><string required="true" /></type>
<value>123456</value>
<description>Password for accessing the local and web-based administration interfaces of the phone</description>
</setting>
<setting name = "user-pwd">
<label>User password</label>
<type><string /></type>
<value>654321</value>
<description>Password for accessing the local and web-based user configuration of the phone</description>
</setting>
<setting name = "">
<label></label>
<type refid="bool" />
<value>false</value>
<description></description>
</setting>
</group>
</group>
<group name="fpk" if="fpk">
<label>Free Programmable Keys</label>
<description>Allows setting the functions of the Free Programmable Keys (look like speed dial keys) on the phone. Each key can be bound in regular and shifted state. Note that a key bound to shifting the keys will retain that function in shifted mode.</description>
<group name="fpk#1" if="fpk">
<label>Key #1</label>
<setting name = "function-key-def">
<label>Key Function</label>
<type refid="fpk-func" />
<value>0</value>
</setting>
<setting name = "key-label-unicode">
<label>Key label</label>
<type><string maxLen="12"/></type>
<value></value>
</setting>
<setting name = "locked-function-keys">
<label>Lock function key</label>
<type refid="bool" />
<value>false</value>
<description>Prevent changing the key function through the local interface (changing does NOT require a password!).</description>
</setting>
</group>
<group name="fpk#2" copy-of="fpk#1">
<label>Key #2</label>
</group>
<group name="fpk#3" copy-of="fpk#1">
<label>Key #3</label>
</group>
<group name="fpk#4" copy-of="fpk#1">
<label>Key #4</label>
</group>
<group name="fpk#5" copy-of="fpk#1">
<label>Key #5</label>
</group>
<group name="fpk#6" copy-of="fpk#1">
<label>Key #6</label>
</group>
<!--<group name="speech">
<label>Speech</label>
<setting name = "codec#01">
<label>Codec Type</label>
<type><enum /></type>
<value>0</value>
<description></description>
</setting>
</group>-->
</group>
</model>_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev/