The Privilege properties are used to control the level of access this instance of the etLine control will have related to inbound and outbound calls. These properties may be modified prior to setting Device.Active to True. They may not be modified when the TAPI Line device is active.
Privilege.Monitor
Privilege.None
Privilege.Owner
ActiveX: etLine.PrivilegeMonitor
Type: Boolean
When: Design-Time
and Run-Time
Read/Write: Read
and Write
Edition: Express, Standard, Professional, Enterprise
<Click
here for example>
This property is used to indicate if the calls will be monitored meaning that the events will be fired and the Call properties will be updated. The default value for this property is True.
When Privilege.Monitor is set to true and Privilege.Own set to false the application can not detect any calls unless a second application has ownership of the calls.
Setting the value of this property to True will cause Privilege.None to be set to False.
ActiveX: etLine.PrivilegeNone
Type: Boolean
When: Design-Time and Run-Time
Read/Write: Read and Write
Edition: Express, Standard, Professional, Enterprise
<Click
here for example>
This property has been added to help out when using older modems with the Unimodem/UnimodemV Telephony Service Provider (TSP). If the modem does not support voice or the INF files have not updated to work properly with UnimodemV then the LINEERR_INVALMEDIAMODE error will occur setting the Device.Active property to True. By setting the value of this property to True the problem may be alleviated. See Using Non-voice Modems for Voice Calls. The default value for this property is False.
Setting the value of this property to True will cause Privilege.Monitor and Privilege.Owner to be set to False.
ActiveX: etLine.PrivilegeOwner
Type: Boolean
When: Design-Time and Run-Time
Read/Write: Read and Write
Edition: Express, Standard, Professional, Enterprise
<Click
here for example>
This property is used to indicate if the calls will be owned meaning that the this instance of etLine can control the call. With a value of true etLine can use all of the properties and methods to create and destroy calls for example: Call.Dial, Call.Hangup, Call.Transfer, Call.HandOff. The default value for this property is True.
Setting the value of this property to True will cause Privilege.None to be set to False.