38
OCS 2007 OCS 2007 進進進進 進進進進 進進進進 進進進進 OCS 2007 Mediation OCS 2007 Mediation Server Server PSTN Gateways PSTN Gateways 進進進 進進進 進進進進進進進進 進進進進進進進進

OCS 2007 進階系列 – 深入探討 OCS 2007 Mediation Server 及 PSTN Gateways 馮立偉台灣微軟特約講師

Embed Size (px)

Citation preview

OCS 2007 OCS 2007 進階系列進階系列 – – 深入探討深入探討 OCS 2007 Mediation Server OCS 2007 Mediation Server 及及 PSTN GatewaysPSTN Gateways

馮立偉馮立偉台灣微軟特約講師台灣微軟特約講師

策略總覽策略總覽• The MicrosoftThe Microsoft®® Unified Communications (UC) Unified Communications (UC) 目標在於整合目標在於整合

豐富豐富 , , 人員中心導向人員中心導向 ,, 多媒體協同作業以及與交換機多媒體協同作業以及與交換機 (PSTN)(PSTN)• 需要 需要 SIP-PSTN SIP-PSTN 介面介面

– 許多現行 許多現行 gateway (GW) gateway (GW) 解決方案在市面上解決方案在市面上– IP Private Branch Exchanges (PBXs) IP Private Branch Exchanges (PBXs) 可與 可與 UCUC 整合整合

• UC UC 架構式設計用來提供 架構式設計用來提供 ::– 高傳真高傳真 , , 高度安全通訊機制高度安全通訊機制– 提供一種緊密整合桌上提供一種緊密整合桌上 iWorkeriWorker 應用程式應用程式 , , 如 如 MicrosoftMicrosoft®® Office Office

OutlookOutlook®®, Microsoft, Microsoft®® SharePoint SharePoint® ® 之使用經驗之使用經驗

Microsoft Microsoft 整合通訊架構整合通訊架構

PSTN PSTN 整合要點整合要點1.1. 隨處存取及連接隨處存取及連接

– UC clients UC clients 不管在何位置必須要能存取電話不管在何位置必須要能存取電話• 高音訊品質高音訊品質

– 基於 基於 PSTN PSTN 及行動網路限制及行動網路限制 , , 此解決方案將提供高傳真音質經驗於所有網路此解決方案將提供高傳真音質經驗於所有網路環境中環境中

• 絕佳管理性絕佳管理性– Gateways Gateways 將被當成是 將被當成是 UC solution UC solution 一部分且管理機制整合於其中一部分且管理機制整合於其中 . .

– 音訊品質及可用度分析音訊品質及可用度分析 將被產生以作為除錯將被產生以作為除錯 , , 分析分析 , , 及網路最佳化及網路最佳化• 簡單化簡單化

– 路由邏輯被內建於 路由邏輯被內建於 UC UC 架構中架構中– 電話機制將會以底下兩種方式呈現給 電話機制將會以底下兩種方式呈現給 User s:User s:

• A candidate routeA candidate route

• Another UC clientAnother UC client

– Gateways Gateways 或或 PBXs PBXs 將提供將提供 PSTN protocols PSTN protocols 及及 mediamedia 調解工作調解工作

現行 現行 PBX PBX 及及 GWsGWs 問題點問題點

• 缺乏支援 缺乏支援 SIP over TCPSIP over TCP– Only one GW vendor supports SIP over Transport Layer Security Only one GW vendor supports SIP over Transport Layer Security

(TLS), which is used in UC to encrypt SIP messages(TLS), which is used in UC to encrypt SIP messages

• 沒有支援沒有支援 SRTPSRTP– Used in UC to encrypt voice channelUsed in UC to encrypt voice channel

• 沒有支援沒有支援 ICEICE– Used in MicrosoftUsed in Microsoft®® Office Communicator 2.0 to enable voice to get Office Communicator 2.0 to enable voice to get

through firewalls and network address translators (NATs)through firewalls and network address translators (NATs)

• 無法與以下互通無法與以下互通 ::– The advanced capabilities of the UC Media StackThe advanced capabilities of the UC Media Stack– The Windows management schemeThe Windows management scheme

