C# Class SIPSorcery.Web.Services.SIPProvisioningWebService

Inheritance: SIPSorceryAuthorisationService, IProvisioningServiceREST, IProvisioningService
Afficher le fichier Open project: sipsorcery/sipsorcery

Méthodes publiques

Méthode 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

Méthode Description
GetAuthorisedWhereExpression ( Customer customer, string whereExpression ) : string

Method Details

AddDialPlan() public méthode

public AddDialPlan ( SIPDialPlan dialPlan ) : SIPDialPlan
dialPlan SIPSorcery.SIP.App.SIPDialPlan
Résultat SIPSorcery.SIP.App.SIPDialPlan

AddSIPAccount() public méthode

public AddSIPAccount ( SIPAccount sipAccount ) : SIPAccount
sipAccount SIPSorcery.SIP.App.SIPAccount
Résultat SIPSorcery.SIP.App.SIPAccount

AddSIPAccount() public méthode

public AddSIPAccount ( string username, string password, string domain, string avatarURL ) : string
username string
password string
domain string
avatarURL string
Résultat string

AddSIPProvider() public méthode

public AddSIPProvider ( SIPProvider sipProvider ) : SIPProvider
sipProvider SIPSorcery.SIP.App.SIPProvider
Résultat SIPSorcery.SIP.App.SIPProvider

AreNewAccountsEnabled() public méthode

public AreNewAccountsEnabled ( ) : bool
Résultat bool

CreateCustomer() public méthode

public CreateCustomer ( Customer customer ) : void
customer SIPSorcery.CRM.Customer
Résultat void

DeleteCustomer() public méthode

public DeleteCustomer ( string customerUsername ) : void
customerUsername string
Résultat void

DeleteDialPlan() public méthode

public DeleteDialPlan ( SIPDialPlan dialPlan ) : SIPDialPlan
dialPlan SIPDialPlan
Résultat SIPDialPlan

DeleteSIPAccount() public méthode

public DeleteSIPAccount ( SIPAccount sipAccount ) : SIPAccount
sipAccount SIPAccount
Résultat SIPAccount

DeleteSIPProvider() public méthode

public DeleteSIPProvider ( SIPProvider sipProvider ) : SIPProvider
sipProvider SIPProvider
Résultat SIPProvider

ExtendSession() public méthode

public ExtendSession ( int minutes ) : void
minutes int
Résultat void

GetCDRs() public méthode

public GetCDRs ( string whereExpression, int offset, int count ) : List
whereExpression string
offset int
count int
Résultat List

GetCDRsCount() public méthode

public GetCDRsCount ( string whereExpression ) : int
whereExpression string
Résultat int

GetCalls() public méthode

public GetCalls ( string whereExpression, int offset, int count ) : List
whereExpression string
offset int
count int
Résultat List

GetCallsCount() public méthode

public GetCallsCount ( string whereExpression ) : int
whereExpression string
Résultat int

GetCustomer() public méthode

public GetCustomer ( string username ) : Customer
username string
Résultat Customer

GetDialPlans() public méthode

public GetDialPlans ( string whereExpression, int offset, int count ) : List
whereExpression string
offset int
count int
Résultat List

GetDialPlansCount() public méthode

public GetDialPlansCount ( string whereExpression ) : int
whereExpression string
Résultat int

GetSIPAccounts() public méthode

public GetSIPAccounts ( string whereExpression, int offset, int count ) : List
whereExpression string
offset int
count int
Résultat List

GetSIPAccountsCount() public méthode

public GetSIPAccountsCount ( string whereExpression ) : int
whereExpression string
Résultat int

GetSIPDomains() public méthode

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

GetSIPProviderBindings() public méthode

public GetSIPProviderBindings ( string whereExpression, int offset, int count ) : List
whereExpression string
offset int
count int
Résultat List

GetSIPProviderBindingsCount() public méthode

public GetSIPProviderBindingsCount ( string whereExpression ) : int
whereExpression string
Résultat int

GetSIPProviders() public méthode

public GetSIPProviders ( string whereExpression, int offset, int count ) : List
whereExpression string
offset int
count int
Résultat List

GetSIPProvidersCount() public méthode

public GetSIPProvidersCount ( string whereExpression ) : int
whereExpression string
Résultat int

GetSIPRegistrarBindings() public méthode

public GetSIPRegistrarBindings ( string whereExpression, int offset, int count ) : List
whereExpression string
offset int
count int
Résultat List

GetSIPRegistrarBindingsCount() public méthode

public GetSIPRegistrarBindingsCount ( string whereExpression ) : int
whereExpression string
Résultat int

GetTimeZoneOffsetMinutes() public méthode

public GetTimeZoneOffsetMinutes ( ) : int
Résultat int

IsAlive() public méthode

public IsAlive ( ) : bool
Résultat bool

Login() public méthode

public Login ( string username, string password ) : string
username string
password string
Résultat string

Logout() public méthode

public Logout ( ) : void
Résultat void

SIPProvisioningWebService() public méthode

public SIPProvisioningWebService ( ) : System
Résultat System

SIPProvisioningWebService() public méthode

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
Résultat System

TestException() public méthode

public TestException ( ) : void
Résultat void

UpdateCustomer() public méthode

public UpdateCustomer ( Customer updatedCustomer ) : void
updatedCustomer Customer
Résultat void

UpdateCustomerPassword() public méthode

public UpdateCustomerPassword ( string username, string oldPassword, string newPassword ) : void
username string
oldPassword string
newPassword string
Résultat void

UpdateDialPlan() public méthode

public UpdateDialPlan ( SIPDialPlan dialPlan ) : SIPDialPlan
dialPlan SIPDialPlan
Résultat SIPDialPlan

UpdateSIPAccount() public méthode

public UpdateSIPAccount ( SIPAccount sipAccount ) : SIPAccount
sipAccount SIPAccount
Résultat SIPAccount

UpdateSIPProvider() public méthode

public UpdateSIPProvider ( SIPProvider sipProvider ) : SIPProvider
sipProvider SIPProvider
Résultat SIPProvider