SBC I Student Lab Guide R7.2 - Remote Online Lab - v2.3
SBC I Student Lab Guide R7.2 - Remote Online Lab - v2.3
September 2020
Introduction
• In every Virtual PC you will find the 2 following softphones with the
configured characteristics:
User Name /
SoftPhone Company Transport Port
Phone Number
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
Enter only the phone number in the “SIP Address or phone number” Field
Linphone - Incoming call notification
• 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)
• Choose both Alarm options and check your active and history alarms
• 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
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
Tip: You can upload an INI Incremental file using the Auxiliary Files
option. What is the benefit of this?
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
UDP
Proxy Sets Table – Proxy Set ITSP
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
• 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
• 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
• 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
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
• 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
• 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)
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
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
• Open syslog/wireshark
• Verify that the SBC performs the right routing decisions
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
• Open syslog/wireshark
• Verify that the SBC performs the right routing decisions
Thank You