Media GW Media GW 配置配置

• Advanced Media Advanced Media Gateway (MGW)Gateway (MGW)– Rich MGW appliance Rich MGW appliance

running media serverrunning media server• UC Mediation ServerUC Mediation Server• UC-compatible media stackUC-compatible media stack

• Basic Media GWBasic Media GW– Basic MGW appliance Basic MGW appliance

with UC Mediation Serverwith UC Mediation ServerUC Mediation Server

Basic GW Appliance

Rich GW appliancehosting RTC (compatible)

Media Server

Media GWsMedia GWs 種類種類• Advanced or basic hybrid GW – Advanced or basic hybrid GW – 直接與 直接與 UCUC 互通互通

– Standalone appliance supporting TDM featuresStandalone appliance supporting TDM features– Supports SIP over TLSSupports SIP over TLS– Supports SRTPSupports SRTP– Supports RFC 3261 compliant SIP with MicrosoftSupports RFC 3261 compliant SIP with Microsoft®® Office Live Communication Server Office Live Communication Server

protocol extension subsetprotocol extension subset• Including RTC specified call flowsIncluding RTC specified call flows

– Supports RT Audio and SirenSupports RT Audio and Siren– Supports ICE for FW/NAT traversalSupports ICE for FW/NAT traversal– Sends RTCP reports and will respond to reskit troubleshooting probesSends RTCP reports and will respond to reskit troubleshooting probes– Provides remote management capability (Windows® Management Instrumentation?)Provides remote management capability (Windows® Management Instrumentation?)

• Basic GW – SIP/IP telephony GWBasic GW – SIP/IP telephony GW– Standalone appliance supporting TDM featuresStandalone appliance supporting TDM features– Supports SIP over TCPSupports SIP over TCP– Supports RFC 3261 compliant SIPSupports RFC 3261 compliant SIP– Supports G.711Supports G.711

現行現行 Media GW Media GW 合作廠商合作廠商

Basic hybrid GWsBasic hybrid GWs• DialogicDialogic

– DMG 4000DMG 4000– New product to be announcedNew product to be announced– Based on Windows ServerBased on Windows Server®® 2003 2003

• AudioCodes AudioCodes – New product to be announcedNew product to be announced– Released later in 2007Released later in 2007

• Quintum Quintum – New product to be announcedNew product to be announced– Released later in 2007Released later in 2007

• AculabsAculabs– New product to be announcedNew product to be announced– Released later in 2007Released later in 2007

Basic GWsBasic GWs• AudioCodesAudioCodes

– Mediant 1000 and 2000Mediant 1000 and 2000

• DialogicDialogic– DMG 2000 rangeDMG 2000 range– formerly Intel TIMG rangeformerly Intel TIMG range

• QuintumQuintum– TenorDXTenorDX

UC/PBX UC/PBX 種類種類

• UC enabledUC enabled– 原生支援與 原生支援與 UCUC 互通互通

• UC capableUC capable– 軟體升級後變成 軟體升級後變成 UC-EnabledUC-Enabled

• Non-UC enabledNon-UC enabled– 無法升級到與 無法升級到與 UC UC 互通性互通性

UC/PSTN UC/PSTN 整合情境整合情境

• MicrosoftMicrosoft®® Office Office Communications Server Communications Server 2007 2007 共存共存– UC UC 使用者仍有 使用者仍有 PBX PBX 電話電話– 能包含能包含 RCC RCC 情境情境

• Communications Server Communications Server 2007 standalone2007 standalone– No PBXNo PBX– 另一種就是 另一種就是 PBX PBX 仍被沒有使仍被沒有使

用 用 UCS UCS 的使用者使用的使用者使用

Inbound Inbound 路由路由

• 往內電話撥打路由往內電話撥打路由• 安裝在每一個安裝在每一個 FE/SE FE/SE 伺服器上伺服器上• 透過 透過 Communicator 2007 Communicator 2007 設定設定• 提供電話轉接功能提供電話轉接功能• 即使使用者燈初仍可處理往內呼叫即使使用者燈初仍可處理往內呼叫• 透過透過 MicrosoftMicrosoft®® Exchange Server 2007 Unified Exchange Server 2007 Unified

