• ×
    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

Hello,

 

I am trying to change the provisioning server configuration using the polycom API. The value I am trying to change is device.prov.serverName with the API call /api/v1/mgmt/config/set

 

After hours of troubleshooting I think I have identified that the issue I am running into is that it seems I am unable to change config parameters that have a 'source' value of 'device'. 

 

For example, when I run /api/v1/mgmt/config/get for the device.prov.serverName config parameter I get the following output:

 

 

 

{
    "data": {
        "device.prov.serverName": {
            "Value": "<REAL RESPONSE REMOVED>",
            "Source": "device"
        }
    },
    "Status": "2000"
}

 

 
I finally had the idea to try to change some other values through the API and it worked when the source value was 'default' and not 'device'
 
Is the API able to change configuration parameters if the source is 'Device' or is that the limitation i am running into?? If so, is there a work around and where is this documented??
 
Thanks.
1 ACCEPTED SOLUTION

Accepted Solutions
HP Recommended

Hello @GNegronida ,

 

it would have been informative to post some details about the actual phone and the software version you are trying to archive this for as this may depend on the answer we can provide.

 

Any device parameter you would want to change always requires the minimum of:

device.set="1"

A device parameter itself always comes in a pair as well:

device.prov.serverName.set
device.prov.serverName

Using the REST API to change the provisioning server to a different IP address would require:

"device.set": "1", 
"device.prov.serverName.set": "1",
"device.prov.serverName`": "10.252.149.102"

Example:

.\REST_API_CFG_Set.ps1 10.252.149.60

ProcessedParams                                                                      Status
---------------                                                                      ------
@{device.prov.serverName=10.252.149.102; device.prov.serverName.set=1; device.set=1} 2000

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

View solution in original post

2 REPLIES 2
HP Recommended

Hello @GNegronida ,

 

it would have been informative to post some details about the actual phone and the software version you are trying to archive this for as this may depend on the answer we can provide.

 

Any device parameter you would want to change always requires the minimum of:

device.set="1"

A device parameter itself always comes in a pair as well:

device.prov.serverName.set
device.prov.serverName

Using the REST API to change the provisioning server to a different IP address would require:

"device.set": "1", 
"device.prov.serverName.set": "1",
"device.prov.serverName`": "10.252.149.102"

Example:

.\REST_API_CFG_Set.ps1 10.252.149.60

ProcessedParams                                                                      Status
---------------                                                                      ------
@{device.prov.serverName=10.252.149.102; device.prov.serverName.set=1; device.set=1} 2000

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

There is not a way to send them such that they are 'sourced' from device.  Rest APIs enter the Poly device and are evaluated as a type of 'Web', which falls in line with the config precedence hierarchy

 

The Device level of parameters however are considered as 'global' setting so no matter what level it enters it will set as a new value.  What you have to worry about however is having that same value set elsewhere by another configuration source (Provisioning server, inband from call server, etc.) as the value you set via API may require a reboot, and therefore you would have it potentially reset itself again.

† 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>.