cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2060
Views
10
Helpful
2
Replies

Provider.GetTerminals() array order?

tleask
Cisco Employee
Cisco Employee

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

1 Accepted Solution

Accepted Solutions

dstaudt
Cisco Employee
Cisco Employee

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>...

View solution in original post

2 Replies 2

dstaudt
Cisco Employee
Cisco Employee

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>...

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.