Class SACPhoneProvider
Implementation of the phone provider basing on the simplic phone integration
Inheritance
System.Object
SACPhoneProvider
Namespace: Simplic.PlugIn.SAC.Contact
Assembly: Simplic.PlugIn.SAC.dll
Syntax
public class SACPhoneProvider : IPhoneProvider
Methods
| Improve this Doc View SourceOnCallConnected(IPhoneCall)
Will be invoked when a call connected
Declaration
public void OnCallConnected(IPhoneCall call)
Parameters
Type | Name | Description |
---|---|---|
IPhoneCall | call | Call information |
OnCallDisconnected(IPhoneCall)
Will be invoked when a call is finished
Declaration
public void OnCallDisconnected(IPhoneCall call)
Parameters
Type | Name | Description |
---|---|---|
IPhoneCall | call | Call information |
OnCallTypeChanged(IPhoneCall, CallType)
Call type changed
Declaration
public void OnCallTypeChanged(IPhoneCall call, CallType oldCallType)
Parameters
Type | Name | Description |
---|---|---|
IPhoneCall | call | Call instance |
CallType | oldCallType | Old call instance |
OnIncomminCall(IPhoneCall)
Will be invoked when a call comes in
Declaration
public void OnIncomminCall(IPhoneCall call)
Parameters
Type | Name | Description |
---|---|---|
IPhoneCall | call | Call information |
OnOutboundCall(IPhoneCall)
Will be executed if an outbound call is made
Declaration
public void OnOutboundCall(IPhoneCall call)
Parameters
Type | Name | Description |
---|---|---|
IPhoneCall | call | Call information |
ResolvePhoneNumber(IPhoneCall)
Resolve the phone number from IT_Contacts_PhoneNumber -> RawPhoneNumber
Declaration
public string ResolvePhoneNumber(IPhoneCall call)
Parameters
Type | Name | Description |
---|---|---|
IPhoneCall | call | Caller instance |
Returns
Type | Description |
---|---|
System.String | Name if found else null |