Topic Last Modified: 2010-12-13
To provide voice mail services for Lync Server 2010 users whose mailboxes are located on a hosted Exchange service, you must enable their user accounts for hosted voice mail.
Note: |
---|
Before a Lync Server 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. For details, see Hosted Voice Mail Policies. |
Enabling Users for Hosted Voice Mail
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. This parameter also signals Lync 2010 to light up the “call voice mail” indicator.
- The following example enables Pilar Ackerman’s user account for
hosted voice mail:
Copy Code Set-CsUser -Identity "Pilar Ackerman" -HostedVoiceMail $True
- The following example disables Pilar Ackerman’s user account
for hosted voice mail:
Copy Code Set-CsUser -Identity "Pilar Ackerman" -HostedVoiceMail $False
For details about using the Set-CsUser cmdlet, see the Lync Server Management Shell documentation.
The msExchUCVoiceMailSettings Attribute
Lync Server 2010 introduces a new user attribute named msExchUCVoiceMailSettings, which is created as part of the Lync Server Active Directory schema preparation. This multivalued attribute holds voice mail settings that are shared by Lync Server and the hosted Exchange service.
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. If this attribute is not set by Exchange, the Lync Server 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.
The msExchUCVoiceMailSettings Attribute Key/Value Pairs
Value | Author | Meaning |
---|---|---|
ExchangeHostedVoiceMail=1 |
Exchange |
User has been enabled for hosted UM access by Exchange Server. The Lync Server ExUM Routing application will check the user’s hosted voice mail policy for routing details. |
ExchangeHostedVoiceMail=0 |
Exchange |
User has been disabled for hosted UM access by Exchange Server. |
CsHostedVoiceMail=1 |
Lync Server |
User has been enabled for hosted UM access by Lync Server. The Lync Server ExUM Routing application will check the user’s hosted voice mail policy for routing details. |
CsHostedVoiceMail=0 |
Lync Server |
User has been disabled for hosted UM access by Lync Server. |
Note: |
---|
If the attribute already has values other than one of the Lync
Server key/value pairs (CSHostedVoiceMail=0 or
CSHostedVoiceMail=1), a warning will indicate that the attribute
may be managed by a different application. For example, a warning
is displayed if the key/value pair ExchangeHostedVoiceMail=0 or
ExchangeHostedVoiceMail=1 is already present. 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 $null |