interview question and answer

November 11, 2012

Understanding “Missed Call Notifications” and voicemail message delivery with OCS 2007 R2 / Lync Server 2010 and Exchange 2007 / 2010


I was talking to a fellow Microsoft UC consultant the other day about how:
  1. Missed call notifications
  2. Voicemail message delivery
… worked and realized that I had problems remembering the details of the differences between the 2 and while most of it came back after thinking about it for 10 minutes, I thought it would benefit myself as well as the community if I document it here.
I believe that the best way to start is to outline the scenarios when you have Exchange 2007 / 2010 and OCS 2007 R2 / Lync Server 2010 as your PBX and voicemail solution.  Just so I don’t keep flipping around between the different versions, for the purpose of this example, we will use Exchange 2007 UM and Lync Server 2010 as the voicemail and PBX solution.
Lync Client Signed
image
Scenario 1:
  1. User calls in
  2. Rings until user gets directed to voicemail greeting
  3. Leaves a voicemail message 
Looking into the C:\Program Files\Microsoft\Exchange Server\UnifiedMessaging\voicemail folder will show 2 files:
  1. .txt
  2. .wav
image
Opening up the .txt file will show something similar to this:
MessageType : VoiceMail
CallerId : +12892596319
NDRRequired : False
RecipientName : Terence Luk
RecipientAddress : 
tluk@domain.com
RecipientCulture : en-US
CallId : ad0f59fc-6798-48ac-92e5-8b31d1a7fc1e
AttachmentName : E:\Program Files\Microsoft\Exchange Server\UnifiedMessaging\voicemail\efad5c6d-e09b-43b1-b601-3291e3647b58.wav
Duration : 1
Important : False
CallAnswering : True
Codec : Gsm
Callee’s Outlook mailbox will get a voicemail message but no missed call notification:
image
Scenario 2:
  1. User calls in
  2. Rings twice
  3. Hangs up before being directed to voicemail greeting
Looking into the C:\Program Files\Microsoft\Exchange Server\UnifiedMessaging\voicemail folder will show 1 file:
  1. .txt
image
Opening up the .txt file will show something similar to this:
MessageType : OCSNotification
sip:tluk@domain.comEUM:tluk@domain.com;phone-context=DialPlanName.domain.comf46b6940-03d8-45dc-8ba6-577edde1a929sip:+12892596319@domain.com;user=phoneCallerReleased
Callee’s Outlook mailbox will get a missed call notification:
image
Scenario 3:
  1. User calls in
  2. Rings until user gets directed to voicemail greeting
  3. Hangs up before end of voicemail greeting
Looking into the C:\Program Files\Microsoft\Exchange Server\UnifiedMessaging\voicemail folder will show 1 file:
  1. .txt
image
Opening up the .txt file will show something similar to this:
MessageType : MissedCall
CallerId : +12892596319
NDRRequired : False
RecipientName : Terence Luk
RecipientAddress : tluk@domain.com
RecipientCulture : en-US
CallId : d6a0006d-b5be-49bd-9853-d76895b48e3f
Important : False
Callee’s Outlook mailbox will get a missed call notification:
image
Lync Client Signed Out
image
Scenario 1:
  1. User calls in
  2. Gets directed to voicemail greeting immediately (Lync Client is signed out)
  3. Hangs up before end of voicemail greeting
Looking into the C:\Program Files\Microsoft\Exchange Server\UnifiedMessaging\voicemail folder will show 1 file:
  1. .txt
image
Opening up the .txt file will show something similar to this:
MessageType : MissedCall
CallerId : +12892596319
NDRRequired : False
RecipientName : Terence Luk
RecipientAddress : 
tluk@domain.com
RecipientCulture : en-US
CallId : 2f21959e-fe0d-40ba-9979-e3ac748b2884
Important : False
Callee’s Outlook mailbox will get a missed call notification:
image
Scenario 2:
  1. User calls in
  2. Gets directed to voicemail greeting immediately (Lync Client is signed out)
  3. Leaves a voicemail message at the end of the greeting
Looking into the C:\Program Files\Microsoft\Exchange Server\UnifiedMessaging\voicemail folder will show 2 files:
  1. .txt
  2. .wav
image
Opening up the .txt file will show something similar to this:
MessageType : VoiceMail
CallerId : +12892596319
NDRRequired : False
RecipientName : Terence Luk
RecipientAddress : tluk@domain.com
RecipientCulture : en-US
CallId : cb9654c5-819b-4099-8d23-197481996190
AttachmentName : E:\Program Files\Microsoft\Exchange Server\UnifiedMessaging\voicemail\af5ff551-df92-42fc-b6ce-6b3f8a2f9145.wav
Duration : 2
Important : False
CallAnswering : True
Codec : Gsm
Callee’s Outlook mailbox will get a voicemail message but no missed call notification:
image
I know it may be a bit confusing and difficult to compare and contrast as you scroll down the scenarios so to summarize the behavior:
  • If the callee never makes it to your Exchange UM voicemail greeting, your Lync Client will be responsible to send the missed call notification.
  • If the callee makes it to your Exchange UM voicemail greeting, Exchange UM is what’s responsible to either deliver a missed call notification or voicemail message.  Note that you would only get one of the two.
Hope this helps anyone out there that would like to gain a bit of the structural and functional understanding of missed call notifications and voicemail delivery.

No comments: