10-28-2025 05:43 AM
Hi, I'm looking for some help/advice on automating the configuration of ATA420 devices in Webex Calling. This involves creating a workspace for each device/port on the device. These devices support up to 144 devices on each. Once the workspaces are created (which I am happy to script as the API is available) you have to go into the device and then for each of the 144 lines/ports you then allocate the relevant workspace. As you can imagine this is a long process especially if you have multiple gateways, so the question is, is there a way to script the population of the lines on the device with the the workspace. I can't find an API in the documentation so any pointers would be helpful
Thanks
10-30-2025 07:53 AM
Hi @MichaelRalston0900 Thanks for the feedback. I'll take a look at this and get back to you. I've built the script for looping through a csv file and creating the workspaces...I need about 1000 creating! I'll look to see if this works to associate them to the device.
10-28-2025 08:46 AM - edited 10-28-2025 08:47 AM
Hello @Lee Marson,
You will have to use a combination of APIs to achieve this. If you are not familiar with the APIs, I would recommend using the wxc_sdk or wxcadm python libraries to assist. I will explain the wxcadm method as it's a little more friendly if you are not super familar with python/the webex APIs.
To start, you'll need to get the Device ID of the VG420. You can search it by MAC address using this get method. This will return a Device object you will use later.
To create the workspaces (with no devices), this create method from wxcadm. After creating the workspaces you'll get a Workspace object returned where you can then pass into the add method for the device members.
As you create each new workspace, you can update the members (shared lines) of the device using this add method.
Depending on how many workspaces you need to create, you may be better off putting the data into an excel sheet and using python to read and then loop through that sheet to create all the workspaces at once. Let me know if you have any questions on this approach.
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