|
Privilege the application wants to get for inbound and outbound calls when notified of a call. This property is used in conjunction with the MediaModes property which defines the media modes the application is interested in. An application's privilege on a call it creates is always owner. The sub-properties may be modified prior to setting the ThbTapiLine.Active property to True. Modifying this property while the component is actve has no effect. ThbTapiLinePrivileges has some sub-properties: Owner, Monitor, None, AutoSelect, Value and Text. AvailabilityDesign-Time: Read, Write / Run-Time: Read, Write Declarationproperty Privileges: ThbTapiLinePrivileges; RemarksPrivilege refers to whether an application owns or is monitoring the session. If the application owns the session, it is allowed to perform a variety of session operations. If the application is only monitoring, it will receive state messages and it can access session information, but any attempt to perform most operations will result in an error. During activation, ThbTapiLine tells TAPI which privilege level it requires. TAPI offers incoming sessions only to applications that have registered for either owner or owner and monitor privilege. The ability of the application to deal with incoming calls or to be the target of call handoffs on the line is determined by the MediaModes property and the selected privileges.
See AlsoThbTapiLine.Active | MediaModes , CallOptions.AutoOwner, ThbTapiCall.Owner ThbTapiLine.Privileges.AutoSelectType: Boolean AvailabilityDesign-Time: Read, Write / Run-Time: Read, Write ThbTapiLine selects the privileges automatically. ThbTapiLine tries to open the line with Owner+Monitor and, if this fails, with Monitor only.
ThbTapiLine.Privileges.OwnerType: Boolean AvailabilityDesign-Time: Read, Write / Run-Time: Read, Write The application wants to have owner privileges to inbound calls of the media type specified by the MediaModes property. These privilege allows the application to manipulate the call in ways that affect the state of the call. The value of this property has no meaning if AutoSelect is True. ThbTapiLine.Privileges.MonitorType: Boolean AvailabilityDesign-Time: Read, Write / Run-Time: Read, Write The application wants to have owner privileges to inbound calls of the
media type specified by the MediaModes
property. These privilege allows the application to monitor state changes
and query information and status about the call. Use the ThbTapiCall.Owner
property to check the privilege and become the owner of a call. The value of this property has no meaning if AutoSelect is True. ThbTapiLine.Privileges.NoneType: Boolean AvailabilityDesign-Time: Read, Write / Run-Time: Read, Write The application requires no privileges to inbound calls. Use this property if you're program is an outbound application and does ot handle incoming calls. You need to set this property also to True when you're using older modems with the Unimodem/UnimodemV Telephony Service Provider (TSP). Otherwise an EhbTapiError exception with an ErrorCode of LINEERR_INVALMEDIAMODE will raise. Setting the value of this property to True will cause ThbTapiLine.Privilege.Monitor/Owner
to be set to False. The value of this property has no meaning if AutoSelect is True. ThbTapiLine.Privileges.ValueType: DWORD AvailabilityDesign-Time: None / Run-Time: Read The setting of privileges as a DWORD value using the LINECALLPRIVILEGE_ constants. You are able to use the property in conjunction with TAPI functions. ThbTapiLine.Privileges.TextType: String AvailabilityDesign-Time: None / Run-Time: Read The privileges as a textual counterpart. The value is for example 'OWNER+MONITOR'.
|