Messaging and OutlookMessaging and Outlook 觸發漏接來電通知觸發漏接來電通知

語音郵件路由語音郵件路由

• 執行於 執行於 Front End Front End 伺服器伺服器• 語音郵件方案是由 語音郵件方案是由 unified communications (UC) unified communications (UC) 與 與

Exchange Server 2007 Unified Messaging Exchange Server 2007 Unified Messaging 透過透過 SIPSIP 整合來整合來提供提供

• Play on Phone feature from MicrosoftPlay on Phone feature from Microsoft®® Office Outlook Office Outlook®® • Subscriber Access Subscriber Access 功能允許透過電話取得語音郵件或 功能允許透過電話取得語音郵件或 e-maile-mail• 自動總機路由自動總機路由• 已授權使用者不用再輸入 已授權使用者不用再輸入 Pin Pin 碼碼

Microsoft Confidential - Shared Under NDAMicrosoft Confidential - Shared Under NDA

Outbound Outbound 路由路由• 轉換轉換

– 藉由套用區域特定正規劃規則藉由套用區域特定正規劃規則 , , 轉換撥入號碼為標準格式轉換撥入號碼為標準格式– 允許使用者保留現有撥號格式允許使用者保留現有撥號格式

• 34567 in Cincinatti is actually +1 513 123 456734567 in Cincinatti is actually +1 513 123 4567• 34567 in Boston is actual +1 617 123 456734567 in Boston is actual +1 617 123 4567

• RNLRNL– Reverse Number Lookup Reverse Number Lookup 允許把號碼對應到 允許把號碼對應到 URIURI– Allows users to be called by one name spaceAllows users to be called by one name space– E.g. +1 425 123 4567 is actually E.g. +1 425 123 4567 is actually sip:[email protected]

• 路由路由– 如果撥打之號碼沒有對應到任何 如果撥打之號碼沒有對應到任何 MicrosoftMicrosoft®® Office Communications Server Office Communications Server

2007 2007 使用者使用者 , , 則需要往外撥打則需要往外撥打– 根據撥打之號碼根據撥打之號碼 , , 套用撥號授權及選擇合適的 套用撥號授權及選擇合適的 gateway gateway 繞到目的地繞到目的地

Microsoft Confidential - Shared Under NDAMicrosoft Confidential - Shared Under NDA

Gateway Gateway 規劃規劃

• Media gateway Media gateway 用途用途– Ubiquitous connectivityUbiquitous connectivity– Superior audio qualitySuperior audio quality– Great manageabilityGreat manageability

• Mediation server Mediation server 功能功能– TCP to TLSTCP to TLS– Intermediates UC call flowsIntermediates UC call flows– G.711 to RT Audio and SirenG.711 to RT Audio and Siren– Apply SRTP to media on UC sideApply SRTP to media on UC side– Act as an in-circuit emulation (ICE) Act as an in-circuit emulation (ICE)

client for the MGWclient for the MGW– Submit audio quality statisticsSubmit audio quality statistics

RTAudioRTAudio

G.711G.711 RTAudioRTAudio

Mediation Mediation ServerServer

Plan A GatewayPlan A Gateway

Plan B GatewayPlan B Gateway

Microsoft Confidential - Shared Under NDAMicrosoft Confidential - Shared Under NDA

UC 語音呼叫流程

demonstrationdemonstration

Phone Call – You and MePhone Call – You and Me

Phone Call – with PBXPhone Call – with PBX

Phone Call – with MediationPhone Call – with Mediation

Phone Call – from Phone Call – from AnywhereAnywhere(No Virtual Private Network [VPN] Required)(No Virtual Private Network [VPN] Required)

Phone Call – with GatewayPhone Call – with Gateway

Simple Deployment, External Access, Simple Deployment, External Access, and Voiceand Voice(Single Voice Location)(Single Voice Location)

Edge ServerEdge Server

HTTP ReverseHTTP ReverseProxyProxy

External/External/Federated/Federated/AnonymousAnonymous

UsersUsers

Perimeter Perimeter NetworkNetwork

IP-PSTN IP-PSTN GatewayGateway

