04-27-2021 03:55 AM
Hi all,
Simple question really. In the JTAPI docs it says...
Provider.getTerminals()
This method returns an array of terminals that are created for the devices that are administered in the user
control list in the directory. Refer to the Cisco Unified Communications Manager Administration Guide to
administer the user control list.
What order is the array returned in, if any? Is it the same order that is displayed when viewing that directory number in the CUCM admin pages? Is there anyway to change the order of this list received?
Thanks
Solved! Go to Solution.
04-27-2021 02:59 PM
Not aware of any known order, and AFAIK none is documented - you may be able to figure it out, but it may not be dependable in the long term.
Depending on how particularly you need that type of functionality, you might investigate using AXL to query the CUCM config/database to get user associated devices. You can get pretty specific about returned info fields and sort order if you go to the SQL level with <executeSqlQuery>...
04-27-2021 02:59 PM
Not aware of any known order, and AFAIK none is documented - you may be able to figure it out, but it may not be dependable in the long term.
Depending on how particularly you need that type of functionality, you might investigate using AXL to query the CUCM config/database to get user associated devices. You can get pretty specific about returned info fields and sort order if you go to the SQL level with <executeSqlQuery>...
04-28-2021 04:14 AM
Thanks, I expected this was the case. As for the AXL route, yep, we already use that in another product, so thats covered and is the answer given there is no guarantee on the order of that array.
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