Skype 服务器客户端策略参数优化

1、skype通讯录原理

对于skype客户端的通讯录同步,首先说说原理,通讯簿信息是从AD同步的skype前端服务器(每天1:30),在从前端服务器同步的客户端(大概1小时内同步一次)。

skype前端服务器中有个角色叫Web Server(也可以将Web Server独立成一台服务器,通常与skype前端服务器并置),skype客户端通讯簿就是通过Web Server服务器同步的,内部客户端通过域名(前端服务器全名,例如sfb.wondershare.cn)解析到skype前端服务器内部IP地址同步,外网客户端通过域名(这个域名是自己输入的,外网必须能够解析,例如:sfb.wondershare.cn)解析到skype前端服务器外部IP地址(发布前端服务器的IP地址,防火墙都可以发布)同步。

skype服务器中有个共享文件夹的小角色,这个角色中放置通讯簿文件,客户端找到通讯簿文件同步。

服务器通讯簿文件位置是:共享文件夹\1-WebServices-1\ABFiles\(00000000-0000-0000-0000-000000000000)\(00000000-0000-0000-0000-000000000000)
重点来了,默认情况下通讯簿在服务器上有,本地也有,微软的理论默认如果在本地通讯簿中无法搜索到联系人,会到服务器通讯簿上搜索。skype的通讯簿并不大,而且平时搜索联系人操作并不多,所以在本地放一份通讯簿没有任何意义,直接指定客户端不用找本地,直接从服务器上搜索,这样可以解决大部分本地通讯簿问题。

以下三个命令是确定通讯簿位置(搜索位置)。
地址簿在服务器上(强烈推荐)
Set-CsClientPolicy -AddressBookAvailability websearchonly

地址簿在本地(不推荐)
Set-CsClientPolicy -AddressBookAvailability FileDownloadOnly

地址簿在服务器和本地(默认,不推荐)
Set-CsClientPolicy -AddressBookAvailability WebSearchAndFileDownload

 
如果你遇到通讯簿问题,请使用下面的方法解决。
1.通讯簿更改为在服务器上(只在服务器上搜索)
Set-CsClientPolicy -AddressBookAvailability websearchonly

2.skype前端服务器快速同步通讯簿
skype命令应用程序:Update-CsAddressBook -Verbose

 注:推荐,每次更改AD中对象信息,就运行一次这个命令。不用等到凌晨的1:30在同步。5分钟左右即可开始同步。

3.关闭与退出skype客户端

2、开启skype联系人即时模糊搜索功能

不知道大家用Skype过程中,在使用过程中搜索联系人的时候是否存在一个困扰,就是Skype不支持模糊名称的搜索,必须要填入完整、正确的sip地址或邮箱地址,才能够搜索出正确的联系人。这是否不方便呢?其实Skype是有模糊搜索的,并且还是及时的模糊搜索。

无论输入姓氏也好,姓名全称也好,都不会得到任何结果,因为Skype默认只会让用户搜索完整的SIP URI地址。

我们可以使用Skype server 的命令行管理程序来修改这一客户端策略。我们只需要启动命令行管理程序,使用:
Set-CsClientPolicy -identity Global -SearchPrefixFlags <值>
 
这里的值是什么呢? 我们看看下面:
搜索前缀标记构造为二进制数字(比如,11101111),其中 1 指示属性应当被搜索,而 0 指示属性不应当被搜索。二进制值中的属性(从右至左)依次表示:
主电子邮件地址
电子邮件别名
所有电子邮件地址
公司
显示名称
 
二进制值 1110111 意味着除属性 4 以外的所有属性都需要搜索:公司。要仅搜索显示名称、名和姓,则应构造此值:
1110000
这里为了方便,建议大家设置为11111111,我觉得这种方式非常的方便。
已经构造好的二进制值在分配给 SearchPrefixFlags 之前,必须转换成十进制值。要将二进制数字转换成十进制数字,可以使用以下 Windows PowerShell 命令:
[Convert]::ToInt32("1111111", 2)
执行结果如下:


 

3、配置命令和参数

通过步骤1和2的理解,对参数和功能有了大致的了解,配置就很快了。

Set-CsClientPolicy -Identity Global -AddressBookAvailability WebSearchOnly
Set-CsClientPolicy -identity Global -SearchPrefixFlags 255
Set-CsClientPolicy -identity Tag:specialclientpolicy -SearchPrefixFlags 255
Update-CsAddressBook -Verbose

 

4、Skype服务器默认参数

 

