I'm adding a plugin to the proxy server and putting its configuration into SipXconfig but despite putting all the settings into their own group the UI displays them along with everything else, the group label isn't drawn at all. That's not good for usability. I've attached the XML file.
<?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="loglevel">
    <enum>
      <option>
        <value>DEBUG</value>
      </option>
      <option>
        <value>INFO</value>
      </option>
      <option>
        <value>NOTICE</value>
      </option>
      <option>
        <value>WARNING</value>
      </option>
      <option>
        <value>ERR</value>
      </option>
      <option>
        <value>CRIT</value>
      </option>
      <option>
        <value>ALERT</value>
      </option>
      <option>
        <value>EMERG</value>
      </option>
    </enum>
  </type>
  <!-- Enum seems more user friendly than boolean -->
  <type id="replaceOrKeep">
    <enum>
      <option><value>0</value></option> <!-- Leave alone -->
      <option><value>1</value></option> <!-- Replace -->
    </enum>
  </type>
  <group name="proxy-configuration">
    <setting name="SIPX_PROXY_DEFAULT_SERIAL_EXPIRES">
      <type>
        <integer />
      </type>
      <value>20</value>
    </setting>
    <setting name="SIPX_PROXY_DEFAULT_EXPIRES">
      <type>
        <integer />
      </type>
      <value>300</value>
    </setting>
    <setting name="SIPX_PROXY_LOG_LEVEL" hidden="yes">
      <type refid="loglevel" />
      <value>NOTICE</value>
    </setting>
    <setting name="SIPX_PROXY_DIALOG_SUBSCRIBE_AUTHENTICATION" advanced="yes">
      <type>
        <boolean>
          <true>
            <value>dialog</value>
          </true>
          <false>
            <value />
          </false>
        </boolean>
      </type>
      <value>dialog</value>
    </setting>
    <setting name="SIP_PORT" advanced="yes">
      <type>
        <integer />
      </type>
      <value>5060</value>
    </setting>
    <setting name="TLS_SIP_PORT" advanced="yes">
      <type>
        <integer />
      </type>
      <value>5061</value>
    </setting>
    <setting name="ENABLE_BRIDGE_PROXY_RELAY" advanced="yes">
      <type>
        <boolean>
          <true>
            <value>true</value>
          </true>
          <false>
            <value>false</value>
          </false>
        </boolean>
      </type>
      <value>false</value>
    </setting>
    <group name="alert-info">
      <label>Alert Info</label>
      <setting name="INTERNAL_ENABLED">
        <type><boolean /></type>
        <value>0</value>
      </setting>
      <setting name="INTERNAL" advanced="yes">
        <type><string /></type>
        <!--Polycom phones interpret only the part in angle brackets, Snom phones only the part following info=.
            alert-internal is a default value for Snom-->
        <value>&lt;http://internal.call&gt;;info=alert-internal;x-line-id=0</value>
      </setting>
      <setting name="EXTERNAL_ENABLED">
        <type><boolean /></type>
        <value>1</value>
      </setting>
      <setting name="EXTERNAL" advanced="yes">
        <type><string /></type>
        <value>&lt;http://external.call&gt;;info=alert-external;x-line-id=0</value>
      </setting>
      <setting name="ON_EXISTING" advanced="yes">
        <type refid="replaceOrKeep" />
        <value>0</value>
      </setting>
    </group>
  </group>
</model>
_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev/

Reply via email to