08-13-2021 06:41 AM
We're running CUCM 11.5 and have been looking for a method to remove devices from an Application User group and also add them back when needed. We have a CTI application that, given the current hybrid environment, requires us to remove the Jabber profile and instead select their desk phone when they switch from WFH to in office and vice versa when they switch back. After that switch we reset the device and log them into Extension Mobility to allow the CTI application to control the appropriate device to pass on information to our CRM platform. We have the commands to do the Extension Mobility aspects but we're trying to find the best way to add and remove devices to a specific Application User group so it can be scripted and become self-service.
When working from the office
Step 1 - Log Off Extension Mobility
Step 2 - Remove CSFXXXXXX from Application User
Step 3 - Add SEPXXXXXXXXXXXX to Application User
Step 4 - Reset 88XX Phone
Step 5 - Log into Extension Mobility
When working remote
Step 1 - Remove SEPXXXXXXXXXXXX from Application User
Step 2 - Add CSFXXXXXXX to Application User
08-13-2021 07:15 AM
You can manage the associated devices of the application user via AXL, no trouble at all.
Call getAppUser and grab the associatedDevices list. Add or remove what you want, and then send the new list back with updateAppUser.
Just make sure to send it back in the state that you want, as it replaces the existing list with what you supply.
You can call resetPhone or restartPhone as well through AXL.
I don't know about EM login/logout automating that, I haven't done that myself yet.
08-13-2021 07:59 AM
Thank you for the reply Adam. This is helpful and I've seen this methodology on the DevNet site but pulling the current list would still require manual input to the populated list before sending back to the CM. However, if our goal is self-service I'm wary on this methods effectiveness. Suppose we have 80 people that would be allowed to perform that action, and they all look to do it in the morning, it could create a conflict if simultaneous submission is done, no?
08-13-2021 08:24 AM
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