C# Класс SIPSorcery.AppServer.DialPlan.DialPlanCRMFacade

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
DialPlanCRMFacade ( SIPMonitorLogDelegate logDelegate, DialPlanContext context ) : System
LookupHighriseContact ( string url, string authToken, SIPFromHeader from, bool addCallNote, bool async ) : CRMHeaders

Attempts to retrieve the CRM Account details for a dial plan.

Looks up a person contact in the 37 Signals Highrise application.

Приватные методы

Метод Описание
AddHighriseCallNote ( string url, string authToken, SIPFromHeader caller, Person person ) : void
DoLookup ( string url, string authToken, SIPFromHeader from, bool addCallNote, Action callback ) : CRMHeaders

Looks up a person contact in the 37 Signals Highrise application.

Описание методов

DialPlanCRMFacade() публичный Метод

public DialPlanCRMFacade ( SIPMonitorLogDelegate logDelegate, DialPlanContext context ) : System
logDelegate SIPMonitorLogDelegate
context DialPlanContext
Результат System

LookupHighriseContact() публичный Метод

Attempts to retrieve the CRM Account details for a dial plan. Looks up a person contact in the 37 Signals Highrise application.
public LookupHighriseContact ( string url, string authToken, SIPFromHeader from, bool addCallNote, bool async ) : CRMHeaders
url string The URL of the Highrise account to attempt the lookup on.
authToken string The auth token for the Highrise account to attempt the lookup with.
from SIPSorcery.SIP.SIPFromHeader The SIP from header of the incoming call to attempt to match on.
addCallNote bool If true it indicates a Highrise note should be created if a matching contact is found.
async bool
Результат SIPSorcery.SIP.App.CRMHeaders