Hi all,
I am working on http://track.sipfoundry.org/browse/XX-5692: Device Nortel 12xx
- Allows
more line appearance than is allowed on the model. To fix this issue a run
time check is required to calculate the number of vacant line keys. The
current sipXconfig code for phones plug-in allows the maximum value of a
setting in line.xml. For example, the maximum value of 4 can be set to
"Number of line keys" in line.xml as
<setting name="numberofLinekeys">
<type>
<integer max="4" />
</type>
<value>1</value>
</setting>
To get the exact number of vacant line keys, we need the number of all the line
keys used by
already configured lines. The maximum value of "Number of line keys" will be
"Max Supported Lines" - (Sum of Number of line keys values on already
configured lines ).
I am not able to calculate the number of vacant line keys for the phone at run
time.
How can I keep track of the "Number of line keys" setting value of already
configured lines to calculate the Maximum value of "Number of line keys" setting
at run time?
Thanks,
Tarru Naval Vashistha
ipDialog Support_______________________________________________
sipx-dev mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/