AAPSTNPSTNPSTNPSTN

Medium business OREnterprise - small/initial/regional deployment

IM/presence and conferencingExternal/federation/PIC/anonymousVoice call control and voicemail – single location

No high availability

Active Directory® directory service, HTTP Reverse Proxy (e.g. ISA)

"Plan A" IP-PSTN GW (e.g. Dialogic)Microsoft® Exchange Server 2007 mail environment

3 Servers (3 Roles)Few thousand users (goal)

Voice location: unique inbound PSTN termination point (e.g. one per area code)

Exchange 2007 UM SP1 Beta can not be co-located with Exchange 2007 mailbox

Mailboxes may need to scale out independently

Active Active DirectoryDirectory

StandardStandardEditionEdition

Exchange UMExchange UMServerServer

PSTNPSTNPSTNPSTN

Simple Deployment, External Access, Simple Deployment, External Access, and Voiceand Voice(Regional Voice Locations with Plan B GWs)(Regional Voice Locations with Plan B GWs)

StandardStandardEditionEdition

Edge ServerEdge Server

HTTP ReverseHTTP ReverseProxyProxy

External/External/Federated/Federated/AnonymousAnonymous

UsersUsers

Perimeter Perimeter NetworkNetwork

IP-PSTN GWIP-PSTN GW

AA

IP-PSTN GWIP-PSTN GW

BB

IP-PSTN GWIP-PSTN GW

BB

MediationMediationServerServer

MediationMediationServerServer

Loc 1Loc 1

Loc 2Loc 2

Loc 3Loc 3

Exchange UMExchange UMServerServer

Active Directory® directory service, HTTP Reverse Proxy (e.g. ISA)

"Plan A" IP-PSTN GW (e.g. Dialogic)“Plan B” IP-PSTN GW (e.g. Quintum)Exchange Server 2007 mail environment

3 servers plus one Mediation server per Plan B IP-PSTN GW (4 roles)

Few thousand users (goal)

Mediation server must be located near IP-PSTN GW

Active Active DirectoryDirectory

Medium business OREnterprise - small/initial/regional deployment

IM/presence and conferencingExternal/federation/PIC/anonymousVoice call control and voicemail – single location

No high availability

區域性區域性 ,, 多重地點佈署範例多重地點佈署範例

Maps courtesy of Maps courtesy of www.theodora.com/maps, used with permission., used with permission.

ChicagoChicagoHQHQ

BostonBostonVoice Location 3Voice Location 3(Area Code 617)(Area Code 617)

CincinnatiCincinnatiVoice Location 2Voice Location 2(Area Code 513)(Area Code 513)

MinneapolisMinneapolisVoice Location 1Voice Location 1(Area Code 612)(Area Code 612)

IP-PSTN GWIP-PSTN GW

AA

IP-PSTNIP-PSTNGW GW

BB

MediationMediationServerServer

IP-PSTNIP-PSTNGW GW

BB

MediationMediationServerServer

All other LCS & Ex infrastructureAll other LCS & Ex infrastructure(incl. Perimeter Network)(incl. Perimeter Network)

PSTNPSTNRegion Region

II

PSTNPSTNRegion Region

II

IP-PSTN GWIP-PSTN GW

AA

IP-PSTN GWIP-PSTN GW

BB

IP-PSTN GWIP-PSTN GW

BB

MediationMediationServerServer

MediationMediationServerServer

Loc 1Loc 1

Loc 2Loc 2

Loc 3Loc 3

Exchange Exchange UMUM

ServersServers

全球語音部署全球語音部署

Enterprise Pool: ExpandedEnterprise Pool: Expanded

Enterprise Edition Front-End Servers: Expanded Enterprise Edition Front-End Servers: Expanded

IIS ServersIIS Servers A/V Conferencing ServersA/V Conferencing Servers Web Conferencing ServersWeb Conferencing Servers

Back-end Server

SQL

Back-end Server

SQL

ActiveActive PassivePassive

A/V ConfEdge Server

Traffic: A/V

Web Conf Edge Server

Traffic: SIP

Traffic: HTTPS

ISA (reverse proxy)

Access Edge Server

