AddTapi.NET Developer's Manual
TapiLine Class
NamespacesTraysoft.AddTapiTapiLine
Represents a telephony line device.
Declaration Syntax
C#Visual BasicVisual C++
public class TapiLine
Public Class TapiLine
public ref class TapiLine
Members
All MembersMethodsProperties



IconMemberDescription
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.

Close()()()
Closes the line. Closing the line stops monitoring of incoming calls on the line.

DeviceSpecific(Object, TapiAddress, TapiCall, Type)
Provides access to device specific functionality.

DeviceSpecific(array<Byte>[]()[], TapiAddress, TapiCall, Int32)
Provides access to device specific functionality.

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.

DeviceSpecificFeature(Object, UInt32, Type)
Provides access to device specific features.

DeviceSpecificFeature(array<Byte>[]()[], UInt32, Int32)
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, TapiAddress)
Dials an outgoing call on the line using specified media mode and originating TapiAddress.

Dial(String, Boolean, TapiMediaMode, String)
Dials an outgoing call on the line using specified media mode and originating address.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()
Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
IsOpen
Indicates whether the line has been opened for incoming or outgoing calls.

MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Name
Gets the name of the line.

NegotiateDeviceSpecificExtensionVersion(UInt32, UInt32)
Negotiates a version of the device specific extension to use with the line.

NoAnswerTimeout
Gets or sets the number of seconds AddTapi.NET should wait for an answer on outgoing calls.

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.

OpenMediaModes
Indicates for which media types (modes) the line device is currently open.

PermanentID
Gets the permanent ID of 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.

ToString()()()
Overriden. Returns a string that contains the name of the line.
(Overrides Object.ToString()()().)
WaitForCallerID
Indicates whether AddTapi.NET should wait for Caller ID to arrive before reporting or answering incoming calls.

Remarks
AddTapi.NET creates a TapiLine object for each telephony line device installed on the computer. Your application can subscribe to LineAdded and LineRemoved events to receive notifications when a line device is added or removed.
Inheritance Hierarchy
Object
TapiLine
See Also

Assembly: Traysoft.AddTapi (Module: Traysoft.AddTapi)