-
1
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
1
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Poly Phones
- Desk and IP Conference Phones
- Polycom API - Possible to use /api/v1/mgmt/config/set to cha...

Create an account on the HP Community to personalize your profile and ask a question

02-07-2020 09:04 PM
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"
}
Solved! Go to Solution.
Accepted Solutions
02-08-2020 05:36 AM
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
02-08-2020 05:36 AM
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
02-10-2020 08:43 AM
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.