Class AdminFacade
- Namespace
- SWConfigDataClientLib.Proxies.Admin
- Assembly
- IpPbxCDSClientLib.dll
Facade class for administration applications.
public class AdminFacade : AdminFacadeBase
- Inheritance
-
SWCFProxy<AdminFacadeClient, IAdminFacade>AdminFacade
- Inherited Members
Constructors
AdminFacade()
Creates instance of PortManagerFacade. (For use by Unmanaged Wrapper only)
public AdminFacade()
Remarks
Use the LibManager to create an instance of this class.
Properties
IsLocal
public bool IsLocal { get; }
Property Value
PoolMaxSize
depcreated
public static int PoolMaxSize { get; set; }
Property Value
PoolMinSize
depcreated
public static int PoolMinSize { get; set; }
Property Value
m_BaseUrl
protected override string m_BaseUrl { get; }
Property Value
Methods
AccountName2SID(SStringList)
Retrieves the SIDs matching to given list of windows usernames.
public SStringList AccountName2SID(SStringList names)
Parameters
names
SStringListlist of windows usernames
Returns
- SStringList
List of SID strings
ActivatePortLed(string, int, int)
Activates the LED at the Port on the card
public void ActivatePortLed(string strHostname, int iCardID, int iCardPortID)
Parameters
AddAdminUser(string, int)
Adds an administrative user to the pbx. If the user already exists the profile of the user will be changed. The user must have a sufficient scurity level to assign or disassing an administrative profile.
public int AddAdminUser(string WindowsIdentitiy, int ProfileID)
Parameters
WindowsIdentitiy
stringid to the windows user ( DOMAIN|COMPUTER\Name)
ProfileID
intid of the administrative profile.
Returns
- int
AdminUserID
AddAdminUser(string, string)
Adds an administrative user to the pbx. If the user already exists the profile of the user will be changed. The user must have a sufficient scurity level to assign or disassing an administrative profile.
public int AddAdminUser(string WindowsIdentitiy, string profileName)
Parameters
WindowsIdentitiy
stringid to the windows user ( DOMAIN|COMPUTER\Name)
profileName
stringname of the administrative profile.
Returns
- int
AdminUserID
AddEditablePhoneBookEntry(string, string, string, string, bool)
Adds a new PhoneBookEntry (Global editable phonebook) directly into database.
public int AddEditablePhoneBookEntry(string Name, string Number, string SearchNumber, string Description, bool Hide)
Parameters
Name
stringThe name of the phone entry
Number
stringThe number
SearchNumber
stringThe searchnumber is the canonical representation of the number. It will be generated by the CDS.
Description
stringMandantory description
Hide
boolWhen set to true the entry will not be shown in phonebook. It will be used to resolve the name for displaying current call informations.
Returns
- int
The EntryID of the entry
AddLicenses(byte[], out SUIntList, out int)
public SCl4LicenseInfoList AddLicenses(byte[] KeyBuffer, out SUIntList Results, out int hr)
Parameters
Returns
AddOrReplaceGroupByID(GroupAdminView1PrimaryCollection, int)
Adds or replaces a Port with a given PortID from database
public GroupAdminView1Entry AddOrReplaceGroupByID(GroupAdminView1PrimaryCollection collection, int GroupID)
Parameters
collection
GroupAdminView1PrimaryCollectionGroupID
int
Returns
AddOrReplaceUserByID(UserAdminView1PrimaryCollection, int, bool, out UserDeviceSmallMap)
Adds or replaces a Port with a given PortID from database
public UserAdminView1Entry AddOrReplaceUserByID(UserAdminView1PrimaryCollection collection, int UserID, bool showUserFileSize, out UserDeviceSmallMap deviceMap)
Parameters
collection
UserAdminView1PrimaryCollectionUserID
intshowUserFileSize
booldeviceMap
UserDeviceSmallMap
Returns
AddPhoneControllerAddressRange(int, string, string, string, int, string)
Adds a new AddressRange to a PhoneControllerConfiguration
public void AddPhoneControllerAddressRange(int PhoneControllerID, string BeginAddress, string EndAddress, string FallBackPhoneMgr, int Id, string PhoneMgr)
Parameters
PhoneControllerID
intId of the PhoneControllerConfiguration
BeginAddress
stringEndAddress
stringFallBackPhoneMgr
stringId
intPhoneMgr
string
AddPhoneControllerConfiguration(int, int, SDateTime)
Adds a new PhoneControllerConfiguration. Also a the CDS suppots more than one Phonecontroller there will always be only one.
public int AddPhoneControllerConfiguration(int Period, int RescanInterval, SDateTime StartTime)
Parameters
Returns
AddSignalRelation(SignalRelationEntry)
Adds a new SignalRelation to database
public SignalRelationEntry AddSignalRelation(SignalRelationEntry entry)
Parameters
entry
SignalRelationEntryThe new Entry
Returns
- SignalRelationEntry
The added entry, including all fields modified by database. (EntryID)
AdjustHoldMusicVolume(int, bool)
Sets the current holdmusic volume in the IpPbxServer. Can be used to modify volume while listening holdmusic.
public int AdjustHoldMusicVolume(int iVolume, bool bCommit)
Parameters
Returns
- int
HRESULT
CallsLoginsEnabled(out bool, out bool, out int)
returns if calls/logins are enabled.
public void CallsLoginsEnabled(out bool bCallsEnabled, out bool bLoginsAllowed, out int hr)
Parameters
bCallsEnabled
boolif true SwyxServer will allow calls to be established, otherwise all call attempts will fail
bLoginsAllowed
boolif true, SwyxServer will allow clients to login, otherwise all login attempts will fail
hr
intHRESULT
CancelCall(uint, out int)
Cancels a specified call.
public void CancelCall(uint CallID, out int hr)
Parameters
CheckCDRFilePath(string)
Check CDR file accesibility
public int CheckCDRFilePath(string sPath)
Parameters
sPath
stringPath to be checked.
Returns
- int
return S_OK given file can be accessed by SwyxServer for writing
CheckClientVersion()
Checks if the client version is supported by the server.
public void CheckClientVersion()
CheckFeatureList(int, FeatureList)
Checks the Features for the given user. All features in the given list will be checked the flags Enabled and Licensed will be set.
public void CheckFeatureList(int UserID, FeatureList featureList)
Parameters
UserID
intThe UserID of the User. The UserID will be used to retrieve the Enabled information. Set UserID to 0 to retrieve license information only
featureList
FeatureListThe list of feature to be checked
CheckLinkAddress(string, ref int)
check link address tries a DNS name resolution on the given name first. If this succeeds, tries to connect to the well known H.323 port on the given address and returns the result.
public int CheckLinkAddress(string LinkRemoteAddress, ref int iResult)
Parameters
LinkRemoteAddress
stringDNS name or IP-address in dot-notation to check. Examples: lothlorien.middle-earth.com, 3.1.189.2
iResult
intresult of link address check, one of SCl5CheckLinkAddressResult values
Returns
- int
HRESULT
CheckPublicNumberForOverlappedDialingIntegrity(string)
Checks if the number for overlapped dialing integrity.
public bool CheckPublicNumberForOverlappedDialingIntegrity(string PublicNumber)
Parameters
PublicNumber
stringThe number
Returns
- bool
true or false
CheckVersion()
public void CheckVersion()
ClearInstanceId()
public void ClearInstanceId()
CreateActivationKey()
public string CreateActivationKey()
Returns
CreateClient(Binding, EndpointAddress)
protected override AdminFacadeClient CreateClient(Binding binding, EndpointAddress endpointAdrress)
Parameters
binding
BindingendpointAdrress
EndpointAddress
Returns
- AdminFacadeClient
CreateClientCertificate(int, string)
public bool CreateClientCertificate(int UserID, string Password)
Parameters
Returns
CreateRootAndServerCertificate(string, bool)
public void CreateRootAndServerCertificate(string Password, bool systemManagedCertificateSecuirty)
Parameters
CreateRootAndServerCertificateAsync(string, bool)
public void CreateRootAndServerCertificateAsync(string Password, bool systemManagedCertificateSecuirty)
Parameters
CreateRootCertificate(string, out string)
public bool CreateRootCertificate(string Password, out string Thumbprint)
Parameters
Returns
CreateServerCertificate(string, out string)
public bool CreateServerCertificate(string Password, out string Thumbprint)
Parameters
Returns
DecodeLicenses(byte[], out int)
public SCl4LicenseInfoList DecodeLicenses(byte[] KeyBuffer, out int hr)
Parameters
Returns
DeleteAdminUser(int)
Deletes an administrative windows user from pbx.
public bool DeleteAdminUser(int AdminUserID)
Parameters
AdminUserID
intid of user to be deleted
Returns
- bool
true if succeeded
DeleteClientCertificate()
public bool DeleteClientCertificate()
Returns
DeleteConnectedSite(int)
Removes connected site with all its data
public bool DeleteConnectedSite(int iSiteID)
Parameters
iSiteID
intTeh local id of the site.
Returns
DeleteEditablePhoneBookEntry(int)
Deletes an new PhoneBookEntry directly
public void DeleteEditablePhoneBookEntry(int EntryID)
Parameters
EntryID
intThe EntryID of the entry to be deleted.
DeleteFederatedIdentity(int)
public bool DeleteFederatedIdentity(int userId)
Parameters
userId
int
Returns
DeleteFromFreeNumbersList(string)
Deletes a number from free public number list
public int DeleteFromFreeNumbersList(string number)
Parameters
number
stringpublic number
Returns
- int
id of portnumberrange or 0
DeleteIdentityFederationEndpointConfiguration(FederationEndpointType)
public bool DeleteIdentityFederationEndpointConfiguration(FederationEndpointType type)
Parameters
type
FederationEndpointType
Returns
DeleteOutboundHttpProxyCredentials()
public void DeleteOutboundHttpProxyCredentials()
DeletePhoneControllerAddressRange(int, int)
Deletes specific address range
public void DeletePhoneControllerAddressRange(int PhoneControllerID, int AddressRangeID)
Parameters
PhoneControllerID
intId of the PhoneControllerConfiguration
AddressRangeID
intId of the Address range
DeletePhoneControllerAddressRanges(int)
Deletes all AddressRanges from a PhoneControllerConfiguration
public void DeletePhoneControllerAddressRanges(int PhoneControllerID)
Parameters
PhoneControllerID
intId of the PhoneControllerConfiguration
DeletePhoneControllerConfiguration(int)
Deletes a PhoneControllerConfiguration
public void DeletePhoneControllerConfiguration(int PhoneControllerID)
Parameters
PhoneControllerID
int
DeleteRootCertificate()
public bool DeleteRootCertificate()
Returns
DeleteS3Configuration()
public void DeleteS3Configuration()
DeleteServerCertificate()
public bool DeleteServerCertificate()
Returns
DeleteSignalRelation(int)
Deletes a single SignalRelationEntry
public bool DeleteSignalRelation(int SignalRelationID)
Parameters
SignalRelationID
intID of entry to be deleted.
Returns
- bool
True if delete was successfull.
DeleteTrunkRecording(int)
public bool DeleteTrunkRecording(int trunkRecordingId)
Parameters
trunkRecordingId
int
Returns
DeleteTrunkRecordings(List<int>)
public bool DeleteTrunkRecordings(List<int> trunkRecordingIds)
Parameters
Returns
Dispose()
public virtual void Dispose()
EnableCallsLogins(bool, bool, out int)
Enable/disable all calls/logins Requires role ServerDisableCallsLogins
public void EnableCallsLogins(bool bEnableCalls, bool bEnableLogins, out int hr)
Parameters
FindAndPersistFreeNumbers(int, bool)
Find free public numbers and store them into database for fast access if list of free numbers is exceeded
public void FindAndPersistFreeNumbers(int rangeId, bool reset)
Parameters
FirmwareUpdateAvaiable(out int)
Retrieves if firmware update is avaiable (L420)
public bool FirmwareUpdateAvaiable(out int hr)
Parameters
hr
int
Returns
ForceLogoffTrunk(int)
The specified trunk will be logged of from the pbx. This operation is not synchron.
public int ForceLogoffTrunk(int TrunkID)
Parameters
TrunkID
intTrunk
Returns
- int
HRESULT
ForceLogoffUser(int)
The specified user will be logged of from the pbx.
public int ForceLogoffUser(int UserID)
Parameters
UserID
int
Returns
- int
HRESULT
FreeForReuse()
public override void FreeForReuse()
GenerateLicenseRequest(SUIntList, SCl6LicenseCustomer, bool, bool, out SUIntList, out int)
public string GenerateLicenseRequest(SUIntList LicenseIds, SCl6LicenseCustomer Customer, bool bSentViaMail, bool bCopyToSender, out SUIntList Results, out int hr)
Parameters
LicenseIds
SUIntListCustomer
SCl6LicenseCustomerbSentViaMail
boolbCopyToSender
boolResults
SUIntListhr
int
Returns
GetAbandonedPublicNumbers(ICollection<int>)
Gets a list of public numbers that are not configured on trunk range other than the excluded ones
public ICollection<string> GetAbandonedPublicNumbers(ICollection<int> excludedRanges)
Parameters
excludedRanges
ICollection<int>
Returns
- ICollection<string>
List of public nuumbers
GetAbandonedPublicNumbersByNumberRangeList(NumberRangeAdminViewPrimaryCollection)
Returns a list of ids of all public numbers which does not fit to any of the given number ranges. The method is intended to be used before updating or deleting port number ranges to identify all numbers which will no longer be valid after the planned operation. The list of all number ranges can be retrieved by GetNumberRangeAdminView1.
public SIntList GetAbandonedPublicNumbersByNumberRangeList(NumberRangeAdminViewPrimaryCollection NumberRanges)
Parameters
NumberRanges
NumberRangeAdminViewPrimaryCollectionList of all number ranges with planned chnages
Returns
- SIntList
List of PublicNumberIDs
Remarks
The recommanded way of changing NumberRanges:
- Call GetNumberRangeAdminView1 to retrieve all existing PortNumberRanges
- Modify the list with the planned chnages. (add, remove, change entries ). (PortBundleName and PortName can be empty but not null)
- Call GetAbandonedPublicNumbersByNumberRangeList with the modified list.
- If returned list of abandoned public numbers is not empty. Remove the public numbers or abort your operation. (PublicNumberEnum)
- Use PublicNumberEnum to apply the planned changes. It is highly recommanded that add operations will be seperately exceuted before delete operations. Otherwise it is possible to cause an contraint excpetion.
GetActivationKey()
public string GetActivationKey()
Returns
GetActivationStatus()
public LicenseActivationStatus GetActivationStatus()
Returns
- LicenseActivationStatus
GetActiveCallsView()
Retrieves a collection conataining all active calls
public ActiveCallPrimaryCollection GetActiveCallsView()
Returns
- ActiveCallPrimaryCollection
ActiveCallPrimaryCollection
GetActiveTrunkDevices()
Gets list of registered GetPossibleMappingFromRange devices
public ICollection<TrunkDeviceInfo> GetActiveTrunkDevices()
Returns
- ICollection<TrunkDeviceInfo>
list
GetActiveUserDevices(int?)
Gets list of registered user devices
public ICollection<UserDeviceInfo> GetActiveUserDevices(int? userId)
Parameters
userId
int?id of the user
Returns
- ICollection<UserDeviceInfo>
list
GetAdminProfilesView()
Retrieves list of all administrative profiles
public AdminProfilePrimaryCollection GetAdminProfilesView()
Returns
- AdminProfilePrimaryCollection
Returns collection
GetAdminUsersView()
Retrieves list of all administrative windows accounts
public AdminUserPrimaryCollection GetAdminUsersView()
Returns
GetAllKindsOfChangeInfos()
Retrieves a translated list of all possible changelog entries
public ICollection<KindOfChangeInfo> GetAllKindsOfChangeInfos()
Returns
- ICollection<KindOfChangeInfo>
GetAllSignalRelations()
Retieves a list of all SignaRelationEntries
public SignalRelationPrimaryCollection GetAllSignalRelations()
Returns
- SignalRelationPrimaryCollection
Collection of SignaRelationEntries
GetAllSignalRelationsWithAggregatedType()
Retieves a list of all SignaRelationEntries
public SignalRelationsAggregatedTypePrimaryCollection GetAllSignalRelationsWithAggregatedType()
Returns
- SignalRelationsAggregatedTypePrimaryCollection
Collection of SignaRelationEntries
GetCardPortList(string, bool)
Retrieves a list of all Isdn Ports of the host
public BoardConfigList GetCardPortList(string strHostName, bool bOnlyFree)
Parameters
Returns
- BoardConfigList
List of sites.
GetChangeLog(SDateTime, SDateTime)
Retreives all change log entries from the given period
public ChangeLogPrimaryCollection GetChangeLog(SDateTime StartPeriod, SDateTime EndPeriod)
Parameters
StartPeriod
SDateTimeStart point of the period. (Will be included)
EndPeriod
SDateTimeEnd point of the period. (Will be excluded)
Returns
- ChangeLogPrimaryCollection
Collection of ChangeLog Entries
Remarks
Use GetChangeLogPeriods() to get list of valid periods.
GetChangeLog(SDateTime, SDateTime, bool, string)
Retrieves all change log entries from the given period export its to a file and delete the log in database
public ChangeLogPrimaryCollection GetChangeLog(SDateTime StartPeriod, SDateTime EndPeriod, bool deleteLog, string exportFile)
Parameters
StartPeriod
SDateTimeStart point of the period. (Will be included)
EndPeriod
SDateTimeEnd point of the period. (Will be excluded)
deleteLog
boolIf true the data will be deleted in database. (Only if export path is not empty or null)
exportFile
string
Returns
- ChangeLogPrimaryCollection
Collection of ChangeLog Entries
Remarks
Use GetChangeLogPeriods() to get list of valid periods.
GetChangeLogPeriods()
Retrieves a list of periods that can be used with the method GetChangeLog(). The retreived list can contain monthly periods or the reporting periods in case of a hosted installation.
public ChangeLogPeriodList GetChangeLogPeriods()
Returns
- ChangeLogPeriodList
List of valid periods.
Remarks
If the Reporting and Licensing Server in a hosted installation is not avaible the period list will contain monthly periods.
GetChangeLogWebView(DateTime, DateTime, int?, int?, out int)
Retrieves all change log entries from the given period export its to a file and delete the log in database
public ICollection<ChangeLogEntry> GetChangeLogWebView(DateTime start, DateTime end, int? page, int? pageSize, out int totalCount)
Parameters
Returns
- ICollection<ChangeLogEntry>
Collection of ChangeLog Entries
Remarks
Use GetChangeLogPeriods() to get list of valid periods.
GetChangeLogWebViewEntry(int)
Retrieves all change log entries from the given period export its to a file and delete the log in database
public ChangeLogEntry GetChangeLogWebViewEntry(int changeLogEntryId)
Parameters
changeLogEntryId
intid of the log entry
Returns
- ChangeLogEntry
GetClientCertificate(int, out string)
public bool GetClientCertificate(int UserID, out string Certificate)
Parameters
Returns
GetClientSettings(int)
Gets client settings for a user
public ClientSettingParameters GetClientSettings(int userId)
Parameters
userId
intuser id
Returns
- ClientSettingParameters
Result object with detailed information
GetConnectedSites()
Retrieves a list of al connected stes
public ConnectedSitePrimaryCollection GetConnectedSites()
Returns
- ConnectedSitePrimaryCollection
List of sites.
GetControlCenterConfiguration()
public ControlCenterConfigurationInfo GetControlCenterConfiguration()
Returns
- ControlCenterConfigurationInfo
GetCurrentUserDevices(int)
public UserDeviceList GetCurrentUserDevices(int iUserID)
Parameters
iUserID
int
Returns
GetCurrentUserID()
public int GetCurrentUserID()
Returns
GetCurrentUserName()
public string GetCurrentUserName()
Returns
GetCurrentUserName(ref string)
public int GetCurrentUserName(ref string UserName)
Parameters
UserName
string
Returns
GetCurrentUserRoles(out string, out bool, out bool, out bool, out bool)
public ICollection<BuildInRoles> GetCurrentUserRoles(out string administrativeProfile, out bool isServerAdmin, out bool isProviderAdmin, out bool isResellerAdmin, out bool isTenantAdmin)
Parameters
administrativeProfile
stringisServerAdmin
boolisProviderAdmin
boolisResellerAdmin
boolisTenantAdmin
bool
Returns
- ICollection<BuildInRoles>
GetCustomerInformation(out int)
Retreives the Customer Information Class
public SCl6LicenseCustomer GetCustomerInformation(out int hr)
Parameters
hr
intCOM Result in RCW.
Returns
- SCl6LicenseCustomer
TSCl6LicenseCustomer
GetDCFLocalWebAccessPassword()
public string GetDCFLocalWebAccessPassword()
Returns
GetDatabaseUsageInformations(out long, out long, out long, out long, out long, out long)
Retrieves the current usage information from the database.
public string GetDatabaseUsageInformations(out long UsedSpaceKB, out long MaxSizeKB, out long TotalUserFileSizeKB, out long TotalSystemFileSizeKB, out long TotalUserUncompressedFileSizeKB, out long TotalSystemUncompressedFileSizeKB)
Parameters
UsedSpaceKB
longThe currently used space of the database in kb. The size is of the database file is commonly geater.
MaxSizeKB
longThe allowed maximum size of the database in kb. -1 if there is no limitation.
TotalUserFileSizeKB
longThe total size of all user files in the database.
TotalSystemFileSizeKB
longThe total size of all system files in the database.
TotalUserUncompressedFileSizeKB
longTotalSystemUncompressedFileSizeKB
long
Returns
- string
String containing the product name of the database server.
GetDependantPublicNumbersByNumberRange(PortNumberRangeType, string, string, string, string, string, string)
Retrieves the depandant public numbers of this PortNumberRange.
public SStringList GetDependantPublicNumbersByNumberRange(PortNumberRangeType RangeType, string CountryCode, string AreaCode, string HeadNumber, string TailNumberStart, string TailNumberEnd, string Realm)
Parameters
RangeType
PortNumberRangeTypeType of the range (Number, Sip Uri)
CountryCode
stringThe CountryCode. Empty in case of SipUri
AreaCode
stringThe AreaCode. Empty in case of SipUri
HeadNumber
stringSubscriber number, or sip uri
TailNumberStart
stringFirst extension, or MSN
TailNumberEnd
stringLast extension od MSN
Realm
stringrealm of a sip uiri
Returns
- SStringList
List of public numbers
GetDependantPublicNumbersByNumberRange(int)
Retrieves the exclusivly depandant public numbers of this PortNumberRange.
public SStringList GetDependantPublicNumbersByNumberRange(int PortNumberRangeID)
Parameters
PortNumberRangeID
intId of the number range
Returns
- SStringList
List of public numbers
GetDependantPublicNumbersByPort(int)
Retrieves the exclusivly depandant public numbers of this port.
public SStringList GetDependantPublicNumbersByPort(int PortID)
Parameters
PortID
intId of the port
Returns
- SStringList
List of public numbers
GetDnsRegistration(string)
public DnsRegistration GetDnsRegistration(string configName = "IpPbxServer")
Parameters
configName
string
Returns
- DnsRegistration
GetEnabledFeaturesList(out int)
public SCLLicensedFeatureList GetEnabledFeaturesList(out int hr)
Parameters
hr
intHresult value, all HRESULT failures will cause an SCOMException including the value.
Returns
Remarks
Do not use this method to retrieve license information at runtime. Use CheckFeatureList instead.
GetEntitiesCountInfo()
public EntitiesCountInfo GetEntitiesCountInfo()
Returns
- EntitiesCountInfo
GetFederationConfig()
public FederationConfig GetFederationConfig()
Returns
- FederationConfig
GetFederationIdentities()
public UserListFromFederationIdProvider GetFederationIdentities()
Returns
- UserListFromFederationIdProvider
GetFederationLog(FederationLogQuery, out int)
public ICollection<FederationLogEntry> GetFederationLog(FederationLogQuery queryParameter, out int totalCount)
Parameters
queryParameter
FederationLogQuerytotalCount
int
Returns
- ICollection<FederationLogEntry>
GetFileSystemConfiguration()
public FileSystemConfigurationInfo GetFileSystemConfiguration()
Returns
- FileSystemConfigurationInfo
GetFirstAdminUserWebViewEntry()
public UserWebInfo GetFirstAdminUserWebViewEntry()
Returns
- UserWebInfo
GetFisConnectionInfo()
public FisConnectionInfo GetFisConnectionInfo()
Returns
- FisConnectionInfo
GetFreePublicNumberFromRange(int)
Get first unused number from number range
public string GetFreePublicNumberFromRange(int rangeId)
Parameters
rangeId
int
Returns
GetGroupAdminView1()
Retrieves a collection with all groups including data displayed in an admin client view.
public GroupAdminView1PrimaryCollection GetGroupAdminView1()
Returns
- GroupAdminView1PrimaryCollection
Collection of GroupAdminView1Entries
GetGroupMemberWebAdminView(int, out int, int?, int?)
public ICollection<GroupMemberWebInfo> GetGroupMemberWebAdminView(int groupId, out int toatalCount, int? page = null, int? pageSize = null)
Parameters
Returns
- ICollection<GroupMemberWebInfo>
GetGroupSignalRelations(int, bool)
Retrieves a list of all SignalRelationEntries assigned to the given group
public SignalRelationPrimaryCollection GetGroupSignalRelations(int GroupID, bool bBothDirections)
Parameters
Returns
- SignalRelationPrimaryCollection
Collection of SignaRelationEntries
GetHoldMusicVolume(out int)
Retrieves the current hold music volume from the IpPbxServer
public int GetHoldMusicVolume(out int iVolume)
Parameters
iVolume
intvolumne
Returns
- int
HRESULT
GetIFBServerStateAndType(out bool, out bool, out int)
get state and type of server
public StandbyServerType GetIFBServerStateAndType(out bool bActive, out bool bConnected, out int hr)
Parameters
bActive
booltrue if server is active
bConnected
booltrue is keep alive connection is established
hr
intHRESULT from COM
Returns
- StandbyServerType
Type of server
GetIFBStates(out int)
Get states and further data of server and connected clients
public SClKeepAliveStates GetIFBStates(out int hr)
Parameters
hr
intHRESULT value from COM call.
Returns
GetIdentityFederationEndpointAuthenticationCertificate(FederationEndpointType, out byte[])
public bool GetIdentityFederationEndpointAuthenticationCertificate(FederationEndpointType type, out byte[] certData)
Parameters
type
FederationEndpointTypecertData
byte[]
Returns
GetIdentityFederationEndpointConfiguration(FederationEndpointType)
public FederationEndpointConfiguration GetIdentityFederationEndpointConfiguration(FederationEndpointType type)
Parameters
type
FederationEndpointType
Returns
- FederationEndpointConfiguration
GetInstanceId()
public string GetInstanceId()
Returns
GetInternalAndExternalNumbersView()
Retrieves a list of all internal and external numbers for configuration of undeliverable calls number on locations
public InternalAndExternalNumbersViewPrimaryCollection GetInternalAndExternalNumbersView()
Returns
- InternalAndExternalNumbersViewPrimaryCollection
List of numbers with additional information.
GetInternalNumberInfos()
Gets the internal numbers infos coresponding to a specified tenant.
public IEnumerable<InternalNumberInfo> GetInternalNumberInfos()
Returns
- IEnumerable<InternalNumberInfo>
The user's internal numbers.
GetLdapConfigurationInfo()
public LdapConfigurationInfo GetLdapConfigurationInfo()
Returns
- LdapConfigurationInfo
GetLicenseAlerts()
public List<LicenseAlertInfo> GetLicenseAlerts()
Returns
- List<LicenseAlertInfo>
GetLicenseInfo()
public LicenseInfoCollections GetLicenseInfo()
Returns
- LicenseInfoCollections
GetLicenseInfoForUnmanaged()
public LicenseInfoCollection GetLicenseInfoForUnmanaged()
Returns
GetLicenseInfoList(out int)
Retrieves a collection conataining all liscense infos
public SCl4LicenseInfoList GetLicenseInfoList(out int hr)
Parameters
hr
int
Returns
- SCl4LicenseInfoList
TSCl4LicenseInfoList
Remarks
Do not use this method to retrieve license information at runtime. Use CheckFeatureList instead.
GetLicenseParameter(uint, out int)
Retrieves the TSCl4LicenseInfo of a specific License.
public SCl4LicenseInfo GetLicenseParameter(uint LicenseId, out int hr)
Parameters
Returns
- SCl4LicenseInfo
TSCl4LicenseInfo
Remarks
Do not use this method to retrieve license information at runtime. Use CheckFeatureList instead.
GetLicenseSystemChangeLog()
Retrieves all change log entries written by the license system. Licnese System us writing chagelog entries while changing tge configuration because of missing licenses
public ChangeLogPrimaryCollection GetLicenseSystemChangeLog()
Returns
- ChangeLogPrimaryCollection
Collection of ChangeLog Entries
GetLicenseSystemChangeLogWebView(DateTime, DateTime, int?, int?, out int)
Retrieves all change log entries created by the license system from the given period export its to a file and delete the log in database
public ICollection<ChangeLogEntry> GetLicenseSystemChangeLogWebView(DateTime start, DateTime end, int? page, int? pageSize, out int totalCount)
Parameters
Returns
- ICollection<ChangeLogEntry>
Collection of ChangeLog Entries
Remarks
Use GetChangeLogPeriods() to get list of valid periods.
GetLicenseUsageList()
public LicenseUsageList GetLicenseUsageList()
Returns
GetLicensingServerBaseAddress()
public string GetLicensingServerBaseAddress()
Returns
GetLooseConnectedSiteIDs()
Retrieves a list of al connected stes
public SIntList GetLooseConnectedSiteIDs()
Returns
- SIntList
List of sites.
GetNetPromoterScoreConfiguration()
public ProductNetPromoterScoreConfiguration GetNetPromoterScoreConfiguration()
Returns
- ProductNetPromoterScoreConfiguration
GetNextExpirationDate(out int)
Returns date when the next license expires. If you've any non-permanent license this function returns the earliest date when one of them expires.
public SDateTime GetNextExpirationDate(out int hr)
Parameters
hr
intHRESULT
Returns
- SDateTime
Expirationdate date when the next license expires.
GetNumberMappingsAdminView1()
Retrieves a collection with all numbermappings including data displayed in an admin client view.
public NumberMappingAdminViewPrimaryCollection GetNumberMappingsAdminView1()
Returns
- NumberMappingAdminViewPrimaryCollection
Collection of NumberMappingAdminViewEntries
GetNumberOfConferenceRooms()
Returns the number of configured conferecne rooms. (Number of internal numbers of all conference users.)
public int GetNumberOfConferenceRooms()
Returns
GetNumberRangeAdminView1()
Retrieves a collection (view) with all trunk number ranges.
public NumberRangeAdminViewPrimaryCollection GetNumberRangeAdminView1()
Returns
- NumberRangeAdminViewPrimaryCollection
Collection of NumberRangeAdminViewEntry
GetOSVersion()
Retrieves the OSVersion from the server. The returning class is similar to System.OperatingSystem.
public TOperatingSystem GetOSVersion()
Returns
- TOperatingSystem
GetOutboundHttpProxyAddress()
public string GetOutboundHttpProxyAddress()
Returns
GetOutboundHttpProxyCredentials()
public string GetOutboundHttpProxyCredentials()
Returns
GetPbxServiceIpAddress()
public string GetPbxServiceIpAddress()
Returns
GetPhoneControllerConfiguration(int)
Retrieves the Phonecontroller Configuration. Also a the CDS suppots more than one Phonecontroller there will always be only one.
public PhoneControllerPrimaryCollection GetPhoneControllerConfiguration(int PhoneControllerID)
Parameters
PhoneControllerID
int0 for all PhoneControllers
Returns
- PhoneControllerPrimaryCollection
Collection of PhoneController configuration inluding address ranges.
GetPhoneControllerState()
Retrieves scanning state of the PhoneController
public int GetPhoneControllerState()
Returns
- int
The state value
GetPhoneControllerState(out int)
Retrieves scanning state of the PhoneController
[Obsolete("Replaced by GetPhoneControllerState()")]
public int GetPhoneControllerState(out int hr)
Parameters
hr
int
Returns
GetPossibleIpPbxUserNames()
Returns all possible IpPbx User Names of the current user. Can be more than one if the current user is a windows user and multiple IppPbxUser are assigned to his windows account.
public SStringList GetPossibleIpPbxUserNames()
Returns
- SStringList
StringList
GetProductInfo(out int)
Retrieves product info about IpPbxServer
public TIpPbxProductInformation3 GetProductInfo(out int hr)
Parameters
hr
intHRESULT
Returns
- TIpPbxProductInformation3
TIpPbxProductInformation3
GetPublicNumberOwner(string, out bool, out bool, out int, out string)
Searches for the owner of a public number.
public void GetPublicNumberOwner(string PublicNumber, out bool UserFound, out bool GroupFound, out int FoundEntryID, out string FoundName)
Parameters
PublicNumber
stringPublic number in canocical form.
UserFound
boolReturns true if a user was found.
GroupFound
boolReturns true if a group was found.
FoundEntryID
intThe id (user or group) of the owner.
FoundName
stringThe name of the owner.
GetRecordingCodecs()
Retreives the list of known recording codecs. The list contains the builtin codes and custom codec, defined in file CustomCodecs.xml
public RecordingCodecList GetRecordingCodecs()
Returns
- RecordingCodecList
List of recording codecs
GetRemoteConnectorCertificateInfo()
public RemoteConnectorCertificateInfo GetRemoteConnectorCertificateInfo()
Returns
- RemoteConnectorCertificateInfo
GetRequiredUpdateLicenses(out int)
public SCl4LicenseInfoList GetRequiredUpdateLicenses(out int hr)
Parameters
hr
int
Returns
GetResellerInfo()
public TenantPbxInstanceResellerInfo GetResellerInfo()
Returns
- TenantPbxInstanceResellerInfo
GetRootAndServerCertificate(out string)
public bool GetRootAndServerCertificate(out string Certificates)
Parameters
Certificates
string
Returns
GetRoutingTableAdminView1()
Retrieves a collection with all rounting entries including data displayed in an admin client view.
public RoutingTableAdminView1PrimaryCollection GetRoutingTableAdminView1()
Returns
- RoutingTableAdminView1PrimaryCollection
Collection of RoutingTableAdminView1Entries
GetRoutingTableAdminView2(out AutomaticRoutingTableAdminViewPrimaryCollection)
Retrieves a collection with all rounting entries including data displayed in an admin client view.
public RoutingTableAdminView1PrimaryCollection GetRoutingTableAdminView2(out AutomaticRoutingTableAdminViewPrimaryCollection cAutomaticRoutingTable)
Parameters
cAutomaticRoutingTable
AutomaticRoutingTableAdminViewPrimaryCollection
Returns
- RoutingTableAdminView1PrimaryCollection
Collection of RoutingTableAdminView1Entries
GetS3Configuration()
public S3ConfigurationInfo GetS3Configuration()
Returns
- S3ConfigurationInfo
GetScstCertificateInfo(string)
public ScstCertificateInfo GetScstCertificateInfo(string name = "IpPbxServer")
Parameters
name
string
Returns
- ScstCertificateInfo
GetScstConfiguration(string)
public ScstConfiguration GetScstConfiguration(string name = "IpPbxServer")
Parameters
name
string
Returns
- ScstConfiguration
GetServerDateTimeNow()
public SDateTime GetServerDateTimeNow()
Returns
GetServerRequestTimeout(AdminFacadeClient)
protected override TimeSpan GetServerRequestTimeout(AdminFacadeClient client)
Parameters
client
AdminFacadeClient
Returns
GetServerSerialNumber(out uint, out int)
returns the server serial number which is the serial number of the server license
public string GetServerSerialNumber(out uint Result, out int hr)
Parameters
Returns
- string
server serial number
GetServerSerialNumberFromLicenseManager()
returns the server serial number which is the serial number of the server license. The source of the information is the LicenseManager. In an HSW installations the serial number is originated in the license of the License and Reporting server.
public string GetServerSerialNumberFromLicenseManager()
Returns
- string
server serial number
GetServiceSettings()
public List<ServiceSetting> GetServiceSettings()
Returns
- List<ServiceSetting>
GetSidNTAccountList()
returns all SIDs assigned to users with a AccountName
public SIDNTAccountPrimaryCollection GetSidNTAccountList()
Returns
- SIDNTAccountPrimaryCollection
List of SID, AccountName tupels.
GetSignalDestination(int, SignalType)
Retrieves an array of UserIDs containing the Ids of all Users which are configured for signalization.
public TUserID[] GetSignalDestination(int UserID, SignalType signalType)
Parameters
UserID
intThe source user.
signalType
SignalTypeThe type of signalization
Returns
- TUserID[]
Array of UserIDs to be signaled
GetSignalRelationsView(int?, int?, string, out int, int?, int?)
public ICollection<SignalRelationWebInfo> GetSignalRelationsView(int? userId, int? groupId, string filter, out int count, int? page, int? pageSize)
Parameters
Returns
- ICollection<SignalRelationWebInfo>
GetSignalSenders(int, SignalType)
Retrieves an array of UserIDs containing the Ids of all Users which are possible signalization senders of the given user.
public TUserID[] GetSignalSenders(int UserID, SignalType signalType)
Parameters
UserID
intThe destination user.
signalType
SignalTypeThe type of signalization
Returns
- TUserID[]
Array of UserIDs
GetSslCertificateInfoForPort9100()
public SslCertificateInfo GetSslCertificateInfoForPort9100()
Returns
GetSslCertificateInfoForPort9101()
public SslCertificateInfo GetSslCertificateInfoForPort9101()
Returns
GetSupportedClientVersions()
public SStringList GetSupportedClientVersions()
Returns
GetTechnicalContact()
public TechnicalContact GetTechnicalContact()
Returns
- TechnicalContact
GetTechnicalContactConfiguration()
public TechnicalContactConfiguration GetTechnicalContactConfiguration()
Returns
- TechnicalContactConfiguration
GetTenantFileQuotaInfo()
public TenantFileQuotaInfo GetTenantFileQuotaInfo()
Returns
- TenantFileQuotaInfo
GetThumbprint(int, out string, out bool)
public bool GetThumbprint(int UserID, out string Thumbprint, out bool CertificateAvailable)
Parameters
Returns
GetThumbprint2(int, out bool, out bool)
public string GetThumbprint2(int UserID, out bool CertificateAvailable, out bool result)
Parameters
Returns
GetTotalLicenseSummary(out int)
public SCl9TotalLicenseSummary GetTotalLicenseSummary(out int hr)
Parameters
hr
int
Returns
GetTotalLicenseSummary14(out int)
public SCl14TotalLicenseSummary GetTotalLicenseSummary14(out int hr)
Parameters
hr
int
Returns
GetTotalLicenseSummary15(out int)
public SCl15TotalLicenseSummary GetTotalLicenseSummary15(out int hr)
Parameters
hr
int
Returns
GetTotalLicenseSummary16(out int)
public SCl16TotalLicenseSummary GetTotalLicenseSummary16(out int hr)
Parameters
hr
int
Returns
GetTotalLicenses(out uint, out uint, out uint, out uint, out int)
public void GetTotalLicenses(out uint EffectiveTotalUsers, out uint EffectiveTotalChannels, out uint UserResult, out uint ChannelResult, out int hr)
Parameters
GetTranscriptionServiceInfo()
public TranscriptionServiceInfo GetTranscriptionServiceInfo()
Returns
- TranscriptionServiceInfo
GetTrunkAdminView1()
Retrieves a collection with all trunks including data displayed in an admin client view.
public TrunkAdminView1PrimaryCollection GetTrunkAdminView1()
Returns
- TrunkAdminView1PrimaryCollection
Collection of TrunkAdminView1Entries
GetTrunkAdminView1ByMatchingPublicNumber(string)
Retrieves a collection with all trunks including data displayed in an admin client view. Only trunks with matching number range will be returned.
public TrunkAdminView1PrimaryCollection GetTrunkAdminView1ByMatchingPublicNumber(string PublicNumber)
Parameters
PublicNumber
stringThe given public number in canonical form.
Returns
- TrunkAdminView1PrimaryCollection
Collection of TrunkAdminView1Entries
GetTrunkGroupAdminView1()
Retrieves a collection with all trunk groups including data displayed in an admin client view.
public TrunkGroupAdminView1PrimaryCollection GetTrunkGroupAdminView1()
Returns
- TrunkGroupAdminView1PrimaryCollection
Collection of GroupAdminView1Entries
GetTrunkRecording(int)
public TrunkRecordingViewEntry GetTrunkRecording(int trunkRecordingId)
Parameters
trunkRecordingId
int
Returns
- TrunkRecordingViewEntry
GetTrunkRecordingLog(TrunkRecordingLogQueryParameters, out int)
public ICollection<TrunkRecordingLogEntry> GetTrunkRecordingLog(TrunkRecordingLogQueryParameters parameters, out int totalCount)
Parameters
parameters
TrunkRecordingLogQueryParameterstotalCount
int
Returns
- ICollection<TrunkRecordingLogEntry>
GetTrunkRecordingView(TrunkRecordingQueryParameters, out int)
public List<TrunkRecordingViewEntry> GetTrunkRecordingView(TrunkRecordingQueryParameters parameters, out int totalCount)
Parameters
parameters
TrunkRecordingQueryParameterstotalCount
int
Returns
- List<TrunkRecordingViewEntry>
GetTwoFactorAuthenticationRequiredForAllAdminProfiles()
public bool GetTwoFactorAuthenticationRequiredForAllAdminProfiles()
Returns
GetUniqueServerID()
public Guid GetUniqueServerID()
Returns
GetUnusedPin(byte)
Retreives an unsed LanPhonePin
public string GetUnusedPin(byte PinLength)
Parameters
PinLength
byteLenght of genereated pin
Returns
- string
The generated pin.
GetUsedSubstitutionNumbersByGroup(int)
Returns a list of public numbers of the given group, that are used as substituted numbers by other users or groups. The retrieved list contains the Number, the UserID of the other users, and optionally the GroupID.
public UsedSubstitutionNumberPrimaryCollection GetUsedSubstitutionNumbersByGroup(int GroupID)
Parameters
GroupID
intID of the given group
Returns
- UsedSubstitutionNumberPrimaryCollection
List of containing the numbers, and IDs of the Groups and Users which are using the number
GetUsedSubstitutionNumbersByInternalNumber(int)
Returns a list of users or groups that are using this internal number as substituted number. The retrieved list contains the Number, the UserID of the other users, and optionally the GroupID.
public UsedSubstitutionNumberPrimaryCollection GetUsedSubstitutionNumbersByInternalNumber(int InternalNumberID)
Parameters
InternalNumberID
int
Returns
- UsedSubstitutionNumberPrimaryCollection
List of containing the numbers, and IDs of the Groups and Users which are using the number
GetUsedSubstitutionNumbersByUser(int)
Returns a list of public numbers of the given user, that are used as substituted numbers by other users or groups. The retrieved list contains the Number, the UserID of the other users, and optionally the GroupID.
public UsedSubstitutionNumberPrimaryCollection GetUsedSubstitutionNumbersByUser(int UserID)
Parameters
UserID
intID of the given user
Returns
- UsedSubstitutionNumberPrimaryCollection
List of containing the numbers, and IDs of the Groups and Users which are using the number
GetUserAdminView1(bool, out UserDeviceSmallMap)
Retrieves a collection with all users including data displayed in an admin client view.
public UserAdminView1PrimaryCollection GetUserAdminView1(bool showUserFileSize, out UserDeviceSmallMap userDeviceMap)
Parameters
showUserFileSize
boolIf true the UserFile Size will be filled.
userDeviceMap
UserDeviceSmallMap
Returns
- UserAdminView1PrimaryCollection
Collection of UserAdminView1Entries
GetUserAdminView1(int, bool, out UserDeviceSmallMap)
Retrieves a collection with all users of a group including data displayed in an admin client view.
public UserAdminView1PrimaryCollection GetUserAdminView1(int GroupID, bool ShowUserFileSize, out UserDeviceSmallMap deviceMap)
Parameters
GroupID
intShow only you users of this group
ShowUserFileSize
booldeviceMap
UserDeviceSmallMap
Returns
- UserAdminView1PrimaryCollection
Collection of UserAdminView1Entries
GetUserAdminView1ByLocation(int, bool, out UserDeviceSmallMap)
Retrieves a collection with all users of a group including data displayed in an admin client view.
public UserAdminView1PrimaryCollection GetUserAdminView1ByLocation(int LocationID, bool ShowUserFileSize, out UserDeviceSmallMap deviceMap)
Parameters
LocationID
intShowUserFileSize
booldeviceMap
UserDeviceSmallMap
Returns
- UserAdminView1PrimaryCollection
Collection of UserAdminView1Entries
GetUserAdminView1ForOneUser(int, bool, out UserDeviceSmallMap)
Retrieves a collection with on user including data displayed in an admin client view.
public UserAdminView1PrimaryCollection GetUserAdminView1ForOneUser(int UserID, bool ShowUserFileSize, out UserDeviceSmallMap deviceMap)
Parameters
UserID
intShow only this user
ShowUserFileSize
booldeviceMap
UserDeviceSmallMap
Returns
- UserAdminView1PrimaryCollection
Collection of UserAdminView1Entries
GetUserApiRoles(int)
public UserApiRoles GetUserApiRoles(int userId)
Parameters
userId
int
Returns
- UserApiRoles
GetUserIdByLogin(string)
return the UserId of the user with the given login
public int GetUserIdByLogin(string login)
Parameters
login
stringLogin. Front part of the unique principal name
Returns
- int
UserdId or 0 if no user exists with the given login
GetUserInternalNumbers()
Gets the internal numbers assigned to the users coresponding to a specified tenant.
public IEnumerable<InternalNumberInfo> GetUserInternalNumbers()
Returns
- IEnumerable<InternalNumberInfo>
The user's internal numbers.
GetUserWebAdminView(UserViewParameters, out int)
public ICollection<UserWebInfo> GetUserWebAdminView(UserViewParameters parameters, out int totalCount)
Parameters
parameters
UserViewParameterstotalCount
int
Returns
- ICollection<UserWebInfo>
GetUserWebAdminView(int)
public UserWebInfo GetUserWebAdminView(int userId)
Parameters
userId
int
Returns
- UserWebInfo
GetUserWebAdminViewCount(bool, string)
public int GetUserWebAdminViewCount(bool onlyAdmins = false, string name = null)
Parameters
Returns
GetUsersSignalRelations(int, bool)
Retieves a list of all SignaRelationEntries assigned to the given user
public SignalRelationPrimaryCollection GetUsersSignalRelations(int UserID, bool bBothDirections)
Parameters
Returns
- SignalRelationPrimaryCollection
Collection of SignaRelationEntries
HasMailbox(string, string, string, out SMailBoxInfo)
Verify exchange mailbox. Returns S_OK if the given name can be resolved to an exchange mailbox
public int HasMailbox(string Name, string DisplayName, string MailBoxID, out SMailBoxInfo cMailBoxInfo)
Parameters
Name
stringname to verify
DisplayName
stringdisplay name of the exchange mailbox
MailBoxID
stringunique identifier of the mailbox (Use this parameter in Users.UserEntry)
cMailBoxInfo
SMailBoxInfo
Returns
- int
S_OK when name could be resolved to an exchange mailbox
HasMailbox(string, ref string, ref string)
Verify exchange mailbox. Returns S_OK if the given name can be resolved to an exchange mailbox
public int HasMailbox(string Name, ref string DisplayName, ref string MailBoxID)
Parameters
Name
stringname to verify
DisplayName
stringdisplay name of the exchange mailbox
MailBoxID
stringunique identifier of the mailbox (Use this parameter in Users.UserEntry)
Returns
- int
S_OK when name could be resolved to an exchange mailbox
HasRole(BuildInRoles)
public bool HasRole(BuildInRoles eRole)
Parameters
eRole
BuildInRoles
Returns
InitLicensing()
(Re)Inits the licensing mananger in the CDSService. In case of HSW the CDS will reregister at the License and Report Service
public void InitLicensing()
IsClientCertificateAvailable()
public bool IsClientCertificateAvailable()
Returns
IsConnectionToSwyxONEstablished()
public bool IsConnectionToSwyxONEstablished()
Returns
IsFeatureInstalled(Guid, out int)
Checks if a license for this feature is installed and valid.
public bool IsFeatureInstalled(Guid FeatureGUID, out int hr)
Parameters
FeatureGUID
Guidhr
intHresult value, all HRESULT failures will cause an SCOMException including the value.
Returns
Remarks
Do not use this method to retrieve license information at runtime. Use CheckFeatureList instead.
IsNameUniqueWithinSwyxWare(string, EntityIdentifierType, int)
public bool IsNameUniqueWithinSwyxWare(string name, EntityIdentifierType entityType, int id = 0)
Parameters
Returns
IsPinUnused(string)
Checks if the given LanPhonePin in unused. (LanPhonePin must be uniuqe)
public bool IsPinUnused(string LanPhonePin)
Parameters
LanPhonePin
stringPin to be checked.
Returns
- bool
True or False
IsPublicNumberConfiguredOnTrunk(string)
Checks if the given number is configured on a trunk.
public bool IsPublicNumberConfiguredOnTrunk(string PublicNumber)
Parameters
PublicNumber
stringThe number
Returns
- bool
True or False
IsPublicNumberInUse(string)
Checks if given public number is already in use.
public bool IsPublicNumberInUse(string PublicNumber)
Parameters
PublicNumber
stringPublic number in canocical form.
Returns
- bool
true, if public number in use
IsRootCertificateAvailable()
public bool IsRootCertificateAvailable()
Returns
IsServerCertificateAvailable()
public bool IsServerCertificateAvailable()
Returns
IsSipUserIdFree(string)
public bool IsSipUserIdFree(string sipUserId)
Parameters
sipUserId
string
Returns
IsUserEmialAddressFree(string)
public bool IsUserEmialAddressFree(string userEmailAdress)
Parameters
userEmailAdress
string
Returns
IsUserPinUnused(int, string)
Checks if the given lanPhonePin is used only by the current user.
public bool IsUserPinUnused(int userId, string lanPhonePin)
Parameters
Returns
- bool
True or False
MakeNumberCanonical(string, int)
Converts any number into a canonical format.
public string MakeNumberCanonical(string Number, int LocationID)
Parameters
Returns
- string
Canonical number
ModifyAdminUserProfile(int, int)
Modifies the administrative profile of an existing administrative window user.
public bool ModifyAdminUserProfile(int AdminUserID, int ProfileID)
Parameters
Returns
- bool
true if succeeded
ModifyEditablePhoneBookEntry(int, string, string, string, string, bool)
Modifeis a PhoneBookEntry directly
public void ModifyEditablePhoneBookEntry(int EntryID, string Name, string Number, string SearchNumber, string Description, bool Hide)
Parameters
EntryID
intThe EntryID of the entry to be modified.
Name
stringThe name of the entry
Number
stringThe number
SearchNumber
stringThe searchnumber is the canonical representation of the number. It will be generated by the CDS.
Description
stringMandantory description
Hide
boolWhen set to true the entry will not be shown in phonebook. It will be used to resolve the name for displaying current call informations.
ModifyPhoneControllerAddressRange(int, int, string, string, string, int, string)
public void ModifyPhoneControllerAddressRange(int phoneControllerAddressRangeID, int phoneControllerID, string beginAddress, string endAddress, string fallBackPhoneMgr, int id, string phoneMgr)
Parameters
phoneControllerAddressRangeID
intphoneControllerID
intbeginAddress
stringendAddress
stringfallBackPhoneMgr
stringid
intphoneMgr
string
ModifyPhoneControllerConfiguration(int, int, int, SDateTime)
Modififies an existing PhoneControllerConfiguration. Also a the CDS suppots more than one Phonecontroller there will always be only one.
public void ModifyPhoneControllerConfiguration(int PhoneControllerID, int Period, int RescanInterval, SDateTime StartTime)
Parameters
PingService(AdminFacadeClient)
protected override void PingService(AdminFacadeClient cProxy)
Parameters
cProxy
AdminFacadeClient
PushDnsChallenge(string)
public DnsRegistration PushDnsChallenge(string token)
Parameters
token
string
Returns
- DnsRegistration
PushDnsChallenge(string, string)
public DnsRegistration PushDnsChallenge(string configName, string token)
Parameters
Returns
- DnsRegistration
PushDnsRegistration(string)
public DnsRegistration PushDnsRegistration(string ipAddress)
Parameters
ipAddress
string
Returns
- DnsRegistration
PushDnsRegistration(string, string)
public DnsRegistration PushDnsRegistration(string configName, string ipAddress)
Parameters
Returns
- DnsRegistration
PutActivationKey(string)
public void PutActivationKey(string key)
Parameters
key
string
PutControlCenterConfiguration(ControlCenterConfiguration)
public void PutControlCenterConfiguration(ControlCenterConfiguration configuration)
Parameters
configuration
ControlCenterConfiguration
PutFederationConfig(FederationConfig)
public FederationConfig PutFederationConfig(FederationConfig config)
Parameters
config
FederationConfig
Returns
- FederationConfig
PutFileSystemConfiguration(FileSystemConfiguration)
public FileSystemConfigurationInfo PutFileSystemConfiguration(FileSystemConfiguration configuration)
Parameters
configuration
FileSystemConfiguration
Returns
- FileSystemConfigurationInfo
PutIdentityFederationEndpointConfiguration(FederationEndpointConfiguration)
public void PutIdentityFederationEndpointConfiguration(FederationEndpointConfiguration config)
Parameters
config
FederationEndpointConfiguration
PutNetPromoterScoreConfiguration(ProductNetPromoterScoreConfiguration)
public void PutNetPromoterScoreConfiguration(ProductNetPromoterScoreConfiguration config)
Parameters
config
ProductNetPromoterScoreConfiguration
PutS3Configuration(S3Configuration)
public S3ConfigurationInfo PutS3Configuration(S3Configuration configuration)
Parameters
configuration
S3Configuration
Returns
- S3ConfigurationInfo
PutScstCertificateInfo(ScstCertificateInfo)
public void PutScstCertificateInfo(ScstCertificateInfo certificateInfo)
Parameters
certificateInfo
ScstCertificateInfo
PutScstConfiguration(ScstConfiguration)
public void PutScstConfiguration(ScstConfiguration configuration)
Parameters
configuration
ScstConfiguration
PutServiceSetting(ServiceSetting, bool)
public ServiceSetting PutServiceSetting(ServiceSetting setting, bool resetToDefault)
Parameters
setting
ServiceSettingresetToDefault
bool
Returns
- ServiceSetting
PutTechnicalContactConfiguration(TechnicalContactConfiguration)
public void PutTechnicalContactConfiguration(TechnicalContactConfiguration configuration)
Parameters
configuration
TechnicalContactConfiguration
ReloadLicenseDocument()
public DateTimeOffset? ReloadLicenseDocument()
Returns
ReloadLicenseDocumentForUnmanaged()
public string ReloadLicenseDocumentForUnmanaged()
Returns
RemoveDnsChallenge(string)
public void RemoveDnsChallenge(string configName = "IpPbxServer")
Parameters
configName
string
RemoveDnsRegistration(string)
public void RemoveDnsRegistration(string configName = "IpPbxServer")
Parameters
configName
string
RemoveLicense(uint, out int)
public void RemoveLicense(uint LicenseId, out int hr)
Parameters
RemoveScstCertificateInfo(string)
public void RemoveScstCertificateInfo(string name = "IpPbxServer")
Parameters
name
string
RemoveScstConfiguration(string)
public void RemoveScstConfiguration(string name = "IpPbxServer")
Parameters
name
string
ReplaceCallrouting(int, SIntList)
Replaces the call routing of the users in destination list by the callrouting of the source user. The callroutings will replaced the existing call routings will be removed and can not be restored. The source user id cannot be part of the listof destination user Ids
public BulkAdminResult ReplaceCallrouting(int sourceUserId, SIntList destinationUserIds)
Parameters
Returns
- BulkAdminResult
Result object with detailed information
Remarks
This method can partly succeed. In the result object contains result for each user.
ReplaceCallrouting(int, int)
Replaces the call routing of the users in destination group by the callrouting of the source user. The callroutings will replaced the existing call routings will be removed and can not be restored. The source user id cannot be part of the listof destination user Ids
public BulkAdminResult ReplaceCallrouting(int sourceUserId, int groupId)
Parameters
Returns
- BulkAdminResult
Result object with detailed information
Remarks
This method can partly succeed. In the result object contains result for each user.
ReplaceSpeedDials(int, SIntList, int, int)
Replaces the speed dials (aka name keys, aka favorites) of the users in destination list by the callrouting of the source user. The spped dials will be replaced and can not be restored. The source user id cannot be part of the listof destination user Ids
public BulkAdminResult ReplaceSpeedDials(int sourceUserId, SIntList destinationUserIds, int startNumber, int stopNumber)
Parameters
sourceUserId
intdestinationUserIds
SIntListstartNumber
intThe number of the first speed dial. (Number = Position of speed dial in skin. The first is 1.)
stopNumber
intThe number of the last speed dial.(Number = Position of speed dial in skin. The first is 1.)
Returns
- BulkAdminResult
Result object with detailed information
Remarks
This method can partly succeed. In the result object contains result for each user.
ReplaceSpeedDials(int, int, int, int)
Replaces the speed dials (aka name keys, aka favorites) of all users of a group by the callrouting of the source user. The spped dials will be replaced and can not be restored. The source user id cannot be part of the listof destination user Ids
public BulkAdminResult ReplaceSpeedDials(int sourceUserId, int groupId, int startNumber, int stopNumber)
Parameters
sourceUserId
intgroupId
intgroup id
startNumber
intThe number of the first speed dial. (Number = Position of speed dial in skin. The first is 1.)
stopNumber
intThe number of the last speed dial.(Number = Position of speed dial in skin. The first is 1.)
Returns
- BulkAdminResult
Result object with detailed information
Remarks
This method can partly succeed. In the result object contains result for each user.
ResetLicensing()
Resets the licensing mananger in the CDSService. In case of HSW the CDS will reregister at the License and Report Service This method hat to be invoked when changing the Reporting and Licensing Service
public void ResetLicensing()
SID2AccountName(SStringList)
Retrieves the windows usernames matching to given list of SIDs.
public SStringList SID2AccountName(SStringList names)
Parameters
names
SStringListlist of windows sids
Returns
- SStringList
List of user names strings
SendActivationRequest(ActivationType)
public bool SendActivationRequest(ActivationType type)
Parameters
type
ActivationType
Returns
SendActivationRequestWithDetailedResult(ActivationType)
public ActivationResultInfo SendActivationRequestWithDetailedResult(ActivationType type)
Parameters
type
ActivationType
Returns
- ActivationResultInfo
SendIpPbxMail(string, string, string, bool)
public void SendIpPbxMail(string recipient, string subject, string body, bool isBodyHtml)
Parameters
SendReloadNotifyToServices()
public void SendReloadNotifyToServices()
SendTestEMail(string, string, string, string, int, bool)
The SwyxServer sends a test EMail
public int SendTestEMail(string MailServer, string TestMailSenderAndRecipient, string Username, string Password, int iServerSmtpPort, bool bUseSecureConnection)
Parameters
MailServer
stringMail Server
TestMailSenderAndRecipient
stringsending and receiving mail account
Username
stringuser name for authentication (may be "")
Password
stringpassword for authentication (may be "")
iServerSmtpPort
intserver's SMTP port (may be 0 in which case the default SMTP port is used)
bUseSecureConnection
boolif true the connection will be encrypted
Returns
SendWelcomeMail(SIntList)
Sends a welcome email to one or multiple users
public void SendWelcomeMail(SIntList userIds)
Parameters
userIds
SIntListIds of the users who should receive a welcome email
SendWelcomeMail(int)
Sends a welcome email to a user
public void SendWelcomeMail(int userId)
Parameters
userId
intId of the user who should receive a welcome email
SetClientSettings(ClientSettingParameters, SIntList)
Sets client settings for a set uo users
public BulkAdminResult SetClientSettings(ClientSettingParameters parameters, SIntList destinationUserIds)
Parameters
parameters
ClientSettingParametersParamterClass with nullable values for each settting. Only not null values will be set
destinationUserIds
SIntList
Returns
- BulkAdminResult
Result object with detailed information
SetClientSettings(ClientSettingParameters, int)
Sets client settings for all users of a group
public BulkAdminResult SetClientSettings(ClientSettingParameters parameters, int groupId)
Parameters
parameters
ClientSettingParametersParamterClass with nullable values for each settting. Only not null values will be set
groupId
intid of group
Returns
- BulkAdminResult
Result object with detailed information
SetForwardings(ForwardingParameterList, SIntList)
Sets the forwarding configuration (Unconditional|OnBusy|OnNoAnswer) for a set of users
public BulkAdminResult SetForwardings(ForwardingParameterList forwardingParameters, SIntList destinationUserIds)
Parameters
forwardingParameters
ForwardingParameterListA list contains the new formwardings. For each forwarding type there can none or one entry in the list.
destinationUserIds
SIntList
Returns
- BulkAdminResult
Result object with detailed information
SetForwardings(ForwardingParameterList, int)
Sets the forwarding configuration (Unconditional|OnBusy|OnNoAnswer) to all users of a group
public BulkAdminResult SetForwardings(ForwardingParameterList forwardingParameters, int groupId)
Parameters
forwardingParameters
ForwardingParameterListA list contains the new formwardings. For each forwarding type there can none or one entry in the list.
groupId
intgroup id
Returns
- BulkAdminResult
Result object with detailed information
SetIFBServerState(bool, out int)
Changes the active state of the master server.
public void SetIFBServerState(bool bActive, out int hr)
Parameters
Remarks
The method can only be used on the master server.
SetOutboundHttpProxyAddress(string)
public void SetOutboundHttpProxyAddress(string uri)
Parameters
uri
string
SetOutboundHttpProxyCredentials(string, string)
public void SetOutboundHttpProxyCredentials(string username, string password)
Parameters
SetOutboundHttpProxyUsername(string)
public void SetOutboundHttpProxyUsername(string username)
Parameters
username
string
SetPhoneControllerState(int)
Sets the scanning state of the PhoneController. This method should be used by the PhoneManager only.
public void SetPhoneControllerState(int State)
Parameters
State
intThe state value
SetScstDnsInfo(string, string)
public void SetScstDnsInfo(string serverName, string ipAddress)
Parameters
SetScstLetsEncryptEmail(string)
public void SetScstLetsEncryptEmail(string email)
Parameters
email
string
SetScstServerNameMode(ScstServerNameMode)
public void SetScstServerNameMode(ScstServerNameMode mode)
Parameters
mode
ScstServerNameMode
SetScstTlsCertificateMode(ScstCertificateMode)
public void SetScstTlsCertificateMode(ScstCertificateMode certificateMode)
Parameters
certificateMode
ScstCertificateMode
SetThumbprint(int, string)
public bool SetThumbprint(int UserID, string Thumbprint)
Parameters
Returns
SetTwoFactorAuthenticationRequiredForAllAdminProfiles(bool)
public void SetTwoFactorAuthenticationRequiredForAllAdminProfiles(bool value)
Parameters
value
bool
SignalRelationViewForGroup(int)
Returns all existing relations for specified group. The returning relation collection contains one or more entries for each user having a relation to the specified user, including informations about direction and type of signaling, the related group and the id of the originating SignalRelationEntry.
public SignalRelationViewPrimaryCollection SignalRelationViewForGroup(int GroupID)
Parameters
GroupID
int
Returns
- SignalRelationViewPrimaryCollection
Collection of SignalRelationViewEntry
SignalRelationViewForUser(int)
Returns all existing relations for specified user. The returning relation collection contains one or more entries for each user having a relation to the specified group, including informations about direction and type of signaling, the related group and the id of the originating SignalRelationEntry.
public SignalRelationViewPrimaryCollection SignalRelationViewForUser(int UserID)
Parameters
UserID
intSpecified User
Returns
- SignalRelationViewPrimaryCollection
Collection of SignalRelationViewEntry
StartFullSync(bool)
Synchronizes this site with all connected sites.
public void StartFullSync(bool bRequestReply)
Parameters
bRequestReply
boolIf true all receiving sites will send a full sync message by their own.
StartLookUpUserForMatchingIdentity(int)
public bool StartLookUpUserForMatchingIdentity(int userId)
Parameters
userId
int
Returns
TestCDRDBConnection(string, out int)
Retrieves if firmware update is avaiable (L420)
public string TestCDRDBConnection(string ConnectionString, out int hr)
Parameters
Returns
TestLicenseServerConnection()
public bool TestLicenseServerConnection()
Returns
ValidateActivationKey(string)
public bool ValidateActivationKey(string key)
Parameters
key
string
Returns
ValidateIdentityFederationEndpointConfiguration(FederationEndpointConfiguration)
public void ValidateIdentityFederationEndpointConfiguration(FederationEndpointConfiguration config)
Parameters
config
FederationEndpointConfiguration
VerifyCanCreateConferenceRoom(int, string)
public void VerifyCanCreateConferenceRoom(int userId, string internalNumber)
Parameters
VerifyCanCreateConferenceRooms(int, SStringList)
public void VerifyCanCreateConferenceRooms(int userId, SStringList internalNumbers)
Parameters
userId
intinternalNumbers
SStringList