cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
103
Views
0
Helpful
0
Comments
cdnadmin
Community Member
This document was generated from CDN thread

Created by: Ron Buchanan on 14-12-2011 04:30:30 PM
I have an application that needs (for a multitude of reasons) to get a user's primary line.  
 
We have selected as a standard that the Address on Button Position 1 is the user's primary line.  To obtain that address I call Terminal.getAddresses and the loop through the results calling CiscoAddress.getButtonPosition(Address) for each Address to see if it is button position 1.
 
Here's where it gets weird: occasionally (I've yet to be able to force this), I'm getting an InvalidArgumentException that's telling me that the Address is not on the Terminal even though Terminal.getAddresses() just told me that it was there.
 
Any ideas would be appreciated.
 
(This is in addition to the problems I'm having that are outlined in this thread: http://developer.cisco.com/web/jtapi/forums/-/message_boards/view_message/4734777)
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links