C# Class SIPSorcery.AppServer.DialPlan.DialPlanContext

Afficher le fichier Open project: TilmannBach/sipsorcery-fork Class Usage Examples

Méthodes publiques

Свойство Type Description
CallerCRMDetails SIPSorcery.SIP.App.CRMHeaders
CallersNetworkId string
ContextType DialPlanContextsEnum
CreateBridge_External DialogueBridgeCreatedDelegate
Customer SIPSorcery.CRM.Customer
CustomerId System.Guid
GetCanonicalDomain_External GetCanonicalDomainDelegate
SendTrace bool
m_dialPlanEngine DialPlanEngine

Protected Properties

Свойство Type Description
logger log4net.ILog
m_dialPlan SIPSorcery.SIP.App.SIPDialPlan
m_sipProviders List
m_traceLog StringBuilder

Méthodes publiques

Méthode Description
CallAnswered ( SIPResponseStatusCodesEnum answeredStatus, string reasonPhrase, string toTag, string customHeaders, string answeredContentType, string answeredBody, SIPDialogue answeredDialogue, SIPDialogueTransferModesEnum uasTransferMode ) : void
CallFailed ( SIPResponseStatusCodesEnum failureStatus, string reasonPhrase, string customHeaders ) : void
CallProgress ( SIPResponseStatusCodesEnum progressStatus, string reasonPhrase, string customHeaders, string progressContentType, string progressBody, ISIPClientUserAgent uac ) : void
DialPlanContext ( SIPMonitorLogDelegate monitorLogDelegate, SIPTransport sipTransport, DialogueBridgeCreatedDelegate createBridge, SIPEndPoint outboundProxy, ISIPServerUserAgent sipServerUserAgent, SIPDialPlan dialPlan, List sipProviders, string traceDirectory, string callersNetworkId, Customer customer, DialPlanEngine dialPlanEngine, GetCanonicalDomainDelegate getCanonicalDomain ) : System
DialPlanContext ( SIPMonitorLogDelegate monitorLogDelegate, SIPTransport sipTransport, DialogueBridgeCreatedDelegate createBridge, SIPEndPoint outboundProxy, ISIPServerUserAgent sipServerUserAgent, SIPDialPlan dialPlan, List sipProviders, string traceDirectory, string callersNetworkId, System.Guid customerId ) : System
DialPlanContext ( SIPMonitorLogDelegate monitorLogDelegate, SIPTransport sipTransport, SIPEndPoint outboundProxy, SIPDialPlan dialPlan, List sipProviders, string traceDirectory, string callersNetworkId, Customer customer ) : System

Constructor for non-INVITE requests that can initiate dialplan executions.

DialPlanExecutionFinished ( ) : void
ExecuteDialPlanForRedirect ( SIPResponse redirectResponse ) : void

Executes a new instance of the current dialplan as a result of receiving a redirect response.

SetCallerDetails ( CRMHeaders crmHeaders ) : void

Private Methods

Méthode Description
ClientCallCancelled ( ISIPServerUserAgent uas ) : void
ClientCallNoRingTimeout ( ISIPServerUserAgent sipServerUserAgent ) : void

The client transaction will time out after ringing for the maximum allowed time for an INVITE transaction (probably 10 minutes) or less if the invite transaction timeout value has been adjusted.

ClientTransactionRemoved ( ISIPServerUserAgent uas ) : void
CompleteTrace ( ) : void
FireProxyLogEvent ( SIPMonitorEvent monitorEvent ) : void
TransactionTraceMessage ( SIPTransaction sipTransaction, string message ) : void

Method Details

CallAnswered() public méthode

public CallAnswered ( SIPResponseStatusCodesEnum answeredStatus, string reasonPhrase, string toTag, string customHeaders, string answeredContentType, string answeredBody, SIPDialogue answeredDialogue, SIPDialogueTransferModesEnum uasTransferMode ) : void
answeredStatus SIPResponseStatusCodesEnum
reasonPhrase string
toTag string
customHeaders string
answeredContentType string
answeredBody string
answeredDialogue SIPSorcery.SIP.SIPDialogue
uasTransferMode SIPDialogueTransferModesEnum
Résultat void

CallFailed() public méthode

public CallFailed ( SIPResponseStatusCodesEnum failureStatus, string reasonPhrase, string customHeaders ) : void
failureStatus SIPResponseStatusCodesEnum
reasonPhrase string
customHeaders string
Résultat void

CallProgress() public méthode

public CallProgress ( SIPResponseStatusCodesEnum progressStatus, string reasonPhrase, string customHeaders, string progressContentType, string progressBody, ISIPClientUserAgent uac ) : void
progressStatus SIPResponseStatusCodesEnum
reasonPhrase string
customHeaders string
progressContentType string
progressBody string
uac ISIPClientUserAgent
Résultat void

DialPlanContext() public méthode

