Mediant SBC to Microsoft Teams Direct Routing with Local ...

[Pages:11]Configuration Note

AudioCodes MediantTM Family of Media Gateways & Session Border Controllers

Connecting AudioCodes' SBC to Microsoft Teams Direct Routing with Local Media Optimization

Enterprise Model

Configuration Note

Contents

Table of Contents

1 Introduction .........................................................................................................9 1.1 About Teams Direct Routing...................................................................................9 1.2 Validated AudioCodes Version ...............................................................................9 1.3 About AudioCodes SBC Product Series .................................................................9 1.4 Infrastructure Prerequisites...................................................................................10

2 Direct Routing Local Media Optimization .......................................................11

2.1 Introduction ..........................................................................................................11

2.2 Typical Call Scenarios ..........................................................................................12

2.2.1 Implemented Scenarios ...........................................................................................13

2.2.1.1 Central SBC Scenario ..............................................................................13

2.2.1.2 Proxy SBC Scenario.................................................................................14

2.2.1.3 Local Media Optimization Modes .............................................................15

2.3 Online PSTN Gateway Configuration ...................................................................15

2.3.1 Online PSTN Gateway Configuration (Office 365) - Proxy SBC Scenario ..............15 2.3.2 Configure Online PSTN Gateway Configuration via UMP 365 (Optional)...............15

2.3.2.1 Create PSTN Gateway.............................................................................16

2.4 Call Scenario Example Topologies .......................................................................17

2.4.1 Always Bypass with Internal Teams User ...............................................................17

2.4.2 2.4.3 2.4.4 2.4.5 2.4.6

Always Bypass with External Teams User ..............................................................18 Always Bypass with Teams User and SBC in Different Sites .................................19 Only for Local Users with Internal Teams User .......................................................20 Only for Local Users with External Teams User......................................................21 Only for Local Users with Internal Teams User in Different Sites ...........................22

2.5 Configuring SBC for Local Media Optimization (LMO) Proxy SBC........................23

2.5.1 Prerequisites ............................................................................................................23

2.5.2 2.5.3 2.5.4

About the SBC Domain Name .................................................................................23 Validate AudioCodes' License .................................................................................24 Configure LAN and WAN IP Interfaces ...................................................................25 2.5.4.1 Validate Configuration of Physical Ports and Ethernet Groups ...............25 2.5.4.2 Configure LAN and WAN VLANs .............................................................26 2.5.4.3 Configure Network Interfaces...................................................................27

2.5.5 Configure TLS Context ............................................................................................28

2.5.5.1 Configure the NTP Server Address..........................................................28

2.5.5.2 Create a TLS Context for Teams Direct Routing .....................................29

2.5.5.3 Generate a CSR and Obtain the Certificate from a Supported CA..........31

2.5.5.4 Deploy the SBC and Root / Intermediate Certificates on the SBC ..........33

2.5.6 Method of Generating and Installing the Wildcard Certificate .................................35 2.5.7 Deploy Baltimore Trusted Root Certificate ..............................................................35 2.5.8 Configure Media Realms .........................................................................................36 2.5.9 Configure SIP Signaling Interfaces..........................................................................37 2.5.10 Configure Proxy Sets and Proxy Address ...............................................................38

2.5.10.1 Configure Proxy Sets ...............................................................................38

2.5.10.2 Configure Proxy Addresses......................................................................39

2.5.11 Configure Coder Groups..........................................................................................40

2.5.12 Configure IP Profiles................................................................................................40

2.5.13 Configure IP Groups ................................................................................................42

2.5.14 Configure SRTP.......................................................................................................44

2.5.15 Configure Message Condition Rules .......................................................................44 2.5.16 Configure Classification Rules.................................................................................45 2.5.17 Configure Call Setup Rules .....................................................................................46 2.5.18 Configure Message Manipulation Rules ..................................................................47 2.5.19 Configure IP-to-IP Call Routing Rules .....................................................................49

Teams Direct Routing with LMO

3

AudioCodes SBC

Teams Direct Routing Local Media Optimization

2.5.20 Configure Firewall Settings (Optional) .....................................................................50

2.6 Configuring SBC for Local Media Optimization (LMO) Remote Site SBCs............51

2.6.1 Configure LAN and WAN IP Interfaces ...................................................................51

2.6.2 Configure Media Realms .........................................................................................51

2.6.3 Configure SIP Interfaces..........................................................................................51

2.6.4 Configure Proxy Sets and Proxy Address ...............................................................52

2.6.5 Configure an IP Profiles...........................................................................................53

