3 cas 2013 runs um call router service accepts call requests decides on target mailbox server sends...

62

Upload: judith-victoria-thomas

Post on 23-Dec-2015

219 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or
Page 2: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

Paul [email protected]

Deep Dive: Lync 2013 & Exchange 2013 Unified Messaging Integration

VOICE401

Page 3: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

• Introduction• A quick tour of Exchange 2013 UM• All about UM objects• Exchange Automated Attendants• Call answering rules• Useful call routing tricks• Q & A

Agenda3

Page 4: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

Introduction

Page 5: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

• Exchange UM is PBX-agnostic• All it does is answer the phone

• There are many integration points between Lync 2013 & Exchange 2013• SERV301 covers these in some detail

• Integrating Exchange UM with Lync EV is the capstone of better-together-ness• There are some subtleties that are worth talking about in detail…

Introduction

Page 6: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

A quick tour of Exchange 2013 UM

Page 7: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

Exchange 2013 UM features• It answers the phone

• For individual mailboxes or through automated attendants

• It records voice messages• In a variety of audio formats, usually MP3• With optional speech-to-text, known as Voice Mail Preview

• It puts voice messages in users’ Inbox folders• Using the standard Exchange transport and storage mechanisms

• It provides telephone access to mailbox content• Through Outlook Voice Access

• It makes outbound calls• Dial-by-name, extension transfer, call answering rules

Page 8: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

• In 2010, UM was a separate role• In 2013, the UM role splits in two

Exchange 2013 UM Architecture

CAS 2013• Runs UM Call Router service• Accepts call requests• Decides on target mailbox server• Sends SIP REDIRECT message• Doesn’t accept or generate media streams

Mailbox 2013• Runs UM service• Runs UM worker process• Answers calls• Produces / consumes media streams

• Offers all services of 2010 UM: call answering, AA, OVA, etc.

Page 9: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

• CAS & mailbox can be combined• Incoming calls still go to UM Call Router

service• Which redirects to UM service• Which redirects to UM worker process using SIP REDIRECT

• Scalability impact• Only public guidance is in Jeff Mealiffe’s EHLO post (see References

slide)• Still recommended max of 100 concurrent calls• UM Call Router is very lightweight

Exchange 2013 UM architecture

Page 10: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

CAS / mailbox architecture in 2013

Page 11: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

• New routing architecture means that any UM server can answer calls for any user

• Recommendation: add all UM servers to all dial plans

• If this doesn’t make sense it will later

Routing changes

Page 12: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

Where the traffic goes

UMCallRouter.exe

UMService.exe

UM worker process

SIP or secure SIP (TCP 5060/5061)

SIP REDIRECT

SIP or secure SIP (TCP 5060/5061)

SIP “302 Moved temporarily”

RTP or SRTP traffic

SIP or secure SIP (TCP 506x)

Page 13: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

Where the traffic goes

Page 14: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

• Exchange UM is basically a big IVR application• ASR: automatic speech recognition• TTS: text-to-speech

• Traditional IVR-like functionality (Outlook Voice Access, Automated Attendants)• Fixed vocabulary• Real-time recognition

• Continuous speaker-independent ASR• Voice Mail Preview

Let’s talk about speech

Page 15: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

• PPI time!

UM call answering flow

Page 16: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

• How does Exchange know which user is being called?• The PBX provides an extension, not a user name

• Exchange UM (EUM) proxy address ties extension and dial plan to mailbox

• On incoming call, UM constructs EUM proxy based on inbound extension and uses it to query AD

User addressing

Page 17: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

All about UM objects

Page 18: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

UM dial plans vs Lync dial plans

• Specifies extension length

• Controls language • Contains automated

attendants• Sets dialing rules• May be SIP, E.164, or

telephone• Lots of other settings

• Contains normalization rules

• Can be applied to various user scopes

Exchange UM Lync

Page 19: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

• In legacy versions, UM dial plan name had to match Lync dial plan name

• This is no longer the case

Dial plan matching

Page 20: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

• Required as part of one-time integration process

• Creates UM IP gateway object for each Lync pool• What’s a UM IP gateway? Glad you asked…

• Creates a UM hunt group for each UM IP gateway

• Gives Lync read perm on Exchange UM objects

ExchUCUtil.ps1

Page 21: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

Exchange Automated Attendants

Page 22: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

• Tree-based attendants for automated call routing• “Press or say 1 for sales, 2 for customer service, 3 for technical

support”

• Can use DTMF or speech• Multiple AA trees may be chained together• Can provide dial-by-name• Simple options for business / nonbusiness

hours

Exchange automated attendant overview

Page 23: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

• All AA objects are available organization-wide• Stored in config NC: CN=UM AutoAttendant Container, CN=orgName,

CN=Microsoft Exchange, CN=Services

• But they’re assigned to specific dial plans• Each AA is assigned to a single dial plan

• Each AA consists of the following components• A language binding (US English by default)• Custom prompts • Holiday, business, non-business hours• Key mappings

Structure of an automated attendant

Page 24: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

Languages

Page 25: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

