01-06-2016 04:54 AM
Hi all,
in our application we use the AXL-Interface for administration of Device Profiles. We have the problem, that there is no chance to delete a Device Profile which is logged in on any device.
Question: Is there a way to force deleting of Device Profiles, whether they are in use or not? How can I get the information on which devices the specific Device Profile is in use? May be the AXL executeSQLQuery-Tag is useful?
Has anybody an idea?
01-06-2016 09:22 AM
Check out the Extension Mobility API, which provides the ability to query for status and logged in users/profiles, as well as to perform login/logout operations on their behalf:
01-07-2016 03:39 AM
Thanks for answer, nice API.
The problem is, that our application only uses the AXL-Interface (10.5) until now. I have found "doDeviceLogout" in the AXL-API to do logout functionality for a device.
Now I only need the information on which devices a DeviceProfile is in use or a user is logged in to call the "doDeviceLogout"-function of AXL-API first and then delete the DeviceProfile. The Cisco-Core could do an internal logout if somebody tries to delete a DeviceProfile (AXL: removeDeviceProfile) which is in use, but unfortunately it doesn't.
Is there a way to get the needed information by AXL-API (AXL: get???, list????, query???) calls?
01-07-2016 12:36 PM
You can get at this info via SQL, i.e. AXL <executeSqlQuery>, see the table 'extensionmobilitydynamic'
01-08-2016 04:25 AM
OK, I'm using the AXL <executeSqlQuery> with a special query on extensionmobilitydynamic table joined with other tables.
Thanks for answering my question here.
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