0% found this document useful (0 votes)
12 views

SBC I Student Lab Guide R7.2 - Remote Online Lab - v2.3

Uploaded by

drillsonsgamer
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views

SBC I Student Lab Guide R7.2 - Remote Online Lab - v2.3

Uploaded by

drillsonsgamer
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 96

Student Lab Guide

E- SBC Essentials & Configuration (R7.2)

September 2020
Introduction

• Five exercises highlight the features and functions of


AudioCodes SBC Application
• Use this presentation and the User Manuals to complete the
exercises
• After completing, work on your installed AudioCodes products
(recommended)
• Hands-on experience is the best way to:
• master a technology
• leverage its uses
• leverage your ability to troubleshoot and assist your customers
Introduction (cont.)

• All the labs are based on a remote online environment


• The course is divided into 12 groups and each group has a PC/Laptop
to logon to the remote environment
• The PC runs the TeamViewer application to be used to logon remotely
to a Virtual PC running in the Lab Environment.
• The Instructor will provide the assignment information for each group
Introduction (cont.)

• In every Virtual PC you will find the 2 following softphones with the
configured characteristics:

User Name /
SoftPhone Company Transport Port
Phone Number

Linphone Linphone ® UDP 5068 11115551101

X-Lite Counterpath TCP 5060 11115551102


Softphones Configuration
Linphone Configuration
Linphone Configuration
Linphone Configuration – SIP Account Configuration

11115551101
“” <sip:[email protected]:5068>
Linphone Configuration – SIP Account Configuration

sip:[email protected]:5068
<sip:10.15.xx.10:5068;transport=udp>

UDP
Linphone Configuration – Network Settings
Linphone Configuration – Codec Settings
Linphone Configuration – Identity check

sip:[email protected]:5068 Example for Group 1


Linphone - Making a call

sip:[email protected]:5068 Example for Group 1

Enter only the phone number in the “SIP Address or phone number” Field
Linphone - Incoming call notification

sip:[email protected]:5068 Example for Group 1


Linphone - Call established/Disconnect

sip:[email protected]:5068 Example for Group 1


X-Lite Configuration
X-Lite Configuration – Account Settings
X-Lite Configuration – Account Configuration

Example for Group 1 11115551102

Example for Group 1


X-Lite Configuration – Topology Configuration
X-Lite Configuration – Transport Configuration
X-Lite Configuration – Advanced Configuration
X-Lite Configuration – Audio Codecs
X-Lite Establishing a call
X-Lite Receiving/Disconnecting a Call
Labs Exercises

• Lab 1 – Management Interface Usage


• Getting used to the management interface
• Lab 2 – SBC Routing
• Basic SIP Trunk Configuration
• Lab 3 – SBC Transcoding
• Demonstration of the Transcoding capability
• Lab 4 – SIP Message Manipulation
• Demonstration of MMS Mechanism
• Lab 5 – Alternative Routing (Survivability)
• Demonstration of Automatic Failover Routing
Lab 1

Basic Management Interface Usage


Accessing the system

• Access the system using TeamViewer using the credentials assigned to


your Group
• Logon to your assigned virtual PC using the credentials assigned to
your Group
• Run a Web Browser and access your assigned SBC by typing the
address 10.15.1x.10 (being x your Group number)
• Logon to the system using the default User Name and Password
(Admin/Admin)
GUI based configuration and navigation

• Under the Setup menu go to the IP Network Tab


• Choose the Network View option and take a look at your core networking
entities
• Choose the Core Entities option and open the IP Interfaces page
• Change the Interface Name to LAN
• Change the Primary DNS Server to 10.15.10.100
• Save your configuration
• Choose the Physical Ports option and take a look at the status of your
Ethernet Ports
• Check the possible values for Speed/Duplex, keep it as Auto Negotiation
• Under the Setup menu go to the Signaling & Media Tab
• Choose the Topology View option and take a look at your core
networking entities
• Without changing any value navigate through the different options to get
used to them
GUI based configuration and navigation

• Under the Setup menu go to the Administration Tab


• Choose the Web & CLI option and take a look at the following
• Currently defined local users
• Web and CLI settings (don’t modify any of those parameters)

• Choose the Maintenance option and check how can you do the
following:
• Saving and Loading an INI file
• Uploading auxiliary files (check which auxiliary files)
• Resetting the device
• Checking your current license key
• Upgrading your software (please don’t start this process)

Tip: Is there another way of accessing those pages?


GUI based configuration and navigation