Identity : Global
PolicyEntry : {}
Description :
AddressBookAvailability : WebSearchAndFileDownload
AttendantSafeTransfer :
AutoDiscoveryRetryInterval :
BlockConversationFromFederatedContacts :
CalendarStatePublicationInterval :
ConferenceIMIdleTimeout :
CustomizedHelpUrl :
CustomLinkInErrorMessages :
CustomStateUrl :
DGRefreshInterval :
DisableCalendarPresence :
DisableContactCardOrganizationTab :
DisableEmailComparisonCheck :
DisableEmoticons :
DisableFeedsTab :
DisableFederatedPromptDisplayName :
DisableFreeBusyInfo :
DisableHandsetOnLockedMachine :
DisableMeetingSubjectAndLocation :
DisableHtmlIm :
DisableInkIM :
DisableOneNote12Integration :
DisableOnlineContextualSearch :
DisablePhonePresence :
DisablePICPromptDisplayName :
DisablePoorDeviceWarnings :
DisablePoorNetworkWarnings :
DisablePresenceNote :
DisableRTFIM :
DisableSavingIM :
DisplayPhoto : AllPhotos
EnableAppearOffline :
EnableCallLogAutoArchiving :
EnableClientMusicOnHold : True
EnableConversationWindowTabs :
EnableEnterpriseCustomizedHelp :
EnableEventLogging :
EnableExchangeContactSync : True
EnableExchangeDelegateSync :
EnableFullScreenVideo :
EnableHighPerformanceConferencingAppSharing : False
EnableHotdesking :
EnableIMAutoArchiving :
EnableMediaRedirection :
EnableNotificationForNewSubscribers :
EnableServerConversationHistory : True
EnableSkypeUI :
EnableSQMData :
EnableTracing :
EnableURL :
EnableUnencryptedFileTransfer :
EnableVOIPCallDefault : False
ExcludedContactFolders :
HotdeskingTimeout : 00:05:00
IMWarning :
MAPIPollInterval :
MaximumDGsAllowedInContactList : 64
MaximumNumberOfContacts :
MaxPhotoSizeKB : 30
MusicOnHoldAudioFile :
P2PAppSharingEncryption : Supported
EnableHighPerformanceP2PAppSharing : False
PlayAbbreviatedDialTone :
SearchPrefixFlags :
ShowRecentContacts : True
ShowManagePrivacyRelationships : False
ShowSharepointPhotoEditLink : False
SPSearchInternalURL :
SPSearchExternalURL :
SPSearchCenterInternalURL :
SPSearchCenterExternalURL :
TabURL :
TracingLevel : Light
WebServicePollInterval :
HelpEnvironment :
RateMyCallDisplayPercentage : 10
RateMyCallAllowCustomUserFeedback : False
IMLatencySpinnerDelay : 1500
IMLatencyErrorThreshold : 1500

Identity : Tag:specialclientpolicy

PolicyEntry : {Name=EnableClientAutoPopulateWithTeam;Value=True}
Description :
AddressBookAvailability : WebSearchOnly
AttendantSafeTransfer :
AutoDiscoveryRetryInterval :
BlockConversationFromFederatedContacts :
CalendarStatePublicationInterval :
ConferenceIMIdleTimeout :
CustomizedHelpUrl :
CustomLinkInErrorMessages :
CustomStateUrl :
DGRefreshInterval :
DisableCalendarPresence :
DisableContactCardOrganizationTab :
DisableEmailComparisonCheck :
DisableEmoticons :
DisableFeedsTab :
DisableFederatedPromptDisplayName :
DisableFreeBusyInfo :
DisableHandsetOnLockedMachine :
DisableMeetingSubjectAndLocation :
DisableHtmlIm :
DisableInkIM :
DisableOneNote12Integration :
DisableOnlineContextualSearch :
DisablePhonePresence :
DisablePICPromptDisplayName :
DisablePoorDeviceWarnings :
DisablePoorNetworkWarnings :
DisablePresenceNote :
DisableRTFIM :
DisableSavingIM :
DisplayPhoto : AllPhotos
EnableAppearOffline :
EnableCallLogAutoArchiving :
EnableClientMusicOnHold : False
EnableConversationWindowTabs :
EnableEnterpriseCustomizedHelp :
EnableEventLogging :
EnableExchangeContactSync : True
EnableExchangeDelegateSync :
EnableFullScreenVideo :
EnableHighPerformanceConferencingAppSharing : False
EnableHotdesking :
EnableIMAutoArchiving :
EnableMediaRedirection :
EnableNotificationForNewSubscribers :
EnableServerConversationHistory : True
EnableSkypeUI :
EnableSQMData :
EnableTracing :
EnableURL :
EnableUnencryptedFileTransfer : True
EnableVOIPCallDefault : False
ExcludedContactFolders :
HotdeskingTimeout : 00:05:00
IMWarning :
MAPIPollInterval :
MaximumDGsAllowedInContactList : 10
MaximumNumberOfContacts :
MaxPhotoSizeKB : 30
MusicOnHoldAudioFile :
P2PAppSharingEncryption : Supported
EnableHighPerformanceP2PAppSharing : False
PlayAbbreviatedDialTone :
SearchPrefixFlags :
ShowRecentContacts : True
ShowManagePrivacyRelationships : False
ShowSharepointPhotoEditLink : False
SPSearchInternalURL :
SPSearchExternalURL :
SPSearchCenterInternalURL :
SPSearchCenterExternalURL :
TabURL :
TracingLevel : Light
WebServicePollInterval :
HelpEnvironment :
RateMyCallDisplayPercentage : 10
RateMyCallAllowCustomUserFeedback : False
IMLatencySpinnerDelay : 1500
IMLatencyErrorThreshold : 1500

 

5、微软知识库skype参数详解

https://docs.microsoft.com/zh-cn/previous-versions/office/skype-server-2010/gg398300(v=ocs.14)

转载于:https://www.cnblogs.com/reachos/p/10619624.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值