C# Класс SIPSorcery.Web.Services.Provisioning

Наследование: IProvisioning
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
AuthoriseRequest ( ) : Customer

Описание методов

AddCustomer() публичный Метод

public AddCustomer ( CustomerJSON customer ) : JSONResult
customer SIPSorcery.Entities.CustomerJSON
Результат JSONResult

AddDialPlan() публичный Метод

public AddDialPlan ( SIPDialPlanJSON sipDialPlan ) : JSONResult
sipDialPlan SIPSorcery.Entities.SIPDialPlanJSON
Результат JSONResult

AddSIPAccount() публичный Метод

public AddSIPAccount ( SIPAccountJSON sipAccount ) : JSONResult
sipAccount SIPSorcery.Entities.SIPAccountJSON
Результат JSONResult

AddSIPProvider() публичный Метод

public AddSIPProvider ( SIPProviderJSON sipProvider ) : JSONResult
sipProvider SIPSorcery.Entities.SIPProviderJSON
Результат JSONResult

CopyDialPlan() публичный Метод

public CopyDialPlan ( string id ) : JSONResult
id string
Результат JSONResult

DBDelete() публичный Метод

public DBDelete ( string key ) : JSONResult
key string
Результат JSONResult

DBGetKeys() публичный Метод

public DBGetKeys ( ) : JSONResult>
Результат JSONResult>

DBRead() публичный Метод

public DBRead ( string key ) : JSONResult
key string
Результат JSONResult

DBWrite() публичный Метод

public DBWrite ( string key, string value ) : JSONResult
key string
value string
Результат JSONResult

DeleteDialPlan() публичный Метод

public DeleteDialPlan ( string id ) : JSONResult
id string
Результат JSONResult

DeleteSIPAccount() публичный Метод

Attempts to delete a SIP account that matches the specified ID.
public DeleteSIPAccount ( string id ) : JSONResult
id string
Результат JSONResult

DeleteSIPProvider() публичный Метод

Attempts to delete a SIP provider that matches the specified ID.
public DeleteSIPProvider ( string id ) : JSONResult
id string
Результат JSONResult

GetCDRs() публичный Метод

public GetCDRs ( string where, int offset, int count ) : JSONResult>
where string
offset int
count int
Результат JSONResult>

GetCDRsCount() публичный Метод

public GetCDRsCount ( string where ) : JSONResult
where string
Результат JSONResult

GetCalls() публичный Метод

public GetCalls ( string where, int offset, int count ) : JSONResult>
where string
offset int
count int
Результат JSONResult>

GetCallsCount() публичный Метод

public GetCallsCount ( string where ) : JSONResult
where string
Результат JSONResult

GetDialPlans() публичный Метод

public GetDialPlans ( string where, int offset, int count ) : JSONResult>
where string
offset int
count int
Результат JSONResult>

GetDialPlansCount() публичный Метод

public GetDialPlansCount ( string where ) : JSONResult
where string
Результат JSONResult

GetSIPAccountBindings() публичный Метод

public GetSIPAccountBindings ( string where, int offset, int count ) : JSONResult>
where string
offset int
count int
Результат JSONResult>

GetSIPAccountBindingsCount() публичный Метод

public GetSIPAccountBindingsCount ( string where ) : JSONResult
where string
Результат JSONResult

GetSIPAccounts() публичный Метод

public GetSIPAccounts ( string where, int offset, int count ) : JSONResult>
where string
offset int
count int
Результат JSONResult>

GetSIPAccountsCount() публичный Метод

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.
Результат JSONResult

GetSIPDomains() публичный Метод

public GetSIPDomains ( string where, int offset, int count ) : List
where string
offset int
count int
Результат List

GetSIPProviderBindings() публичный Метод

public GetSIPProviderBindings ( string where, int offset, int count ) : JSONResult>
where string
offset int
count int
Результат JSONResult>

GetSIPProviderBindingsCount() публичный Метод

public GetSIPProviderBindingsCount ( string where ) : JSONResult
where string
Результат JSONResult

GetSIPProviders() публичный Метод

public GetSIPProviders ( string where, int offset, int count ) : JSONResult>
where string
offset int
count int
Результат JSONResult>

GetSIPProvidersCount() публичный Метод

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.
Результат JSONResult

IsAlive() публичный Метод

public IsAlive ( ) : bool
Результат bool

SetCustomerServiceLevel() публичный Метод

public SetCustomerServiceLevel ( string username, string serviceLevel, string renewalDate ) : JSONResult
username string
serviceLevel string
renewalDate string
Результат JSONResult

SetReadOnly() публичный Метод

public SetReadOnly ( string username ) : JSONResult
username string
Результат JSONResult

UpdateDialPlan() публичный Метод

public UpdateDialPlan ( SIPDialPlanJSON sipDialPlan ) : JSONResult
sipDialPlan SIPSorcery.Entities.SIPDialPlanJSON
Результат JSONResult

UpdateSIPAccount() публичный Метод

public UpdateSIPAccount ( SIPAccountJSON sipAccount ) : JSONResult
sipAccount SIPSorcery.Entities.SIPAccountJSON
Результат JSONResult

UpdateSIPProvider() публичный Метод

public UpdateSIPProvider ( SIPProviderJSON sipProvider ) : JSONResult
sipProvider SIPProviderJSON
Результат JSONResult