Quantcast
Channel: VoIP / SIP Phones topics
Viewing all articles
Browse latest Browse all 3669

Overwriting config file values with secondary file(s).

$
0
0

Environment:

UC 5.5.X

VVX-3/4XX phones.

 

I'm trying to figure out the rules surrounding what values can be overwritten (or deleted) by loading a secondary config file.

 

Background/example:

Provisioning server creates <mac>.cfg file, with the setting CONFIG_FILES=main.cfg.

 

In main.cfg, I have 2 EFK's, and 2 softkeys that call the macro(s).

<efk><efklist1> efk.efklist.1.mname="foo" efk.efklist.1.label="fooLabel" efk.efklist.1.action.string="<action string>"</efklist1><efklist2> efk.efklist.2.mname="bar" efk.efklist.2.label="barLabel" efk.efklist.2.action.string="<action string 2>"</efklist2></efk> ...<softkey> softkey.1.enable="1" softkey.1.label="fooLabel" softkey.1.action="!foo" ... softkey.2.enable="1" softkey.2.label="barLabel" softkey.2.action="!bar"</softkey>

I need to remove/replace EFK 2 and softkey 2 via adding a second cfg file in <mac>.cfg

E.g.

CONFIG_FILES=main.cfg, custom.cfg

and custom.cfg contains:

efk.efklist.2.mname="newMacro" efk.efklist.2.label="newMacro" efk.efklist.2.action.string="<new action string 2>" ... softkey.2.label="newMacro" softkey.2.action="!newMacro"

What's odd, is that:

  1. The efk.2 gets replaced with the new configuration variables.
  2. But softkey.2 does not get changed.
  3. But I can add a softkey.3, and when added, calls the new efk.2 successfully.

I've also tried to delete softkey.2 by setting the softkey.2 variables used to "0" and Null. Nothing seems to change or delete them.

If I could even change the softkey.2.label entry to something other than what it is and where it's located on the screen I'd be happy. At the moment, I can't seem to do anything to it.

 

Suggestions?


Viewing all articles
Browse latest Browse all 3669

Trending Articles