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