• What we call a “language pack” has multiple components• Acoustic language model• Statistical language model• Prompts / grammar

• Note that Exchange UM doesn’t use a dictation model!• So no punctuation, other higher-order language features

• Used throughout the UM experience

Language packs

Page 26: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

• Synthesized and pre-recorded material• Must be customized per language• Can be used for automated attendants too• No data analysis necessary

• This is the easiest part of language packs to create

• Custom prompts that you record• Not every system prompt can be replaced in a supported way• But they’re all .wav files…

Prompts and grammar

Page 27: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

• 20+ languages supported via language packs

• Exchange 2013 SP1 includes Voice Mail Preview for • US English (en-US)• Canadian English (en-CA)• French (France) (fr-FR)• Italian (it-IT)• Polish (pl-PL)• Portuguese (Portugal) (pt-PT)• Spanish (Spain) (es-ES)

What We’ve Got Now

Page 28: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

Why These Languages?

Page 29: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

• The language you set on the dial plan controls• What language is used for Voice Mail Preview (if available)• What language is used for prompts in OVA• What language is used for TTS prompts in automated attendants

Dial plans and languages

Page 30: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

Call answering rules

Page 31: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

• Call answering is UM’s most frequent scenario• Automated attendant provides prompting and

call routing for groups• Users wanted similar feature set for themselves

• Find-Me/Hide-Me• Special greetings by caller identity• Behavior based on time-of-the-day

• Solution: Call Answering Rules• User dictates call answering behavior• Conceptual hybrid of inbox rules and auto attendant functionality

Call Answering Rules

Page 32: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

• Each user can have up to 9 call answering rules

• Rules evaluated from top to bottom until first match

• Each rule contains• Condition(s): What criteria must be met before the rule is applied to an

inbound call• Greeting / menu: prompt to be played to callers to greet and inform

them about the actions available to them• Action(s): what actions UM should offer to the caller when the rule is

applied

Anatomy of a Call Answering Rule

Page 33: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

Creating a new rule

Page 34: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

• When a mailbox is first UM-enabled, there are no call answering rules configured

• If no call answering rules configured, UM behaves the same as before

Default configuration

Page 35: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

• Call Answering Rules support 5 different conditions:• Caller identity: phone #, contact, AD• Time of day: working hours, non-working hours, specific range

• Free/busy status• OOF state• Which extension the call arrived on

Conditions

Page 36: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

• Sometimes referred to as the default call answering rule

• When UM encounters a rule with no conditions, UM will always fire the rule

• Useful when user wants to have the same call answering experience (e.g., Find-Me) for all her callers.

Rule with zero conditions

Page 37: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

• Call Answering Rules support 3 different actions, • Find-Me• Call transfer• Leave a voice mail

• Actions are presented to callers in the form of a menu, similar to Auto Attendant

• Callers selects action using keypad (no speech access)

Actions

Page 38: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

• What happens if you configure a Call Answering Rule with no action?

• If user has recorded a custom prompt for this rule, UM hangs up after playing the prompt

• Otherwise, UM hangs up after playing the following prompt:

“You have reached the mailbox of <name>… Please call back later… Goodbye…”

• Essentially, an announcement-only rule• Can be used to implement a voice mail black list

No Action Configured

Page 39: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

• New cmdlets for managing call answering rules• New/Remove/Get/Set-UMCallAnsweringRule• Enable/Disable-UMCallAnsweringRule

• Rules are stored as folder associated items in users’ inboxes• So they move when mailboxes are moved

Rules via EMS

Page 40: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

• Simple example: if user’s calendar indicates OOF, have the caller call back; don’t let them leave a message

• Get-UMMailbox | % { New-UMCallAnsweringRule –ScheduleStatus 0x8 –mailbox $_.name}

Creating a rule for all users

Page 41: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

• Displace competitive user-centric call routing solutions

• When to use them vs RGS…• Call answering rules are lightweight• Call answering rules are per-user

When to use call answering rules

Page 42: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

Call routing tricks

Page 43: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

• Plain outbound calls• Play on Phone• UM server initiates call using SIP

• Supervised transfers• Find-me in call answering rules

• Blind transfers• Call transfer in call answering rules• AA call transfer• OVA dial-by-name

Exchange UM outbound calling

Page 44: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

• On an existing call, here’s what happens1. UM records caller’s name2. UM plays comfort tone on current call3. UM sends SIP INVITE to place outbound

call1. If call is answered, UM asks callee to press “1”

4. If callee answered, UM sends SIP REFER with Replaces: and Referred-By:

Supervised transfers

Page 45: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

• Provides alternate way to listen to call audio• Privacy, no audio hardware, international calling

• Depends on 3 things• User must enter correct phone number to call• Rules on UM dial plan must allow dialed number• Lync must allow dialing out to that number

• Simple troubleshooting• Can you dial the number yourself from cell, desk phone, etc?• Can you use another number for Play on Phone?

Play on Phone

Page 46: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

• Most common topology: hosted Exchange UM, on-premises Lync

• Requires a hosted voice mail policy to indicate that users’ voicemail is hosted