Traffic: PSOM

DMZ

Internet Corporate Network

SQL

Enterprise Pool: ConsolidatedEnterprise Pool: Consolidated

ISA (reverse proxy)

DMZ

A/V ConfEdge Server

Web Conf Edge Server

AccessEdge Server

ISA (reverse proxy)

A/V ConfEdge Server

Web Conf Edge Server

DirectorInternal Deployment

Internal Deployment

OC

UC phone

ConsoleCOMO

Corporate Network

Corporate Network

WAN Link

REDMOND Datacenter

SINGAPORE Datacenter

PrimaryPrimaryPerimeterPerimeterNetworkNetwork

SecondarySecondaryPerimeterPerimeterNetworkNetwork

AD

DMZ

Corporate Network

OCS 2007 SEInternet

User authenticates Access Proxy

OCS Access Edge Server

Director authenticates remote user

Secure connection over TLS

Secure connection over

MTLS

Pool A Pool CPool B

Load Balancer

Load Balancer

OCS 2007 SE

...

DirectorsDirectors

PSTNPSTNRegion Region

IIII

PSTNPSTNRegion Region

IIII

IP-PSTN GWIP-PSTN GW

AA

IP-PSTN GWIP-PSTN GW

BB

IP-PSTN GWIP-PSTN GW

BB

MediationMediationServerServer

Loc 1Loc 1

Loc 2Loc 2

Loc 3Loc 3

Enterprise Edition Front-End Servers: ConsolidatedEnterprise Edition Front-End Servers: Consolidated

Global mission-critical enterprise deployment

Geographic deploymentVoice call control and voicemail – multiple locations

High availability

Active Directory, HTTP Reverse Proxy (e.g. ISA)

"Plan A" IP-PSTN GW (e.g. Dialogic)“Plan B” IP-PSTN GW (e.g. Quintum)

Exchange Server 2007 mail environment

Global

Exchange UM scale depends on mailbox locations

Active Active DirectoryDirectory

全球語音部署全球語音部署

ChicagoChicago

(Global HQ)(Global HQ)Primary Perimeter Primary Perimeter NetworkNetwork

DirectorsDirectorsPool #1Pool #1

SingaporeSingapore

(APAC (APAC Datacenter)Datacenter)

Secondary Secondary Perimeter Perimeter NetworkNetwork

Pool #3Pool #3

SFOSFOLAXLAX

TorontoToronto

LisbonLisbon

LondonLondon

OsloOslo

DelhiDelhi TokyoTokyo

SydneySydney

IP-PSTNIP-PSTNGW GW

BBMediationMediationServerServer

IP-PSTNIP-PSTNGW GW

BBMediationMediationServerServer

IP-PSTNIP-PSTNGW GW

BBMediationMediationServerServerIP-PSTNIP-PSTN

GW GW

BBMediationMediationServerServer

IP-PSTN GWIP-PSTN GW

AA

IP-PSTN GWIP-PSTN GW

AA

IP-PSTN GWIP-PSTN GW

AA

IP-PSTN GWIP-PSTN GW

AA

IP-PSTN GWIP-PSTN GW

AA

ParisParis

(EMEA (EMEA Datacenter)Datacenter)Secondary Perimeter Secondary Perimeter NetworkNetwork

Pool #2Pool #2

Communications Server 2007 Communications Server 2007 Standalone – Standalone – 往內撥打往內撥打

• Call routed from PSTN hits Media GWCall routed from PSTN hits Media GW• Media GW converts to SIP callMedia GW converts to SIP call• Communications Server 2007 locates the UC userCommunications Server 2007 locates the UC user• Office Communicator ringsOffice Communicator rings

Communications Server 2007 Communications Server 2007 Standalone –Standalone – 往外撥打往外撥打

• Call made from Office CommunicatorCall made from Office Communicator– Possibly to another UC userPossibly to another UC user

• Communications Server 2007 routes call to Mediation ServerCommunications Server 2007 routes call to Mediation Server• Mediation Server passes call to Media GWMediation Server passes call to Media GW• Media GW places PSTN callMedia GW places PSTN call

Communications Server 2007 Communications Server 2007 Standalone – Call ForwardStandalone – Call Forward

