C# 클래스 SIPSorcery.Servers.SIPCallManager

상속: ISIPCallManager
파일 보기 프로젝트 열기: sipsorcery/sipsorcery 1 사용 예제들

공개 메소드들

메소드 설명
AddWaitingApplication ( CallbackWaiter callbackWaiter ) : void
BlindTransfer ( string username, SIPURI referTo, string dialplanName, SIPDialogue replacesDialogue ) : ISIPServerUserAgent

Processes an in dialogue REFER request that specifies a new destination for an existing call leg.

CreateDialogueBridge ( SIPDialogue clientDiaglogue, SIPDialogue forwardedDialogue, string owner ) : void
GetCurrentCallCount ( string owner ) : int
ProcessCallback ( string username, string dialString1, string dialString2 ) : string

Processes the callback action that is initiated by the callmanager service. The callback method is typically initiated from a link on an authenticated web page and requires the user to be authenticated.

ProcessWebCall ( string username, string number, string dialplanName, string replacesCallID ) : string

Processes actions initiated by the callmanager web service EXCEPT for the callback method.

QueueNewCall ( ISIPServerUserAgent serverUA ) : void
ReInvite ( SIPDialogue dialogue, SIPDialogue substituteDialogue ) : void
SIPCallManager ( SIPTransport sipTransport, SIPEndPoint outboundProxy, SIPMonitorLogDelegate logDelegate, SIPDialogueManager sipDialogueManager, SIPAssetPersistor sipDialoguePersistor, SIPAssetPersistor sipCDRPersistor, DialPlanEngine dialPlanEngine, SIPAssetGetDelegate getDialPlan, SIPAssetGetDelegate getSIPAccount, SIPAssetGetListDelegate getSIPAccountBindings, SIPAssetGetListDelegate getSIPProviders, GetCanonicalDomainDelegate getCanonicalDomain, SIPAssetPersistor customerPersistor, SIPAssetPersistor dialPlanPersistor, string traceDirectory, bool monitorCalls, int dailyCallLimit ) : System
Start ( ) : void
Stop ( ) : void

비공개 메소드들

메소드 설명
GetDialPlanAndCustomer ( string owner, string dialPlanName, ISIPServerUserAgent uas, Customer &customer, SIPDialPlan &dialPlan ) : bool
GetDummyWebCallbackTransaction ( string number ) : UASInviteTransaction

Creates a dummy INVITE transaction to act as a substitute incoming call for dialplan executions that have been initiated from a web request.

GetNextExpiredCall ( ) : SIPDialogueAsset
InitialiseDispatcherProxies ( ) : void
IsDialPlanExecutionAllowed ( SIPDialPlan dialPlan, Customer customer ) : bool
MonitorCalls ( ) : void
OnCallHungup ( SIPDialogue sipDialogue ) : void
ProcessNewCall ( ISIPServerUserAgent uas ) : void
ProcessNewCalls ( string threadName ) : void

메소드 상세

AddWaitingApplication() 공개 메소드

public AddWaitingApplication ( CallbackWaiter callbackWaiter ) : void
callbackWaiter SIPSorcery.SIP.App.CallbackWaiter
리턴 void

BlindTransfer() 공개 메소드

Processes an in dialogue REFER request that specifies a new destination for an existing call leg.
public BlindTransfer ( string username, SIPURI referTo, string dialplanName, SIPDialogue replacesDialogue ) : ISIPServerUserAgent
username string The username of the user the transfer is being processed for.
referTo SIPSorcery.SIP.SIPURI The Refer-To header URI from the REFER request.
dialplanName string The dialplan to use to process the transfer.
replacesDialogue SIPSorcery.SIP.SIPDialogue
리턴 ISIPServerUserAgent

CreateDialogueBridge() 공개 메소드

public CreateDialogueBridge ( SIPDialogue clientDiaglogue, SIPDialogue forwardedDialogue, string owner ) : void
clientDiaglogue SIPSorcery.SIP.SIPDialogue
forwardedDialogue SIPSorcery.SIP.SIPDialogue
owner string
리턴 void

GetCurrentCallCount() 공개 메소드

public GetCurrentCallCount ( string owner ) : int
owner string
리턴 int

ProcessCallback() 공개 메소드

Processes the callback action that is initiated by the callmanager service. The callback method is typically initiated from a link on an authenticated web page and requires the user to be authenticated.
public ProcessCallback ( string username, string dialString1, string dialString2 ) : string
username string The authenticated username of the user making the callback request.
dialString1 string The first leg dial string of the callback.
dialString2 string The second leg dial string of the callback.
리턴 string

ProcessWebCall() 공개 메소드

Processes actions initiated by the callmanager web service EXCEPT for the callback method.
public ProcessWebCall ( string username, string number, string dialplanName, string replacesCallID ) : string
username string The UNAUTHENTICATED username that was specified in the callmanager request URL.
number string The number parameter that was specified in the callmanager request URL.
dialplanName string The dialplan to use to process web calls, typically this will be ahrd coded to a known dialplan name.
replacesCallID string The replacesCallID parameter that was specified in the callmanager request URL.
리턴 string

QueueNewCall() 공개 메소드

public QueueNewCall ( ISIPServerUserAgent serverUA ) : void
serverUA ISIPServerUserAgent
리턴 void

ReInvite() 공개 메소드

public ReInvite ( SIPDialogue dialogue, SIPDialogue substituteDialogue ) : void
dialogue SIPSorcery.SIP.SIPDialogue
substituteDialogue SIPSorcery.SIP.SIPDialogue
리턴 void

SIPCallManager() 공개 메소드

public SIPCallManager ( SIPTransport sipTransport, SIPEndPoint outboundProxy, SIPMonitorLogDelegate logDelegate, SIPDialogueManager sipDialogueManager, SIPAssetPersistor sipDialoguePersistor, SIPAssetPersistor sipCDRPersistor, DialPlanEngine dialPlanEngine, SIPAssetGetDelegate getDialPlan, SIPAssetGetDelegate getSIPAccount, SIPAssetGetListDelegate getSIPAccountBindings, SIPAssetGetListDelegate getSIPProviders, GetCanonicalDomainDelegate getCanonicalDomain, SIPAssetPersistor customerPersistor, SIPAssetPersistor dialPlanPersistor, string traceDirectory, bool monitorCalls, int dailyCallLimit ) : System
sipTransport SIPSorcery.SIP.SIPTransport
outboundProxy SIPSorcery.SIP.SIPEndPoint
logDelegate SIPMonitorLogDelegate
sipDialogueManager SIPDialogueManager
sipDialoguePersistor SIPAssetPersistor
sipCDRPersistor SIPAssetPersistor
dialPlanEngine SIPSorcery.AppServer.DialPlan.DialPlanEngine
getDialPlan SIPAssetGetDelegate
getSIPAccount SIPAssetGetDelegate
getSIPAccountBindings SIPAssetGetListDelegate
getSIPProviders SIPAssetGetListDelegate
getCanonicalDomain GetCanonicalDomainDelegate
customerPersistor SIPAssetPersistor
dialPlanPersistor SIPAssetPersistor
traceDirectory string
monitorCalls bool
dailyCallLimit int
리턴 System

Start() 공개 메소드

public Start ( ) : void
리턴 void

Stop() 공개 메소드

public Stop ( ) : void
리턴 void