Browsing the blog archives for February, 2012.

31 Lync Training Videos from MacroConnect

Exchange Server 2010, Instant Messaging (IM), Reference, lync server 2010

In November I posted a collection of how-to videos for Lync Server.

This month, someone has one-upped all of those.

Kevin from Macro Connect emailed me the other day to tell me about his new video series. He’s named it the “Lync Complete Training Guide” Playlist on YouTube.

After watching videos and reading his documentation, I told him I would happily blog about it. You’ll see why in just a moment.

What To Expect – Setup Videos and Documented Specs

MacroConnect.net is a Detroit IT firm. One of their specialties (like ours!) is supporting Lync Server. Where I blog about it, Kevin created a video series explaining how to setup Lync Server 2010.

Here’s the playlist URL: Lync Complete Training Guide Playlist – MacroConnectLync. It’s 31 videos, average viewing time between 3-5 minutes each.

But that’s only half the guide. Kevin has also posted documentation for each video at his website:
Lync Complete Training Guide Documentation – Macro Connect.Net

The documentation is a follow-along for the videos. Each video has a link to its documentation section in the Description. Pretty high-value stuff.

Who Should Watch – Lync Pros and Support Pros

The training videos and documentation are geared toward Lync administrators, help desk personnel, and anyone who’s looking to fill these roles.

Some technical skill is assumed for the audience. Basic knowledge of Windows Server environments for one. Understanding of Lync’s primary functions, as well.

Kevin is thorough, and gives details fast. He does use Macro Connect’s FQDNs, number extensions, and PSTN gateway. Take all this into account; your setup will obviously differ.

I recommend you use the videos as the last review stage in training. The documentation is there to refresh your memory, and the videos give you a visual reminder.

What it Covers – Step-By-Step Lync Server Setup

You start in at the very top – basic server setup, SIP connections, etc. From there, the videos run through the Lync setup process, from prerequisites to server configuration. Most of the videos are devoted to configuring Exchange Server, Lync Front End, and Lync Access Edge.

The reason for documentation becomes obvious fast: the screen is not very visible in YouTube, so you can’t always see the Lync setup options selected or numbers typed in. The documentation provides the specifics you’ll need, all laid out in bullets.

(Especially useful when you’re dealing with Management Shell commands!)

———-
Special Note: There is one section in the documentation list which does NOT have a video. “ADDING EXCHANGE UNIFIED MESSAGING ROLE TO VSERV2″ is between “Configuring AD on vserv1″ and “Install Exchange from Scratch on vserv2 – Stage 1″ in the list.

The documentation does appear correct for adding Exchange UM. But Kevin has six videos in the list for installing Exchange Server – which you need to do first, before installing Unified Messaging! So, keep that in mind.
———-

I like that he covered configuring Lync Mobile and locking down the Lync Server environment . He even ends with some ideas on custom Lync programming in Visual Studio, too.

From here of course, you’ll need to add Edge servers, Mediation, Monitoring/Archiving and so on.

Kevin’s series gives a detailed method for setting up the foundation of Lync Server. If you want a video reference for a typical Lync install, these are a great choice. Thanks for all the work Kevin!

Again, here are the links:
Lync Complete Training Guide Playlist – YouTube
Lync Complete Training Guide Documentation – Macro Connect.Net

What would YOU like to see in a Lync video?

Comments Off

How to Connect Lync Server to Exchange Online: Part 3

Unified Communications, lync server 2010

In case you’re just joining us…we’re tackling a complex answer to a fairly simple question. How do we connect (Office 365′s) Exchange Online Service to Lync Server for voicemail?

This is the third (and final) post on the solution.

Ordinarily, we’d recommend using an internal Exchange Server over Exchange Online. But the question came from one of our readers, who already had a different setup in place.

So we’re digging through all the steps necessary to make an internal communications system (Lync) work with an external service (Exchange Online).

In Part 1, we discussed providing Lync users with voice mail on Exchange Online.
In Part 2, we walked through a Unified Messaging Dial Plan and adding a voicemail policy domain to Office 365.

Two steps remain: configuring your Edge Server to integrate with Exchange Online’s Unified Messaging, and directing Lync Server to use Exchange Online.

The hard work’s done. The rest, as you’ll see, only takes some time in the Management Shell. So it’s just a matter of entering one command after another.

How to Configure the Edge Server for Integration with Exchange UM

A) Configure the Edge Server for Federation

1. Open the Lync Server Management Shell.
2. Run the Set-CsAccessEdgeConfiguration cmdlet to configure the server for federation:

