C# Class SIPSorcery.Web.Services.Provisioning

Inheritance: IProvisioning
Afficher le fichier Open project: sipsorcery/sipsorcery

Méthodes publiques

Méthode Description
AddCustomer ( CustomerJSON customer ) : JSONResult
AddDialPlan ( SIPDialPlanJSON sipDialPlan ) : JSONResult
AddSIPAccount ( SIPAccountJSON sipAccount ) : JSONResult
AddSIPProvider ( SIPProviderJSON sipProvider ) : JSONResult
CopyDialPlan ( string id ) : JSONResult
DBDelete ( string key ) : JSONResult
DBGetKeys ( ) : JSONResult>
DBRead ( string key ) : JSONResult
DBWrite ( string key, string value ) : JSONResult
DeleteDialPlan ( string id ) : JSONResult
DeleteSIPAccount ( string id ) : JSONResult

Attempts to delete a SIP account that matches the specified ID.

DeleteSIPProvider ( string id ) : JSONResult

Attempts to delete a SIP provider that matches the specified ID.

GetCDRs ( string where, int offset, int count ) : JSONResult>
GetCDRsCount ( string where ) : JSONResult
GetCalls ( string where, int offset, int count ) : JSONResult>
GetCallsCount ( string where ) : JSONResult
GetDialPlans ( string where, int offset, int count ) : JSONResult>
GetDialPlansCount ( string where ) : JSONResult
GetSIPAccountBindings ( string where, int offset, int count ) : JSONResult>
GetSIPAccountBindingsCount ( string where ) : JSONResult
GetSIPAccounts ( string where, int offset, int count ) : JSONResult>
GetSIPAccountsCount ( string where ) : JSONResult

Retrieves a count of the user's matching SIP accounts.

GetSIPDomains ( string where, int offset, int count ) : List
GetSIPProviderBindings ( string where, int offset, int count ) : JSONResult>
GetSIPProviderBindingsCount ( string where ) : JSONResult
GetSIPProviders ( string where, int offset, int count ) : JSONResult>
GetSIPProvidersCount ( string where ) : JSONResult

Retrieves a count of the user's matching SIP providers.

IsAlive ( ) : bool
SetCustomerServiceLevel ( string username, string serviceLevel, string renewalDate ) : JSONResult
SetReadOnly ( string username ) : JSONResult
UpdateDialPlan ( SIPDialPlanJSON sipDialPlan ) : JSONResult
UpdateSIPAccount ( SIPAccountJSON sipAccount ) : JSONResult
UpdateSIPProvider ( SIPProviderJSON sipProvider ) : JSONResult

Private Methods

Méthode Description
AuthoriseRequest ( ) : Customer

Method Details

AddCustomer() public méthode

public AddCustomer ( CustomerJSON customer ) : JSONResult
customer SIPSorcery.Entities.CustomerJSON
Résultat JSONResult

AddDialPlan() public méthode

public AddDialPlan ( SIPDialPlanJSON sipDialPlan ) : JSONResult
sipDialPlan SIPSorcery.Entities.SIPDialPlanJSON
Résultat JSONResult

AddSIPAccount() public méthode

public AddSIPAccount ( SIPAccountJSON sipAccount ) : JSONResult
sipAccount SIPSorcery.Entities.SIPAccountJSON
Résultat JSONResult

AddSIPProvider() public méthode

public AddSIPProvider ( SIPProviderJSON sipProvider ) : JSONResult
sipProvider SIPSorcery.Entities.SIPProviderJSON
Résultat JSONResult

CopyDialPlan() public méthode

public CopyDialPlan ( string id ) : JSONResult
id string
Résultat JSONResult

DBDelete() public méthode

public DBDelete ( string key ) : JSONResult
key string
Résultat JSONResult

DBGetKeys() public méthode

public DBGetKeys ( ) : JSONResult>
Résultat JSONResult>

DBRead() public méthode

public DBRead ( string key ) : JSONResult
key string
Résultat JSONResult

DBWrite() public méthode

public DBWrite ( string key, string value ) : JSONResult
key string
value string
Résultat JSONResult