• Requires configuration of ExUM Routing application

What about hybrid?

Page 47: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

• Indicates whether the user is enabled for hosted voice mail

• Indicates whether Exchange UM or Lync set the value in the first place• If it was set by UM, Lync won’t step on the existing setting• To set it with Lync, use Set-CsUser –HostedVoiceMail $true

• Hosted voice mail policy still controls where calls are sent

msExchUCVoiceMailSettings

Page 48: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

• May be global, site, or per-user• Sets destination and org for policy

• Destination: FQDN of Exchange UM server• For Office 365, always exap.um.outlook.com

• Organization: name of your tenant

• Managed with *-CsHostedVoiceMailPolicy cmdlets

Hosted voice mail policies

Page 49: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

1. Configure your Lync edge server• Allow federation, replicate CMS to Edge, then create a hosting

provider

2. Create an appropriate hosted VM policy• There’s a default global policy that you can probably use

3. Enable users for hosted voice mail• This has nothing to do with whether the user is enabled in Exchange

UM• It just controls whether Lync thinks the user has voice mail capability

4. Set up hosted contacts for AA and subscriber access

High-level hybrid setup process

Page 50: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

Where to Learn More

Page 51: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

• EHLO blog post on scalability for UM• http://blogs.technet.com/b/exchange/archive/2013/05/06/ask-the-perf-g

uy-sizing-exchange-2013-deployments.aspx

• TechNet docs on ExUM Routing• http://technet.microsoft.com/en-us/library/gg398512.aspx

• TechNet docs on setting up hybrid Lync/ExUM• http://technet.microsoft.com/en-us/library/gg398968.aspx

References

Page 52: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

• ONLI302: Lync Online Hybrid Deep Dive• Wednesday, 4:30p, Bluethorne 4-6

• SERV401: Archiving with Lync Server 2013• Wednesday, 4:30p, Copperleaf 9

• SERV301R, “Better Together: Integrating Lync 2013 and Exchange 2013”• Wednesday, 4:30, this room

Related sessions

Page 53: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

Read any good books lately?

Chapter 7 covers Lync and Exchange integrationChapter 8 covers Office 365 (but at a very, very high level)

Page 54: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

Questions?

Page 55: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or
Page 56: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

Microsoft PavilionDemos, Speakers, Demos, Lync Room System, Experts, Demos, a Bar....and more Demos

Page 57: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

ATTENDEE PARTYWednesday, February 19th

6:30pm-9:30pmHakkasan, MGM Grand

Brought to you by

When it comes to Vegas nightclubs, it doesn’t get any hotter than Hakkasan. And when it comes to opportunities to connect and reasons to party, no one does it better than Lync Conference! Our attendee party has a full lineup: an open bar, awesome food, and one of the best DJs that Vegas has to offer. Don’t miss out on the fun—stop by at 6:30pm and kick off and evening to remember. Come together.

Page 58: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

HANDS-ON LABS

You can also access labs on MyLync!

3:00pm – 9:00pm10:30am – 9:00pm7:30am – 9:00pm8:00am –1:30pm

LOCATIONPinyon 3

Monday, February 17Tuesday, February 18Wednesday, February 19 Thursday, February 20

LRS

LOCATIONCopperleaf 12

Wednesday, February 198:30am – 9:45am10:15am – 11:30am1:00pm – 2:15pm2:45pm – 4:00pm4:30pm – 5:45pm

Thursday, February 209:00am – 10:15am10:45am – 12:15pm12:45pm – 2:00pm

Page 59: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

MyLync allows you to create a custom experience and network with the Lync Community both online and in person.With MyLync, you can:• Build your own personalized calendar while browsing all available sessions• View breakout session material including PPTs and Videos within

48 hours of each session• Participate in the Community and find people in your social networks

who are attending and interact with speakers• Arrange meetings or social activities• Navigate the Exhibit Hall floor plan and learn more about our Sponsors• Fill out evaluations to win prizes

Log into MyLync at http://mylync.lyncconf.comFor MyLync support, please visit the Registration Desk.*

* Please note that adding a session to your calendar does not reserve a seat. Seating is on a first-come, first-served basis.

Page 60: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

Birds of a FeatherBirds of a Feather flock together! Join daily breakfast discussions of relevant topics by sitting in the separately designated areas of the Meal Hall. Seating will be sorted in a different way for each Birds of a Feather breakfast:Wednesday, February 19:Where are you from? Asia/Pacific, Eastern & Central Europe, Latin America, Middle East & Africa, US (West, Central & East) and Canada, Western Europe

Thursday, February 20:What is your interest?Best Practices, Business Value, Clients & Mobility, Lync Meetings and Video, Lync Online, Networking, Platform, Server & Manageability, Voice

Page 61: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

Fill out evaluations to win prizesFill out evaluations on MyLync or MyLync Mobile.Prizes awarded daily.

Page 62: 3 CAS 2013 Runs UM Call Router service Accepts call requests Decides on target mailbox server Sends SIP REDIRECT message Doesn’t accept or

© 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.