Class TAPI3Interface
Contains everything a TAPI3 interface requires
Inheritance
System.Object
TAPI3Interface
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Simplic.Framework.PhoneInterface.TAPI3
Assembly: Simplic.Framework.dll
Syntax
public class TAPI3Interface : IPhoneInterface, IDisposable
Constructors
| Improve this Doc View SourceTAPI3Interface()
Initialize instance
Declaration
public TAPI3Interface()
Properties
| Improve this Doc View SourceAvailablePhones
Gets a list of tapi address lines
Declaration
public IReadOnlyList<IPhone> AvailablePhones { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<IPhone> |
HasProvider
Gets whether a call provider is set or not
Declaration
public bool HasProvider { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
HasValidLicense
Gets whether the module is currently licensed
Declaration
public bool HasValidLicense { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsActive
Gets or sets whether the phone provider is active or not
Declaration
public bool IsActive { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
LicenseId
Gets the TAPI3 license guid
Declaration
public Guid LicenseId { get; }
Property Value
Type | Description |
---|---|
System.Guid |
Phone
Gets the currently active address line / phone
Declaration
public IPhone Phone { get; }
Property Value
Type | Description |
---|---|
IPhone |
Provider
Gets or sets the provider which should be used for communication
Declaration
public IPhoneProvider Provider { get; set; }
Property Value
Type | Description |
---|---|
IPhoneProvider |
Methods
| Improve this Doc View SourceCall(TAPI3Call)
Start a new call
Declaration
public void Call(TAPI3Call call)
Parameters
Type | Name | Description |
---|---|---|
TAPI3Call | call | Call information |
Call(String, Guid)
Create a new call
Declaration
public void Call(string phoneNumber, Guid calledInstanceDataGuid)
Parameters
Type | Name | Description |
---|---|---|
System.String | phoneNumber | Number to call |
System.Guid | calledInstanceDataGuid | Caller instance data guid |
Dispose()
Dispose the TAPI3 interface
Declaration
public void Dispose()
Initialize()
Initialize the TAPI3-Interface
Declaration
public void Initialize()
SetAddressLine(TAPI3AddressLine)
Set active address line
Declaration
public void SetAddressLine(TAPI3AddressLine addressLine)
Parameters
Type | Name | Description |
---|---|---|
TAPI3AddressLine | addressLine | Instance of the addressline to set |
SetAddressLine(String)
set active address line by its name
Declaration
public bool SetAddressLine(string addressLineName)
Parameters
Type | Name | Description |
---|---|---|
System.String | addressLineName | Name of the tapi address line |
Returns
Type | Description |
---|---|
System.Boolean | True when it was set successfully |
Implements
System.IDisposable