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

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

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

Метод Описание
AddDialPlan ( SIPDialPlan dialPlan ) : SIPDialPlan
AddSIPAccount ( SIPAccount sipAccount ) : SIPAccount
AddSIPAccount ( string username, string password, string domain, string avatarURL ) : string
AddSIPProvider ( SIPProvider sipProvider ) : SIPProvider
AreNewAccountsEnabled ( ) : bool
CreateCustomer ( Customer customer ) : void
DeleteCustomer ( string customerUsername ) : void
DeleteDialPlan ( SIPDialPlan dialPlan ) : SIPDialPlan
DeleteSIPAccount ( SIPAccount sipAccount ) : SIPAccount
DeleteSIPProvider ( SIPProvider sipProvider ) : SIPProvider
ExtendSession ( int minutes ) : void
GetCDRs ( string whereExpression, int offset, int count ) : List
GetCDRsCount ( string whereExpression ) : int
GetCalls ( string whereExpression, int offset, int count ) : List
GetCallsCount ( string whereExpression ) : int
GetCustomer ( string username ) : Customer
GetDialPlans ( string whereExpression, int offset, int count ) : List
GetDialPlansCount ( string whereExpression ) : int
GetSIPAccounts ( string whereExpression, int offset, int count ) : List
GetSIPAccountsCount ( string whereExpression ) : int
GetSIPDomains ( string filterExpression, int offset, int count ) : List
GetSIPProviderBindings ( string whereExpression, int offset, int count ) : List
GetSIPProviderBindingsCount ( string whereExpression ) : int
GetSIPProviders ( string whereExpression, int offset, int count ) : List
GetSIPProvidersCount ( string whereExpression ) : int
GetSIPRegistrarBindings ( string whereExpression, int offset, int count ) : List
GetSIPRegistrarBindingsCount ( string whereExpression ) : int
GetTimeZoneOffsetMinutes ( ) : int
IsAlive ( ) : bool
Login ( string username, string password ) : string
Logout ( ) : void
SIPProvisioningWebService ( ) : System
SIPProvisioningWebService ( SIPAssetPersistor sipAccountPersistor, SIPAssetPersistor sipDialPlanPersistor, SIPAssetPersistor sipProviderPersistor, SIPAssetPersistor sipProviderBindingsPersistor, SIPAssetPersistor sipRegistrarBindingsPersistor, SIPAssetPersistor sipDialoguePersistor, SIPAssetPersistor sipCDRPersistor, CustomerSessionManager crmSessionManager, SIPDomainManager sipDomainManager, SIPMonitorLogDelegate log, int newCustomersAllowedLimit, bool inviteCodeRequired ) : System
TestException ( ) : void
UpdateCustomer ( Customer updatedCustomer ) : void
UpdateCustomerPassword ( string username, string oldPassword, string newPassword ) : void
UpdateDialPlan ( SIPDialPlan dialPlan ) : SIPDialPlan
UpdateSIPAccount ( SIPAccount sipAccount ) : SIPAccount
UpdateSIPProvider ( SIPProvider sipProvider ) : SIPProvider

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

Метод Описание
GetAuthorisedWhereExpression ( Customer customer, string whereExpression ) : string

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

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

public AddDialPlan ( SIPDialPlan dialPlan ) : SIPDialPlan
dialPlan SIPSorcery.SIP.App.SIPDialPlan
Результат SIPSorcery.SIP.App.SIPDialPlan

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

public AddSIPAccount ( SIPAccount sipAccount ) : SIPAccount
sipAccount SIPSorcery.SIP.App.SIPAccount
Результат SIPSorcery.SIP.App.SIPAccount

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

public AddSIPAccount ( string username, string password, string domain, string avatarURL ) : string
username string
password string
domain string
avatarURL string
Результат string

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

public AddSIPProvider ( SIPProvider sipProvider ) : SIPProvider
sipProvider SIPSorcery.SIP.App.SIPProvider
Результат SIPSorcery.SIP.App.SIPProvider

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

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

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

public CreateCustomer ( Customer customer ) : void
customer SIPSorcery.CRM.Customer
Результат void

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

public DeleteCustomer ( string customerUsername ) : void
customerUsername string
Результат void

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

public DeleteDialPlan ( SIPDialPlan dialPlan ) : SIPDialPlan
dialPlan SIPDialPlan
Результат SIPDialPlan

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

public DeleteSIPAccount ( SIPAccount sipAccount ) : SIPAccount
sipAccount SIPAccount
Результат SIPAccount

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

public DeleteSIPProvider ( SIPProvider sipProvider ) : SIPProvider
sipProvider SIPProvider
Результат SIPProvider

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

public ExtendSession ( int minutes ) : void
minutes int
Результат void

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

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

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

public GetCDRsCount ( string whereExpression ) : int
whereExpression string
Результат int

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

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

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

public GetCallsCount ( string whereExpression ) : int
whereExpression string
Результат int

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

public GetCustomer ( string username ) : Customer
username string
Результат Customer

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

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

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

public GetDialPlansCount ( string whereExpression ) : int
whereExpression string
Результат int

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

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

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

public GetSIPAccountsCount ( string whereExpression ) : int
whereExpression string
Результат int

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

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

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

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

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

public GetSIPProviderBindingsCount ( string whereExpression ) : int
whereExpression string
Результат int

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

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

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

public GetSIPProvidersCount ( string whereExpression ) : int
whereExpression string
Результат int

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

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

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

public GetSIPRegistrarBindingsCount ( string whereExpression ) : int
whereExpression string
Результат int

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

public GetTimeZoneOffsetMinutes ( ) : int
Результат int

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

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

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

public Login ( string username, string password ) : string
username string
password string
Результат string

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

public Logout ( ) : void
Результат void

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

public SIPProvisioningWebService ( ) : System
Результат System

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

public SIPProvisioningWebService ( SIPAssetPersistor sipAccountPersistor, SIPAssetPersistor sipDialPlanPersistor, SIPAssetPersistor sipProviderPersistor, SIPAssetPersistor sipProviderBindingsPersistor, SIPAssetPersistor sipRegistrarBindingsPersistor, SIPAssetPersistor sipDialoguePersistor, SIPAssetPersistor sipCDRPersistor, CustomerSessionManager crmSessionManager, SIPDomainManager sipDomainManager, SIPMonitorLogDelegate log, int newCustomersAllowedLimit, bool inviteCodeRequired ) : System
sipAccountPersistor SIPAssetPersistor
sipDialPlanPersistor SIPAssetPersistor
sipProviderPersistor SIPAssetPersistor
sipProviderBindingsPersistor SIPAssetPersistor
sipRegistrarBindingsPersistor SIPAssetPersistor
sipDialoguePersistor SIPAssetPersistor
sipCDRPersistor SIPAssetPersistor
crmSessionManager CustomerSessionManager
sipDomainManager SIPDomainManager
log SIPMonitorLogDelegate
newCustomersAllowedLimit int
inviteCodeRequired bool
Результат System

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

public TestException ( ) : void
Результат void

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

public UpdateCustomer ( Customer updatedCustomer ) : void
updatedCustomer Customer
Результат void

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

public UpdateCustomerPassword ( string username, string oldPassword, string newPassword ) : void
username string
oldPassword string
newPassword string
Результат void

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

public UpdateDialPlan ( SIPDialPlan dialPlan ) : SIPDialPlan
dialPlan SIPDialPlan
Результат SIPDialPlan

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

public UpdateSIPAccount ( SIPAccount sipAccount ) : SIPAccount
sipAccount SIPAccount
Результат SIPAccount

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

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