Interface IPhoneInterface
Represents an interface that enables interacting with the phone system. E.g. TAPI3Interface
Namespace: Simplic.Framework.PhoneInterface
Assembly: Simplic.Framework.dll
Syntax
public interface IPhoneInterface
Properties
| Improve this Doc View SourceAvailablePhones
Gets a list available phones
Declaration
IReadOnlyList<IPhone> AvailablePhones { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<IPhone> |
IsActive
Gets or sets whether the phone provider is active or not
Declaration
bool IsActive { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Phone
Gets the currently active phone
Declaration
IPhone Phone { get; }
Property Value
| Type | Description |
|---|---|
| IPhone |
Provider
Gets or sets the phone provider for an phone interface
Declaration
IPhoneProvider Provider { get; set; }
Property Value
| Type | Description |
|---|---|
| IPhoneProvider |
Methods
| Improve this Doc View SourceCall(String, Guid)
Create a new call
Declaration
void Call(string phoneNumber, Guid calledInstanceDataGuid)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | phoneNumber | Number to call |
| Guid | calledInstanceDataGuid | Caller instance data guid |
Initialize()
Initialize a phone interface
Declaration
void Initialize()