etLine.Phone Properties


Phone.Available
Phone.DeviceClass
Phone.ID
 


etLine.Phone.Available

ActiveX: etLine.PhoneAvailable
Type: Boolean
When: Run-Time
Read/Write: Read Only
Edition: Express, Standard, Professional, Enterprise
<Click here for example>

This property indicates if the TAPI Line device identified in the property Device.ID has a TAPI Phone device associated to it. The value of this property is valid when Device.Active is equal to True.

etLine.Phone.DeviceClass

ActiveX: etLine.PhoneDeviceClass
Type: String
When: Design-Time and Run-Time
Read/Write: Read and Write
Edition: Express, Standard, Professional, Enterprise
If this property has a value, the TAPI function LineGetID is called to identify if a device of the given class is assocaited with the TAPI Line device identified in the property Line.ID. If a device is available the Phone.Available property is set to True and the Phone.ID property will contain the ID of the associated device. If a device is not available then the Phone.Available property is set to False.

If this property does not have a value, the LineGetID function is not called and the Phone.Available property is set to False.

At the time this documentation was published the only valid value for this property is 'tapi/Phone'.

etLine.Phone.ID

ActiveX: etLine.PhoneID
Type: Integer
When: Run-Time
Read/Write: Read Only
Edition: Express, Standard, Professional, Enterprise
<Click here for example>

This is the ID of the TAPI line device which is related to the currently active TAPI Phone Device. The value of this property is valid only when the Phone.Available property has a value of True.

The value of this property is used to set the etPhone.Device.ID property to ensure that the correct device has been selected.



etLine Properties - Line etLine Properties - Privilege