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

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

Открытые свойства

Свойство Тип Описание
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)

Свойство Тип Описание
logger log4net.ILog
m_dialPlan SIPSorcery.SIP.App.SIPDialPlan
m_sipProviders List
m_traceLog StringBuilder

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

Метод Описание
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

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

Метод Описание
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

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

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

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
Результат void

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

public CallFailed ( SIPResponseStatusCodesEnum failureStatus, string reasonPhrase, string customHeaders ) : void
failureStatus SIPResponseStatusCodesEnum
reasonPhrase string
customHeaders string
Результат void

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

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
Результат void

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

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
Результат System

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

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
Результат System

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

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
Результат System

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

public DialPlanExecutionFinished ( ) : void
Результат void

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

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
Результат void

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

public SetCallerDetails ( CRMHeaders crmHeaders ) : void
crmHeaders SIPSorcery.SIP.App.CRMHeaders
Результат void

Описание свойств

CallerCRMDetails публичное свойство

public CRMHeaders,SIPSorcery.SIP.App CallerCRMDetails
Результат SIPSorcery.SIP.App.CRMHeaders

CallersNetworkId публичное свойство

public string CallersNetworkId
Результат string

ContextType публичное свойство

public DialPlanContextsEnum ContextType
Результат DialPlanContextsEnum

CreateBridge_External публичное свойство

public DialogueBridgeCreatedDelegate CreateBridge_External
Результат DialogueBridgeCreatedDelegate

Customer публичное свойство

public Customer,SIPSorcery.CRM Customer
Результат SIPSorcery.CRM.Customer

CustomerId публичное свойство

public Guid,System CustomerId
Результат System.Guid

GetCanonicalDomain_External публичное свойство

public GetCanonicalDomainDelegate GetCanonicalDomain_External
Результат GetCanonicalDomainDelegate

SendTrace публичное свойство

public bool SendTrace
Результат bool

logger защищенное статическое свойство

protected static ILog,log4net logger
Результат log4net.ILog

m_dialPlan защищенное свойство

protected SIPDialPlan,SIPSorcery.SIP.App m_dialPlan
Результат SIPSorcery.SIP.App.SIPDialPlan

m_dialPlanEngine публичное свойство

public DialPlanEngine,SIPSorcery.AppServer.DialPlan m_dialPlanEngine
Результат DialPlanEngine

m_sipProviders защищенное свойство

protected List m_sipProviders
Результат List

m_traceLog защищенное свойство

protected StringBuilder m_traceLog
Результат StringBuilder