• Under the Monitor menu go to the Monitor Tab


• Choose the Monitor View option and take a look at your device
information
• Choose the Device Information option and find the following:
• MAC Address
• Serial Number
• Firmware version
• Uploaded files

• Choose both Alarm options and check your active and history alarms

Tip: Is there another way of accessing the Active Alarms page?


CLI based configuration

• Access the SBC using Telnet (use Windows command, PuTTY or similar
utility)
• Logon to the system
• At the CLI prompt, type the username (case sensitive):
• Username: Admin
• At the prompt, type the password (case sensitive):
• Password: Admin
• At the prompt, type the following:
• enable
• At the prompt, type the password again:
• Password: Admin
CLI based configuration

• Show the available commands


• At the prompt, type the following and then press Enter
• ?
• To scroll down and see more pages, press the space bar
• Show the available parameters under the Show command
• At the prompt, type the following and then press Enter
• show ?

• Show your Running Configuration


• At the prompt, type the following and then press Enter
• sh ru
• Take a look at your current configuration and find similarities
with the GUI in the structure
• To scroll down and see more pages, press the space bar
CLI based configuration

• Access the network configuration mode:


• # configure network
• Access the Interface table:
• (config-voip)# interface network-if 0
• Configure the Interface name:
• (network-if-0)# name VoIP
• Configure the Primary DNS:
• (network-if-0)# primary-dns 10.15.10.1
• Exit the Interface table:
• (network-if-0)# exit
• Exit the network configuration mode:
• (config-network)# exit

Tip: Use the ? at any time to get help for allowed command
and/or parameter
AdminPage based configuration

• Run a Web Browser and access your assigned SBC by typing the address
10.15.1x.10 (every x should be replaced with your Group number)
• Logon to the system using the default User Name and Password
(Admin/Admin)
• To access the AdminPage use the following URL in your browser
• 10.15.1x.10/AdminPage
• Choose the option ini parameters on the left side menu
• To override the Company Logo Image, use the following parameter
• USEWEBLOGO with a value of 1
• To replaces default AudioCodes logo image with your own text, use the
following parameter
• WEBLOGOTEXT with a value of SBC Course Group x

Note: These parameters can only be changed using the AdminPage or by editing and uploading an
ini file
ini File based configuration

• While in the AdminPage, go back to the main page by choosing the option
Back to Main
• Use either the Actions tab or the Configuration option under the
Administration tab to save your configuration file (ini file)

this

or this
ini File based configuration

• Open the saved file by using the INI Viewer & Editor utility and take a
look at your configured parameters
• Add a Welcome Message to your SBC, something like this

Welcome Group x

• Using the supplied documentation, open the Mediant’s user manual


and find out what has to be done to add the mentioned message
• In a similar way as the file was saved, upload the new ini file to your
system and see your Welcome Message

Tip: You can upload an INI Incremental file using the Auxiliary Files
option. What is the benefit of this?

Result example for Group 1


Restore Gateway/SBC to defaults
Lab 2

E-SBC Routing
Lab Environment

Mediant VE - SBC
10.15.xx.xx/16

IP-PBX ITSP
10.15.xx.xx/16 (vPC IP) 10.15.xx.xx/16 (vPC IP)
Transport Type – UDP Transport Type – TCP
Listening Port : 5068 LinPhone IP
X-Lite Listening Port : 5060
Coder – G.711ulaw Coder – G.711ulaw
11115551101 11115551102

Prior to starting the lab, Restore the GW to Defaults;


Actions -> Configuration File -> Restore Defaults
(make sure Preserve Network configurations IS selected)
For actual SBC and vPC IP addresses, see the Virtual PC SBC
document assigned by the instructor
SBC – Interface Table

Note: Pre-Configured for the labs. Please don’t change the IP


address. Change the “Name” to O+M+C.
Configuration is related to Group 1
Media Realm Table

• Media Realm 1: IP-PBX media ports: 7000-7490


• Media Realm 2: ITSP media ports: 8000-8490
SIP Interface Table – SIP Interface IP-PBX

• Connection to IP-PBX based on SIP UDP port 5068


SIP Interface Table – SIP Interface ITSP

• Connection to ITSP based on SIP TCP port 5060


Proxy Sets Table – Proxy Set IP-PBX

Proxy address is the IP address of the vPC 10.15.XX.XX:5068

UDP
Proxy Sets Table – Proxy Set ITSP

Proxy address is the IP address of the vPC 10.15.XX.XX:5060