2.6.6 Configure IP Groups ................................................................................................54

2.6.7 Configure SRTP.......................................................................................................55

2.6.8 Configure IP-to-IP Call Routing Rules .....................................................................55 2.6.9 Configure SBC To Play Music On Hold (Optional) ..................................................56

2.7 Adapt Gateway to Work with Local Media Optimization........................................58

2.7.1 Configure SBC SIP Signaling Interface ...................................................................58

2.7.2 Configure SBC Proxy Set ........................................................................................58

2.7.3 Configure SBC Proxy Address ................................................................................59

2.7.4 2.7.5 2.7.6 2.7.7

Configure SBC IP Profile .........................................................................................59 Configure SBC IP Group .........................................................................................60 Configure SBC IP-to-IP Routing Rule......................................................................60 Configure Gateway Tel-to-IP Routing Rule .............................................................61

3 Verify the Pairing Between the SBC and Direct Routing ...............................63

A Syntax Requirements for SIP Messages 'INVITE' and 'OPTIONS'.................65 A.1 Terminology..........................................................................................................65 A.2 Syntax Requirements for 'INVITE' Messages .......................................................65 A.3 Syntax Requirements for 'INVITE' Messages in Media Optimization ....................66 A.4 Syntax Requirements for 'INVITE' Messages in site for Media Optimization .........66 A.5 Requirements for 'OPTIONS' Messages Syntax...................................................67 A.6 Connectivity Interface Characteristics...................................................................68

B SIP Proxy Direct Routing Requirements .........................................................71 B.1 Failover Mechanism .............................................................................................71

C Configuration Quick Guidelines.......................................................................73 C.1 Proxy SBC Scenario Topology .............................................................................73 C.2 SIP Interface.........................................................................................................73 C.3 Proxy Set..............................................................................................................74 C.4 IP Profile...............................................................................................................75 C.5 IP Group...............................................................................................................77 C.6 IP-To-IP Routing...................................................................................................79 C.7 Message Manipulations........................................................................................80

D AudioCodes ARM and SBCs with Teams Direct Local Media Optimization 81

D.1 About AudioCodes Routing Manager (ARM) ........................................................81

D.2 Solution Overview ................................................................................................81

D.3 Configuration of the SBCs ....................................................................................82

D.3.1 Configuring Proxy SBC for Local Media Optimization (LMO)..................................82 D.3.2 Configuring Remote Site SBCs for Local Media Optimization (LMO) .....................83

D.4 ARM Configuration ...............................................................................................85

D.4.1 D.4.2 D.4.3

Defining SBC Nodes................................................................................................85 Defining Connection ................................................................................................86 Defining Routing Rules ............................................................................................88 D.4.3.1 Calls from Teams .....................................................................................88 D.4.3.2 Calls to Teams .........................................................................................89

Configuration Note

4

Document #: LTRT-33455

Configuration Note

Contents

List of Figures