Set-CsAccessEdgeConfiguration -UseDnsSrvRouting -AllowFederatedUsers 1 -EnablePartnerDiscovery 0

UseDnsSrvRouting tells the Edge Server to use DNS SRV records for sending/receiving federation requests. (The DNS SRV records were set in Part 1.)

AllowFederatedUsers is set to 1 so that internal users can communicate with users from federated domains.

EnablePartnerDiscovery is set to 0 to make sure Lync federates only with domains in the Allowed Domains list (instead of everybody).

B) Replicate Central Management Store Data to the Edge Server

1. Replicate the Central Management store data to the Edge Server. Use this cmdlet:

Export-CsConfiguration -FileName (ConfigFile.zip)

2. Copy the config file to external media. Load it on your the Edge Server.

C) Create a Hosting Provider on the Edge Server

Still in the Management Shell, run the New-CsHostingProvider cmdlet to configure the hosting provider.

New-CsHostingProvider -Identity UMDomain.com -Enabled $True -EnabledSharedAddressSpace $True -HostsOCSUsers $False -ProxyFQDN “proxyserver.UMDomain.com” -IsLocal $False -VerificationLevel UseSourceVerification

This cmdlet uses the following parameters (you may not need all of them):

  • Identity – A unique identifier for the new hosting provider. The command will fail if you’ve used this identity value for an existing provider!
  • Enabled – Must be set to True to connect your domain and the hosting provider. Can’t send/receive messages otherwise.
  • EnabledSharedAddressSpace – Is the new hosting provider in a shared SIP address space (split domain)? If so, set to True.
  • HostsOCSUsers – Will the hosting provider host Lync Server accounts? If False, the provider hosts other account types, like Microsoft Exchange accounts.
  • ProxyFQDN – The FQDN for the proxy server used by the hosting provider. Make sure this is accurate, because you can’t change it once set. If the hosting provider changes its proxy, you’ll need to recreate its entry.
  • IsLocal – Is the hosting provider’s proxy within your Lync topology? If so, it’s local (True). If not, set to False.
  • VerificationLevel – Indicates the verification level for messages sent to/from the hosted provider. Putting in UseSourceVerification tells the system to rely on the verification level included in sent messages. (If this isn’t specified, the message will be rejected as unverifiable.)

How to Direct a Lync Server to Exchange Online UM

Home stretch! And we don’t even have to leave the Management Shell.

1. Use the Set-CsHostedVoiceMailPolicy cmdlet to modify the hosted voicemail policy. Specify the Destination parameter as “exap.um.outlook.com” and the Organization parameter as the FQDN of your Exchange Online routing domain (YourDomain.com here):

Set-CsHostedVoiceMailPolicy -Destination exap.um.outlook.com -Organization YourDomain.com

2. Now we’ll create a Lync contact to represent the Exchange Online UM dial plan we made in Part 2. Use the New-CsExUMContact cmdlet. Remember the dialing rules you set for your numbers then? We’ll enter the full routing number here, with the DisplayNumber parameter (use E.164 format).

New-CsExUMContact -DisplayNumber +14085551122 -SipAddress sip:exchangeuser1@lync.YourDomain.com -RegistrarPool edgepool.lync.YourDomain.com -OU “OU=ExUmContacts,DC=YourDomain,DC=com”

3. Now we’ll associate a hosted voice mail policy with this new dial plan contact. If you’re using the default global hosted voice mail policy, this cmdlet will do the job:

Grant-CsHostedVoiceMailPolicy -Identity exumsa@lync.YourDomain.com

4. Associate the dial plan contact with the Exchange Online UM dial plan we created in Part 2.

And we’re done!

Take a breath, grab a drink, and relax. Thanks to this process, you should now have:

  • Established routing between Lync Server 2010 and Exchange Online.
  • Voice mail storage & transfer capability between the two servers.
  • Consistent dial plans for all users.

And for one more reference: Here’s the checklist for this entire process, from Microsoft.
Checklist: Connect Lync Server 2010 to Exchange Online UM

Next week we’ll feature some very helpful training videos. Good change of pace from big how-to posts. Catch you then!

Comments Off

How to Connect Lync Server to Exchange Online: Part 2

Reference, Unified Communications, lync server 2010

Before we get to Part 2 of our latest Lync how-to series, there’s a question we should ask.

Why would you WANT to connect an internal Lync Server 2010 setup to Office 365′s Exchange Online? Why not use an internal Exchange Server instead? Or go for Lync Online?

Sometimes Email Isn’t Enough – You Need a Phone!

