TapiLine Class |
Namespace: Traysoft.AddTapi
The TapiLine type exposes the following members.
Name | Description | |
---|---|---|
Addresses |
Gets a list of addresses available on the line.
| |
AudioInputBufferSize |
Gets or sets the size of the audio input buffer, in milliseconds.
| |
AudioInputFormat |
Gets or sets the format of audio input.
| |
AudioOutputBufferSize |
Gets or sets the size of the audio output buffer, in milliseconds.
| |
AudioOutputFormat |
Gets or sets the format of audio output.
| |
AvailableMediaModes |
Indicates which media types (modes) the line device supports.
| |
Calls |
Gets a list of calls on the line.
| |
DeviceSpecificExtensionID |
Gets an identifier of the device specific extension supported by the line device.
| |
DeviceSpecificExtensionVersion |
Gets negotiated version of the device specific extension in use on the line.
| |
DeviceSpecificInfo |
Gets device specific information about the line device.
| |
DeviceStatus |
Gets the current status of the line device.
| |
DisconnectOnBusy |
Specifies if calls on the line should be automatically disconnected when a busy signal is detected.
| |
IsOpen |
Indicates whether the line has been opened for incoming or outgoing calls.
| |
MaxNumActiveCalls |
Gets the maximum number of calls that can be active on the line.
| |
Name |
Gets the name of the line.
| |
NoAnswerTimeout |
Gets or sets the number of seconds AddTapi.NET should wait for an answer on outgoing calls.
| |
OpenMediaModes |
Indicates for which media types (modes) the line device is currently open.
| |
PermanentID |
Gets the permanent ID of the line.
| |
ProviderInfo |
Gets the Telephony Service Provider (TSP) information for the line.
| |
RingsToAnswer |
Gets or sets the number of rings AddTapi.NET should wait before answering incoming calls.
| |
SpeechRate |
Gets or sets the rate of speech on the line.
| |
SpeechVoice |
Gets or sets text-to-speech voice to be used for text synthesis on the line.
| |
SpeechVolume |
Gets or sets the volume of speech on the line.
| |
SupportsVoice |
Indicates whether the line suppots voice functions.
| |
SwitchInfo |
Gets the switch (PBX) information for the line.
| |
WaitForCallerID |
Indicates whether AddTapi.NET should wait for Caller ID to arrive before reporting or answering incoming calls.
|
Name | Description | |
---|---|---|
Close |
Closes the line. Closing the line stops monitoring of incoming calls on the line.
| |
DeviceSpecific(Byte, TapiAddress, TapiCall, Int32) |
Provides access to device specific functionality.
| |
DeviceSpecific(Object, TapiAddress, TapiCall, Type) |
Provides access to device specific functionality.
| |
DeviceSpecificFeature(Byte, UInt32, Int32) |
Provides access to device specific features.
| |
DeviceSpecificFeature(Object, UInt32, Type) |
Provides access to device specific features.
| |
Dial(String, Boolean) |
Dials an outgoing call on the line.
| |
Dial(String, Boolean, TapiMediaMode) |
Dials an outgoing call on the line using specified media mode.
| |
Dial(String, Boolean, TapiMediaMode, String) |
Dials an outgoing call on the line using specified media mode and originating address.
| |
Dial(String, Boolean, TapiMediaMode, TapiAddress) |
Dials an outgoing call on the line using specified media mode and originating TapiAddress.
| |
NegotiateDeviceSpecificExtensionVersion |
Negotiates a version of the device specific extension to use with the line.
| |
Open(Boolean, TapiCallHandler) |
Opens the line. After the line is opened, it can be used to monitor incoming calls and/or to place outgoing calls.
| |
Open(Boolean, TapiCallHandler, TapiMediaMode) |
Opens the line for calls with selected media types (modes). After the line is opened, it can be used to monitor incoming calls and/or to place outgoing calls.
| |
Open(Boolean, TapiCallHandler, TapiMediaMode, TapiCallPrivilege) |
Opens the line for calls with selected media types (modes) and call privileges. After the line is opened, it can be used to monitor incoming calls and/or to place outgoing calls.
| |
Pickup(String, String) |
Picks up a call ringing at the specified phone number or extension.
| |
Pickup(String, String, TapiAddress) |
Picks up a call ringing at the specified phone number or extension.
| |
SetupConference |
Sets up a conference call for the addition of the third party.
| |
SetupForwarding |
Sets up forwarding of calls destined for the specified address on the line, according to the specified forwarding instructions.
| |
ToString |
Overriden. Returns a string that contains the name of the line.
(Overrides ObjectToString.) | |
Unpark(String) |
Retrieves the call parked at the specified phone number or extension.
| |
Unpark(String, TapiAddress) |
Retrieves the call parked at the specified phone number or extension.
|
Telephony system is represented as a set of TapiLine objects, each with one or more addresses. Addresses collection lists TapiAddress objects representing addresses (phone numbers or extensions) associated with the line. Most systems have one line for each phone number or extension, with one address on each line.
AddTapi.NET creates a TapiLine object for each telephony line device installed on the computer. The application can subscribe to LineAdded and LineRemoved events to receive notifications when a line device is added or removed.