cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Any ways to choose "primary" line?

168
Views
0
Helpful
1
Comments
This document was generated from CDN thread

Created by: Xiaohui Zhou on 17-11-2008 06:03:41 PM
For a device configured with multiple lines, is there a way (or ways) to find out what the "primary" line is for the user who controls the device? Is the order of Address elements in return value of Terminal.getAddresses() indicating the order of "preferences" (e.g., the 0th element is the user's primary line)?

Subject: Re: Any ways to choose "primary" line?
Replied by: David Staudt on 17-11-2008 07:39:45 PM
It's not possible to determine the designated primary line via JTAPI. The first device in the array is not guaranteed to be the primary.

You can use the AXL SOAP API for this, however. The first <line> element in getPhoneResponse/return/device/lines will be the primary line, if one is configured.
Comments
Beginner

David,

anyway to allow user to set the primary line?  We have device with multiple line and when we issue a hang up, it hung up a wrong line.

CreatePlease to create content
Content for Community-Ad
August's Community Spotlight Awards
This widget could not be displayed.