TCP
IP Group Table – IP Group IP-PBX
IP Group Table – IP Group ITSP
IP to IP Routing Table – Rule for IP-PBX to ITSP
IP to IP Routing Table – Rule for ITSP to IP-PBX
Expected Configuration
Enable Syslog for Troubleshooting

Your vPC’s IP address


Test calls

• From the X-Lite softphone (telephone: 11115551102) call to


11115551101
• Linphone telephone number: 11115551101 should ring

• From the LinPhone (telephone: 11115551101) call to 11115551102


• ITSP (X-Lite) telephone number: 11115551102 should ring
• NOTE: Only enter the dialed phone number (Not the URI) in the LinPhone

• Open syslog
• Verify that the SBC performs the right routing decisions
Expected results

IPPBX ITSP
SBC
LinPhone (X-Lite)
Lab 3

E-SBC Transcoding
Lab Environment

Mediant VE - SBC
10.15.xx.xx/16

IP-PBX ITSP
10.15.xx.xx/16 10.15.xx.xx/16
Transport Type – Transport Type – TCP
UDP LinPhone IP
X-Lite Listening Port : 5060
Listening Port : 5068 Coder – G.722
Coder – G.711ulaw
11115551101 11115551102

Continue with configuration from Lab 1 applying the codec changes


See section at beginning of this guide to see where on the X-Lite to change
the Codec.
Transcoding

• Coders :
• Change the ITSP (X-Lite) coders list and enable only G.722
• Update ITSP (X-Lite) & IP PBX (Linphone) IP profiles
• Make calls in both directions
Allocate Media Channels – *Only needed for M1K
Add the G.722 Coder
Allow G.722 coder only
• To avoid G.711 uLaw negotiation

3
Allow G.722 coder only

5
Create the IP Profile

3
Assign the IP Profile to the “ITSP” IP Group
Configuration Result

LinPhone X-Lite
“IP-PBX” E-SBC “ITSP”
G.711uLaw
Added
G.722

Removed
G.711u
G.722

G.722
No Change
G.711uLaw
Configuration on the direction ITSP to IP-PBX

• Perform the configuration required for generating a call in the


opposite direction from “ITSP” to “IP-PBX”. Add the appropriate
configuration to allow this call to work.

• Enable syslog for troubleshooting


Test calls

• From the X-Lite softphone (telephone: 11115551102) call to


11115551101
• Main PBX (Linphone) telephone number: 11115551101 should ring

• From the Linphone (telephone: 11115551101) call to 11115551102


• ITSP (X-Lite) telephone number: 11115551102 should ring

• Open syslog
• Verify that the SBC performs the right routing decisions
• Verify that the SBC performs the required transcoding
Expected results

IPPBX ITSP
SBC
(Linphone) (X-Lite)
Expected results (incoming Invite)
Expected results (outgoing Invite)
Lab 4

SIP Header Manipulation


Lab Environment

Mediant VE - SBC
10.15.xx.xx/16

IP-PBX ITSP
10.15.xx.xx/16 10.15.xx.xx/16
Transport Type – Transport Type – TCP
UDP LinPhone IP
X-Lite Listening Port : 5060
Listening Port : 5068 Coder – G.722
Coder – G.711ulaw
11115551101 11115551102

Continue with configuration from Lab 3


Test calls

• From the Linphone (telephone: 11115551101) call to 11115551102


• ITSP (X-Lite) telephone number: 11115551102 should ring

• Open syslog/wireshark
• Verify that the SBC performs the right routing decisions
• Verify that the SBC performs the required transcoding
• Verify that the ITSP’s requirements described in the next pages are accomplished (see
the expected results in the next pages)

• NOTE: As we are using soft clients on the same PC, calls should
complete, but might include extraneous SIP Messages. These labs are
designed to show how to use message manipulations, so if these
extra messages appear, ignore them.
Assign Message Manipulation Set to IP Groups
• Assign Inbound and Outbound Message Manipulation Set for the IP-PBX IP Group
• Inbound: 1 - Outbound: 2
Assign Message Manipulation Set to IP Groups
• Assign Inbound and Outbound Message Manipulation Set for the ITSP IP Group
• Inbound: 3 - Outbound: 4
Exercise 1: “From” Header Modification
• For all IP-PBX (LinPhone) Outgoing Invites: Modify the User part of the “From” header to
999
Exercise 1: Expected result
Exercise 2: Add an “IP Group Type” Header
• For all IP-PBX (LinPhone) Outgoing Invites: Add a header called IPGROUP that will
contain the Source IP Group Type
Exercise 2: Expected result
Exercise 3: Change the Host of the To Header

