Lync Server 2013 中的托管 Exchange 用户管理Hosted Exchange user management in Lync Server 2013

 

上次修改的主题: 2012-10-18Topic Last Modified: 2012-10-18

若要为其邮箱位于托管 Exchange 服务上的 Lync Server 2013 用户提供语音邮件服务,必须为其用户帐户启用托管语音邮件。To provide voice mail services for Lync Server 2013 users whose mailboxes are located on a hosted Exchange service, you must enable their user accounts for hosted voice mail.

备注

在可以对 Lync Server 2013 用户启用托管语音邮件之前,必须部署适用于相应用户帐户的托管语音邮件策略。Before a Lync Server 2013 user can be enabled for hosted voice mail, a hosted voice mail policy that applies to the corresponding user account must be deployed. 该策略的作用域可以是 global、site 或每用户,只要适用于要启用的用户即可。The policy can be global, site, or per-user in scope, as long as it applies to the user whom you want to enable. 有关详细信息,请参阅 Lync Server 2013 中的托管语音邮件策略For details, see Hosted voice mail policies in Lync Server 2013.

msExchUCVoiceMailSettings 属性The msExchUCVoiceMailSettings Attribute

Lync Server 2013 引入了一个名为 msExchUCVoiceMailSettings的新用户属性,该属性是作为 Lync Server 2013 Active Directory 架构准备的一部分创建的。Lync Server 2013 introduces a new user attribute named msExchUCVoiceMailSettings, which is created as part of the Lync Server 2013 Active Directory schema preparation. 此多值属性保存由 Lync Server 2013 和托管 Exchange 服务共享的语音邮件设置。This multivalued attribute holds voice mail settings that are shared by Lync Server 2013 and the hosted Exchange service.

在某些情况下,托管 Exchange 服务可能会在启用 Exchange UM 或在将邮箱传输到托管 Exchange Server 的过程中设置 msExchUCVoiceMailSettings 属性的值。The hosted Exchange service may in some cases set the value of the msExchUCVoiceMailSettings attribute in the process of enabling Exchange UM, or during the process of transferring mailboxes to a hosted Exchange Server. 如果 Exchange 不设置此属性,则 Lync Server 2013 管理员必须通过运行 Set-CsUser cmdlet 来设置它,如本主题前面所述。If this attribute is not set by Exchange, the Lync Server 2013 administrator must set it by running the Set-CsUser cmdlet, as described earlier in this topic.

该属性的键/值对及其作者显示在下表中。The attribute’s key/value pairs and their authors are shown in the following table.

msExchUCVoiceMailSettings 属性键/值对The msExchUCVoiceMailSettings Attribute Key/Value Pairs

Value 作者Author 含义Meaning

ExchangeHostedVoiceMail = 1ExchangeHostedVoiceMail=1

ExchangeExchange

Exchange Server 已为用户启用托管 UM 访问。User has been enabled for hosted UM access by Exchange Server. Exchange UM 路由应用程序将检查用户的托管语音邮件策略以了解路由详细信息。The Exchange UM Routing application will check the user’s hosted voice mail policy for routing details.

ExchangeHostedVoiceMail = 0ExchangeHostedVoiceMail=0

ExchangeExchange

Exchange Server 已为用户禁用托管 UM 访问。User has been disabled for hosted UM access by Exchange Server.

CsHostedVoiceMail = 1CsHostedVoiceMail=1

Lync ServerLync Server

用户已为 Lync Server 2013 启用了托管 UM 访问。User has been enabled for hosted UM access by Lync Server 2013. Lync Server 2013 ExUM 路由应用程序将检查用户的托管语音邮件策略以了解路由详细信息。The Lync Server 2013 ExUM Routing application will check the user’s hosted voice mail policy for routing details.

CsHostedVoiceMail = 0CsHostedVoiceMail=0

Lync ServerLync Server

已为 Lync Server 2013 禁用托管 UM 访问的用户。User has been disabled for hosted UM access by Lync Server 2013.

备注

如果该属性已经有一个除 Lync Server 2013 键/值对之外的值 (CSHostedVoiceMail = 0 或 CSHostedVoiceMail = 1) ,则将显示一条警告,指示该属性可能由不同的应用程序管理。If the attribute already has values other than one of the Lync Server 2013 key/value pairs (CSHostedVoiceMail=0 or CSHostedVoiceMail=1), a warning will indicate that the attribute may be managed by a different application. 例如,如果键/值对 ExchangeHostedVoiceMail=0 或 ExchangeHostedVoiceMail=1 已存在,则显示警告。For example, a warning is displayed if the key/value pair ExchangeHostedVoiceMail=0 or ExchangeHostedVoiceMail=1 is already present. 在这种情况下,可以通过在 Active Directory 中编辑来更改值,或运行以下 cmdlet 将值设置为 null:In that case, you can change the value by editing it the Active Directory, or run the following cmdlet to set the value to null:
Set-CsUser –identity user –HostedVoicemail $nullSet-CsUser –identity user –HostedVoicemail $null

为用户启用托管语音邮件Enabling Users for Hosted Voice Mail

要使用户的语音邮件呼叫可以路由到托管 Exchange UM,必须运行 Set-CsUser cmdlet 来设置 HostedVoiceMail 参数的值。To enable a user’s voice mail calls to be routed to hosted Exchange UM, you must run the Set-CsUser cmdlet to set the value of the HostedVoiceMail parameter. 此参数还会向 Lync Server 2013 发出信号,以使 "呼叫语音邮件" 指示器亮起来。This parameter also signals Lync Server 2013 to light up the “call voice mail” indicator.

  • 以下示例为 Pilar Ackerman 的用户帐户启用托管语音邮件:The following example enables Pilar Ackerman’s user account for hosted voice mail:

    Set-CsUser -Identity "Pilar Ackerman" -HostedVoiceMail $True
    

    该 cmdlet 验证是否有适用于该用户的托管语音邮件策略(全局、站点级别或每用户)。如果没有适用的策略,该 cmdlet 将失败。The cmdlet verifies that a hosted voice mail policy (global, site-level or per-user) applies to this user. If no policy applies, the cmdlet fails.

  • 以下示例为 Pilar Ackerman 的用户帐户禁用托管语音邮件:The following example disables Pilar Ackerman’s user account for hosted voice mail:

    Set-CsUser -Identity "Pilar Ackerman" -HostedVoiceMail $False
    

    该 cmdlet 验证是否没有适用于该用户的托管语音邮件策略(全局、站点级别或每用户)。如果有适用的策略,该 cmdlet 将失败。The cmdlet verifies that no hosted voice mail policy (global, site-level or per-user) applies to this user. If a policy does apply, the cmdlet fails.

有关使用 Set-CsUser cmdlet 的详细信息,请参阅 Lync Server 命令行管理程序文档。For details about using the Set-CsUser cmdlet, see the Lync Server Management Shell documentation.