This patch allows one to include additional .cfg files in the load path for a 
given phone (or group of phones) before the system generated configuration. 
This allows rapid testing/deployment of new or otherwise unsupported polycom 
features which can then guide the proper fleshing out of the plugin.

Example usage:
   - Administrator writes up a config file fragment to set some features that 
are not supported by the plugin as a first class citizen, this is uploaded as 
an 'unmanaged file', say 'allphones-local.cfg':

<?xml version="1.0"?>
<sip>
  <tones>
    <chord_sets>
      <CALLPROGRESS>
        <INTERCOM tone.chord.callProg.10.freq.1="550" 
tone.chord.callProg.10.level.1="-19" tone.chord.callProg.10.onDur="150" 
tone.chord.callProg.10.offDur="50" tone.chord.callProg.10.repeat="3"/>
      </CALLPROGRESS>
    </chord_sets>
  </tones>
  <sampled_audio saf.1="" saf.2="doorbell.wav" saf.3="BOING3.wav" 
saf.4="aycaramba.wav" saf.5="homer-doh.wav" saf.6="ctu24.wav" 
saf.7="ALRIGHTY.wav" saf.8="cow_moo.wav" saf.9="" saf.10="" saf.11="" saf.12="" 
saf.13="" saf.14="" saf.15="" saf.16="" saf.17="" saf.18="" saf.19="" saf.20="" 
saf.21="" saf.22="" saf.23="" saf.24=""/>
</sip>

   - In the polycom configs under 'features' there is a new field to put 
'allphones-local.cfg', each phone that has this set will pull in the extra 
config file early in the path, example (in the generated mac address .cfg file 
for a phone):

<APPLICATION
      APP_FILE_PATH="sip.ld"
   CONFIG_FILES="allphones-local.cfg, [PHONE_MAC_ADDRESS]-sipx-sip.cfg, 
[PHONE_MAC_ADDRESS]-sipx-phone.cfg, [PHONE_MAC_ADDRESS]-sipx-device.cfg, 
polycom_phone1.cfg, polycom_sip.cfg"
   MISC_FILES=""
   OVERRIDES_DIRECTORY=""
   CONTACTS_DIRECTORY=""
   LOG_FILE_DIRECTORY="">

This could be used to set the backlight intensity, work with EFK's, remap 
chords or keys, etc. All the usual polycom macros (like [PHONE_MAC_ADDRESS] or 
[PHONE_MODEL]) can be used as well for more flexibility in a larger deployment.

There are two new settings for this feature: an 'exclusive' version which 
applies like other settings (phone local first, then highest priority group) 
and 'cumulative' which includes the setting from the phone as well as from all 
groups the phone is in  (in priority order). This allows for flexibility in 
setting various features on groups of phones w/o managing lots of similar files.

I've tested this under Polycom 3.2.2 and 3.2.3 with SVN builds at 17896 and 
18544 on Polycom 650's and 335's.

-Eric Varsanyi

Attachment: rawconf.diff
Description: Binary data

_______________________________________________
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/

Reply via email to