Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
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)
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: