C# 클래스 SIPSorcery.AppServer.DialPlan.DialPlanLineContext

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

공개 메소드들

메소드 설명
DialPlanLineContext ( SIPMonitorLogDelegate monitorLogDelegate, SIPTransport sipTransport, DialogueBridgeCreatedDelegate createBridge, SIPEndPoint outboundProxy, ISIPServerUserAgent sipServerUserAgent, SIPDialPlan dialPlan, List sipProviders, string traceDirectory, string callersNetworkId, Customer customer ) : System
GetDialPlanExactMatch ( SIPRequest sipRequest ) : SIPSorcery.AppServer.DialPlan.DialPlanCommand

Used for incoming calls where an exact match is required on the sipswitch username.

GetDialPlanMatch ( string callDestination ) : SIPSorcery.AppServer.DialPlan.DialPlanCommand

Decides on which dial plan line matches an incoming call request. The decision is made by attempting to locate a match in the user's dial plan. Variable substitutions, all case insensitive: - ${dst} and ${exten} will be replaced with request URI user, if ${exten:2} two chars will be trimmed from the start, - ${fromname} will be replaced with the From header name, - ${fromuriuser} will be replaced with the From header URI user. Extension (or more correctly SIP URI user matching): - If the pattern starts with an _ then Asterisk compaitble mode is used: - X = any digit, - Z = any digit 1 to 9, - N = any digit 2 to 9. - Otherwise the match is either an equality or regex match depending on the operator.

비공개 메소드들

메소드 설명
ParseDialPlan ( string dialPlanEntries ) : void

메소드 상세

DialPlanLineContext() 공개 메소드

public DialPlanLineContext ( SIPMonitorLogDelegate monitorLogDelegate, SIPTransport sipTransport, DialogueBridgeCreatedDelegate createBridge, SIPEndPoint outboundProxy, ISIPServerUserAgent sipServerUserAgent, SIPDialPlan dialPlan, List sipProviders, string traceDirectory, string callersNetworkId, Customer customer ) : 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
리턴 System

GetDialPlanExactMatch() 공개 메소드

Used for incoming calls where an exact match is required on the sipswitch username.
public GetDialPlanExactMatch ( SIPRequest sipRequest ) : SIPSorcery.AppServer.DialPlan.DialPlanCommand
sipRequest SIPSorcery.SIP.SIPRequest
리턴 SIPSorcery.AppServer.DialPlan.DialPlanCommand

GetDialPlanMatch() 공개 메소드

Decides on which dial plan line matches an incoming call request. The decision is made by attempting to locate a match in the user's dial plan. Variable substitutions, all case insensitive: - ${dst} and ${exten} will be replaced with request URI user, if ${exten:2} two chars will be trimmed from the start, - ${fromname} will be replaced with the From header name, - ${fromuriuser} will be replaced with the From header URI user. Extension (or more correctly SIP URI user matching): - If the pattern starts with an _ then Asterisk compaitble mode is used: - X = any digit, - Z = any digit 1 to 9, - N = any digit 2 to 9. - Otherwise the match is either an equality or regex match depending on the operator.
public GetDialPlanMatch ( string callDestination ) : SIPSorcery.AppServer.DialPlan.DialPlanCommand
callDestination string
리턴 SIPSorcery.AppServer.DialPlan.DialPlanCommand