Lync Server 2013 中的主控 Exchange 使用者管理Hosted Exchange user management in Lync Server 2013

 

主題上次修改日期: 2012-10-18Topic Last Modified: 2012-10-18

若要為 Lync Server 2013 使用者提供語音信箱服務,其信箱位於主控 Exchange 服務上,您必須為主控的語音信箱啟用使用者帳戶。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. 原則可以是全域、網站或每位使用者在範圍內,只要它套用至您想要啟用的使用者。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 的程式中設定 msExchUCVoiceMailSettings 屬性的值,或將信箱轉移至主控 Exchange 伺服器的過程中。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 –身分識別使用者– 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 會驗證主控的語音信箱原則 (全域、網站層級或每位使用者) 適用于此使用者。The cmdlet verifies that a hosted voice mail policy (global, site-level or per-user) applies to this user. 若未套用原則,指令 Cmdlet 會失敗。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 會驗證沒有任何主控的語音信箱原則 (全域、網站層級或每位使用者) 適用于此使用者。The cmdlet verifies that no hosted voice mail policy (global, site-level or per-user) applies to this user. 若原則已套用,指令 Cmdlet 會失敗。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.