The customer who asked the original question didn’t say. But I suspect it involves the fact that Lync Server includes VoIP. Very important difference when it comes to value.

(Maybe it’s a smaller organization, and Exchange Online works for their needs. If so, more power to them!)

Anyway, continuing on the topic. In Part 1 we provided Lync users with voice mail on Exchange Online. According to the checklist Microsoft has laid out, the next step is to configure Exchange Online’s Unified Messaging to work with Lync Server 2010.

This process will look a bit more familiar to Lync admins. It involves setting up dial plans. Yes, very similar to Lync’s standard dial plan setup – with a couple extra steps added. Let’s get into it.

How-To, Step 2 – Configure Exchange Online Unified Messaging

A) Create a new UM Dial Plan.

Quick refresher: Dial Plans are sets of rules for normalization and governance of calls. In this case, the dial plan will govern:

  • How your Lync Server connects to Exchange Online UM
  • Dial rules & settings for user access
  • Outlook Voice Access connectivity

Creating the dial plan is itself not difficult. Follow these steps:

  1. Select Manage My Organization > Phone & Voice > UM Dial Plans.
  2. Under UM Dial Plans, click New.
  3. Under Name, enter a name that is unique in your organization. It can be up to 49 characters long.
  4. Enter the following information for the dial plan:
    1. Extension Length: Enter the number of digits you’ve assigned to your Lync phone extensions.
    2. Dial Plan URI Type: Because we’re connecting to Lync Server, select SIP URI here.
    3. Audio Language: Select the language to use. It’ll cover the automated greetings, phone navigation prompts, Voice Mail Preview, and Outlook Voice Access.
    4. Country/Region Code: Enter your country code (or regional code) so UM dials domestic and international numbers correctly. Accepts 1-4 digits.
  5. Click Save to create the dial plan.

B) Configure the Dial Plan.

1.  Select the UM dial plan you just created.
2.  Click Details. We have many details to fill out, so make sure you have the following information on hand:

  • General. Verify that this information matches what you just created. (If it doesn’t, you may have to go back & recreate the dial plan.) You should see Name, Extension Length, URI Type (SIP!) & Audio Language.
  • Dial Codes. Specify the number formats so your outgoing calls reach their destinations.
    • Outside Line Access Code – Enter the code for accessing an outside line, if needed to reach external numbers (usually 9).
    • International Access Code – Enter the code needed to place international calls for your location (US is 011, Europe is 00).
    • National Number Prefix – Enter the prefix required for outgoing calls in your country/region. North America’s is 1.
    • Country/Region Code – Same code as the one entered when we created the dial plan earlier. Accepts 1-4 digits.
    • Country/Region Number Format – Enter the number format to resolve caller ID for users dialing outside this dial plan to other dial plans in your company. If you wanted to add a 4-digit extension for caller ID (like 1234), you’d enter 1234xxxxx.
    • International Number Format – Same as the point above, but for international calls. For instance, if you wanted to add 011-1234 as a prefix to an international caller extension, you’d enter 0111234xxxxx.
    • Number Formats for Incoming Calls – Enter the number format to use to provide caller ID on calls placed to users of this UM dial plan. For example, you’d enter 2345xxxxx to add the 2345 prefix to a 5-digit extension for incoming calls.
  • Outlook Voice Access. Select the greetings & numbers for Outlook Voice Access. Recorded greetings & announcements must be in 16-bit, 8kHz .wma or .wav file format.
    • Welcome Greeting – Click “Change File” if you want to upload a custom greeting file for Outlook Voice Access callers.
    • Informational Announcement – Click “Change File” to upload a custom recording to be played for callers after hours.
    • Allow Announcement to Be Interrupted – Check the box if you want callers to be able to skip the announcement.
    • Numbers for Users to Access Voice Mail – Enter a number for dial plan users to access their mailboxes, and click Add. Letters and numbers are supported.
  • Settings. Options for name searches, operator extensions, max recording length, and more.
    • Primary Way of Searching for Names – How should callers search for people in the address book? Specify it here. Could be by last name and first name, first name and last name, or an alias.
    • Secondary Way of Searching for Names – You can enter a second search method here, or select None to skip the option.
    • Audio Codec – Select the codec to use for recording voice mails. Available codecs are: MP3 (default), GSM, G711, and WMA.
    • Operator Extension – Enter the extension you want callers to connect with when they press zero. Could be an Auto Attendant, a specific person, or an external number.
    • Number of Sign-in Failures Before Disconnecting – How many sign-in attempts before disconnection? Default is 3, but you can choose from 1 to 20.
    • Timeouts and Retries – Change these settings to control how long recordings can last. Also controls when to timeout after a failed option.
    • Maximum Call Duration – How long should incoming calls last? Default is 30 minutes, but you can change the number (from 10 to 120) for all calls in the dial plan.
    • Maximum Recording Duration – Enter the maximum time a voice mail recording can last. Default is 20 minutes. Can go from 1 to 100 minutes (must be less than the Maximum Call Duration).
    • Recording Idle Timeout – Enter the number of seconds of silence to allow in a voice mail, before disconnecting the call. Anywhere from 2 to 10 seconds. (default is 5).
    • Number of Input Failures Before Disconnecting – How many times should callers be able to enter incorrect information when searching the address book, before they’re disconnected? 1 attempt to 99, default is 3.
    • Audio Language – Select the language to use for automated greetings, phone navigation prompts, Voice Mail Preview, and Outlook Voice Access. Same as the one you selected creating the dial plan.
  • Dialing Rules. These rules define the types of calls users can make. They also change the number users dial to the number that UM dials for outgoing calls. Adding a 9 for outside lines, etc. Groups of rules are placed into dialing rule groups, which you use to authorize all the rules together. You authorize rules under Dialing Authorization (see below), UM mailbox policies, and/or UM auto attendants.
    • In-Country/Region Rules – Create these dialing rules to define what kind of in-country/in-region calls your UM users can make.
    • International Rules – Same thing, except for international calls.
  • Dialing Authorization. Previously we created dialing rules for controlling the types of calls users can make. This is where we authorize those rule groups.
    • Allow Calls in the Same UM Dial Plan – Select the check box to allow unauthenticated callers calling into the access number to call/transfer to other users of the UM dial plan.
    • Allow Calls to Any Extension – Checking this box allows unauthenticated callers calling the subscriber access number to call/transfer to extensions of non-UM-enabled users.
    • Allowed In-Country/Region Dialing Rule Groups – Dial plan users can dial the numbers authorized by the dialing rule groups in this list.
    • Allowed International Dialing Rule Groups – Same as the previous setting, but for the international dialing rule groups.

