C# Class SIPSorcery.AppServer.DialPlan.DialPlanSettings

显示文件 Open project: sipsorcery/sipsorcery Class Usage Examples

Public Properties

Property Type Description
Lookups List
Options SIPSorcery.Entities.SIPDialplanOption
Providers SIPDialplanProvider>.Dictionary
Routes List

Public Methods

Method Description
DialPlanSettings ( List lookups, List routes, SIPDialplanProvider>.Dictionary providers, SIPDialplanOption options ) : System
GetAllowedCountries ( ) : List

Gets a list of allowed country codes that the user has specified in their dialplan options.

GetCNAMs ( ) : string>.Dictionary
GetENUMServers ( ) : List

Gets a list of any ENUM servers the user has specified in their dialplan options. The ENUM servers will be stored in the database as a CRLF separated list of strings.

GetENUMs ( ) : string>.Dictionary
GetExcludedPrefixes ( ) : List

Gets a list of any excluded prefixes the user has specified in their dialplan options. The excluded prefix strings will be stored in the database as a CRLF separated list of strings. Spaces are used in excluded prefixes so they should not be trimmed.

GetSpeedDials ( ) : string>.Dictionary
GetTimezoneOffset ( ) : int

If set retrieves the user's UTC time zone offset for use in the dialplan.

Private Methods

Method Description
GetLookups ( SIPDialPlanLookupTypes lookupType ) : string>.Dictionary

Method Details

DialPlanSettings() public method

public DialPlanSettings ( List lookups, List routes, SIPDialplanProvider>.Dictionary providers, SIPDialplanOption options ) : System
lookups List
routes List
providers SIPDialplanProvider>.Dictionary
options SIPSorcery.Entities.SIPDialplanOption
return System

GetAllowedCountries() public method

Gets a list of allowed country codes that the user has specified in their dialplan options.
public GetAllowedCountries ( ) : List
return List

GetCNAMs() public method

public GetCNAMs ( ) : string>.Dictionary
return string>.Dictionary

GetENUMServers() public method

Gets a list of any ENUM servers the user has specified in their dialplan options. The ENUM servers will be stored in the database as a CRLF separated list of strings.
public GetENUMServers ( ) : List
return List

GetENUMs() public method

public GetENUMs ( ) : string>.Dictionary
return string>.Dictionary

GetExcludedPrefixes() public method

Gets a list of any excluded prefixes the user has specified in their dialplan options. The excluded prefix strings will be stored in the database as a CRLF separated list of strings. Spaces are used in excluded prefixes so they should not be trimmed.
public GetExcludedPrefixes ( ) : List
return List

GetSpeedDials() public method

public GetSpeedDials ( ) : string>.Dictionary
return string>.Dictionary

GetTimezoneOffset() public method

If set retrieves the user's UTC time zone offset for use in the dialplan.
public GetTimezoneOffset ( ) : int
return int

Property Details

Lookups public_oe property

public List Lookups
return List

Options public_oe property

public SIPDialplanOption,SIPSorcery.Entities Options
return SIPSorcery.Entities.SIPDialplanOption

Providers public_oe property

public Dictionary Providers
return SIPDialplanProvider>.Dictionary

Routes public_oe property

public List Routes
return List