C# Class SIPSorcery.AppServer.DialPlan.DialPlanCRMFacade

ファイルを表示 Open project: sipsorcery/sipsorcery Class Usage Examples

Public Methods

Method Description
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.

Private Methods

Method Description
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.

Method Details

DialPlanCRMFacade() public method

public DialPlanCRMFacade ( SIPMonitorLogDelegate logDelegate, DialPlanContext context ) : System
logDelegate SIPMonitorLogDelegate
context DialPlanContext
return System

LookupHighriseContact() public method

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
return SIPSorcery.SIP.App.CRMHeaders