DeleteDialPlan() public méthode

public DeleteDialPlan ( string id ) : JSONResult
id string
Résultat JSONResult

DeleteSIPAccount() public méthode

Attempts to delete a SIP account that matches the specified ID.
public DeleteSIPAccount ( string id ) : JSONResult
id string
Résultat JSONResult

DeleteSIPProvider() public méthode

Attempts to delete a SIP provider that matches the specified ID.
public DeleteSIPProvider ( string id ) : JSONResult
id string
Résultat JSONResult

GetCDRs() public méthode

public GetCDRs ( string where, int offset, int count ) : JSONResult>
where string
offset int
count int
Résultat JSONResult>

GetCDRsCount() public méthode

public GetCDRsCount ( string where ) : JSONResult
where string
Résultat JSONResult

GetCalls() public méthode

public GetCalls ( string where, int offset, int count ) : JSONResult>
where string
offset int
count int
Résultat JSONResult>

GetCallsCount() public méthode

public GetCallsCount ( string where ) : JSONResult
where string
Résultat JSONResult

GetDialPlans() public méthode

public GetDialPlans ( string where, int offset, int count ) : JSONResult>
where string
offset int
count int
Résultat JSONResult>

GetDialPlansCount() public méthode

public GetDialPlansCount ( string where ) : JSONResult
where string
Résultat JSONResult

GetSIPAccountBindings() public méthode

public GetSIPAccountBindings ( string where, int offset, int count ) : JSONResult>
where string
offset int
count int
Résultat JSONResult>

GetSIPAccountBindingsCount() public méthode

public GetSIPAccountBindingsCount ( string where ) : JSONResult
where string
Résultat JSONResult

GetSIPAccounts() public méthode

public GetSIPAccounts ( string where, int offset, int count ) : JSONResult>
where string
offset int
count int
Résultat JSONResult>

GetSIPAccountsCount() public méthode

Retrieves a count of the user's matching SIP accounts.
public GetSIPAccountsCount ( string where ) : JSONResult
where string An optional dynamic LINQ where clause to apply when doing the count.
Résultat JSONResult

GetSIPDomains() public méthode

public GetSIPDomains ( string where, int offset, int count ) : List
where string
offset int
count int
Résultat List

GetSIPProviderBindings() public méthode

public GetSIPProviderBindings ( string where, int offset, int count ) : JSONResult>
where string
offset int
count int
Résultat JSONResult>

GetSIPProviderBindingsCount() public méthode

public GetSIPProviderBindingsCount ( string where ) : JSONResult
where string
Résultat JSONResult

GetSIPProviders() public méthode

public GetSIPProviders ( string where, int offset, int count ) : JSONResult>
where string
offset int
count int
Résultat JSONResult>

GetSIPProvidersCount() public méthode

Retrieves a count of the user's matching SIP providers.
public GetSIPProvidersCount ( string where ) : JSONResult
where string An optional dynamic LINQ where clause to apply when doing the count.
Résultat JSONResult

IsAlive() public méthode

public IsAlive ( ) : bool
Résultat bool

SetCustomerServiceLevel() public méthode

public SetCustomerServiceLevel ( string username, string serviceLevel, string renewalDate ) : JSONResult
username string
serviceLevel string
renewalDate string
Résultat JSONResult

SetReadOnly() public méthode

public SetReadOnly ( string username ) : JSONResult
username string
Résultat JSONResult

UpdateDialPlan() public méthode

public UpdateDialPlan ( SIPDialPlanJSON sipDialPlan ) : JSONResult
sipDialPlan SIPSorcery.Entities.SIPDialPlanJSON
Résultat JSONResult

UpdateSIPAccount() public méthode

public UpdateSIPAccount ( SIPAccountJSON sipAccount ) : JSONResult
sipAccount SIPSorcery.Entities.SIPAccountJSON
Résultat JSONResult

UpdateSIPProvider() public méthode

public UpdateSIPProvider ( SIPProviderJSON sipProvider ) : JSONResult
sipProvider SIPProviderJSON
Résultat JSONResult