public DialPlanContext ( SIPMonitorLogDelegate monitorLogDelegate, SIPTransport sipTransport, DialogueBridgeCreatedDelegate createBridge, SIPEndPoint outboundProxy, ISIPServerUserAgent sipServerUserAgent, SIPDialPlan dialPlan, List sipProviders, string traceDirectory, string callersNetworkId, Customer customer, DialPlanEngine dialPlanEngine, GetCanonicalDomainDelegate getCanonicalDomain ) : System
monitorLogDelegate SIPMonitorLogDelegate
sipTransport SIPSorcery.SIP.SIPTransport
createBridge DialogueBridgeCreatedDelegate
outboundProxy SIPSorcery.SIP.SIPEndPoint
sipServerUserAgent ISIPServerUserAgent
dialPlan SIPSorcery.SIP.App.SIPDialPlan
sipProviders List
traceDirectory string
callersNetworkId string
customer SIPSorcery.CRM.Customer
dialPlanEngine DialPlanEngine
getCanonicalDomain GetCanonicalDomainDelegate
Résultat System

DialPlanContext() public méthode

public DialPlanContext ( SIPMonitorLogDelegate monitorLogDelegate, SIPTransport sipTransport, DialogueBridgeCreatedDelegate createBridge, SIPEndPoint outboundProxy, ISIPServerUserAgent sipServerUserAgent, SIPDialPlan dialPlan, List sipProviders, string traceDirectory, string callersNetworkId, System.Guid customerId ) : System
monitorLogDelegate SIPMonitorLogDelegate
sipTransport SIPSorcery.SIP.SIPTransport
createBridge DialogueBridgeCreatedDelegate
outboundProxy SIPSorcery.SIP.SIPEndPoint
sipServerUserAgent ISIPServerUserAgent
dialPlan SIPSorcery.SIP.App.SIPDialPlan
sipProviders List
traceDirectory string
callersNetworkId string
customerId System.Guid
Résultat System

DialPlanContext() public méthode

Constructor for non-INVITE requests that can initiate dialplan executions.
public DialPlanContext ( SIPMonitorLogDelegate monitorLogDelegate, SIPTransport sipTransport, SIPEndPoint outboundProxy, SIPDialPlan dialPlan, List sipProviders, string traceDirectory, string callersNetworkId, Customer customer ) : System
monitorLogDelegate SIPMonitorLogDelegate
sipTransport SIPSorcery.SIP.SIPTransport
outboundProxy SIPSorcery.SIP.SIPEndPoint
dialPlan SIPSorcery.SIP.App.SIPDialPlan
sipProviders List
traceDirectory string
callersNetworkId string
customer SIPSorcery.CRM.Customer
Résultat System

DialPlanExecutionFinished() public méthode

public DialPlanExecutionFinished ( ) : void
Résultat void

ExecuteDialPlanForRedirect() public méthode

Executes a new instance of the current dialplan as a result of receiving a redirect response.
public ExecuteDialPlanForRedirect ( SIPResponse redirectResponse ) : void
redirectResponse SIPSorcery.SIP.SIPResponse
Résultat void

SetCallerDetails() public méthode

public SetCallerDetails ( CRMHeaders crmHeaders ) : void
crmHeaders SIPSorcery.SIP.App.CRMHeaders
Résultat void

Property Details

CallerCRMDetails public_oe property

public CRMHeaders,SIPSorcery.SIP.App CallerCRMDetails
Résultat SIPSorcery.SIP.App.CRMHeaders

CallersNetworkId public_oe property

public string CallersNetworkId
Résultat string

ContextType public_oe property

public DialPlanContextsEnum ContextType
Résultat DialPlanContextsEnum

CreateBridge_External public_oe property

public DialogueBridgeCreatedDelegate CreateBridge_External
Résultat DialogueBridgeCreatedDelegate

Customer public_oe property

public Customer,SIPSorcery.CRM Customer
Résultat SIPSorcery.CRM.Customer

CustomerId public_oe property

public Guid,System CustomerId
Résultat System.Guid

GetCanonicalDomain_External public_oe property

public GetCanonicalDomainDelegate GetCanonicalDomain_External
Résultat GetCanonicalDomainDelegate

SendTrace public_oe property

public bool SendTrace
Résultat bool

logger protected_oe static_oe property

protected static ILog,log4net logger
Résultat log4net.ILog

m_dialPlan protected_oe property

protected SIPDialPlan,SIPSorcery.SIP.App m_dialPlan
Résultat SIPSorcery.SIP.App.SIPDialPlan

m_dialPlanEngine public_oe property

public DialPlanEngine,SIPSorcery.AppServer.DialPlan m_dialPlanEngine
Résultat DialPlanEngine

m_sipProviders protected_oe property

protected List m_sipProviders
Résultat List

m_traceLog protected_oe property

protected StringBuilder m_traceLog
Résultat StringBuilder