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
namesSStringListlist 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
WindowsIdentitiystringid to the windows user ( DOMAIN|COMPUTER\Name)
ProfileIDintid 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
WindowsIdentitiystringid to the windows user ( DOMAIN|COMPUTER\Name)
profileNamestringname 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
NamestringThe name of the phone entry
NumberstringThe number
SearchNumberstringThe searchnumber is the canonical representation of the number. It will be generated by the CDS.
DescriptionstringMandantory description
HideboolWhen 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
collectionGroupAdminView1PrimaryCollectionGroupIDint
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
collectionUserAdminView1PrimaryCollectionUserIDintshowUserFileSizebooldeviceMapUserDeviceSmallMap
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
PhoneControllerIDintId of the PhoneControllerConfiguration
BeginAddressstringEndAddressstringFallBackPhoneMgrstringIdintPhoneMgrstring
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
entrySignalRelationEntryThe 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
bCallsEnabledboolif true SwyxServer will allow calls to be established, otherwise all call attempts will fail
bLoginsAllowedboolif true, SwyxServer will allow clients to login, otherwise all login attempts will fail
hrintHRESULT
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
sPathstringPath 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
UserIDintThe UserID of the User. The UserID will be used to retrieve the Enabled information. Set UserID to 0 to retrieve license information only
featureListFeatureListThe 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
LinkRemoteAddressstringDNS name or IP-address in dot-notation to check. Examples: lothlorien.middle-earth.com, 3.1.189.2
iResultintresult 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
PublicNumberstringThe 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
bindingBindingendpointAdrressEndpointAddress
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
AdminUserIDintid 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
iSiteIDintTeh local id of the site.
Returns
DeleteEditablePhoneBookEntry(int)
Deletes an new PhoneBookEntry directly
public void DeleteEditablePhoneBookEntry(int EntryID)
Parameters
EntryIDintThe EntryID of the entry to be deleted.
DeleteFederatedIdentity(int)
public bool DeleteFederatedIdentity(int userId)
Parameters
userIdint
Returns
DeleteFromFreeNumbersList(string)
Deletes a number from free public number list
public int DeleteFromFreeNumbersList(string number)
Parameters
numberstringpublic number
Returns
- int
id of portnumberrange or 0
DeleteIdentityFederationEndpointConfiguration(FederationEndpointType)
public bool DeleteIdentityFederationEndpointConfiguration(FederationEndpointType type)
Parameters
typeFederationEndpointType
Returns
DeleteOutboundHttpProxyCredentials()
public void DeleteOutboundHttpProxyCredentials()
DeletePhoneControllerAddressRange(int, int)
Deletes specific address range
public void DeletePhoneControllerAddressRange(int PhoneControllerID, int AddressRangeID)
Parameters
PhoneControllerIDintId of the PhoneControllerConfiguration
AddressRangeIDintId of the Address range
DeletePhoneControllerAddressRanges(int)
Deletes all AddressRanges from a PhoneControllerConfiguration
public void DeletePhoneControllerAddressRanges(int PhoneControllerID)
Parameters
PhoneControllerIDintId of the PhoneControllerConfiguration
DeletePhoneControllerConfiguration(int)
Deletes a PhoneControllerConfiguration
public void DeletePhoneControllerConfiguration(int PhoneControllerID)
Parameters
PhoneControllerIDint
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
SignalRelationIDintID of entry to be deleted.
Returns
- bool
True if delete was successfull.
DeleteTrunkRecording(int)
public bool DeleteTrunkRecording(int trunkRecordingId)
Parameters
trunkRecordingIdint
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
hrint
Returns
ForceLogoffTrunk(int)
The specified trunk will be logged of from the pbx. This operation is not synchron.
public int ForceLogoffTrunk(int TrunkID)
Parameters
TrunkIDintTrunk
Returns
- int
HRESULT
ForceLogoffUser(int)
The specified user will be logged of from the pbx.
public int ForceLogoffUser(int UserID)
Parameters
UserIDint
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
LicenseIdsSUIntListCustomerSCl6LicenseCustomerbSentViaMailboolbCopyToSenderboolResultsSUIntListhrint
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
excludedRangesICollection<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
NumberRangesNumberRangeAdminViewPrimaryCollectionList 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
userIdint?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
StartPeriodSDateTimeStart point of the period. (Will be included)
EndPeriodSDateTimeEnd 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
StartPeriodSDateTimeStart point of the period. (Will be included)
EndPeriodSDateTimeEnd point of the period. (Will be excluded)
deleteLogboolIf true the data will be deleted in database. (Only if export path is not empty or null)
exportFilestring
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
changeLogEntryIdintid 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
userIdintuser 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
iUserIDint
Returns
GetCurrentUserID()
public int GetCurrentUserID()
Returns
GetCurrentUserName()
public string GetCurrentUserName()
Returns
GetCurrentUserName(ref string)
public int GetCurrentUserName(ref string UserName)
Parameters
UserNamestring
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
administrativeProfilestringisServerAdminboolisProviderAdminboolisResellerAdminboolisTenantAdminbool
Returns
- ICollection<BuildInRoles>
GetCustomerInformation(out int)
Retreives the Customer Information Class
public SCl6LicenseCustomer GetCustomerInformation(out int hr)
Parameters
hrintCOM 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
UsedSpaceKBlongThe currently used space of the database in kb. The size is of the database file is commonly geater.
MaxSizeKBlongThe allowed maximum size of the database in kb. -1 if there is no limitation.
TotalUserFileSizeKBlongThe total size of all user files in the database.
TotalSystemFileSizeKBlongThe total size of all system files in the database.
TotalUserUncompressedFileSizeKBlongTotalSystemUncompressedFileSizeKBlong
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
RangeTypePortNumberRangeTypeType of the range (Number, Sip Uri)
CountryCodestringThe CountryCode. Empty in case of SipUri
AreaCodestringThe AreaCode. Empty in case of SipUri
HeadNumberstringSubscriber number, or sip uri
TailNumberStartstringFirst extension, or MSN
TailNumberEndstringLast extension od MSN
Realmstringrealm 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
PortNumberRangeIDintId 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
PortIDintId of the port
Returns
- SStringList
List of public numbers
GetDnsRegistration(string)
public DnsRegistration GetDnsRegistration(string configName = "IpPbxServer")
Parameters
configNamestring
Returns
- DnsRegistration
GetEnabledFeaturesList(out int)
public SCLLicensedFeatureList GetEnabledFeaturesList(out int hr)
Parameters
hrintHresult 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
queryParameterFederationLogQuerytotalCountint
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
rangeIdint
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
iVolumeintvolumne
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
bActivebooltrue if server is active
bConnectedbooltrue is keep alive connection is established
hrintHRESULT 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
hrintHRESULT value from COM call.
Returns
GetIdentityFederationEndpointAuthenticationCertificate(FederationEndpointType, out byte[])
public bool GetIdentityFederationEndpointAuthenticationCertificate(FederationEndpointType type, out byte[] certData)
Parameters
typeFederationEndpointTypecertDatabyte[]
Returns
GetIdentityFederationEndpointConfiguration(FederationEndpointType)
public FederationEndpointConfiguration GetIdentityFederationEndpointConfiguration(FederationEndpointType type)
Parameters
typeFederationEndpointType
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
hrint
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
hrintHRESULT
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
PhoneControllerIDint0 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
hrint
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
hrintHRESULT
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
PublicNumberstringPublic number in canocical form.
UserFoundboolReturns true if a user was found.
GroupFoundboolReturns true if a group was found.
FoundEntryIDintThe id (user or group) of the owner.
FoundNamestringThe 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
hrint
Returns
GetResellerInfo()
public TenantPbxInstanceResellerInfo GetResellerInfo()
Returns
- TenantPbxInstanceResellerInfo
GetRootAndServerCertificate(out string)
public bool GetRootAndServerCertificate(out string Certificates)
Parameters
Certificatesstring
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
cAutomaticRoutingTableAutomaticRoutingTableAdminViewPrimaryCollection
Returns
- RoutingTableAdminView1PrimaryCollection
Collection of RoutingTableAdminView1Entries
GetS3Configuration()
public S3ConfigurationInfo GetS3Configuration()
Returns
- S3ConfigurationInfo
GetScstCertificateInfo(string)
public ScstCertificateInfo GetScstCertificateInfo(string name = "IpPbxServer")
Parameters
namestring
Returns
- ScstCertificateInfo
GetScstConfiguration(string)
public ScstConfiguration GetScstConfiguration(string name = "IpPbxServer")
Parameters
namestring
Returns
- ScstConfiguration
GetServerDateTimeNow()
public SDateTime GetServerDateTimeNow()
Returns
GetServerRequestTimeout(AdminFacadeClient)
protected override TimeSpan GetServerRequestTimeout(AdminFacadeClient client)
Parameters
clientAdminFacadeClient
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
UserIDintThe source user.
signalTypeSignalTypeThe 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
UserIDintThe destination user.
signalTypeSignalTypeThe 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
hrint
Returns
GetTotalLicenseSummary14(out int)
public SCl14TotalLicenseSummary GetTotalLicenseSummary14(out int hr)
Parameters
hrint
Returns
GetTotalLicenseSummary15(out int)
public SCl15TotalLicenseSummary GetTotalLicenseSummary15(out int hr)
Parameters
hrint
Returns
GetTotalLicenseSummary16(out int)
public SCl16TotalLicenseSummary GetTotalLicenseSummary16(out int hr)
Parameters
hrint
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
PublicNumberstringThe 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
trunkRecordingIdint
Returns
- TrunkRecordingViewEntry
GetTrunkRecordingLog(TrunkRecordingLogQueryParameters, out int)
public ICollection<TrunkRecordingLogEntry> GetTrunkRecordingLog(TrunkRecordingLogQueryParameters parameters, out int totalCount)
Parameters
parametersTrunkRecordingLogQueryParameterstotalCountint
Returns
- ICollection<TrunkRecordingLogEntry>
GetTrunkRecordingView(TrunkRecordingQueryParameters, out int)
public List<TrunkRecordingViewEntry> GetTrunkRecordingView(TrunkRecordingQueryParameters parameters, out int totalCount)
Parameters
parametersTrunkRecordingQueryParameterstotalCountint
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
PinLengthbyteLenght 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
GroupIDintID 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
InternalNumberIDint
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
UserIDintID 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
showUserFileSizeboolIf true the UserFile Size will be filled.
userDeviceMapUserDeviceSmallMap
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
GroupIDintShow only you users of this group
ShowUserFileSizebooldeviceMapUserDeviceSmallMap
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
LocationIDintShowUserFileSizebooldeviceMapUserDeviceSmallMap
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
UserIDintShow only this user
ShowUserFileSizebooldeviceMapUserDeviceSmallMap
Returns
- UserAdminView1PrimaryCollection
Collection of UserAdminView1Entries
GetUserApiRoles(int)
public UserApiRoles GetUserApiRoles(int userId)
Parameters
userIdint
Returns
- UserApiRoles
GetUserIdByLogin(string)
return the UserId of the user with the given login
public int GetUserIdByLogin(string login)
Parameters
loginstringLogin. 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
parametersUserViewParameterstotalCountint
Returns
- ICollection<UserWebInfo>
GetUserWebAdminView(int)
public UserWebInfo GetUserWebAdminView(int userId)
Parameters
userIdint
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
Namestringname to verify
DisplayNamestringdisplay name of the exchange mailbox
MailBoxIDstringunique identifier of the mailbox (Use this parameter in Users.UserEntry)
cMailBoxInfoSMailBoxInfo
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
Namestringname to verify
DisplayNamestringdisplay name of the exchange mailbox
MailBoxIDstringunique 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
eRoleBuildInRoles
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
FeatureGUIDGuidhrintHresult 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
LanPhonePinstringPin 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
PublicNumberstringThe number
Returns
- bool
True or False
IsPublicNumberInUse(string)
Checks if given public number is already in use.
public bool IsPublicNumberInUse(string PublicNumber)
Parameters
PublicNumberstringPublic 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
sipUserIdstring
Returns
IsUserEmialAddressFree(string)
public bool IsUserEmialAddressFree(string userEmailAdress)
Parameters
userEmailAdressstring
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
EntryIDintThe EntryID of the entry to be modified.
NamestringThe name of the entry
NumberstringThe number
SearchNumberstringThe searchnumber is the canonical representation of the number. It will be generated by the CDS.
DescriptionstringMandantory description
HideboolWhen 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
phoneControllerAddressRangeIDintphoneControllerIDintbeginAddressstringendAddressstringfallBackPhoneMgrstringidintphoneMgrstring
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
cProxyAdminFacadeClient
PushDnsChallenge(string)
public DnsRegistration PushDnsChallenge(string token)
Parameters
tokenstring
Returns
- DnsRegistration
PushDnsChallenge(string, string)
public DnsRegistration PushDnsChallenge(string configName, string token)
Parameters
Returns
- DnsRegistration
PushDnsRegistration(string)
public DnsRegistration PushDnsRegistration(string ipAddress)
Parameters
ipAddressstring
Returns
- DnsRegistration
PushDnsRegistration(string, string)
public DnsRegistration PushDnsRegistration(string configName, string ipAddress)
Parameters
Returns
- DnsRegistration
PutActivationKey(string)
public void PutActivationKey(string key)
Parameters
keystring
PutControlCenterConfiguration(ControlCenterConfiguration)
public void PutControlCenterConfiguration(ControlCenterConfiguration configuration)
Parameters
configurationControlCenterConfiguration
PutFederationConfig(FederationConfig)
public FederationConfig PutFederationConfig(FederationConfig config)
Parameters
configFederationConfig
Returns
- FederationConfig
PutFileSystemConfiguration(FileSystemConfiguration)
public FileSystemConfigurationInfo PutFileSystemConfiguration(FileSystemConfiguration configuration)
Parameters
configurationFileSystemConfiguration
Returns
- FileSystemConfigurationInfo
PutIdentityFederationEndpointConfiguration(FederationEndpointConfiguration)
public void PutIdentityFederationEndpointConfiguration(FederationEndpointConfiguration config)
Parameters
configFederationEndpointConfiguration
PutNetPromoterScoreConfiguration(ProductNetPromoterScoreConfiguration)
public void PutNetPromoterScoreConfiguration(ProductNetPromoterScoreConfiguration config)
Parameters
configProductNetPromoterScoreConfiguration
PutS3Configuration(S3Configuration)
public S3ConfigurationInfo PutS3Configuration(S3Configuration configuration)
Parameters
configurationS3Configuration
Returns
- S3ConfigurationInfo
PutScstCertificateInfo(ScstCertificateInfo)
public void PutScstCertificateInfo(ScstCertificateInfo certificateInfo)
Parameters
certificateInfoScstCertificateInfo
PutScstConfiguration(ScstConfiguration)
public void PutScstConfiguration(ScstConfiguration configuration)
Parameters
configurationScstConfiguration
PutServiceSetting(ServiceSetting, bool)
public ServiceSetting PutServiceSetting(ServiceSetting setting, bool resetToDefault)
Parameters
settingServiceSettingresetToDefaultbool
Returns
- ServiceSetting
PutTechnicalContactConfiguration(TechnicalContactConfiguration)
public void PutTechnicalContactConfiguration(TechnicalContactConfiguration configuration)
Parameters
configurationTechnicalContactConfiguration
ReloadLicenseDocument()
public DateTimeOffset? ReloadLicenseDocument()
Returns
ReloadLicenseDocumentForUnmanaged()
public string ReloadLicenseDocumentForUnmanaged()
Returns
RemoveDnsChallenge(string)
public void RemoveDnsChallenge(string configName = "IpPbxServer")
Parameters
configNamestring
RemoveDnsRegistration(string)
public void RemoveDnsRegistration(string configName = "IpPbxServer")
Parameters
configNamestring
RemoveLicense(uint, out int)
public void RemoveLicense(uint LicenseId, out int hr)
Parameters
RemoveScstCertificateInfo(string)
public void RemoveScstCertificateInfo(string name = "IpPbxServer")
Parameters
namestring
RemoveScstConfiguration(string)
public void RemoveScstConfiguration(string name = "IpPbxServer")
Parameters
namestring
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
sourceUserIdintdestinationUserIdsSIntListstartNumberintThe number of the first speed dial. (Number = Position of speed dial in skin. The first is 1.)
stopNumberintThe 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
sourceUserIdintgroupIdintgroup id
startNumberintThe number of the first speed dial. (Number = Position of speed dial in skin. The first is 1.)
stopNumberintThe 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
namesSStringListlist of windows sids
Returns
- SStringList
List of user names strings
SendActivationRequest(ActivationType)
public bool SendActivationRequest(ActivationType type)
Parameters
typeActivationType
Returns
SendActivationRequestWithDetailedResult(ActivationType)
public ActivationResultInfo SendActivationRequestWithDetailedResult(ActivationType type)
Parameters
typeActivationType
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
MailServerstringMail Server
TestMailSenderAndRecipientstringsending and receiving mail account
Usernamestringuser name for authentication (may be "")
Passwordstringpassword for authentication (may be "")
iServerSmtpPortintserver's SMTP port (may be 0 in which case the default SMTP port is used)
bUseSecureConnectionboolif true the connection will be encrypted
Returns
SendWelcomeMail(SIntList)
Sends a welcome email to one or multiple users
public void SendWelcomeMail(SIntList userIds)
Parameters
userIdsSIntListIds of the users who should receive a welcome email
SendWelcomeMail(int)
Sends a welcome email to a user
public void SendWelcomeMail(int userId)
Parameters
userIdintId 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
parametersClientSettingParametersParamterClass with nullable values for each settting. Only not null values will be set
destinationUserIdsSIntList
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
parametersClientSettingParametersParamterClass with nullable values for each settting. Only not null values will be set
groupIdintid 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
forwardingParametersForwardingParameterListA list contains the new formwardings. For each forwarding type there can none or one entry in the list.
destinationUserIdsSIntList
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
forwardingParametersForwardingParameterListA list contains the new formwardings. For each forwarding type there can none or one entry in the list.
groupIdintgroup 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
uristring
SetOutboundHttpProxyCredentials(string, string)
public void SetOutboundHttpProxyCredentials(string username, string password)
Parameters
SetOutboundHttpProxyUsername(string)
public void SetOutboundHttpProxyUsername(string username)
Parameters
usernamestring
SetPhoneControllerState(int)
Sets the scanning state of the PhoneController. This method should be used by the PhoneManager only.
public void SetPhoneControllerState(int State)
Parameters
StateintThe state value
SetScstDnsInfo(string, string)
public void SetScstDnsInfo(string serverName, string ipAddress)
Parameters
SetScstLetsEncryptEmail(string)
public void SetScstLetsEncryptEmail(string email)
Parameters
emailstring
SetScstServerNameMode(ScstServerNameMode)
public void SetScstServerNameMode(ScstServerNameMode mode)
Parameters
modeScstServerNameMode
SetScstTlsCertificateMode(ScstCertificateMode)
public void SetScstTlsCertificateMode(ScstCertificateMode certificateMode)
Parameters
certificateModeScstCertificateMode
SetThumbprint(int, string)
public bool SetThumbprint(int UserID, string Thumbprint)
Parameters
Returns
SetTwoFactorAuthenticationRequiredForAllAdminProfiles(bool)
public void SetTwoFactorAuthenticationRequiredForAllAdminProfiles(bool value)
Parameters
valuebool
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
GroupIDint
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
UserIDintSpecified User
Returns
- SignalRelationViewPrimaryCollection
Collection of SignalRelationViewEntry
StartFullSync(bool)
Synchronizes this site with all connected sites.
public void StartFullSync(bool bRequestReply)
Parameters
bRequestReplyboolIf true all receiving sites will send a full sync message by their own.
StartLookUpUserForMatchingIdentity(int)
public bool StartLookUpUserForMatchingIdentity(int userId)
Parameters
userIdint
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
keystring
Returns
ValidateIdentityFederationEndpointConfiguration(FederationEndpointConfiguration)
public void ValidateIdentityFederationEndpointConfiguration(FederationEndpointConfiguration config)
Parameters
configFederationEndpointConfiguration
VerifyCanCreateConferenceRoom(int, string)
public void VerifyCanCreateConferenceRoom(int userId, string internalNumber)
Parameters
VerifyCanCreateConferenceRooms(int, SStringList)
public void VerifyCanCreateConferenceRooms(int userId, SStringList internalNumbers)
Parameters
userIdintinternalNumbersSStringList