Свойство | Type | Description | |
---|---|---|---|
PublicIPAddress |
Méthode | Description | |
---|---|---|
DialStringParser ( |
|
|
GetForwardsForLocalLeg ( |
Creates a list of calls based on the registered contacts for a user registration.
|
|
GetForwardsForRedirect ( |
||
ParseDialString ( DialPlanContextsEnum dialPlanType,
|
Parses a dial string that has been used in a dial plan Dial command. The format of the dial string is likely to continue to evolve, check the class summary for the different formats available. This method determines which format the dial string is in and passes off to the appropriate method to build the call list.
|
|
SubstituteRequestVars ( |
Substitutes the special characters with variables from the SIP request.
|
Méthode | Description | |
---|---|---|
GetForwardsForExternalLeg ( |
Can't be used for local destinations!
|
|
IsURIInQueue ( Queue |
||
ParseAsteriskDialString ( string data, |
Builds the call list based on the original dial plan SwitchCall format. This will result in only a single call leg with a single forward destination. Examples of the dial string in a dial plan command are: exten = number,priority,Switch(username,password,new number[,From[,SendTo[,Trace]]]) or sys.Dial("username,password,${dst}@provider")
|
|
ParseFromHeaderOption ( string customFromHeader, |
The From header on forwarded calls can be customised. This method parses the dial plan option for the From header field or lack of it field and produces the From header string that will be used for forwarded calls.
|
|
ParseScriptDialString (
|
Processes dial strings using the multi-legged format. Each leg is separated from the proceeding one by the | character and each subsequent leg will only be used if all the forwards in the preceeding one fail. Within each leg the forwards are separated by the & character. Example: Dial(123@provider1&provider2|[email protected]|provider4&456@provider5[,trace])
|
public DialStringParser ( |
||
sipTransport | ||
owner | string | |
sipAccount | The SIP account that was called and resulted in the dialplan executing. Will be null if the /// execution was not initated by a call to a SIP account call such as if a web callback occurs. | |
sipProviders | List |
|
getSIPAccount | SIPAssetGetDelegate |
|
getRegistrarBindings | SIPAssetGetListDelegate |
|
getCanonicalDomainDelegate | GetCanonicalDomainDelegate | |
logDelegate | SIPMonitorLogDelegate | |
dialplanName | string | Used to ensure that a call leg cannot create a B2B call that loops into the same dial plan. |
Résultat | NUnit.Framework |
public GetForwardsForLocalLeg ( |
||
sipRequest | ||
sipAccount | ||
customHeaders | List |
|
customContentType | string | |
customContent | string | |
options | string | |
callersNetworkId | string | |
fromDisplayName | string | |
fromUsername | string | |
fromHost | string | |
contact | ||
Résultat | List |
public GetForwardsForRedirect ( |
||
redirectURI | ||
callDescriptor | ||
Résultat | List |
public ParseDialString ( DialPlanContextsEnum dialPlanType,
|
||
dialPlanType | DialPlanContextsEnum | The type of dialplan that generated the Dial command. |
sipRequest | The SIP Request that originated this command. Can be null if the call was not initiated by a SIP request such as /// by a HTTP web service. | |
command | string | The Dial command string being parsed. |
customHeaders | List |
If non-empty contains a list of custom SIP headers that will be added to the forwarded request. |
customContentType | string | If set indicates a custom content type header is required on the forwarded request and it /// overrides any other value. |
customContent | string | If set indicates a custom body is required on the forwarded request and it /// overrides any other value. |
callersNetworkId | string | If the call originated from a locally administered account this will hold the account's /// networkid which is used to determine if two local accounts are on the same network and therefore should have their SDP /// left alone. |
fromDisplayName | string | If set will be used the From header display name instead of the value from the originating SIP request. |
fromUsername | string | If set will be used the From header user name instead of the value from the originating SIP request. |
fromHost | string | If set will be used the From header host instead of the value from the originating SIP request. |
contact | ||
serviceLevel | CustomerServiceLevels | |
Résultat | Queue
|
public static SubstituteRequestVars ( |
||
request | ||
substituteString | string | |
Résultat | string |