04-03-2019 11:13 AM
I'm trying to create a phone using python/zeep but i'm stuck for Product Specific Configuration Layout which is the vendorConfig.
How would you create the RoomName?
Solved! Go to Solution.
05-20-2019 05:06 AM
here is the script I have been using
using the python module lxml
sample of the code
xmlstring = '<items>' \ '<webAccess>2</webAccess>' \ '</items>' tree = ET.fromstring(xmlstring)
client.addPhone(phone= { 'vendorConfig': tree }
05-14-2019 12:36 PM
05-17-2019 03:28 PM
The value you'll send it to vendorConfig will be an XML string comprised of the settings you want to control. To get the format for a specific device (I assume the RoomName is one of those elements), one way is to create the device using the CUCM admin UI setting the variable as desired, and then use something like soapUI to perform <getPhone> - you can them examine the <vendorConfig> element as a template...
05-20-2019 05:06 AM
here is the script I have been using
using the python module lxml
sample of the code
xmlstring = '<items>' \ '<webAccess>2</webAccess>' \ '</items>' tree = ET.fromstring(xmlstring)
client.addPhone(phone= { 'vendorConfig': tree }
11-12-2020 07:03 AM
Have you upgraded to 12.5 and if so, having issues with vendorConfig?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide