C# Class SIPSorcery.Web.Services.SIPProvisioningWebService

Inheritance: SIPSorceryAuthorisationService, IProvisioningServiceREST, IProvisioningService
Mostra file Open project: sipsorcery/sipsorcery

Public Methods

Method Description
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

Private Methods

Method Description
GetAuthorisedWhereExpression ( Customer customer, string whereExpression ) : string

Method Details

AddDialPlan() public method

public AddDialPlan ( SIPDialPlan dialPlan ) : SIPDialPlan
dialPlan SIPSorcery.SIP.App.SIPDialPlan
return SIPSorcery.SIP.App.SIPDialPlan

AddSIPAccount() public method

public AddSIPAccount ( SIPAccount sipAccount ) : SIPAccount
sipAccount SIPSorcery.SIP.App.SIPAccount
return SIPSorcery.SIP.App.SIPAccount

AddSIPAccount() public method

public AddSIPAccount ( string username, string password, string domain, string avatarURL ) : string
username string
password string
domain string
avatarURL string
return string

AddSIPProvider() public method

public AddSIPProvider ( SIPProvider sipProvider ) : SIPProvider
sipProvider SIPSorcery.SIP.App.SIPProvider
return SIPSorcery.SIP.App.SIPProvider

AreNewAccountsEnabled() public method

public AreNewAccountsEnabled ( ) : bool
return bool

CreateCustomer() public method

public CreateCustomer ( Customer customer ) : void
customer SIPSorcery.CRM.Customer
return void

DeleteCustomer() public method

public DeleteCustomer ( string customerUsername ) : void
customerUsername string
return void

DeleteDialPlan() public method

public DeleteDialPlan ( SIPDialPlan dialPlan ) : SIPDialPlan
dialPlan SIPDialPlan
return SIPDialPlan

DeleteSIPAccount() public method

public DeleteSIPAccount ( SIPAccount sipAccount ) : SIPAccount
sipAccount SIPAccount
return SIPAccount

DeleteSIPProvider() public method

public DeleteSIPProvider ( SIPProvider sipProvider ) : SIPProvider
sipProvider SIPProvider
return SIPProvider

ExtendSession() public method

public ExtendSession ( int minutes ) : void
minutes int
return void

GetCDRs() public method

public GetCDRs ( string whereExpression, int offset, int count ) : List
whereExpression string
offset int
count int
return List

GetCDRsCount() public method

public GetCDRsCount ( string whereExpression ) : int
whereExpression string
return int

GetCalls() public method

public GetCalls ( string whereExpression, int offset, int count ) : List
whereExpression string
offset int
count int
return List

GetCallsCount() public method

public GetCallsCount ( string whereExpression ) : int
whereExpression string
return int

GetCustomer() public method

public GetCustomer ( string username ) : Customer
username string
return Customer

GetDialPlans() public method

public GetDialPlans ( string whereExpression, int offset, int count ) : List
whereExpression string
offset int
count int
return List

GetDialPlansCount() public method

public GetDialPlansCount ( string whereExpression ) : int
whereExpression string
return int

GetSIPAccounts() public method

public GetSIPAccounts ( string whereExpression, int offset, int count ) : List
whereExpression string
offset int
count int
return List

GetSIPAccountsCount() public method

public GetSIPAccountsCount ( string whereExpression ) : int
whereExpression string
return int

GetSIPDomains() public method

public GetSIPDomains ( string filterExpression, int offset, int count ) : List
filterExpression string
offset int
count int
return List

GetSIPProviderBindings() public method

public GetSIPProviderBindings ( string whereExpression, int offset, int count ) : List
whereExpression string
offset int
count int
return List

GetSIPProviderBindingsCount() public method

public GetSIPProviderBindingsCount ( string whereExpression ) : int
whereExpression string
return int

GetSIPProviders() public method

public GetSIPProviders ( string whereExpression, int offset, int count ) : List
whereExpression string
offset int
count int
return List

GetSIPProvidersCount() public method

public GetSIPProvidersCount ( string whereExpression ) : int
whereExpression string
return int

GetSIPRegistrarBindings() public method

public GetSIPRegistrarBindings ( string whereExpression, int offset, int count ) : List
whereExpression string
offset int
count int
return List

GetSIPRegistrarBindingsCount() public method

public GetSIPRegistrarBindingsCount ( string whereExpression ) : int
whereExpression string
return int

GetTimeZoneOffsetMinutes() public method

public GetTimeZoneOffsetMinutes ( ) : int
return int

IsAlive() public method

public IsAlive ( ) : bool
return bool

Login() public method

public Login ( string username, string password ) : string
username string
password string
return string

Logout() public method

public Logout ( ) : void
return void

SIPProvisioningWebService() public method

public SIPProvisioningWebService ( ) : System
return System

SIPProvisioningWebService() public method

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
return System

TestException() public method

public TestException ( ) : void
return void

UpdateCustomer() public method

public UpdateCustomer ( Customer updatedCustomer ) : void
updatedCustomer Customer
return void

UpdateCustomerPassword() public method

public UpdateCustomerPassword ( string username, string oldPassword, string newPassword ) : void
username string
oldPassword string
newPassword string
return void

UpdateDialPlan() public method

public UpdateDialPlan ( SIPDialPlan dialPlan ) : SIPDialPlan
dialPlan SIPDialPlan
return SIPDialPlan

UpdateSIPAccount() public method

public UpdateSIPAccount ( SIPAccount sipAccount ) : SIPAccount
sipAccount SIPAccount
return SIPAccount

UpdateSIPProvider() public method

public UpdateSIPProvider ( SIPProvider sipProvider ) : SIPProvider
sipProvider SIPProvider
return SIPProvider