Don’t forget to click Save!

C) Add the domain configured for your Lync voice mail policy to your Office 365 domains.

By now you already have domains set up for Lync, from Part 1. Microsoft recommends using the third-level domain assigned when you signed up for Office 365 (e.g., office365.yourdomain.com).

(Note: It can’t be the same one you use for Lync users’ SIP addresses.)

To Add the Domain:

  1. On the Admin page in Office 365, under Management, click Domains
  2. Click “Add a domain.”
  3. Under Specify domain on the next page, type the domain name you want to add, and then click Next.
  4. Follow the next steps in the wizard to verify with Office 365 that the domain name belongs to you.

Once the domain name is added, you must specify services with which you’ll use it.

  1. In the Add a Domain wizard, on the Specify services page, select the services you want. In this case, Exchange Online.
  2. Click Next.

Finally, you must edit your DNS records on this domain.

  1. If you just completed the Add a Domain wizard, click “Configure DNS records.”
  2. Otherwise, click Domains on the Admin page.
  3. Click the domain name you just set up, and click the DNS Settings tab. Here are the DNS records for Office 365′s services.
  4. Take these records to your domain registrar’s website, and add them into your DNS file.

For more details on this process, read this reference: Add Your Domain to Office 365.

In Part 3 we make the last connection – directing the Lync Server to Exchange Online. Check back next week, and we’ll wrap up the whole how-to.

Comments Off

How to Connect Lync Server to Exchange Online: Part 1

Instant Messaging (IM), Unified Communications, lync server 2010

The Lync questions keep coming! Yesterday, one came in with a request that appeared pretty simple:

“I tried to connect our Lync Server to Exchange Online. Now we can’t use voice mail. What went wrong?”

VERY good question. Let’s tackle it.

Connecting an Internal Lync Server to an External Exchange Server?

Let’s take a step back from this. What they did was try to connect a Lync Server to Office 365′s Exchange Online package. One internal system (Lync), interoperating with an external one (Exchange Online).

There are several reasons you might want to do this.

  • Sharing of calendar information and Out of Office messages
  • Voice mail interoperability
  • IM and Presence status showing up in Outlook Web App (as in, outside the organization)

Yes, it’s possible to connect these two services. But it’s more complicated than you’d think at first. Several management steps are required for Lync and Exchange Online to see each other, THEN talk to each other.

In fact, there’s a whole checklist you need to follow to make it all work:
http://help.outlook.com/en-us/140/gg702674.aspx