Figure 2-1: Central SBC Traffic Flow - User at "Home" (Internal) ..........................................................13 Figure 2-2: Central SBC Traffic Flow - User is External.........................................................................13 Figure 2-3: Proxy SBC Traffic Flow - user at "home" (Internal)..............................................................14 Figure 2-4: Proxy SBC Traffic Flow - user is external ............................................................................14 Figure 2-5: Add New PSTN Gateway.....................................................................................................16 Figure 2-6: Always Bypass with Internal Teams User............................................................................17 Figure 2-7: Always Bypass with External Teams User ..........................................................................18 Figure 2-8: Always Bypass with Teams User and SBC in Different Sites..............................................19 Figure 2-9: Always Bypass with Internal Teams User............................................................................20 Figure 2-10: Only for Local Users with External Teams User ................................................................21 Figure 2-11: Only for Local Users with Internal Teams User in Different Sites......................................22 Figure 2-12: Example of Registered DNS Names .................................................................................24 Figure 2-13: Network Interfaces in the Topology of the Proxy SBC ......................................................25 Figure 2-14: Physical Ports Configuration Interface...............................................................................26 Figure 2-15: Ethernet Groups Configuration Interface ...........................................................................26 Figure 2-16: Configured VLAN IDs in Ethernet Device ..........................................................................27 Figure 2-17: Configuration Example of the Network Interface Table .....................................................28 Figure 2-18: Configuring NTP Server Address.......................................................................................28 Figure 2-19: Configuration of TLS Context for Direct Routing ...............................................................30 Figure 2-20: Configured TLS Context for Direct Routing and Interface to Manage the Certificates .....30 Figure 2-21: Example of Certificate Signing Request ? Creating CSR ..................................................32 Figure 2-22: Uploading the Certificate Obtained from the Certification Authority ..................................33 Figure 2-23: Message Indicating Successful Upload of the Certificate..................................................33 Figure 2-24: Certificate Information Example.........................................................................................34 Figure 2-25: Example of Configured Trusted Root Certificates .............................................................34 Figure 2-26: Configuration Example Media Realms in Media Realm Table ..........................................36 Figure 2-27: Configuration Example of SIP Signaling Interfaces ...........................................................38 Figure 2-28: Configuration Example Proxy Sets in Proxy Sets Table....................................................39 Figure 2-29: Configuring Coder Group for Teams Direct Routing..........................................................40 Figure 2-30: Configuring Media Security Parameter ..............................................................................44 Figure 2-31: Configuring Condition Table ..............................................................................................45 Figure 2-32: Configuring Classification Rule ..........................................................................................46 Figure 3-1: Proxy Set Status ..................................................................................................................63 Figure A-1: Example of an 'INVITE' Message ........................................................................................65 Figure A-2: Example of an 'INVITE' Message (External user) ...............................................................66 Figure A-3: Example of an 'INVITE' Message (Internal User)................................................................66 Figure A-4: Example of an 'INVITE' Message From Site to Teams .......................................................66 Figure A-5: Example of 'OPTIONS' message ........................................................................................67 Figure C-1: IP Profile for Remote Sites and Proxy SBC ........................................................................73 Figure D-1: IP Profile for Remote Sites and Proxy SBC ........................................................................81 Figure D-2: AC Node for Proxy SBC ......................................................................................................85 Figure D-3: AC Node for Remote SBC...................................................................................................85 Figure D-4: Enable Nodes ......................................................................................................................86 Figure D-5: Add Connection ...................................................................................................................86 Figure D-6: Established Connection.......................................................................................................87 Figure D-7: Teams Voip-Peer.................................................................................................................87 Figure D-8: SIPTrunk VoIP-Peer ............................................................................................................87 Figure D-9: Established Connection.......................................................................................................87 Figure D-10: Add a Routing Rule for Incoming Call from Teams...........................................................88 Figure D-11: Add a Routing Rule for Incoming Call from SIP Trunk......................................................89

Teams Direct Routing with LMO

5

AudioCodes SBC

Teams Direct Routing Local Media Optimization

List of Tables

Table 1-1: Infrastructure Prerequisites ...................................................................................................10 Table 2-1: DNS Names Registered by an Administrator for an Enterprise Office 365 Tenant ..............23 Table 2-2: Configuration Example of the Network Interface Table ........................................................27 Table 2-3: New TLS Context ..................................................................................................................29 Table 2-4: Configuration Example Media Realms in Media Realms Table............................................36 Table 2-5: Configuration Example of SIP Signaling Interfaces ..............................................................37 Table 2-6: Configuration Example Proxy Sets in Proxy Sets Table .......................................................38 Table 2-7: Configuration Proxy Address for Teams Direct Routing .......................................................39 Table 2-8: Configuration Proxy Address Towards Remote SiteA SBC..................................................39 Table 2-9: Configuration Example: Teams IP Profile .............................................................................40 Table 2-10: Configuration Example: SIP Trunk IP Profile (toward remote Site A SBC) ........................41 Table 2-11: Configuration Example: IP Group for Microsoft Teams Direct Routing ..............................42 Table 2-12: Configuration Example: IP Group for Site A SBC ...............................................................43 Table 2-13: Call Setup Rules Table .......................................................................................................46 Table 2-14: IP-to-IP Call Routing Rules .................................................................................................49 Table 2-15: Firewall Table Rules............................................................................................................50 Table 2-16: Configuration Example: Site SBC SIP Interfaces ...............................................................51 Table 2-17: Configuration Example: Site Proxy Sets .............................................................................52 Table 2-18: Configuration Proxy Address for SIP Trunk ........................................................................52 Table 2-19: Configuration Example: Proxy SBC Address......................................................................52 Table 2-20: Configuration Example: Teams IP Profile (through the Proxy SBC)...................................53 Table 2-21: Configuration Example: SIP Trunk IP Profile (toward SIP Provider/ Media Gateway) .......53 Table 2-22: Configuration Example: Site SBC IP Group towards SIP Trunk .........................................54 Table 2-23: Configuration Example: Site SBC IP Group towards Teams (through Proxy SBC) ...........54 Table 2-24: Site IP-to-IP Call Routing Rule............................................................................................55 Table 2-25: Update Configuration of the SIP Trunk IP Profile ...............................................................56 Table 2-26: Configuration Example: Site SIP Interface..........................................................................58 Table 2-27: Configuration Example: Site Proxy Set ...............................................................................58 Table 2-28: Configuration Example: Site Proxy Address .......................................................................59 Table 2-29: Configuration Example: Teams IP Profile (through the Proxy SBC)...................................59 Table 2-30: Configuration Example: Site IP Group ................................................................................60 Table 2-31: SBC IP-to-IP Routing Rules ................................................................................................60 Table 2-32: Gateway Tel-to-IP Routing Rule .........................................................................................61 Table A-1: Syntax Requirements for an 'OPTIONS' Message...............................................................67 Table A-2: Teams Direct Routing Interface - Technical Characteristics ................................................68 Table C-1: SIP Interface Proxy SBC Configuration Summary ...............................................................73 Table C-2: SIP Interface Remote SBC Configuration Summary ............................................................74 Table C-3: Proxy Set Proxy SBC Configuration Summary ....................................................................74 Table C-4: Proxy SET Remote SBC Configuration Summary ...............................................................74 Table C-5: IP Profile Configuration Summary ........................................................................................75 Table C-6: IP Group Proxy SBC toward Teams Configuration Summary..............................................77 Table C-7: IP Group Proxy SBC toward Remote SBC's Configuration Summary .................................78 Table C-8: IP Group Remote SBC toward Proxy SBC Configuration Summary....................................78 Table C-9: IP Group Remote SBC toward SIP Trunk (PSTN) Configuration Summary ........................78 Table C-10: IP-To-IP Routing in the Proxy SBC ....................................................................................79 Table C-11: IP-To-IP Routing in the Remote Site SBC..........................................................................79 Table C-12: Proxy SBC Message Manipulation Index 0 ........................................................................80 Table C-13: Proxy SBC Message Manipulation Index 1 ........................................................................80

