• ×
    Information
    Windows update impacting certain printer icons and names. Microsoft is working on a solution.
    Click here to learn more
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Windows update impacting certain printer icons and names. Microsoft is working on a solution.
    Click here to learn more
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
The HP Community is where owners of HP products, like you, volunteer to help each other find solutions.
HP Recommended

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?

2 REPLIES 2
HP Recommended

Hello @allenu ,

 

Welcome back to the Poly Community. Your post originally ended in the Spam filter but I have released it.

I have just edited several FAQ posts to include and detail the information that configuration values provided using the config_file section are read from left to right. Meaning if a value is placed in a single or different configuration file and value 1 enables a feature and value 2 disable this feature only value 1 is prioritized and value 2 is ignored. The same is applicable the other way around.

 

The only way to overwrite a config file value is to import a configuration via the Web Interface or making a change via the Phone UI.

 

Jun 27, 2018 Question: How can I determine what source or order a configuration value came from or what is the priority of this?

ResolutionDetails => here <=

 

Please note that the software used by yourself is no longer supported. A currently supported version is UC Software 5.9.6


Please ensure to provide some feedback if this reply has helped you so other users can profit from your experience.

Best Regards

Steffen Baier

------------------------------------------------
Notice: I am an HP Poly employee but all replies within the community are done as a volunteer outside of my day role. This community forum is not an official HP Poly support resource, thus responses from HP Poly employees, partners, and customers alike are best-effort in attempts to share learned knowledge.
If you need immediate and/or official assistance for former Poly\Plantronics\Polycom please open a service ticket through your support channels
For HP products please check HP Support.

Please also ensure you always check the General VoIP , Video Endpoint , UC Platform (Microsoft) , PSTN
HP Recommended

Steffen -

This doesn't make 100% sense to me.

I can change an existing efk via the later file, and I know in the past where I've change things like reg.1.label via a secondary file.

 

I am also now testing on UC 5.9.0

<confused>

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.