cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
239
Views
0
Helpful
1
Replies

AXL - migrating lines to Webex Calling - Indexes

Clutz5250
Level 1
Level 1

I've been trying to approach a solution to keep buttons exactly the way they are on previous UC configuration.
Too bad there isn't a bulk method to do this (that I'm aware of), so here I am.

I have a lot of the identity stuff figured out with Webex Calling, and have made tests updating licenses, phone creation, call forward updates etc. Lines seem to be a big fish to iterate through.

Initially i started with an excel export of the all phones. I got things iterating the way i wanted to populate the payload, so i thought, but after examination, i noticed a few things:

1. line related indexes (custom layout) in webex calling API - that uses the put method to modify device calling config - is not based on type. I can place the indexes anywhere without relation to its type, barring BLF/monitoring lines, which must enumerate based on type (and set in Person/workspace interface). Either way, with lines/speed dials being assigned explicitly, it seemed better than I expected, but...
2. CUCM indexes (data source backend) in the all phones export are based on type, so iterating through all of the rows to get lines, speed dials and blfs is not telling me where the buttons actually need to go for the Webex API payload.

So with #2, I looked at doing zeep/request getPhoneButtonTemplate, along with the getPhone to populate a local cache instead of querying excel/csv export. Unfortunately, that method just provides a historical start of when the buttons were assigned; it doesn't guarantee the current layout, which could have changed after initial provisioning (from what it seems).

If there is a method for CUCM to get the actual current button assignment of said phone, that would be awesome, I just can't seem to find the secret sauce to get that. Any assist please? Or maybe I'm missing something else? I'm thinking this might end up being a SQL endeavor.

1 Reply 1

Janos Benyovszki
Cisco Employee
Cisco Employee

@Clutz5250 the available UCM API is here https://developer.webex.com/docs/api/v1/ucm-profile , I am not aware of another one for UCM button assignment. If you mean a specific API, feel free to share the reference link to it and any API payloads you might be using.