Configuration Note

6

Document #: LTRT-33455

Configuration Note

Notices

Notic e

Notice

Information contained in this document is believed to be accurate and reliable at the time of printing. However, due to ongoing product improvements and revisions, AudioCodes cannot guarantee accuracy of printed material after the Date Published nor can it accept responsibility for errors or omissions. Updates to this document can be downloaded from .

This document is subject to change without notice.

Date Published: December-5-2021

WEEE EU Directive

Pursuant to the WEEE EU Directive, electronic and electrical waste must not be disposed of with unsorted waste. Please contact your local recycling authority for disposal of this product.

Customer Support

Customer technical support and services are provided by AudioCodes or by an authorized AudioCodes Service Partner. For more information on how to buy technical support for AudioCodes products and for contact information, please visit our website at .

Stay in the Loop with AudioCodes

Abbreviations and Terminology

Each abbreviation, unless widely used, is spelled out in full when first used.

Teams Direct Routing with LMO

7

AudioCodes SBC

Teams Direct Routing Local Media Optimization

Related Documentation

Document Name Mediant 500 Gateway & E-SBC User's Manual Mediant 500L Gateway & E-SBC User's Manual Mediant 800 Gateway & E-SBC User's Manual Mediant 1000B Gateway & E-SBC User's Manual Mediant 2600 SBC User's Manual Mediant 4000 SBC User's Manual Mediant 9000 SBC User's Manual Mediant Software SBC User's Manual Gateway and SBC CLI Reference Guide SIP Message Manipulation Reference Guide AudioCodes Configuration Notes

Document Revision Record

LTRT

33450

33451 33452 33453 33454 33455

Description

All information related to Local Media Optimization was removed from document `Connecting AudioCodes' SBC to Microsoft Teams Direct Routing Enterprise Model' and included in this document. Added Appendix "AudioCodes ARM and SBCs with Teams Direct Local Media Optimization"

Update for Message Manipulation rule towards Microsoft Teams.

Updated parameter name.

Update to SIP Trunk IP Profile and validated firmware version. Update to the Firewall Table Rules table with additional IP addresses for the new infrastructure DCs.

Added section for overcoming problem of not playing music on hold during conversational transfer.

Update to the Firewall Table Rules table due to new Microsoft requirements.

Documentation Feedback

AudioCodes continually strives to produce high quality documentation. If you have any comments (suggestions or errors) regarding this document, please fill out the Documentation Feedback form on our website at .

Configuration Note

8

Document #: LTRT-33455

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download