語音郵件的功能: 電話接聽-->接聽電話并錄制語音留言 将語音留言投遞到使用者的郵箱中
語音方式的電子郵件通路-->Outlook voice access Outlook 2007 OWA for Exchange 2007
解析來電人電話号碼到通訊簿
漏接電話(Missed Call)通知
目錄搜尋: 以下場景會進行目錄搜尋:
Voice mail
Fax
Missed call
撥叫方會提供足夠的資訊
UM伺服器搜尋AD,并找到被叫方的email位址
語音留言會以電子郵件的方式,被投遞到被叫方
目錄搜尋的範圍: 撥叫方通過幾種方式提供被叫方資訊-->分機号碼Extension(voice or DTMF) Email位址字首(voice or DTMF) 姓名(部分或者全部)
輸入類型-->DTMF(電話撥号盤): Accepts partial entry which makes the search complex
Creating DTMF map on the fly and search will take a performance hit -->Every user has a DTMF Mapping FirstNameLastName,LastNameFirstName,emailAlias
解析Caller ID: UM will try to resolve caller ID for-->Voice mail Fax Missed Call Notification
UM會從SIP的Invite請求中,擷取Caller-ID
In this case UM tries to resolved "3102" 見下圖:
解析Caller - ID: 檢查撥叫方Caller id是否為'null'-->如果是,則使用匿名'anonymous'表示撥叫方
如果有Dial Plan資訊-->Dial Plan + caller extension ->search in AD
Check Contact for the 'called' user-->檢查聯系人中的公司電話、家庭電話和手機字段 檢查之前,UM會簡化聯系人中的電話表示方法以便進行搜尋
如果以上方式仍然無法解析Caller-ID,則使用匿名'anonymous'表示撥叫方
Caller ID到AD使用者的對應: From--&gt;<VoiceMailOriginator> on behalf of <DisplayName>
Subject--&gt;VoiceMail/Fax: Exchange Voice Mail(<duration>)<DisplayName>
Missed Call Notification: Exchange Missed Call <DisplayName>
Caller ID到聯系人的對應: "From": If personal contact has email address and display name--&gt;<VoiceMailOriginator>on behalf of<DisplayName>
If personal contact doesn't have email address but has display name--&gt;<VoiceMailOriginator>on behalf of<DisplayName>
If personal contact has email address but no display name--&gt;<VoiceMailOriginator>on behalf of <email>[<email>]
Caller ID到聯系人的對應: "SUBJECT": If personal contact has email address and display name--&gt;Exchange Missed Call <DisplayName> Exchange Voice Mail (<duration>) <DisplayName>
If personal contact doesn't have email address but has display name--&gt;Exchange Missed Call <DisplayName> Exchange Voice Mail (<duration>) <DisplayName>
If personal contact has email address but no display name--&gt;Exchange Missed Call <email> Exchange Voice Mail (<duration>) <email>
用語音方式通路郵件: Outlook Voice Access的通路方式--&gt;User calls into a pilot number Enters Ext + PIN for authentication Check AD for PIN verification Check AD for location mailbox User is connected to mailbox Check voice mail(as well as email,and calendar)
UM通過IP網關進行電話接聽的過程--&gt;見下圖:
語音郵件送出的過程--&gt;見下圖:
Step 1 - Reach UM server: PBX is configured to route call the voice mail system on certain conditions
Call is routed to gateway
Caller leaves voice mail
Voice mail reaches the UM server
The voce mail is submitted in the 'voicemail' folder in UM server located at $\install directory\Exchange Server\UnifiedMessaging\voicemail' folder.(defined in globcfg.xml)
Each voice message has 2 parts / files --&gt;<guild>.txt - header file --&gt;<guild>.txt - header file <guid>.wav - media file
Step 2 - Find a Hub Transport Server: UM has to forward the voice message to hub transport within the same site.
HT Server is LOCATED irrespective of any voice massage submission.
UM will get the list of all the HT server within the AD on startup and will update the list every 10 minutes.
If more than one HT exists it will use round robin to pick one.
If one HT is down it will pick the next one and mark it down till the next cycle of update.
If no HT is available then message is store in the UM server temporary location.
Step 3 - Check mailbox quota: Before submitting the voice mail UM will check user's mailbox quota
If it is over the limit the call will be rejected
Brief window where check may pass but by the time call reaches the user has reached the limit --&gt;Message is treated like NDRs in terms of priority and will be delivered anyway as long as it is not 20% over the limit.
Step 4 - Processing Voice Mail in UM server: The voce mail is submitted in the 'voicemail' folder in UM server located at $\install directory\Exchange Server\UnifiedMessaging\voicemail' folder.(defined in globcfg.xml)
Each voice message has 2 parts / files --&gt;<guild>.txt - header file --&gt;<guild>.txt - header file <guid>.wav - media file
Resolve Caller ID
Uses 'transport' dlls to convert the message to .eml file
Step 5 - submit to HT: UM will look for any new header file in the 'voicemail' folder every 30 second and try to submit it to HT
When it finds a header file following tasks are performed--&gt;Lock the header file Read the header and wav file Create email message and set all the MIME header Convert the wav file to wma format and attach it to the eml file Submit the message to Hut transport using SMTP.
Delete the header file and attachment after submission.
DSN option will be set to 'never' so that voice mail do not generate
語音方式通路郵件的流程: Using Subscriber Access--&gt;Calls the pilot number and enters PIN User selects option to check voice mail UM will use XSO Query messages with class IPM.NOTE.MICROSOFT.EXCHANGE.VOICE.CA
語音留言的播放 - Play on Phone: Available in Outlook 2007 and OWA for Ex2007 Generates an outbound call By default it is set to users extension Utilizes UM Web Service in CAS server
UM Web Service的作用: Installed in CAS server:Used for--&gt;Retrieve and set UM options Reset PIN Make outbound calls Retrieve call status Disconnect a Call
Talks to UM server using SIP protocol
UM伺服器接受傳真: Each user assigned an additional extension to receive fax message Use the same extension as voice mail Shared resource
CNG音頻:1100Hz half second in length Repeats every 3.5 seconds for 45 seconds 見下圖:
傳真的呼叫流程: Detect in bound Fax call Executing the Fax Protocol Capture the Fax as tiff Deliver the Fax message to user's mailbox 見下圖:
執行傳真協定 - Intel PIMG: Gateway detects the CNG Gateway sends CNG tone to UM server UM server detects the CNG tone and sends a SIP re INVITE for fax call New T.38 channel is created for data transfer
配置傳真: Enable Fax in Dial Plan--&gt;Set - UMDialPlan - identity MyDialPlan - FaxEnabled:$true
Enable user for Fax--&gt;Set - UMMailbox - identity UMUser1 - FaxEnabled:$true
If dial plan is fax enabled but the user is fax'disabled' the user settings take precedence
If dial plan is fax enabled and user fax settings is 'not set' then dial plan settings take effect
Fax屬性的設定: Maximum calls - UM server settings--&gt;Call duration - failure will generate incomplete message
Send 'fax id' - UM Policy
Send 'fax message text with message body' - UM Policy
本文轉自 葉俊生 51CTO部落格,原文連結:http://blog.51cto.com/yejunsheng/161355