When configuring federation to Office365, you must have an Edge server/pool that is currently configured to federate.
On your edge server open Lync PowerShell and type:
Set-CsAccessEdgeConfiguration -UseDnsSrvRouting -AllowFederatedUsers 1 -EnablePartnerDiscovery 0
Then create a new hosting provider
New-CsHostingProvider -Identity Domain.com -Enabled $True -EnabledSharedAddressSpace $True -HostsOCSUsers $False -ProxyFQDN "edge.domain.com" -IsLocal $False -VerficationLevel UseSourceVerificationNext enable your Lync users
Set-CsUser -HostedVoiceMail $True -Identity "domain.local\username"Next in your Office365 Admin Page open OWA:
- Select Manage My Organization > Phone & Voice > UM Dial Plans.
- Under UM Dial Plans, click New.
- Under Name, enter a name that is unique in your organization. It can be up to 49 characters long.
- Enter the following information for the dial plan:
- Extension length Enter the number of digits in the telephone extensions assigned to your users in Lync.
- Dial plan URI type Use SIP URI type: name@domain.com
- Audio language Select the language to use for automated greetings, phone navigation prompts, Voice Mail Preview, and Outlook Voice Access.
Note Voice Mail Preview isn't available in all languages. - Country/Region code Enter the numeric code for the country or region of this dial plan so that UM can dial domestic and international numbers correctly. For example, if your UM dial plan is in the United States, the code is 1. This field accepts 1 to 4 digits.
- Click Save to create the UM dial plan.
- Select the UM dial plan and click Details to configure dial codes, Outlook Voice Access, voice mail settings, and dialing rules.
Set-CsHostedVoiceMailPolicy -Destination exap.um.outlook.com -Organization domain.com
Next Create a Lync contact to represent the Exchange Online UM dial plan by using the Lync Server cmdlet New-CsExUMContact.
New-CsExUMContact -DisplayNumber +14255551234 -SipAddress sip:exumsa@domain.com -RegistrarPool edgepool.contoso.com -OU "OU=ExUmContacts,DC=domain,DC=local"
Next set the default voicemail policy to your newly created EX UM Contact
Grant-CsHostedVoiceMailPolicy -Identity exumsa@domain.com
Now test it, give Lync a few minutes to populate the voicemail to the user.
Let me know if you have any issues or questions, ill be glad to assist.
In new-CsExUMContact where does the -DisplayNumber come from? Is it one of the local site's unused phone numbers or is it a number at office 365 UM?
ReplyDeleteThanks for the answer,
Gerald
Hello Tim!
ReplyDeleteFirst - thank you fr your blog - I found here several very useful tips. Second - do you have any idea how to forward properly from on-premise Lync unassigned number to appropriate UM mailbox voice mail within Office 365? It is working fine for Lync users, however not for unassigned numbers. Honestly I don't know how to forward the call using CsAnnouncement and CsUnassignedNumber 1 number "range". I can create some dummy Lync account for such numbers, however it is not correct as it needs the Lync license and I still think there must be some way how to do that clean.
Thank you in advance
Petr
This comment has been removed by the author.
ReplyDeleteIf we could be able to produce something that is more important for the recipients mind and nature it would be so inspiring one for each other to regain their dealings, so it must needs to be sorted with some care and attention. professional voicemail greeting
ReplyDeleteVoice over Internet protocol service helps in transferring data voice and images through the same lines saving time and cost. automated voicemail greeting
ReplyDelete