• For all Responses to (LinPhone) Outgoing Invites: Modify the Host part of the To
header in the 200 OK to ITSP.com
Exercise 3: Expected result

Tip: Look for a different way to achieve the same but


results without the need for configuring
manipulations
Exercise 4: Change the SDP Origin Address

• For all 200 OK Responses to Invites from ITSP (X-lite), modify the Origin address
to ‘8.8.8.8’
Exercise 4: Expected result
Exercise 5: Add Priority Header for Emergency Calls

• For all Outgoing calls to 911 from the IP PBX (LinPhone), add a Priority header
= "Emergency"
Exercise 5: Expected result
Exercise 5: Expected result

IP-PBX ITSP
(Linphone) (X-Lite)

Note: There is no Emergency Server in place. X-lite will still ring.


You should answer the call and check the Syslog results.
Exercise 6: Add an application to SDP

For all incoming Invites to the IP-PBX (LinPhone) from the ITSP (X-Lite):
Add the application type x-nt-mcdn-frag-hex to include:
‘i=AudioCodes SBC Training Class\\
[email protected]\\
p=9192873500\\
note=newlinecharacter’
Exercise 6: Expected result

Note: After this exercise, remove this Message Manipulation. Calls will NOT complete
because the LIN Phone client does not like this header, this lab demonstrates the how
to modify the body only.
Exercise 7: Number Manipulations

• Make a call from the ITSP (X-Lite) to the IP-PBX (Linphone) using either the
complete number (11115551101) or the following short format number: 5x101.
• Do the necessary manipulations to make sure that the call will establish.
Exercise 7: Expected result

Incoming call to the


SBC before
manipulations

Outgoing call from


the SBC after
manipulations

Tip: Can you achieve a similar result using message manipulations


instead of number manipulations? What will be the difference?
Lab 5

Survivability
Lab Environment

Mediant VE - SBC
10.15.xx.xx/16

IP-PBX ITSP
10.15.xx.xx/16 10.15.xx.xx/16
Transport Type – Transport Type – TCP
UDP LinPhone IP
X-Lite Listening Port : 5060
Listening Port : 5068 Coder – G.722
Coder – G.711ulaw
11115551101 11115551102

11115551102
ITSP2
10.15.10.15/16
Continue with configuration from Lab 4 Transport Type – TCP
Listening Port : 5060
Make sure to have removed the Manipulation from Exercise 6 Coder – G.722
Exercise 1 – IP-PBX to ITSP1/ITSP2 using Proxy Failover

• On the ITSP IP Group remove the Inbound Message Manipulation set (set 3)
• Modify Proxy set and child address table as shown below
Exercise 1 – IP-PBX to ITSP1/ITSP2 using Proxy Failover

• From the Linphone (telephone: 11115551101) call to 11115551102


• ITSP (X-Lite) telephone number: 11115551102 should ring
• Close and exit out of the xLite Client
• Make same call, ITSP2 (Test Call) will answer and connect the call
• Start the xLite Client again (wait 60 seconds)
• Make same call, ITSP 1 (xLite Client) should ring – it may take more than 60 seconds
in the virtual lab environment

• Open syslog/wireshark
• Verify that the SBC performs the right routing decisions
Exercise 2 – IP-PBX to ITSP1/ITSP2 using Alternative Routing

• Set ITSP Proxy back to original configuration

Remove ITSP address from Proxy Address table

Delete this entry


Exercise 2 – IP-PBX to ITSP1/ITSP2 using Alternative Routing

• Create alternative routing rule below primary routing rule from IP-PBX
to ITSP 2

TCP
Test calls

• Exercise 2 – IP-PBX to ITSP1/ITSP2 using Alternate Routing


• From the Linphone (telephone: 11115551101) call to 11115551102
• ITSP (X-Lite) telephone number: 11115551102 should ring
• Close and exit out of the xLite Client, wait 60 seconds (Options to xlite need to fail to
respond)
• Make same call, ITSP2 (Test Call) will answer and connect the call
• Start the xLite Client again (wait 60 seconds)
• Make same call, ITSP 1 (xLite Client) should ring – it may take more than 60 seconds
in the virtual lab environment

• Open syslog/wireshark
• Verify that the SBC performs the right routing decisions
Thank You

Stay in the loop

You might also like