SBC Essentials & Configuration v7.2.200
SBC Essentials & Configuration v7.2.200
AudioCodes Academy
https://www.audiocodes.com/services-support/audiocodes-academy
Course Objectives
2
Lessons & Course Time Table
Day 1 Day 3
AudioCodes Introduction Hands-on Lab 3 – SBC Transcoding
AudioCodes Management Interface Introduction SBC Number & Message Manipulation
AudioCodes Documentation Hands-on Lab 4 – Header Manipulation
Hands-on Lab 1 – Management Interface Usage SBC Security
SBC Product Line
SBC Application Description
Day 2 Day 4
SBC Basic Terminology Gateways Introduction
SBC Configuration SBC Survivability
SBC Wizard Hands-on Lab 5 – SBC Survivability
Basic Debugging Tools SBC High Availability
Hands-on Lab 2 – SBC Routing
SBC Media Handling Certification Exam
3
Lesson 1
AudioCodes Introduction
AudioCodes in a glance
5
Global Presence and Support
• Worldwide presence:
• Headquarters: Israel
• North America: USA and Canada
• APAC: Japan, Singapore, Korea, China, India, Australia, Hong Kong
• EMEA: UK, France, Netherland, Germany, Russia, Italy, South Africa, Poland, Sweden
• CALA: Miami, Brazil, Mexico, Argentina, Colombia
• Global Distribution Network covering more than 100 countries
• Support Centers covering all time zones
• 3 Logistics Centers in North America, EMEA and APAC
6
Our Customers
7
Broadest Portfolio of Products
Management/Apps
Routing Manager OVOC CloudBond 365/CCE Apps
IP Phones
UC-HRS Speakers
405 420 430 440 445 450
Pure SBC
Mediant 2600 Mediant 4000/B Mediant 90xx Mediant SE Software Edition
Hybrid SBC/Gateway
Mediant 500/L Mediant 800/B/C Mediant 1000B Mediant 3000*
Gateways/Adaptors
MP-2xx MP-1xx MP-124 MP1288
8
AudioCodes All-in-One Voice Solution
9
The Voice Experts @ Your Service
Test
5 10 20 25 30 35
9 3
12
End to End 9 3
Managed Services 6
10
AudioCodes Complete Network Life-cycle Model
• Plan
• Determine the right solution and best practices for any project’s needs
• Implement
• Achieve smooth voice implementations with global physical installation
and configuration
• Operate
• Prompt technical support, efficient hardware replacement and ongoing
software and hardware upgrades
11
AudioCodes Global Services – Making the Difference
Expert
We know our products best - Faster service, better and faster
solutions with leading team of specialists
Complementary
A broad portfolio of services designed to complement partners’
own offerings, facilitating a complete solution to the customer
Global
AudioCodes and AudioCodes-branded service partners are
present in over 190 countries, allowing partners to go to market
worldwide
12
Operational Services – ACTS & CHAMPS
13
AudioCodes Academy
14
Technical Training – Career Certifications
• Two types of Certification Levels:
16
AudioCodes Website - www.audiocodes.com
17
Lesson 2
19
Management and Maintenance Options
Configuration file
REST-based programs
referred to as the ini file
(such as AudioCodes’ OVOC)
20
Assigning Networking Parameters
21
Default Factory IP Address
Product Default
MP-11x FXS and FXS/FXO devices – 10.1.10.10
MP-124 FXO devices – 10.1.10.11
MP-1288
Mediant 500 E-SBC
Mediant 800 E-SBC
Mediant 1000 E-SBC 192.168.0.2/24
Mediant 2600/4000 SBC
Mediant 9000 SBC
Software SBC (Mediant SE/VE)
Mediant 500L MSBR LAN Data – 192.168.0.1/24 (DHCP Server enable)
Mediant 500 MSBR LAN Voice – 192.168.0.2/24
Mediant 800 MSBR WAN Data – DHCP Client
22
Assigning IP Address – HTTP
23
Assigning IP Address – HTTP
24
Assigning IP Address – BootP
25
Assigning IP Address – DHCP
• Dynamic Host Control Protocol – provides a mechanism for allocating IP addresses
dynamically so that addresses can be reused
• After the Device is powered up if DHCP is enabled (DHCPEnable = 1), the Device attempts to
obtain its IP address and other network parameters from the DHCP server
26
Assigning IP Address – Console/CLI
• Establish a Console (VGA or COM) or CLI (Telnet/SSH) session with the device
• Use these communications port settings:
• Baud Rate: 115,200 bps
• Data bits: 8
• Parity: None
• Stop bits: 1
• Flow control: None
• At the CLI prompt, type the following (case sensitive):
• Default Username: Admin
• Default Password: Admin
27
Assigning IP Address – RS-232
Username: Admin
Password: *****
Mediant 800#
After ‘exit’ the address changed. Logon again using the new IP address 28
Configuration File (ini file)
29
Configuration File (ini file)
30
ini File Parameters
• The ini file can be loaded via BootP/TFTP, Web interface, or using the automatic update mechanism
• Case insensitive
• Lines beginning with semi-colon (;) as first character are ignored
• Carriage Return must be each line’s final character
• Number of spaces before and after equal ( = ) is irrelevant
• Values of string parameters must be placed between two single quotes ( ‘ ’ )
• Syntax errors in value can cause unexpected errors (may be set to wrong values)
• Syntax error in the parameter name is ignored (error message is generated)
• When a parameter is missing from the ini file, its default is assigned
• Subsection names are optional
[Sub Section Name]
Parameter_Name = Parameter_Value
Parameter_Name = Parameter_Value
; REMARK
31
ini File Table Parameters
• Tables are used in ini files to represent parameters that have several instances
(e.g., Coders, Proxy servers, Routing tables, etc.)
• Examples:
32
AudioCodes INI Viewer & Editor
• A simple viewer and editor for configuration (INI) files used by AudioCodes Media Gateway
and Session Border Controller (SBC) products
• Two Modes:
• View Mode: View Mode
• Standalone and Table Edit Mode
parameters can be viewed in
a very friendly way
• Edit Mode:
• Standalone and Table
parameters can be edited
(modified, added, removed,
etc.) for a very easy way of
changing their contents
• Once this is done, the new
INI file can be saved and
uploaded to the device in
order to apply the new
configuration
33
AudioCodes INI Viewer & Editor
34
AudioCodes INI Viewer & Editor
35
Accessing the Web Interface
Toolbar providing
Company Logo Menu Bar Containing the Menus frequently required
• Setup command buttons
• Monitor
• Troubleshoot
Button displaying
the username of
the currently
logged in user
37
GUI Areas
38
GUI Areas
Back and Forward buttons that enable quick-
and-easy navigation through previously
opened pages
SRD filter
When your configuration includes multiple SRDs, you
can filter tables in the Web interface by a specific SRD
39
GUI Areas
Work pane:
Where configuration pages are displayed
40
Tool Bar
Button Description
Save Saves parameter settings to flash memory
Reset Resets the device
Opens a drop-down menu list with frequently needed commands:
Configuration Files to load or save an ini file
Auxiliary File to load auxiliary files such as: Dial Plans, Call Progress Tones, others
Actions
License Key to determine features, capabilities and available resources
Software Upgrade to upgrade the device's software
Configuration wizard
• When changing parameter values, the changed parameter has a yellow background
• To save configuration changes to volatile memory (RAM), click the Apply button
42
Modifying/Saving Parameters
• If you click the Apply button after modifying parameters a red rectangle appears
surrounding the Save button
• This is a reminder to save your settings to flash memory
• If you click the Apply button after modifying parameters that take effect only after a
device reset, a red rectangle appears surrounding the both, the Save and Reset
buttons
• This is a reminder to later save your settings to flash memory and reset the device
43
Stand-alone Parameters
• Parameters that are not contained in a table are referred to as stand-alone parameters
Stand-alone parameters
44
Stand-alone Parameters Configuration
• Parameters not requiring a device reset
3. Click Save
(Changes are saved to the
non-volatile memory (flash))
4. Click Yes
2. Click Apply
(Changes are saved to the volatile memory (RAM))
45
Stand-alone Parameters Configuration
• Parameters requiring a device reset
3. Click Save
(Changes are saved to the
non-volatile memory (flash))
4. Click Reset
(the Maintenance
Actions page opens)
2. Click Apply
(Changes are saved to the volatile
memory (RAM))
46
Stand-alone Parameters Configuration
• Resetting the device
2. Click OK
Please note
1. Click Reset
(the device saves the changes to flash memory and then resets)
47
Stand-alone Parameters Configuration
48
Stand-alone Parameters Indications Meaning
49
Table Parameters – General Description
Page title (name of table) Navigation bar for scrolling Search tool for searching
Also displays the number of through the table's pages parameters and values
configured rows as well as the Sort can be done
number of invalid rows by any column
51
Fields to Match
• Device attempts to match patterns at the top of the table first (first match)
• More specific rules should be at the top and more generic ones at the bottom
52
Numbers Notation for Routing and Manipulation
• Flexible numbers notations for describing the prefix and/or suffix source and/or destination
phone numbers and SIP URI user names:
▪ Prefix [n,m,...] or Suffix (n,m,...) Destination Phone Prefix Source Phone Prefix
▪ Represents multiple numbers 1 9x*
▪ Multiple ranges such as [n-m,s-t] are also supported 2[2,6,7,9] 1xxx
▪ Up to three digits can be used to denote each number 2[1-4,7,9] 1xxx#
[100-150,222,244,300-499] 1*
▪ x (letter ‘x’) 6[100-300] (99)
▪ Represents any single digit 976(99) 2[1-4]
6[100-300]# *
▪ # (Pound symbol)
▪ Represents the end of a number
* *
▪ * (asterisk symbol)
▪ Represents any number
53
Numbers Notation
• Examples:
• [5200-5300]#
• represents all numbers from 5200 to 5300
• [2,3,4]xxx#
• represents four-digit numbers that start with 2, 3 or 4 (2000-4999)
• 54324
• represents any number that starts with 54324
• 54324xx#
• represents seven-digit numbers that start with 54324
• 123[100-200]#
• represents six-digit numbers that start with 123 (123100 to 123200)
• (100)
• represents any number that finishes with 100
• (266[1-9])
• represents any number that finishes with 2661 to 2669
54
Assigning Rows from other Tables
• Tables may contain parameters assigned a value which is a row referenced from
another table
55
Assigning Rows from other Tables
• For example, after pressing the View button pointing to the Network Interface,
the referenced table web page is opened
56
Table Parameters Invalid Values Indications
• When adding a row:
• If a mandatory parameter’s value, which is a row referenced from another table is not assigned,
after clicking Apply, an error message is displayed at the bottom of the dialog box
• Clicking Cancel closes the dialog box and the row is not added to the table
• To add the row, you must configure the parameter
57
Table Parameters Invalid Values Indications
• When editing a row:
• If a parameter’s configuration is changed so that it's no longer assigned with a referenced
row from another table, when the dialog box is closed, the Invalid Line icon appears for
the table in which the parameter is configured, in the shown locations:
3. Item in the Navigation tree 1. Page title of the table. The total number of invalid rows in the
that opens the table table is also displayed with the icon
58
Table Parameters Invalid Values Indications
1. Page title of the table. The total number of invalid rows in the
table is also displayed with the icon
• Parameter names (standalone or table) and values can be searched in the Web
interface
• The search key can include the full parameter name (Web or ini file name) or a substring
of it
• For a substring, all parameters containing the substring in their names are listed in the
search result
• The search key for a parameter value can include alphanumeric and certain characters
• The key can be a complete value or a partial value
• When the device completes the search, it displays a list of found results based on
the search key
• Each possible result, when clicked, opens the page on which the parameter or value is
located
60
Searching for Configuration Parameters
Search can
be by name
or by value
61
Setup Menu
• 3 Options:
• IP Network
• Administration
62
Setup Menu: IP Network Option
• Home Page: NETWORK VIEW
• Shows a graphical display of the core networking entities
• IP interfaces
• VLANs (Ethernet Devices)
• Ethernet Groups
• Physical Ethernet ports
• Enables the administrator to easily build and view the main network topology
• Other Pages
• Networking Core Entities
• Security
• Quality
• DNS
• WEB Services
• HTTP Proxy
• Radius & LDAP
• Advanced
63
Setup Menu: IP Network Option
• Home Page: NETWORK VIEW
Ethernet Groups
can be, edited
or viewed
Physical Ports
can be, edited
or viewed
64
Setup Menu: Signaling & Media Option
• Home Page: TOPOLOGY VIEW
• Shows a graphical display of the core SIP configuration entities
• IP Groups
• SIP Interfaces
• Media Realms
• Enables the administrator to easily build and view the SIP topology
• Other Pages
• Signaling and Media Core Entities
• Gateway
• Media
• Coders and Profiles
• SBC
• SIP Definition
• Message Manipulation
• Intrusion Detection
• SIP Recording
65
Setup Menu: Signaling & Media Option
• Home Page: TOPOLOGY VIEW
IP Groups can
be added
Trunk Groups
Tel view (i.e. related can be added IP top view (i.e.
to the PSTN) related to the WAN)
IP Groups can
be added
66
Setup Menu: Signaling & Media Option
• Home Page: TOPOLOGY VIEW
Hover to see
the basic
configuration
67
Setup Menu: Signaling & Media Option
• Home Page: TOPOLOGY VIEW
68
Setup Menu: Administration Option
69
Setup Menu: Administration Option
• Home Page: TIME & DATE
70
Web Local Users Table
User levels:
• End User
• Monitor
• Administrator
• Security Administrator
• Master
71
Maintenance Actions
• Reset Device: After a Web reset, the device starts from Flash
• Lock: The device doesn't accept any new incoming calls
• Save to Flash: Save the running configuration to the memory
• Graceful Option: Shutdown will perform only after X configured sec. or no more active traffic
exists
72
Maintenance: Configuration File
• INI.ini
• LOGO.dat
• FAVICON.dat
• CPT.dat
• PRT.dat
• AMD.dat
• SBC_Wizard.dat
• CAS.dat
• DPLN.dat (Dial Plan)
• Certificate files
• DialPlanRule.csv (import only - can load any CSV file. For example, User-Info Table)
74
Maintenance: Auxiliary Files
75
Maintenance: Upgrading & Downgrading Software
• The device can be updated with software (cmp file), configuration (ini file), auxiliary
files and license key using:
• Web interface
• BootP/TFTP utility
• Automatic Update Mechanism
76
Maintenance: License Key
77
Maintenance: License Key
78
Maintenance: HA
79
Maintenance: Configuration Wizard
• The SBC configuration wizard provides fast SBC configuration
• Based on a large set of tested interoperability configurations
• User selects a PBX type and service provider SIP trunk type from a list of over 30 PBX
models and 100 SIP trunks
• Data base updates automatically with new PBX models and SIP trunks from the cloud
• Available in both standalone windows app and embedded on the SBC web GUI
80
Monitor Menu
81
Monitor Menu
• Home Page: MONITOR
82
Device Information
83
Troubleshoot Menu
84
Troubleshoot Menu
85
AdminPage
86
Check your Learning
87
Check your Learning
88
Check your Learning
❑When dot appears in the Web Interface next to parameters it means that:
A. That is a significate parameter
B. The value was changed from it’s default value
C. Need to perform a device reset for parameter value change to take effect
D. It doesn’t mean a thing
89
Lesson 3
AudioCodes Documentation
Lesson Objectives
91
Obtaining AudioCodes Documentation
• You can access all AudioCodes' documentation from AudioCodes Web site
• This includes:
• Technical documentation (user manuals, hardware installation manuals, configuration
and release notes)
• Homologation material (regulatory information)
• Partner/channel material (interoperability guides etc.)
• Marketing material (white papers, application notes, product notices, etc.)
92
Obtaining Document
93
Obtaining Document (Cont.)
94
Specific Documentation
95
Enterprise Gateways and SBCs User’s Manual
96
Hardware Installation Manual
97
Additional Documentation
98
Additional Documentation
• Complementary Guides
• Includes
• Reference Guides
• Design Guides
• Security Guidelines
• Utilities Guides
• Others
• Identified by software release version
99
Additional Documentation
• Configuration Notes
• Document providing a detailed description on how
to configure a specific feature/function/application
for a product
• Normally referenced by the User’s Manual
100
Hands-on Lab 1
103
SBC Portfolio
Pure SBC
Mediant 2600 Mediant 4000/B Mediant 90xx Mediant SE Software Edition
Hybrid SBC/Gateway
Mediant 500/L Mediant 800/B/C Mediant 1000B Mediant 3000*
Note: The latest maintenance firmware version for Mediant 3000 is 7.0 104
Pure SBC Portfolio
Mediant 2600 SBC Mediant 4000/B SBC Mediant 9030/9080 SBC Mediant SE
105
Hybrid SBC portfolio
Mediant 500L E-SBC Mediant 500 E-SBC Mediant 800B/C E-SBC Mediant 1000B E-SBC Mediant 3000 SBC (7.0)
√ √ √ √ √
MSBR/MGW
Analog, Up to 4 BRI Analog, 1 E1/T1 Analog, BRI, 2/4 E1/T1 6E1/8T1 OC3/STM1/DS3
106
Virtual & Cloud SBC Portfolio
Mediant VE Mediant CE
107
Mediant 500L Physical Interfaces
• High-Availability 1+1
• OAM&P
• Embedded HTTP/S-based Web Server
• Command Line Interface (CLI) USB port
• Configuration ini file
• SNMP Four Gigabit
RS-232 serial Ethernet ports
• REST API communication
108
Mediant 500 Physical Interfaces
109
Mediant 800B Physical Interfaces
• LAN Ethernet ports:
• Up to 4 Gigabit Ethernet Power / Status LEDs Reset pinhole
button
• Up to 8 Fast Ethernet
• Integrated PSTN connectivity FXS/FXO/BRI/E1/T1
• Up to 2 E1/T1/J1 trunks
• 8 BRI ports (16 calls)
• Up to 12 analog FXS/FXO ports
• High-Availability 1+1
• OAM&P:
• Embedded HTTP/S-based Web Server Four Gigabit Eight Fast Ethernet
Ethernet LAN ports LAN ports
• Command Line Interface (CLI)
• Configuration ini file
• SNMP
• REST API
• Integrated Open Solutions Network (OSN) server platform
110
New Mediant 800C
• Up to 4 x E1/T1
• Dual flash memory, allowing the user to revert to the previous software version
after a software upgrade failure
111
Standalone OSN Server Hosted on Mediant 800B
112
Mediant 1000B
• LAN Ethernet ports
• Up to 3 Pairs of 1+1 LAN interfaces
• Modular – can host a variety of interfaces MSBR: CRMX
• 1 to 6 E1/8T1/ trunks (up to 192 channels) SBC: CMX
• 4 to 20 BRI ports (40 calls) Field-Replaceable
• 4 to 24 analog (FXS/FXO) ports FXO/FXS/Trunks/BRI/MPM Fan Tray Module
• Up to 4 MPMs for media processing Modules
• Enterprise Class Session Border Controller (E-SBC)
• Single or Dual Power Supply
• 2 OSN servers (Optional)
• OAM&P:
• Embedded HTTP/S-based Web Server
• Command Line Interface (CLI) 2 Power Supply
Serial Port Modules
• Configuration ini file
• SNMP
• REST API
113
Mediant 1000B – Rear Panel
Hard Drives Up to 2 hard drives (HDMX modules) 500 GB HDD or 120GB SSD (2 HDD can work in Raid1)
• Operation modes:
• Simplex operation
• High-Availability 2 x cPCI
• LAN ports:
• Dual redundant 10/100/1000 Base-T (6310)
• 2nd dual redundant 10/100/1000 Base-T (8410)
118
Mediant 2600/4000
Mediant Mediant
2600 4000
• High-Availability 1+1
119
Mediant 2600/4000 – HW Configurations
1 3 5 7
2 4 6 8
Not in use
2 Power Supply
Modules SBC CPU
AMC module Default Network
120
Mediant 4000B
Mediant
4000B
• High-Availability 1+1
121
Mediant 4000B – Optional HW Configurations
Notes:
▪ OSN = OSN4B
▪ Same types as in Mediant 1000B
▪ Mediant 2600B offer OSN4B for SBA solution only
122
Media Processing Module (MPM)
123
Mediant 9030/9080
Disk Mechanical hard drive, 1 TB SATA Mechanical hard drive, SAS 600 GB
CD/DVD SATA CD/DVD R/W
Installation Interface VGA Monitor and Keyboard
High-Availability 1+1
Max. 70,000 simultaneous calls
124
Mediant 9030/9080 – Rear Panel
1 2 4
9 8 7 6 3 5
Item # Mediant 9030 Mediant 9080 / Mediant 9000 Rev. B
1 Slot 1: Quad 1-GbE copper ports or Quad 10-GbE SFP+ ports Slot 1: Quad 1-GbE copper ports
2 Slot 2: Not used Slot 2: Quad 1-GbE copper ports or Quad 10-GbE SFP+ ports
Embedded Quad 1-GbE copper ports (These ports must not
3 Unsupported NIC ports (dust covered)
be used for media (RTP/SRTP) traffic)
4 Power Supply (active and redundant)
5 Video port
6 iLO (Integrated Lights Out) Management Port
7 Serial port
8 USB 3.0 ports
9 Quad 1-GbE copper ports
125
Media Transcoding Cluster (MC)
127
AudioCodes Software SBCs
• Same robust SBC software stack of the Mediant SBC family
• Runs on thousands of deployed SBCs worldwide
• Same GUI for short learning curve
• SBC software image includes a complete server installation
• Includes SBC application, operating system and drivers
• Assures SBC robustness
• Operating System
• CentOS (Community Enterprise OS) 6.0
• Binary Compatible with
Red Hat Enterprise Linux (RHEL)
• Built from the same sources
but without RedHat trademarks
• Available on two formats:
• Dedicated Server (SE)
• Virtualized Machine (VE)
128
Mediant Server Edition SBC (Mediant SE)
• Targets SBC applications that require high performance and heavy load of SIP
registrations/subscribes/notifies
• Runs on common of-the-shelf Intel based servers
• Server image includes a complete server installation including OS and drivers
• Two pairs of GE interfaces for WAN and LAN separation
• 1+1 High Availability configuration
• Two HP ProLiant certified servers models:
129
Mediant Virtual Edition SBC (Mediant VE)
• Target applications:
• Enterprises and Service Providers who prefer to virtualize their entire Data Center
• Software vendors looking to integrate their application with an SBC on a single physical
server
• Available for VMware, OpenStack KVM and Hyper-V hypervisors
• Designed for consistent performance (without overbooking) with additional VMs
running on same machine
AudioCodes Partner’s
Software SBCs Software
Virtualized Virtualized
RAM
130
SBCs journey to the cloud
30000 1.2
Fixed
allocation
• SBC traffic demands are dynamic
25000 1
• Sizing an SBC for worst-case scenario
is cost prohibitive
20000 0.8
Active Calls
• SBC elasticity is key for resource
Active calls
optimization – you can start small Dynamic
15000 allocation 0.6
and grow as needed
10000 0.4
5000 0.2
0 0
calls Resources
131
Mediant Cloud Edition SBC (Mediant CE)
• Separated signaling and media processing (built out of dedicated functional blocks)
• Elastic Media Cluster (traffic based scalability)
• Full SBC functionality
• Single management point
• Multi Cloud (Amazon AWS and Microsoft Azure)
• Built-in HA
CLI
SC SC REST
Stack API
Manager
MC MC MC MC MC … Automation
- New SBC Stack Manager
- REST API for all actions
media media media - CLI for scripting languages
Virtual infrastructure - NFV and DevOps API
(compute, storage, networking)
132
Check your Learning
133
Check your Learning
134
Lesson 5
• SBC functions
136
SBC Definition
• A device/application which:
• Manages a VoIP session by performing:
• Session setup
• Call conducting
• Session tear down
• Enforces Security, QoS and Call Admission Control (CAC)
137
What are Session Border Controllers For?
• Connectivity
• Security
• Quality Assurance
• Media Services
SMB / Enterprise
Provider Z
Service Provider
E-SBC
• Interoperability
• Enterprise Security
• Service Resiliency
• Quality of Service
• Legacy connectivity
• Routing
Branch
139
SBC Main Benefits
140
SBC Applications / Topologies Deployment
• Three options:
• Hosted IP-PBX
141
Applications / Topologies
Enterprise
Network
IP-Phones users
FEU
IP-PBX ITSP
142
Applications / Topologies
• Hosted IP-PBX
Enterprise
Network
IP-Phone users
LAN SBC
WAN
Hosted
IP-PBX
143
Applications / Topologies
IP-Phones Enterprise
Network
LAN 1
SBC
IP-Phones
LAN 2
IP-PBX
144
SBC Logical Deployment
• Three options:
• SBC connected with one leg to LAN
• SBC connected with one leg to DMZ
• SBC connected with one leg to DMZ and another leg to LAN
145
Logical SBC Connections – Locating the SBC
FEU
IP-Phone
NAT
Firewall
LAN WAN
IP-PBX
DMZ
ITSP
146
Logical SBC Connections – One Leg LAN
FEU
IP-Phone
NAT
Firewall
LAN WAN
IP-PBX
DMZ
ITSP
147
Logical SBC Connections – One Leg DMZ
FEU
IP-Phone
NAT
Firewall
LAN WAN
IP-PBX
DMZ
ITSP
148
Logical SBC Connections – One-Leg DMZ and One-Leg LAN
FEU
IP-Phone
NAT
Firewall
LAN WAN
IP-PBX
DMZ
ITSP
149
Physical SBC Connections
• One-Leg (DMZ or LAN)
• Only 1 port required (1 cable) LAN
• VLAN-Aware Switch
• Only 1 port required (1 cable)
• Optional: 2 ports, 1+1 redundancy (2 cables) LAN
DMZ
• Two-Legs (LAN and DMZ)
• 2 ports used (2 cables)
• 4 ports used, 1+1 redundancy (4 cables) LAN
150
SBC VoIP Features
• NAT Traversal
• Transcoding
• Topology Hiding
• VoIP Firewall
• SIP Routing
• SIP Normalization
• Survivability
151
NAT Traversal
IP-PBX
Enterprise WAN
LAN
ITSP
Soft Switch
LAN IP-Address
Global IP-Address
152
NAT Traversal (cont’d.)
• Video
• Application
• Text
Enterprise
LAN FEU registers in device DB
Offloading FEU refresh Registrations
Maintaining remote NAT binding
IP PBX
153
SBC Transcoding
• Coder Transcoding
• RTP <-> SRTP
• Fax/Modem translations
• Transrating
• Voice gain adjustments
• RFC 2833 <-> Transparent DTMF <-> SIP INFO
SRTP RTP
G.711 G.729
IP/PBX ptime:20 T.38 ITSP
SfB RFC 2833 ptime:30 Soft Switch
SIP INFO
154
Topology Hiding
155
Comprehensive Security
Security dashboard
IDS
Abnormal behavior detection
Layer 3-4 Access List
Wire Speed
Rate limiting
Enterprise
Core
CAC
Classification #calls,
Message /Routing call rate,
TLS and Policy SIP layer bit rate,…
Internet/Peers SRTP Malformed access list
SIP SIP
Context
Identification
156
VoIP Firewall
• SIP Signaling
SIP Invite
• Deep Stateful Packet Inspection (SPI) of all SIP signaling packets
• SIP classification
• Packets not belonging to a valid SIP dialog are discarded
Layer 3-4
• RTP Firewall
Discard Message
• Opening pin holes according to Offer/Answer negotiation
• DPI of all RTP packets Authenticate
Layer 5-7
SBC
Firewall
Message admitted
157
SBC Routing
158
SIP Normalization
159
SIP Normalization – Example
LAN WWW
160
SBC Survivability
• 3 survivability features:
• Routing calls to alternative routes such as:
• ITSP
• IP-PBX
• Routing calls between user agents in the local network using a dynamic DB
(built according to registrations of SIP user agents)
• Fallback to the PSTN based on E1/T1 connection (Hybrid devices)
161
SBC Survivability
• Continuous VoIP service for enterprise users on WAN isolation
ITSP-2
Soft Switch
2
PSTN WAN ITSP-1
Soft Switch
1
4
Enterprise 3
LAN SIP Signaling + Media (RTP)
162
Check your Learning
❑The SBC:
A. Tracks the state of network connections traveling across it
B. Determines legitimate packets for different connection types
C. Only allows packets matching a known active connection and rejects others
D. All of the above
163
Check your Learning
164
Check your Learning
❑IDS is:
A. A Routing mechanism
B. A VoIP quality mechanism
C. A security mechanism
D. None of the above
165
Lesson 6
167
SBC Operation Modes
1. B2BUA
• Maintains independent sessions toward the endpoints
• Processing an incoming request as a User Agent Server (UAS) on the inbound leg
• Processing the outgoing request as a User Agent Client (UAC) on the outbound leg
• SIP messages are modified regarding headers between the legs
• The device's interworking features may be applied
UAC UAS UAC UAS
Request Request
Response Response
• SIP messages traverse the device transparently (with minimal interference) between
the inbound and outbound legs
• No topology hiding
3. Microsoft Server
• Operating mode for the One-Voice Resiliency (OVR) feature
168
Signaling Routing Domain (SRD) – Description
169
Multi Tenancy/SRD Environment
171
Media Realms
172
SIP Interface
173
IP Group
• An entity with a set of definitions and behaviors which represents a SIP Group in the IP
Network
• Used to classify incoming SIP dialog-initiating requests to a source IP Group, based on Proxy
Set ID
• Used in IP-to-IP routing rules to denote the source and destination of the call
• 3 Types of IP Group:
• Server: Used when the destination address is known
• User: Represents a group of users where their location is dynamically obtained by the device when
REGISTER
• Gateway: Applicable where the SBC receives requests to and from a gateway representing multiple
users
• It is highly recommended that you do not configure IP Group ID 0
• The only time that you should configure this specific IP Group is when it is used for the Gateway
Interface (e.g., PSTN fallback)
174
Proxy Set
175
IP Profile
• An optional configuration entity that defines a wide range of call settings for a
specific SIP entity (IP Group)
• Includes signaling and media related settings
• The IP Profile is the interoperability “machine” of the device, enabling
communication between SIP endpoints that “speak” different call “languages”
• The IP Profile is associated with the SIP entity by assigning the IP Profile to the IP
Group of the SIP entity
176
Classification
• A process that identifies the incoming call (SIP dialog request) as belonging to a
specific SIP entity (IP Group)
• There are four chronological classification stages:
(each stage is done only if the previous stage fails)
• Classify the incoming SIP message by checking if it belongs to a user that is already
registered in the device's registration database
• Classify the incoming SIP message by Proxy Set Table
• Classify the incoming SIP message using the Classification Table
• Classify the incoming SIP message using the Reject or Allow ‘Unclassified Calls’ parameter
• If the SBC doesn't find a matching rule (i.e., classification fails), the dialog is rejected
177
IP-to-IP Routing
• IP-to-IP routing rules define the routes for routing calls between SIP entities
• The routing rules typically employ IP Groups to denote the source and destination
of the call
• Various other source and destination methods can be used
• For example, the source can be a source host name while the destination can be an IP
address or based on an LDAP query
178
SBC IP-to-IP Routing
179
Inbound and Outbound Number Manipulation
• IP-to-IP Inbound and Outbound manipulation lets you manipulate the user part of
the SIP URI in the SIP message for a specific entity
• Inbound manipulation is done on messages received from the SIP entity
• Outbound manipulation is done on messages sent to the SIP entity
180
Message Manipulation Set (MMS)
181
SBC Routing Policy
• SBC Routing Policy logically groups routing and manipulation (inbound and
outbound) rules to a specific SRD
• For most deployments only a single Routing Policy is required
• A default Routing Policy is provided which is automatically associated with all
relevant configuration entities
• Enables Least Cost Routing (LCR) for routing rules and associates an LDAP server for
LDAP-based routing
182
Call Admission Control
• Call Admission Control (CAC) limits the maximum number of permitted concurrent
calls (SIP dialogs) per:
• SRD
• SIP Interface
• IP Group
• User
183
CMR Process (CMR = Classify, Manipulate, Route)
Incoming Outgoing
Classification Routing
Message Message
Pre - Parsing
Manipulation
(Optional)
(SIP Interface) Inbound MMS Outbound MMS
Pre-Classification Manipulation
(SIP Interface)
Optional
184
SIP Trunk Example
DefaultSRD
185
SIP Trunk Example
SIP Interface 1
LAN
IP Interface 1
Physical Network 1
Media Realm 1
SIP Interface 2
Media Realm 2
DefaultSRD_0
SIP Interface 3
SIP Interface 4
WAN/DMZ
IP Interface 3
Physical Network 2
Media Realm 4
SIP Interface 5
IP Interface 4
Media Realm 5
186
SIP Dialog Initiation Process
• SIP dialog requests such as:
• INVITE, SUBSCRIBE, OPTIONS, REFER, INFO, NOTIFY, REGISTER
188
Classification Process – Best practice recommendation
189
Check your Learning
190
Check your Learning
191
Lesson 7
SBC Configuration
Lesson Objectives
193
Initial Topology View
195
Media Realm Table
• The default Media Realm is used for SIP Interfaces and IP Groups for which you have not
assigned a Media Realm
• Ports are allocated in chunks of 4, 5 or 10 (device dependent) called media session legs
196
Media Realm Extensions
• Media Realm Extensions let you configure a Media Realm with different port ranges
or/and different interfaces
• This means that the Media Realm is distributed across multiple interfaces
• The number of Media Realm Extensions that can be configured depend from the
platform
197
SIP Interface Table
• Default SIP Interface is already pre-configured and assigned to the default SRD
• Bounded to Layer-3 network
• Defines a local listening port for SIP signaling traffic on a local logical IP network
198
SIP Interface Table Record
Defines the SIP response code that the device sends if a received SIP request (OPTIONS,
REGISTER, or INVITE) fails the SBC Classification process.
The valid value can be a SIP response code from 400 through 699, or it can be set to 0
to not send any response at all (recommended for security reasons).
The default response code is 500 (Server Internal Error)
199
Proxy Sets Table
200
Proxy Sets Table
201
Proxy Address Child Table
202
IP Group Table
203
IP Group Table – General Parameters
IP Group Name
Defines the user part of the From, To, and Contact headers of
SIP REGISTER messages, and the user part of the Contact
header of INVITE messages received from this IP Group and
forwarded by the device to another IP Group
Enables classification of incoming SIP dialogs (INVITEs) to the IP Group, based on the
Proxy Set assigned to the IP Group (Applicable only to Server-type IP Groups)
Defines call forking of INVITE messages to up to five separate SIP outgoing legs for
User-type IP Groups
This occurs if multiple contacts are registered under the same AOR in the device's
registration database
Options:
• Sequential = (Default)
• Parallel
• Sequential Available Only
205
IP Group Table – SBC Other Tabs
206
IP Group Table – SBC Registration Tab
This feature provides support for configuring the device to always route SIP requests
of a user (belonging to a User-type IP Group) to the same registrar server in a Proxy
Set (associated with a Server-type IP Group) to where the last successful REGISTER
request was routed
Defines the shared username and password for authenticating the IP Group, when
the device acts as an Authentication server
207
IP Profile
208
IP Profile
• The configurable parameters for the IP Profile are divided into sections:
• General parameters
• Media Security parameters Related to SRTP
• SBC Signaling parameters
• SBC Early Media parameters
• SBC Registration parameters
• SBC Forward and Transfer parameters Related to SIP Signaling on the SBC
• SBC Hold parameters
• SBC Media parameters
• SBC Fax parameters
• Media parameters Related to Media on the SBC
• Quality of Service parameters
• Jitter Buffer parameters
• Gateway General parameters
• Gateway DTMF parameters
• Gateway Fax and Modem parameters
• Answer Machine Detection parameters
• Local Tones parameters
209
IP to IP Routing Table
210
IP to IP Routing Table – General and Match Sections
Defines the IP Group that initiated (sent) the SIP redirect response 3xx or REFER
211
IP to IP Routing Table – Action Section
Determines the destination type to which the outgoing SIP dialog is sent. This
can be: IP Group, Destination Address, ENUM, LDAP, Request URI, Gateway, etc.
Assigns a Call Setup Rule ID to the routing rule. The device performs the Call Setup
rules of this Set if the incoming call matches the characteristics of this routing rule
ITSP
SBC
Server 1: 200.100.10.5
IP-PBX Server 2: 200.100.10.1
IP: 10.15.11.2 /16 Transport Type: UDP
Transport Type: TCP SBC IP: 10.15.11.11 /16
Listening Port: 5060
Listening Port: 5050 Coder: G.711Alaw
Coder: G.711Alaw
Firewall
LAN IP: 10.15.0.1
WAN: 200.100.10.2
213
SBC Parameters and Tables
214
Configure IP Addresses
• IP Interface Table
215
IP Address – Physical to Interface
216
Configure Multiple SIP Interfaces and Media Realms
217
Configuring Media Realms
218
Configure SIP Interface Table
219
Define Proxy Set IP-PBX
220
Define Proxy Set ITSP
221
Define IP Group 1 (IP-PBX)
222
Define IP Group 2 (ITSP)
223
Define NAT Translation
224
First Incoming Packet Mechanism
• The device identifies whether the UA is located behind NAT by comparing the
source IP address of the first received media packet with the IP address and UDP
port of the first received SIP message (INVITE) when the SIP session was started
• To enable the option
via Web GUI:
225
Configuring IP-to-IP Call Routing Rules
226
Define Classification Rules (Optional)
227
Message Conditions (Optional)
228
Check your Learning
229
Check your Learning
230
Lesson 8
SBC Wizard
SBC Wizard – Overview
• User-friendly online tool designed to get AudioCodes Mediant SBC up and running
quickly and easily
• Step-by-step setup process, presenting the configuration options in a clear way
• Eliminates configuration errors and troubleshooting
• Easy to install Windows-based application
• Includes predefined configurations for a wide range SBC deployments (SIP trunk,
hosting etc.) with a variety of service providers and IP-PBXs
• Automatic software updates
• Built-in online help
• Available as web built-in and stand-alone application
232
Configuration Wizard
233
Welcome Page
234
SIP Trunk Configuration
235
System Parameters
236
Interfaces
237
IP-PBX Parameters
238
ITSP Parameters
239
Number Manipulation
240
Summary
241
Finish
242
Lesson 9
• Collecting data
• Use the relevant data collection tools for problem investigation
244
Collecting Data
245
What is Syslog?
246
Syslog Message Format - Example
08:59:10.239 10.15.11.1 local0.notice [S=1974] [SID=a929c9:21:24] ( lgr_sbc)( 1773) Classification Succeeded - Source IP Group #2 (ITSP), - Dest Routing Policy #0
08:59:10.239 10.15.11.1 local0.notice [S=1975] [SID=a929c9:21:24] ( lgr_flow)( 1774) (#3091)SBCRoutesIterator::Change State From: InitialCSRRouting To : InitialRouting
08:59:10.240 10.15.11.1 local0.notice [S=1976] [SID=a929c9:21:24] ( lgr_flow)( 1775) (#3091)SBCRoutesIterator::Change State From: InitialRouting To : AlternativeRouting
08:59:10.241 10.15.11.1 syslog.error 4 packets missing
08:59:10.241 10.15.11.1 local0.notice [S=1981] [SID=a929c9:21:24] ( media_service)( 1780) ServicesMngr: Allocate SBC leg. current active: 1 and max is: 120
08:59:10.242 10.15.11.1 local0.notice [S=1982] [SID=a929c9:21:24] ( lgr_flow)( 1781) (#3091)SBCRoutesIterator::Next route found: Rule #1, Route by: IPGroup , IP Group ID: 1 (SfB), Live:True
08:59:10.242 10.15.11.1 local0.notice [S=1983] [SID=a929c9:21:24] ( lgr_sbc)( 1782) Routing Succeeded -IP2IPRouting Rule #1
Type of Message Unique SIP call session and device identifier, SID =
<last 6 characters of device's MAC address>
<number of times device has reset>
<unique SID counter indicating the call session (increments consecutively for each new session; resets to 1 after a device reset)
SID=47ecef:94:69
247
Syslog Types of Messages
• warning: Indicates an error that might occur if measures are not taken to prevent it
248
Enabling Syslog
• Enable Syslog
• Set Syslog Server IP address and port
• Select the Syslog level (recommended ‘Detailed’)
249
Message Log
• View the Syslog messages sent by the device
250
AudioCodes Syslog Viewer
• A newer Syslog application provided with the student utilities kit
251
AudioCodes Syslog Viewer
Flow
Diagram
Stop/Start
Writing Log
Open Search
Open Freeze Options
External Search
Saved File Display
Viewer
Number of
Pause/Resume Total Number Warning
Logging UDP/TCP of lines in the Messages in
Connection Log File the Log File
252
AudioCodes Syslog Viewer
• Syslog can be enabled simultaneously in several devices, reporting to the same
Syslog Server
253
AudioCodes Syslog Viewer
• SIP/SDP messages are properly arranged to be easily identified for analysis
254
AudioCodes Syslog Viewer
• The SIP/SDP flow diagram can be viewed and exported
SIP Flow
Diagram
255
AudioCodes Syslog Viewer
• The SIP/SDP <-> ISDN flow diagram can be viewed
256
AudioCodes Syslog Viewer
• Each arrow on the SIP/SDP flow diagram points to the right place in the trace
Highlighted
SIP Flow
Diagram
Points to
257
AudioCodes Syslog Viewer
• CDR info
258
AudioCodes Syslog Viewer
• Extracting Single Call
259
AudioCodes Syslog Viewer
Options
260
Wireshark
261
Wireshark
• Freeware packet sniffer application enabling you to view traffic passed over the
network
• Advantages:
• Used for live/offline network troubleshooting and analysis
• Strong filtering
• SIP Call flow and Play sound
• And more
• AudioCodes add advance filtering for DTM/DSP debug
262
Capture Interfaces
263
Capture Output & Options
264
Wireshark Main Window
Filter Bar
Packet list
pane
Packet bytes
pane
265
Coloring Rules
266
Generating Call Flow
267
Playing G.711 RTP Stream
268
Analyzing RTP Data Stream
269
Debug Recording
270
What is Debug Recording (DR)?
• A feature used to capture and record traffic sent and/or received by the device
• It is used for advanced debugging when you need to analyze internal messages and
signals
• The device can send debug recording packets to a debug capturing server
• Can record different types of traffic such as
• Media streams (RTP, T.38 and PCM)
• PSTN signaling (ISDN, CAS, SS7)
• Control messages (SIP, MGCP, MEGACO)
• Networking streams (such as HTTP and SCTP)
• Other internal information (such as DSP Events)
271
Debug Recording Advantages
272
Installing AudioCodes’ Proprietary Plug-in
• Install Wireshark on your computer
• The Wireshark program can be downloaded from http://www.wireshark.org
• Download the proprietary plug-in files from www.audiocodes.com/downloads.
• Copy the plug-in files to the directory in which you installed Wireshark, as follows:
Copy this file To this folder on your PC
...\dtds\cdr.dtd Wireshark\dtds\
...\plugins\<Wireshark ver.>\*.dll Wireshark\plugins\<Wireshark ver.>
• Start Wireshark
• In the Filter field, type "acdr" to view the debug recording messages
• Note that the source IP address of the messages is always the OAMP IP address of the device
• The device adds the header "AUDIOCODES DEBUG RECORDING" to each debug recording
message
273
Viewing DR Messages in Wireshark
ACDR Filter
Proprietary Header
274
Activating the DR through the WEB Interface
Defines the IP address of the server Defines the port of the server for capturing
for capturing debug recording debug recording. The default is 925
Defines the threshold (in percentage) for automatically switching to a different debug level, depending on CPU usage
The parameter is applicable only if the 'Syslog CPU Protection' parameter is enabled
275
Logging Filters
• The Logging Filters table lets you configure rules for filtering debug recording
packets, Syslog messages, and Call Detail Records (CDR)
• Example:
• A rule to generate Syslog messages only for calls belonging to IP Groups 2 and 4, or for calls
belonging to all IP Groups except IP Group 3
• Debug recording log filters can include:
• Signaling information (such as SIP messages)
• Syslog messages
• PSTN traces (ISDN and CAS)
• CDRs
• Media (RTP, RTCP, and T.38)
• Pulse-code modulation (PCM) of voice signals from and to the TDM
• Log Filters can be enabled or disabled
276
Configuring filtering rules
277
Configuring filtering rules
278
Hands-on Lab 2
SBC Routing
Lesson 10
281
SBC Media Handling
• Media Behavior – establishing, managing and terminating media sessions within SIP protocol
• Media sessions are created using SIP Offer/Answer mechanism and, if successful, the result is
a bidirectional media flow (Audio, Fax, Modem, DTMF)
• Each Offer/Answer may be negotiated on more than one media session of different types
(e.g., Audio and Fax, Audio and Video)
• In SIP dialog, multiple Offer/Answer transactions may occur
• Each transaction may change media session characteristics (IP address, port, coders, media
types and RTP mode)
282
Media Capabilities
• NAT Traversal
• SBC changes SDP address to its own
• Firewall and Security
• RTP Pin-Holes – only RTP packets related to a successful Offer/Answer negotiation
traverse the SBC
• Late Rogue Detection – once a dialog is disconnected, related Pin-Holes also disconnect
• Deep Packet Inspection (DPI) of the RTP that flows through the opened Pin-Holes
284
Media Handling Modes
• No Media Anchoring
• Media Anchoring without Transcoding (Transparent)
• Media Anchoring with Transcoding
IP-PBX ITSP
285
No Media Anchoring
• Enables SBC signaling capabilities without handling RTP/SRTP (media) flow between
remote SIP UAs
• RTP packet flow does not traverse the SBC; instead, 2 SIP UAs establish a direct RTP/SRTP
flow between one another
• Signaling continues to traverse SBC with minimal intermediation and involvement to
enable SBC capabilities such as routing
SfB IP-PBX
SIP Signaling
Media 286
No Media Anchoring
287
No Media Anchoring – SDP Offer/Answer
Incoming SDP Offer SBC Outgoing SDP Offer
10.15.11.1
v=0 v=0
o=- 3 1 IN IP4 10.15.10.2 o=- 3 1 IN IP4 10.15.10.2
s=session s=session
c=IN IP4 10.15.10.2 c=IN IP4 10.15.10.2
b=CT:1000 b=CT:1000
t=0 0 t=0 0
m=audio 54434 RTP/AVP 97 101 13 0 8 m=audio 54434 RTP/AVP 97 101 13 0 8
c=IN IP4 10.15.10.2 c=IN IP4 10.15.10.2
a=rtcp:54435 a=rtcp:54435
a=label:Audio a=label:Audio
a=sendrecv a=sendrecv
SfB a=rtpmap:97 RED/8000 a=rtpmap:97 RED/8000
a=rtpmap:101 telephone-event/8000 a=rtpmap:101 telephone-event/8000 IP-PBX
a=fmtp:101 0-16 a=fmtp:101 0-16
a=rtpmap:13 CN/8000 a=rtpmap:13 CN/8000
a=rtpmap:0 PCMU/8000 a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000 a=rtpmap:8 PCMA/8000
a=ptime:20 a=ptime:20
288
No Media Anchoring – Global Parameter
• Direct Media Global Parameter
289
No Media Anchoring – SIP Interface Level
290
No Media Anchoring – IP Profile Level
291
Media Anchor without Transcoding (Transparent)
IP-PBX ITSP
SIP Signaling
Media
292
Transparent – SDP Offer/Answer
Incoming SDP Offer SBC Outgoing SDP Offer
10.15.11.1
v=0
v=0
o=- 3 1 IN IP4 10.15.10.2
o=- 75634723 75634691 IN IP4 10.15.11.1
s=session
s=session
c=IN IP4 10.15.10.2
c=IN IP4 10.15.11.1
b=CT:1000
b=CT:1000
t=0 0
t=0 0
m=audio 54434 RTP/AVP 97 101 13 0 8
m=audio 6010 RTP/AVP 97 0 8 101 13
c=IN IP4 10.15.10.2
c=IN IP4 10.15.11.1
a=rtcp:54435
a=label:Audio
a=label:Audio
a=sendrecv
a=sendrecv
IP-PBX a=rtpmap:97 RED/8000
a=rtpmap:97 RED/8000
a=rtpmap:101 telephone-event/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
ITSP
a=fmtp:101 0-16
a=rtpmap:13 CN/8000
a=rtpmap:13 CN/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:8 PCMA/8000
a=ptime:20
a=ptime:20
293
Media Anchoring without Transcoding (Transparent)
• To direct RTP to flow through SBC, all IP address fields in the SDP are modified:
• IP-Address, Session and Version ID
• Session connection attribute
• Media connection attribute
• Media port number
294
Media Anchoring with Transcoding
• SBC performs transcoding when there are no common coders between 2 UAs involved in a
specific session
• RTP traverses the SBC and each leg uses a different coder or coder parameters
• Transcoding is performed when an SDP answer from one UA does not include any coder
included in offer previously sent by the other UA
• For transcoding, SBC can be configured to add media capabilities to UAs of a specific IP
Group, then perform transcoding when selected coder in answer SDP doesn’t appear in
original offer
• DSP resources are required
IP-PBX ITSP
SIP Signaling
Media A
Media B 295
Transcoding using Extended Coders
SBC
Incoming SDP Offer Outgoing SDP Offer
10.15.11.1
v=0 v=0
o=- 2 1 IN IP4 10.15.10.2 o=- 1316661404 1316661372 IN IP4 10.15.11.1
s=session s=session
c=IN IP4 10.15.10.2 c=IN IP4 10.15.11.1
b=CT:1000 b=CT:1000
t=0 0 t=0 0
m=audio 52910 RTP/AVP 97 101 13 0 8 m=audio 6000 RTP/AVP 97 0 8 18 101 13
c=IN IP4 10.15.10.2 c=IN IP4 10.15.11.1
a=label:Audio
a=rtcp:52911
a=sendrecv
a=label:Audio a=rtpmap:97 RED/8000
a=sendrecv
IP-PBX a=rtpmap:97 RED/8000
a=rtpmap:101 telephone-event/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=rtpmap:13 CN/8000
ITSP
a=fmtp:101 0-16 a=rtpmap:0 PCMU/8000
a=rtpmap:13 CN/8000 a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000 a=ptime:20
a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 Extended Coder
a=fmtp:18 annexb=no
a=ptime:20
297
SRTP-RTP Transcoding
298
SRTP-RTP Transcoding Mode
299
Media Security
• Enable Media Security
300
Extension Coders
Add G.729
G.711 + G.723 G.711 + G.723 + G.729
Group 2
Extended coder list contains:
G.711, G.729
301
Extension Coders
• Select from ‘Coder Name’ drop-down
• Select coder parameter values: ‘Packetization Time’, ‘Rate’, etc…
302
Extension Coders
• Assign Coder Group to IP Profile
303
Allowed Coders Group
Remove G.723
G.711 + G.723 G.711
Group 2
Allowed Coders Group contains:
G.711
304
Allowed Coders – Incoming Offered
Call Dropped
G.711 + G.723
Group 1 Group 2
Allowed Coders Group contains: Allowed Coders Group contains:
G.726 G.711
G.729
Remove G.723
G.711 + G.723 G.711
Group 1 Group 2
Allowed Coders Group contains: Allowed Coders Group contains:
G.711 G.711
G.726 G.723
305
Allowed Audio Coders Group
306
Assign Allowed Audio Coder Group to IP Profile
307
Change Coder Priority
Group 1 Group 2
Allowed coder list: Allowed coder list:
G.711 G.729
G.723 G.711
G.723
G.723 + G.711 G.711 + G.723 + G.729
308
Allowed Coders Mode
309
Allowed Coders Mode
• Restriction
• Checks for a match between Allowed Coders of the incoming group and the offered
coders
• At least one must match
• SBC removes all coders arriving in incoming SDP except matched coders in outgoing
Allowed Coders Group (only coders common to offered SDP and Allowed Coders Group
are used)
• Preference
• SBC reprioritizes coders based on Allowed Coders Group
• The coders received in the SDP offer are listed after the Allowed Coders
• Restriction and Preference
• Enables both, removes disallowed coders and reprioritizes coders
310
SBC Preferences Mode
• Orders the coders in the outgoing SIP message
• Applicable only if an Extension Coders Group is assigned to the IP Profile
• Doesn’t Include Extensions = Extension coders are added at the end of the coder list (default)
• Include Extensions = Extension coders arranged according to order in the Allowed Coders Group
table
311
Change Coder Priority – Include Extensions
Group 1 Group 2
Allowed coder list: Allowed coder list:
G.711 G.729
G.723 G.711
G.723
G.723 + G.711 G.729 + G.711 + G.723
312
Coder Transcoding Flow
SBC Leg 1 SBC Leg 2
SBC
313
Media Handling Example 1
IP-PBX: ITSP:
G.711A-law G.729
G.729
314
Media Handling Example 1
G.729
No Change
G.729
315
Media Handling Example 2
IP-PBX: ITSP:
G.711A-law G.729
G.729 G711A-Law
316
Media Handling Example 2
317
Media Handling Example 2
• In ITSP’s IP Profile, assign the Allowed Audio Coders Group, to offer only G.729
318
Media Handling Example 2
G.729
No Change
G.729
319
Media Handling Example 3
IP-PBX: ITSP:
G.711A-law G.729
320
Media Handling Example 3
321
Media Handling Example 3
322
Media Handling Example 3
• In ITSP’s IP Profile, assign the Extension Coders Group (AudioCodersGroup_2), to add G.729
to the offering
• In ITSP’s IP Profile, assign the Allowed Audio Coders Group, to send only G.729 to ITSP
323
Media Handling Example 3
Remove
G.711A
G.729
G.729
Transcoding
G.711A
324
Media Handling Example 4
IP-PBX: ITSP:
G.711A-law G.729
G.711U-law G.711A-law
G.723 G.726
325
Media Handling Example 4
• Create an Allowed Audio Coders Group and select G.729, G.711A and G.726 coders
326
Media Handling Example 4
327
Media Handling Example 4
• In ITSP IP Profile:
• Extension Coders Group (AudioCodersGroup_2), to add G.729 and G.726 to the outgoing
• ITSP Allowed Audio Coders Group, to remove G.711U and G.723
• Allowed Coders Mode = Restriction and Preference, to perform both
• In Media Settings (SBC Settings):
• Preferences Mode = Include Extensions,
to reorganize the coders
328
Media Handling Example 4
Remove
G.711U+G.723
G.729+G.711A+G.726
G.729
Transcoding
G.711A
329
Check your Learning
330
Check your Learning
331
Check your Learning
332
Hands-on Lab 3
SBC Transcoding
Lesson 11
335
SBC Manipulations
• Manipulations include:
336
Reminder – CMR Process (CMR = Classify, Manipulate, Route)
Incoming Outgoing
Classification Routing
Message Message
Pre - Parsing
Manipulation
(Optional)
(SIP Interface) Inbound MMS Outbound MMS
Pre-Classification Manipulation
(SIP Interface)
Optional
337
SBC Number Manipulation
338
SBC Inbound Number Manipulations
• Configure rules to manipulate SIP URI user part (source and destination) of inbound
SIP dialog requests
• Apply these to different SIP dialog message types (INVITE or REGISTER)
• Manipulation of Destination URI user part performed on these SIP headers:
• Request URI
• To
• Remote-Party-ID (if it exists)
• Manipulation of Source URI user part is performed on these SIP headers:
• From
• P-Asserted (if it exists)
• P-Preferred (if it exists)
• Remote-Party-ID (if it exists)
339
SBC Inbound Number Manipulations
Matching area
340
SBC Inbound Number Manipulations – Match Area
• Name
• Additional Manipulation: use same matching
condition as row listed above
• Manipulation Purpose: Defines the purpose
of the manipulation
• Request Type: SIP request type to which the
rule is applied
• Source IP Group: the IP Group from where the
incoming INVITE is received
• Source Username Pattern
• Source Host
• Destination Username Pattern
• Destination Host
341
SBC Inbound Number Manipulations – Action Area
• Manipulated Item: Determines whether the Source or Destination SIP URI user part is
manipulated
• Remove From Left
• Remove From Right
• Leave From Right: Defines the number of characters that you want retained from
the right of the user part
• Prefix to Add
• Suffix to Add
342
SBC Outbound Number Manipulations
• Configure rules to manipulate SIP URI user part (Source and Destination) of outbound
SIP dialog requests
• Rules correspond to Source IP Group and Source and Destination host and user prefixes
• Rules can be applied to user-defined SIP request type (INVITE, OPTIONS, SUBSCRIBE
and/or REGISTER)
• Manipulation of Destination URI user part performed on these SIP headers:
• Request URI
• To
• Remote-Party-ID (if it exists)
• Manipulation of Source URI user part is performed on these SIP headers:
• From
• P-Asserted (if it exists)
• P-Preferred (if it exists)
• Remote-Party-ID (if it exists)
343
SBC Outbound Number Manipulations
Matching area
344
SBC Outbound Number Manipulations Match Area
• Same parameters as inbound, except for:
• Call Trigger
• Reason for the re-routing of the SIP request:
Any, 3xx, REFER, 3xx or REFER, Initial only
• Destination IP Group
• IP Group where the INVITE is being sent
• Calling Name Pattern
• Pattern of the calling name (Caller ID)
Appears in the SIP From header
• Message Condition
• Assigns a Message Condition rule as a matching
characteristic
• Destination Tags
• Assigns a prefix tag to denote destination URI
user names corresponding to the tag configured
in the associated Dial Plan
• Reroute IP Group
• Defines the IP Group that initiated (sent) the SIP
redirect response. The parameter functions
together with the 'Call Trigger' parameter
345
SBC Outbound Number Manipulations Action Area
346
Message Manipulation
347
Why SIP Message Manipulation?
• Key SBC requirements:
• Each customer has distinct requirements for SBC fundamentals of Security, Interworking and
Interoperability
• Multiple devices support SIP but do not interwork because of differences in how the protocol
is implemented or interpreted
• Manipulation customizes SIP messaging on either side to what devices in that network
segment expect
• ITSPs or enterprises may have policies for which SIP messaging fields should be present before
a SIP call enters their network
• Resolves incompatibilities between SIP devices inside the enterprise network or between
networks
• Self-service programmable tool that saves the time required to develop a software ‘patch’ for
each customer
348
Message Manipulation
• A combination of rules, specified as a set or group of actions, to be attached to an IP Group
• On the SBC application Message Manipulation rules can be applied pre- or post-classification
• Pre-classification Process:
• On incoming SIP dialog-initiating messages (e.g., INVITE) prior to the classification process
• The Manipulation Set ID is assigned to the SIP Interface on which the call is received
• Post-classification Process:
• On inbound and/or outbound SIP messages after the call has been successfully classified
• The Manipulation Set ID is assigned to the relevant IP Group in the IP Group table
349
Message Manipulation Set (MMS)
350
Message Manipulation
INVITE sip:5550000@10.15.5.1;user=phone
LAN From: <sip:4000@10.15.5.5>;tag=1c1218068773
To: <sip:5550000@10.15.5.1;user=phone>
P-Asserted-Identity: <sip:4000@10.15.5.5>
Session-Expires: 300
MMS 1
Incoming IP Group 1
Remove: P-Asserted-Identity
INVITE sip:5550000@10.15.5.1;user=phone
From: <sip:4000@10.15.5.5>;tag=1c1218068773
To: <sip:5550000@10.15.5.1;user=phone>
Session-Expires: 300
MMS 2
Outgoing IP Group 2
Change Session-Expires
Add Priority: normal
INVITE sip:5550000@ITSP.com;user=phone SIP/2.0
From: <sip:9764000@audiocodes.com>;tag=1c456353708
To: <sip:5550000@ITSP.com;user=phone>
WWW Session-Expires: 100
Priority: normal
351
Message Manipulation
MMS 3
Outgoing IP Group 1
Add: Session-Expires
INVITE sip:9764000@audiocodes.com;user=phone SIP/2.0
From: <sip:5550000@ITSP.com>;tag=1c431593140
To: <sip:9764000@audiocodes.com;user=phone>
Referred-By: <tel:5550001>;reason=unconditional;counter=1
MMS 4
Incoming IP Group 2
Replace: Diversion to Referred-By
352
Inbound/Outbound Manipulation
• Applied per message and not per call
• For example:
• IP Group 1 has 2 Message Manipulation Sets, one for Outbound and one for Inbound, for the same call:
• Incoming INVITE goes through Inbound MMS
• 180 and 200 OK responses go through Outbound MMS
• IP Group 2 has 2 Message Manipulation Sets, one for Outbound and one for Inbound, for the same call:
• Outgoing INVITE goes through Outbound MMS
• 180 and 200 OK responses go through Inbound MMS
Invite Invite
353
Message Manipulation Configuration
• Message Manipulation Table used to configure rules and relate them to a set of rules
• Rule configuration enables adding, modifying or removing most message content
• A rule can be conditionally applied
• Removing/Adding mandatory SIP Headers is not allowed
• Modifying Mandatory SIP Headers is allowed, performed only on requests to initiate new
dialogs
• Mandatory Headers include:
• Request URI, To, From, Contact, Via, CSeq, Call-Id and Max-Forwards
• Mandatory SDP headers include:
• v, o, s, t ,c, m
• When multiple rules apply to the same header, the second rule applies to the first rule’s
result string
• Manipulating a value in the Message body automatically changes the content-length header
354
Mandatory Headers Handling
• Request URI
• User and Host parts are subject to manipulations
• To
• User and Host parts are subject to manipulations
• TAG generated by SBC for incoming and outgoing legs; it’s different in each leg
• From
• User and Host parts are subject to manipulations
• TAG generated by remote UA for incoming leg, generated by SBC for outgoing leg
• Contact
• Local contact is set to be SBC address (IP, Port and Transport Type) according to SIP
Interface used in each leg
355
Mandatory Headers Handling (cont’d.)
• Call-ID
• Each leg has its own Call-ID without regard to peer leg
• For incoming SIP legs, it’s determined by remote UA, outgoing legs’ Call-IDs are generated
by SBC
• CSeq
• Each leg has its own call sequence (CSEQ) numbering
• Via
• Each leg has its own VIA policy without regard to peer leg
• Outgoing transactions generate their own VIA according to the SIP Interface they use
356
SIP Interface Pre-Parsing Manipulation Sets
• Messages can be manipulated in their original format (plain text) as received from
the network
• Pre-Parsing Manipulation is done before Pre-Classification Manipulation and
Classification
• Pre-parsing rules assigned to the SIP Interface
• Regular expression (regex) is used to search for (match) in the incoming message as
well as to replace the matched pattern
• Parent – Child Table type
357
Pre-Parsing Manipulation Sets
359
SIP Interface Pre-Classification
• Assigned a Message Manipulation Set ID to
the SIP Interface
• Applied SIP Message Manipulation rules on
incoming SIP initiating-dialog request
messages received on this SIP Interface, prior
to the Classification process
• By default, no Message Manipulation Set ID
is defined
360
Message Manipulation Table
361
Message Manipulation – Manipulation Set ID
• Each Manipulation Set rule contains a Manipulation Set ID
• Same Manipulation Set ID can be configured for multiple rules
• Up to 20 Manipulation sets and up to 102 rules per manipulation set (Total 1500 rules)
• Assigned to IP Group for inbound and/or outbound messages
362
Message Manipulation – Syntax
363
Auto Completion Editor
• Auto-completion for parameters whose values are configured using special syntax
• An Editor button is displayed alongside their fields, which when clicked opens a
syntax editor
• As text is typed in the field the user is prompted with optional syntax
364
Auto Completion Editor
365
Message Manipulation – Row Role
General Match Action
Manipulati Message Action Action Action
Name Row Role Condition
on Set ID Type Subject Type Value
366
Message Manipulation – Message Type
• The Message Type to manipulate General Match Action
• Rule applied only if this is the message type Name
Manipulati
Row Role
Message
Condition
Action Action Action
on Set ID Type Subject Type Value
• Syntax: method.message-role.response-code
• Method
• Invite, Subscribe, Refer – rule applies only to specific messages
• Unknown – Unknown methods also allowed
• Any (or empty) – No limitation on method type
• Message-role
• Request – Rule applies only on requests Examples:
• Response – Rule applies only on Response message • Invite
• Response-code • Invite.Request
• 3xx – Any redirection response • Invite.Response.180
• 200 – Only 200 OK response • Register
• Any
367
Message Manipulation – Condition
• Rule-matching criteria (conditions) General Match Action
Manipulati Message Action Action Action
• If criterion (condition) exists, rule applies Name
on Set ID
Row Role
Type
Condition
Subject Type Value
• Editor Options:
• Header, Body, Param, Var, SrcTags, DstTags, Message
• Syntax: <option type> <match-type> match-condition
• Match-type
• “==” , “!=” , “>” , “<” , “>=” , “<=” , “contains” , “!contains”, “exists”, “!exists”, “len>”, “len<“, “len==“, “regex”
• Logical-expression
• “AND” – Logical And
• “OR” – Logical Or
Examples:
• header.contact contains ‘audiocodes.com’
• header.from.url.user == ‘100’ OR header.from.url.user == ‘200’ OR header.from.url.user == ‘300’
• header.from.url.user == ‘100’ AND header.to.url.user == ‘200’
368
Message Manipulation – Action Element
• SIP Header on which manipulation is performed General Match Action
Manipulati Message Action Action Action
• Message element that changes Name
on Set ID
Row Role
Type
Condition
Subject Type Value
369
Message Manipulation – Action Type
General Match Action
Manipulati Message Action Action Action
• The action to be performed on the element Name
on Set ID
Row Role
Type
Condition
Subject Type Value
• Syntax:
• Add = adds a new header (or parameter or body) - default
• Remove = removes a header (or parameter or body)
• Modify = sets the element to the new value (replace the entire element)
• Add Prefix = adds the value at the beginning of the element string
• Remove Prefix = removes the value from the beginning of the element string
• Add Suffix = adds the value at the end of the element string
• Remove Suffix = removes the value from the end of the element string
• Normalize = removes unknown SIP message elements before forwarding the message
370
Message Manipulation – Action Value
General Match Action
Manipulati Message Action Action Action
• Value to use in the manipulation Name
on Set ID
Row Role
Type
Condition
Subject Type Value
• Syntax: (string/message-element/param)("+"(string/message-element/param))
• String
• ‘test.local’, ‘<sip:100@1.2.10.10:5067>’
• Message-element Examples:
• header.from.user, header.contact.url.user • '3600‘
• Param • ‘Bob’
• param.ipg.src.user, param.call.dst.host • header.to.url.host
• Combination • 'Mike@'+Header.To.URL.Host.Name
• param.ipg.dst.host + ‘.com’ • Param.IPG.Dst.User+'com'
371
SIP Message Manipulation – Example Rules
372
SIP Message Manipulation – Example Rules
373
Example: Change Referred-By to Diversion
• ITSP expects Diversion and not Referred-By
374
Examples based on the Message Body (1)
• If the address in the SDP is 10.15.11.1, the SBC adds a new SIP header, "IPSource"
whose value is set to the type of the source IP Group
375
Examples based on the Message Body (2)
• If 200 OK response on ReInvite received with 0.0.0.0 in SDP address and it should be
changed to SBC address from the origin ('o=') SDP
376
Examples based on the Message Body (3)
• If the RTP mode is inactive, add a new parameter, "origin" to the From header.
The value of the parameter is set to the 'o=' address in the SDP
377
SIP Message Normalization
• Feature that can be enabled per manipulation rule when Action Type is set to "Normalize“
• Removes unknown or non-standard SIP message elements before forwarding the message
• These elements can include SIP headers, SIP header parameters, and SDP body fields
• The device normalizes the following SIP elements:
• URLs:
• User part is normalized
• Headers:
• Unknown header parameters are removed
• URLs are normalized
• SDP Body:
• Removes unnecessary SDP fields (except m=, v=, o=, s=, c=, t=, and r=)
• Removes unknown media with all its attributes
378
SIP Message Normalization – Examples
• Example 1:
• To header before normalization:
• To: <sip:1-800-300-500;phone-context=1@10.33.2.17;user=phone;UnknownUrlParam>
• To header after normalization:
• To: <sip:1800300500@10.33.2.17;user=phone>
• Example 2:
• All the headers to be normalized
379
SIP Message Normalization – Body Example
General Match Action
Manipulation Set
Name Row Role Message Type Condition Action Element Action Type Action Value
ID
Use Current
Example 3 4 invite body.sdp Normalize
Condition
LAN WWW
381
Check your Learning
382
Check your Learning
383
Hands-on Lab 4
SBC Security
Lesson Objectives
386
Introduction
• VoIP networks must be secured against unauthorized access (similarly to IP networks)
• Threats endangering enterprise network security:
• Denial of Service (DoS) attacks
• Network abuse and fraud
• Viruses and malware
• Overload events
• Identity theft
• Eavesdropping
• Spam over Internet Telephony (SPIT)
• These threats can exist at the following IP network border points:
• Interconnect: SIP trunks to ITSPs
• Trusted access: Private, managed IP
• Un-trusted access: Unmanaged
387
Threats
388
Threats (cont.)
• Identity theft
• Phishing and "man-in-the-middle" can be used to acquire caller identification information
to gain unauthorized access to services and information
• Eavesdropping
• The ability to listen to or record calls on VoIP networks - personal privacy violations
• Spam over Internet Telephony (SPIT)
• The delivery of unsolicited calls or voicemails can inundate networks, annoy subscribers,
and diminish the usefulness of VoIP networks
389
Security Solution
392
Topology Hiding
• Limits internal topology info displayed to external parties
• Enterprise equipment IP addresses (proxies, gateways and application servers) can be hidden
from outside parties
• Provided by implementing B2BUA leg routing
• Strips all incoming SIP Via header fields and creates a new Via value for the outgoing
message
• Each leg has its own Route/Record Route set
• Modifies SIP Header (To, From and Request-URI)
• Generates a new SIP Call-ID header value for each leg
• Changes the SIP Contact header to the SBC’s own address
• Modifies the source IP address of the SIP message
393
Topology Hiding – Example
• Host name in the From header of Invite messages received from the IP Group or the
Request-URI host name used in Invite and Register messages sent to the IP Group
394
Firewall Rules
395
VoIP Traffic Firewall Rules – Example
396
Call Admission Control
397
Call Admission Control Profile – Parent Table
398
Call Admission Control Rule – Child Table
Defines the maximum allowed number of
concurrent SIP dialogs
0 = Block
-1 = Unlimited
0 = Unlimited
If you configure this parameter, you must
also configure the 'Maximum Burst'
parameter to a non-zero value
399
Encryption
• TLS:
• SSL 3.0, TLS 1.0, TLS 1.1, TLS 1.2
• Re. Handshake
• Mutual authentication
• Certificate Revocation Checking
• Verify Subject Alt Name against the provisioned proxy name
400
Secure SIP using TLS
401
Generating a Certificate Signing Request (CSR)
402
Signed CSR to be loaded
403
Trusted root certificate
404
Secure Media (RTP) Traffic
405
Block Unused SIP Ports
406
Classification Table
• Define Strict Classification Rules
• Define a combination of rules to guarantee correct sender identity
• Use Condition rules to increase the strictness of the Classification process
• If the IP address of the IP Group is known, it is recommended to employ classification based on a
Classification rule, where the rule is configured with not only the IP address, but also with SIP message
characteristics to increase the strictness of the classification process
• If the IP address is unknown, in other words, the Proxy Set associated with the IP Group is configured
with an FQDN, it is recommended to employ SIP dialog classification based on Proxy Set
407
Condition Table
408
Message Policy Table
• SIP message policy rules for blocking (blacklist) unwanted incoming SIP messages or
allowing (whitelist) receipt of desired messages
• Blacklist and whitelist for defined methods and for defined bodies
• Assigned to SIP Interfaces associated with the relevant IP Groups
409
Intrusion Detection System (IDS)
• The device's Intrusion Detection System (IDS) feature detects malicious attacks on
the device
• The IDS configuration is based on IDS Policies/set of rules
• Each rule defines a type of malicious attack to detect and the number of attacks
(alarm threshold)
• SNMP traps send to notify of malicious activity and/or whether an attacker has
been added to or removed from the blacklist
410
IDS Tables
411
IDS Policy Table
412
Configuring IDS Rule Table
• Configure for each IDS Policy set of IDS rules that block dynamically based on
reasons:
413
IDS Match Table
414
Block Unclassified Incoming Calls
• Block incoming calls that cannot be classified to an IP Group, or based on the rules in the Classification table
• If unclassified calls aren’t blocked they’re sent to the default SRD/IP Group, so illegal calls can pass
• SBC rejects unclassified calls by default
415
Registration Restriction Control
416
Limit SBC Registered Users per IP Group
417
Limit SBC Registered Users per SIP Interface
418
Limit SBC Registered Users per SRD
419
Registration Restriction Control
420
Block Unregistered Users
• Blocks unregistered users’ calls per SRD or SIP Interface
• 503 Server Internal Error response message sent
• By default calls from unregistered users are not blocked (Accept All)
421
Block Unauthenticated Registration
• Blocks unauthenticated users from registering into the SBC’s database per SRD or SIP Interface
• SBC then only registers users authenticated by a SIP proxy server
422
Define Strict IP to IP Routing Rules
• Define specific IP2IP routing rules accurately and correctly avoiding asterisks (*) if possible
• Route Source IP Group to Destination IP Group correctly to achieve the required call outcome
• Inaccurate or weak routing rules can easily result in Service Theft
423
Secure Management Connections
User levels:
Monitor
Administrator
Security Administrator
Master
424
Secure Management Connections (cont.)
Allows the same user account to log in to the device
from different sources (i.e., IP addresses). Default is 2
Defines a Secure Socket Shell (SSH) Defines the duration (in days) of
public key for RSA public-key the validity of the password. 0
authentication (PKI) of the remote means that the password is always
user when logging into the device's valid. The default is 90
CLI through SSH
425
Authentication Server
426
Secure Management Connections (cont.)
427
Secure Management Connections (cont.)
428
Secure Management Connections (cont.)
429
Secure Management Connections (cont.)
430
Check your Learning
431
Check your Learning
❑IDS is:
A. Parameter in IP group table
B. Mechanism related to call admission control
C. Parameter in IP profile table
D. Mechanism that detects malicious attacks on the device
432
Lesson 13
Gateways Introduction
Objectives
434
Analog Gateways Overview
• Analog FXS and FXO VoIP gateways
• Available configurations:
• MP-112 featuring 2 FXS ports
• MP-114 featuring 4 FXS / FXO / Mixed FXS + FXO ports
• MP-118 featuring 8 FXS / FXO / Mixed FXS + FXO ports
• MP-124 featuring 24 FXS ports
• MP-1288 featuring up to 288 FXS ports
• Firmware file:
• MP-11x gateways (FXS and FXO) use the same firmware (.cmp) file *
• MP-124 gateway requires it own firmware file *
• MP-1288 gateway requires it own firmware file
Note: The latest maintenance firmware version for MP-11x and MP-124 is 6.6
435
Analog Gateways Portfolio
Power Supply AC AC AC AC / DC AC / DC
436
MP-11x Front Panel
437
MP-11x Rear Panel
438
MP-124 Front Panel
439
MP-124 Rear Panel
Telephone
PBX/PSTN
441
Digital Gateways Overview
Trunk
FXS
• Lifeline (Analog):
• Lifeline is provided only by Port 1 on an FXS module
443
Configuring AudioCodes’
Gateways
444
Configuring TDM Bus
• TDM Bus Clock Source (Network/Internal)
• Clock source on which the gateway synchronizes
• TDM Bus PSTN Auto FallBack Clock
(relevant if TDMBusClockSource = Network)
• Disable = Recovers the clock from the E1/T1 line
defined by parameter ‘TDM Bus Local Reference’
• Enable = Recovers the clock from any connected
synchronized slave E1/T1 line
• TDM Bus Local Reference
• Determines the Trunk ID used to synchronize the
gateway’s clock when using external clock
• PCM Law Select (A-law/µ-law)
• Usually A-Law for E1 and µ-Law for T1
445
Configuring Key Trunk Parameters
• Protocol Type
• Sets the PSTN protocol to be used for this trunk
• If ‘Protocol Type’ of all PRI trunks displays 'None', select the protocol type (E1/T1) for a single
trunk and reset the gateway
• Only after the reset you will be able to continue configuring the trunks
• Clock Master
• Determines Tx clock source of E1/T1 line
• Recovered (0) = Generate clock according to Rx of E1/T1 line
• Generated (1) = Generate clock according to internal TDM bus
• ISDN Termination Side
• User side = ISDN User Termination Side (TE)
• Network side = ISDN Network Termination Side (NT)
• Select 'User side' when the PSTN or PBX side is configured as 'Network side’ and
vice-versa
446
Configuring Key Trunk Parameters
447
Digital Trunk Points of Information
• All Trunk spans must be of the same Line Type (all E1 or all T1)
• Different flavors of same Line Type (E1/T1) can be configured on available Trunks
(e.g., E1 Euro ISDN and E1 QSIG)
• Trunks are referenced in ini file and Syslog messages as ‘0-7’ regardless of whether
physical Trunks are numbered ‘1-8’
448
Examples of Basic Trunk Issues
• The trunk can’t be stopped because it provides the gateway’s clock (assuming the
gateway is synchronized with the E1/T1 clock)
• Assign a different E1/T1 trunk to provide the gateway’s clock or enable ‘TDM Bus PSTN
Auto Clock’ in the 'TDM Bus Settings' screen
449
Examples of Basic Trunk Issues
450
Trunk Group Table – E1/T1 and/or FXS
• Used to assign Trunk Groups, Profiles and logical telephone numbers to the
gateway's channels
• Trunks or B-Channels that are not defined are disabled
451
Trunk Group Settings
• Determines the method by which new calls are assigned to channels within each Trunk
Group ID
• If such a rule doesn't exist (for a specific Trunk Group), the global rule defined by the
Gateway General Settings’ Channel Select Mode parameter applies
452
Endpoint Phone Number Table (MP Analog Gateways)
453
Hunt Group Setting (MP Analog Gateways)
454
General Parameters (MP Analog Gateways)
• SIP Transport Type: The default transport layer for SIP calls (UDP, TCP or TLS)
• SIP Local Port: The local listening port for SIP messages (listen port)
• SIP Destination Port: SIP port for outgoing initial SIP requests (sending port)
455
Coder Group Table
456
Routing Tables
457
Outbound IP Routing Table (Tel2IP)
• Used to route outgoing calls from Tel to IP
458
IP to Trunk Group Routing (IP2Tel)
• Used to route incoming IP calls to trunk groups
• Route the call to Trunk Group ID
459
Number Manipulation
• Number Manipulation tables for incoming and outgoing calls are provided
• Used to modify Destination and Source telephone numbers so that calls can
be routed correctly
• Manipulation can occur before or after a routing decision is made
• Using Manipulation Tables you can:
• Allow/Restrict Caller ID information (Source Number for Tel-to-IP Calls)
• Assign NPI/TON to IP-to-Tel calls
• Optionally run a second (additional) ‘round’ of number manipulations for
IP-to-Tel calls on an already manipulated number
460
Routing Mode Parameters
• The Tel to IP Routing Mode and IP to Tel Routing Mode parameters determine the
order between routing calls to Trunk Groups and manipulation of the number
• Route calls before manipulation (default)
• Route calls after manipulation
461
Check your Learning
❑When I try to stop a trunk I receive an error message - what can I do:
A. Only resetting the gateway can solve this problem
B. Assign a different trunk to provide the gateway's clock
C. Wait for all calls on the trunk to be finished
D. Stop the trunk via the AdminPage
462
Check your Learning
❑Tel to IP calls are OK but IP to Tel calls fail - a possible reason for that can be:
A. Miss-configuration of the Proxy server
B. Coder mismatch
C. Glare symptoms
D. Trunk groups are defined but no IP to Tel rules are defined
463
Lesson 14
SBC Survivability
Lesson Objectives
465
SBC Survivability
• 3 survivability features:
• Routing calls to alternative routes such as:
• ITSP
• IP-PBX
• Routing calls between user agents in the local network using a dynamic DB
(built according to registrations of SIP user agents)
• Fallback to the PSTN based on E1/T1 connection (Hybrid devices)
466
SBC Survivability
ITSP-2
Soft Switch
2
PSTN WAN ITSP-1
Soft Switch
1
4
Enterprise 3
LAN SIP Signaling + Media (RTP)
467
Survivability Methodology
• Based on the IP-to-IP Routing Table
• Alternative Route Options:
• Route Row (default):
• The first route – main routing rule. SBC first attempts to route the call to it
• Alt Route Ignore Inputs:
• If the call cannot be routed to the Route Row, the call is routed to this alternative route
• This route will apply regardless of incoming SIP dialog's input characteristics
• Alt Route Consider Inputs:
• If the call cannot be routed to the Route Row, the call is routed to this alternative route
• Apply only if the incoming SIP dialog matches this routing rule's input characteristics
• Group Member Ignore Inputs:
• This routing rule is a member of the Forking routing rule
• The incoming call is also forked to the destination of this routing rule
• The matching input characteristics of the routing rule are ignored
• Group Member Consider Inputs:
• This routing rule is a member of the Forking routing rule
• The incoming call is also forked to the destination of this routing rule only if the incoming call matches
this rule's input characteristics
468
Survivability Methodology
The alternative routing entry must be defined in the next consecutive table entry index
469
SBC Survivability for IP-PBX Users
Normal Mode
Survivability Mode
Fallback to PSTN
470
Define Media Realms
471
Define SIP Interfaces
• SIP Interface IP-PBX: SIP port (5050) for IP-PBX, SBC application, assigned to MR-PBX
• SIP Interface ITSPs: SIP port (5060) for ITSPs, SBC application, assigned to MR-ITSP
472
Define Proxy Set – IP-PBX
473
Define Proxy Set – ITSP 1
474
Define Proxy Set – ITSP 2
475
Define IP Group – IP-PBX
476
Define IP Group – ITSP 1
477
Define IP Group – ITSP 2
478
IP to IP Routing Table – IP-PBX to ITSP 1 (Primary Route)
479
IP to IP Routing Table – IP-PBX to ITSP 2 (Alternative Route)
480
IP to IP Routing Table – ITSP 1 to IP-PBX
481
IP to IP Routing Table – ITSP 2 to IP-PBX
482
Define Alternative Routing Reasons
• Enables defining up to 20 different call release reasons for call releases
• If no response, or ICMP or SIP 408 response is received, the SBC attempts to use the
alternative route even if no entries are configured in the ‘Alternative Routing Reasons‘
483
Configure the Gateway for PSTN Fallback
484
Configure the TDM Bus for the Gateway
485
Configure the Digital Trunk
486
Configure the Trunk Group – E1/T1
• Used to assign Trunk Groups, Profiles and logical telephone numbers to the
gateway's channels
487
Configure the Trunk Group Settings
• Determines the method by which new calls are assigned to channels within each Trunk Group
488
IP to Trunk Group Routing (IP2Tel)
489
Tel to IP Routing (Tel2IP)
490
Define IP to IP Routing Table
• Add the Gateway entry to SBC IP-to-IP Routing Table:
491
SBC Survivability for LAN Users
Normal Mode
Survivability Mode
492
Define Proxy Set – Hosted IP-PBX
493
Define Proxy Set – Alternative Hosted IP-PBX
494
Define IP Group – Hosted IP-PBX
495
Define IP Group – Alternative Hosted IP-PBX
496
Define IP Group – LAN Users
497
Define IP to IP Routing Table
498
Define IP to IP Routing Table
• If connection to Hosted IP-PBX fails, all calls will be routed to the Alt Hosted IP-PBX
IP Group
499
Define IP to IP Routing Table
• If connection to Alternative Hosted IP-PBX fails too, all calls will be routed back to
the LAN Users IP Group
500
Define IP to IP Routing Table
501
Define IP to IP Routing Table
• Route between Alternative Hosted IP-PBX IP Group and LAN Users IP Group
502
Define Alternative Routing Reasons
• Enables defining up to 20 different call release reasons for call releases
• If no response, or ICMP or SIP 408 response is received, the SBC attempts to use the
alternative route even if no entries are configured in the ‘Alternative Routing Reasons‘
503
Check your Learning
504
Check your Learning
505
Hands-on Lab 5
SBC Survivability
Lesson 15
508
High Availability Overview
• The device's High Availability (HA) feature provides 1+1 system redundancy using
two Mediant devices
• If failure occurs in the active device, a switchover occurs to the redundant device
which takes over the call handling process ensuring the continuity of call services
• All active calls (signaling and media) are maintained upon switchover
• Only IP calls are maintained during a switchover
• For those devices supporting the Gateway function, PSTN calls are dropped by sending
a SIP BYE message to the IP side. This is because only the active device is physically
connected to the PSTN interfaces
509
High Availability Architecture
• Provides full redundancy between the two Mediant devices
• One of the devices is in Active state while the second is in Redundant state
• In the Redundant device, only the Maintenance interface is active
• Management of the HA pair is done only through the Active device
• Upon a major functional failure in the Active device, the Redundant device
becomes active
• Supported in:
• Mediant 500
• Mediant 800
• Mediant 2600
• Mediant 4000
• Mediant 9000
• Software SBC
510
Two Box Redundancy – Network topology
Remote
Workers
NAT
SIP Application
Server
same subnet
Active Mediant
Local
User
Global IP Maintenance Global IP
SYNC
Network Agents
Management Management
Control Standby Mediant Control
Media Media
Enterprise
LAN
511
Two Box Redundancy flow
Remote
Workers
SIP Application
Server
Active Mediant
SYNC
Local
User
New Active
Standby Mediant
Mediant Agents
Enterprise
LAN
512
Two Box Redundancy flow
Remote
Workers
SIP Application
Server
Active
New Mediant
Standby Mediant
Local
User
SYNC
New Active Mediant Agents
Enterprise
LAN
513
HA License Key
514
High Availability Configuration
• Since both devices have the same IP address, in the initial configuration stage,
they cannot both be connected to the network
• To initially configure HA:
1. Configure HA on the first device
2. Burn the configuration to flash and power down
3. Configure HA on the second device
4. Burn the configuration to flash and reset
5. Power up the first device
515
IP Interfaces
Maintenance
Interface
516
VLAN’s
• If VLAN tags are not required for the maintenance interface, define the group as
‘Untagged’
• This will set the Native VLAN of the group to the same VLAN
517
HA Setting
518
Preempt Mode
519
HA Status in the Monitor Page
520
Initialization Process
521
Physical Connections
522
Direct Connection
• Direct connection (i.e., both devices are connected directly to each other without
intermediation of switches), configure the mode to 2RX/1TX:
523
Indirect Connection
• Two devices are connected through two (or more) isolated LAN switches
• Configure the mode to 2RX/2TX
• Two devices are connected to each other through a single LAN switch
• Configure the mode to 2RX/1TX
524
Tx/Rx for Ethernet Port-Pair Groups
• 1RX/1TX
• Only a single port in the group can transmit and receive packets
• 2RX/1TX
• Both ports in the group can receive packets
• Only one port can transmit
• 2RX/2TX
• Both ports in the group can receive and transmit packets
525
HA Software Upgrade
526
Device Failure Detection
527
High Availability Maintenance
528
Thank You