• Call routed from PSTN hits Media GWCall routed from PSTN hits Media GW• Media GW converts to SIP callMedia GW converts to SIP call• Communications Server 2007 forwards call to different UC userCommunications Server 2007 forwards call to different UC user

– Based on original called-party’s preferenceBased on original called-party’s preference

• Office Communicator “rings”Office Communicator “rings”

Communications Server 2007 Communications Server 2007 Standalone – Call TransferStandalone – Call Transfer

• Office Communicator “rings” – Callee “picks up”Office Communicator “rings” – Callee “picks up”• Called party decides to transfer to another UC userCalled party decides to transfer to another UC user

– Blind or attended transferBlind or attended transfer

• Caller speaks to new called partyCaller speaks to new called party

Communications Server 2007 Communications Server 2007 Standalone – ConferenceStandalone – Conference

• UC user decides to escalate two-party call to ad-hoc UC user decides to escalate two-party call to ad-hoc conference callconference call– Picks conference participants from contact list, based on presencePicks conference participants from contact list, based on presence

• Conference Server calls out to new participantsConference Server calls out to new participants– Some via PSTNSome via PSTN

• Original call is transferred to the Conference ServerOriginal call is transferred to the Conference Server

Communications Server 2007 Communications Server 2007 Coexistence Scenario – Coexistence Scenario – 往內撥打往內撥打

• Same as “Standalone” call flow, except:Same as “Standalone” call flow, except:– Call hits PBX, not Media GWCall hits PBX, not Media GW– Call is forked by PBX to UCCall is forked by PBX to UC– User decides to pick call up on either UC or phoneUser decides to pick call up on either UC or phone

Communications Server 2007 Communications Server 2007 Coexistence Scenario – Coexistence Scenario – 往外撥打往外撥打

• Same as “Standalone” call flow, except:Same as “Standalone” call flow, except:– Call hits PBX, not Media GWCall hits PBX, not Media GW– Call is forked by Communications Server 2007 to PBXCall is forked by Communications Server 2007 to PBX– User decides to pick call up on either UC or phoneUser decides to pick call up on either UC or phone

Communications Server 2007 Communications Server 2007 Coexistence Scenario – Call ForwardCoexistence Scenario – Call Forward

• Same as “Standalone” call flow, except:Same as “Standalone” call flow, except:– Call hits PBX, not Media GWCall hits PBX, not Media GW– Call is forked to UC – Communications Server 2007 forwards callCall is forked to UC – Communications Server 2007 forwards call

• Based on user profileBased on user profile

– Deflected user decides to pick call up on either UC or phoneDeflected user decides to pick call up on either UC or phone

Communications Server 2007 Communications Server 2007 Coexistence Scenario – Call TransferCoexistence Scenario – Call Transfer

• Same as “Standalone” call flow, except:Same as “Standalone” call flow, except:– Call transfer to second UC user invokes dual fork call to PBX Call transfer to second UC user invokes dual fork call to PBX

extensionextension– Second UC user picks up on either Office Communicator or phoneSecond UC user picks up on either Office Communicator or phone

Communications Server 2007 Communications Server 2007 Coexistence Scenario – ConferenceCoexistence Scenario – Conference

• Same as “Standalone” call flow, except:Same as “Standalone” call flow, except:– All UC users have option of taking call on Office All UC users have option of taking call on Office

Communicator or the phoneCommunicator or the phone

Communications Server 2007 Communications Server 2007 Coexistence Scenario – Coexistence Scenario – 勿打擾勿打擾

• Call to UC user on DND results in call rejectionCall to UC user on DND results in call rejection• Call also rejected on PBXCall also rejected on PBX• Caller routed to PBX voice mailCaller routed to PBX voice mail

UC PBX UC PBX 合作廠商合作廠商

• NortelNortel• CiscoCisco• AvayaAvaya• SiemensSiemens

• Alcatel-LucentAlcatel-Lucent• EricssonEricsson• MitelMitel• NECNEC

• Nortel is currently testing interoperability• The remainder of these partners are currently working

on the interoperability requirements and will be under test before the UC launch

• More partners will be announced in due course