Microsoft posted this late last month. Many people missed it due to the holidays. (But that’s why we have the Lync Insider blog, right?)

How-To, Step 1 – Provide Lync Users with Voice Mail on Exchange Online

(Please note, I’m starting at #2 on the checklist linked above. #1 is deploying Lync Server 2010, with Edge Servers and Enterprise Voice. If you need help with those, read our Path to Lync Server – Step 6: Install Lync Server post.)

A) Create a DNS SRV Record for integration.

  1. Log on to your external DNS server (as a DnsAdmins group member!).
  2. Click Start / Administrative Tools, and then click DNS.
  3. In the console tree for your SIP domain, expand Forward Lookup Zones. Select the SIP domain where your Lync Server is installed (e.g. “edge1.yourdomain.com”).
  4. Right-click the SIP domain, and click Other New Records.
  5. Click “Service Location (SRV)” under Resource Record Type.
  6. Click “Create Record.”
  7. In the New Resource Record window, click Service. Enter _sipfederationtls (don’t forget the underscore).
  8. Click Protocol. Enter _tcp
  9. Click Port Number. Enter 5061
  10. Click “Host offering this service.” Enter the FQDN of the Lync Server Edge pool that provides access to external clients.
  11. Click OK. Then click Done.

Make sure the domain used in the SRV record you’re creating here matches the domain used in the DNS Host (A) record.

B) Set up external Edge Certificates.

You may already have certificates set up on the external Edge Server. If they’re set up for federation, then you’re fine here. If not, use these instructions:

  • Switch to a member login with higher permissions (e.g. the RTCUniversalServerAdmins group).
  • Follow the steps at this TechNet page:  http://technet.microsoft.com/en-us/library/gg398409.aspx
  • They will guide you through creating the certificate request, submitting it, importing & assigning the certificate to your Edge Servers.

C) Configure the Edge Server for integration.

1. Configure your Edge Server for federation. Start the Lync Server Management Shell (under Start / All Programs / Microsoft Lync Server 2010). Enter this cmdlet:

Set-CsAccessEdgeConfiguration -UseDnsSrvRouting -AllowFederatedUsers 1 -EnablePartnerDiscovery 0

It indicates that Edge Servers will use DNS SRV records for federation requests, allows federated users, and specifies that Lync should use DNS records to discover a partner domain (in this case, the Exchange Online service).

2. Still in the Management Shell, we’ll create a hosting provider on the Edge Server. Do this using the New-CsHostingProvider cmdlet.

New-CsHostingProvider -Identity ExchangeOnline.com -Enabled $True -EnabledSharedAddressSpace $True -HostsOCSUsers $False -ProxyFQDN “proxy.ExchangeOnline.com” -IsLocal $False -VerficationLevel UseSourceVerification

Where I’ve inserted “ExchangeOnline.com” – for the Identity and ProxyFQDN parameters – enter the URLs for your Exchange Online setup.

3. Verify that the Central Management Store data replicates to your Edge Server. See this TechNet link if you need help.

D) Enable your users for hosted voice mail.

Still in the Management Shell, use the Set-CsUser cmdlet:

Set-CsUser -HostedVoiceMail $True -Identity “YourDomain\JoeSmith”

Identity parameter can use either the user’s SIP address, their domain\logon name (like the above), their AD-DS display name or their User-Principal-Name. Easy to do – but you’ll have to enable every user this way!

E) Create Contact Objects for Exchange UM Online.

You’ll need contact objects for each auto-attendant (AA) number and subscriber access (SA) number in your deployment. Set these in Management Shell with the New-CsExUmContact cmdlet:

New-CsExUmContact -SipAddress “sip:ExampleAddress@YourDomain.com” -RegistrarPool “LocalPool.YourDomain.com” -OU “Exchange Online Integration” -DisplayNumber “+14085551111″ -AutoAttendant $True

New-CsExUmContact -SipAddress “sip:ExampleAddress@YourDomain.com” -RegistrarPool “LocalPool.YourDomain.com” -OU “Exchange Online Integration” -DisplayNumber “+14085551111″

SipAddress should be a new address, not in use by a user or contact object in AD-DS. RegistrarPool is the FQDN for the pool where your Registrar service runs. OU specifies where your contact object will be. DisplayNumber must be a unique number for each contact object. If AutoAttendant is set to True, the contact object is set as an Auto Attendant Object. If set to False, it’s a Subscriber Access object.

This is a lot to go through, I know.  Stay sharp – that’s just Part 1 of the setup!

In Part 2 next week, I’ll go through configuring Exchange Online so its Unified Messaging works with Lync. See you then!

Comments Off