03 - Gateways Basic
03 - Gateways Basic
AudioCodes Academy
https://www.audiocodes.com/services-support/audiocodes-academy
Course Objectives
• Installation and Configuration of AudioCodes equipment using various management methods
• Operation and Maintenance of AudioCodes equipment (Performing backups, version
updating, configuration changes)
• Conducting basic interoperability and support services
• Identify and isolate relevant configuration parameters for a variety of services including SIP
proxy, fax, modems, and DTMF transport and dialing
• Provision digital trunks
• Describe and demonstrate AudioCodes gateway functionality with regard to call processing
and routing for Tel to IP and IP to Tel call scenarios
• Troubleshooting and Debugging of AudioCodes equipment
2
Lessons & Course Time Table
Day 1 Day 2
Welcome & Course Description Overview Lab 2 – SIP Call Tests
AudioCodes Introduction Lab 3 – Call with Proxy
Introduction to Legacy Telephony FXO
Introduction to IP Telephony Lab 4 – FXO
AudioCodes Documentation Common Features
MediaPack Overview Lab 5 – Hunt Group
Assigning Networking Parameters Lab 6 – Number Manipulation
Management Maintenance MPs
Management Maintenance Mediants
Basic SIP Configuration
Basic Debugging Tools
Lab 1 – Basic Call
3
Lessons & Course Time Table
Day 3 Day 4
Mediant Family Lab 10 – Primary Rate Interface
Mediant Family Configuration Advanced Debugging Tools
Lab 7 – Digital Gateways Basic Lab 11 – Debugging Tools
Lab 8 – Alternative Routing Certification Exam
Lab 9 – Profiles Course Summary
4
Lesson 1
AudioCodes Introduction
AudioCodes in a glance
6
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
7
Our Customers
8
Broadest Portfolio of Products
Management/Apps
Routing Manager OVOC CloudBond 365/CCE Apps
IP Phones
405 420 430 440 450
Pure SBC
Mediant 2600 Mediant 4000 Mediant 9000
Software SBC
Mediant VE Virtual Edition Mediant SE Software Edition
Hybrid SBC/Gateway
Mediant 500/L Mediant 800 Mediant 1000 Mediant 3000
Gateways/Adaptors
MP-2xx MP-1xx MP-124 MP1288
9
AudioCodes All-in-One Voice Solution
10
Professional Services
We are passionate about satisfaction and drive to empower our business partners to
sell, support our customers, and deliver global value-added logistics services
12
9 3
11
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
12
Operational Services – ACTS & CHAMPS
13
Technical Training – Career Certifications
14
Technical Training Website
15
AudioCodes Website - www.audiocodes.com
16
Lesson 2
18
The Telephone Network
• PSTN (Public Switched Telephone Network) is the generic name for the worldwide
public telephone network
• Comprises mainly telephone switches (exchanges) and telephones, networked to
form the worldwide telephone communications system
• Also known as POTS (Plain Old Telephone Network)
19
The Telephone Network
Hierarchical Network
Intercity
Trunk
Trunk Trunk
Subscribers Subscribers
20
The Telephone Network
Trunk
Subscriber Subscriber
Loop Loop
Subscriber Subscriber
Telephone Set Telephone Set
21
Typical Analog Circuit
• The twisted pair wires from the central switch office to a subscriber's home is called
a subscriber loop
• The subscriber loop handles two types of information: signals and voice on the
same twisted pair
Central Office
Subscriber
Telephone Set
Switch
22
Loop Start Signaling
Loop
Receiver
23
On-Hook
• In the on-hook stage, the switch is open and there is no current flow
Telephone
Switch
Local Local
Loop Loop
24
Off-Hook
• When the handset is picked up (going off-hook), a switch on the phone closes the
connection between the two wires and a -48 VDC current is drawn from the central
office switch
• The switch determines that the current is being drawn and provides a dial tone so
the caller knows it is time to dial a number
Telephone
Switch
Dial Tone
Local Local
Loop Loop
25
Dialing
• Upon hearing the dial tone, the user pushes the number buttons, which are
connected to a tone generator inside the dial, which generates DTMF tones
• The Telephone Switch collects the DTMF digits and maps them to a physical
subscriber
Telephone
Switch
Dialing (DTMF
Transmission)
Local Local
Loop Loop
26
DTMF - Dual Tone Multi-Frequency
697 1 2 3 A
770 4 5 6 B
852 7 8 9 C
941 * 0 # D
27
Ringing
• The Telephone Switch applies an AC ringing voltage which causes the sound
mechanism of the Called Telephone to ring
Telephone
Switch
Local Local
Loop Loop
28
Conversation
Telephone
Switch
Voice Voice
Local Local
Loop Loop
29
Call Tear Down
• When a party "hangs up" (puts the handset on the cradle), the DC current ceases to
flow in that line, signaling to the telephone switch to disconnect the call
• The switch plays a fast busy tone to the remote party
Telephone
Switch
Local Local
Loop Loop
30
Call Progress Tones
• In Telephony, call progress tones are audible tones sent from the PSTN or a PBX to
the calling / called parties to indicate the status of phone calls.
• Examples of some tones:
Assures the calling party that a ringing signal is being sent on the
Ringback Tone called party's line
Busy Tone Indicates to the calling party that the remote phone is occupied
Indicates that a person has dialed an invalid code, or that all trunks are
Reorder Tone (Fast Busy) busy and/or their calls are un-routable
31
Telephony Network (1)
415-577-3800
415-577-3801
Telephone Switch
(Central Office)
415-577-3700
415-577-3701
415-577-3722
415-577-3733
Company X
415-577-3760
415-577-3785
32
Telephony Network (2)
415-577-3800
415-577-3801
Telephone Switch
(Central Office)
415-577-3700
415-577-3701
415-577-3722
Digital Trunk
415-577-3733
Company X 415-577-37xx
415-577-3760 PBX
415-577-3785
33
Digital Communication
• A digital trunk is a single communication path between two switches that is used to
carry many simultaneous voice conversations
34
Pulse Code Modulation (PCM)
• A method of encoding an audio signal in digital
format world
• A standard audio signal is encoded by taking
8000 analog samples per second
• Each sample is quantized with an 8 bit value,
resulting in a digital signal known as DS0, to be
transferred at a speed of 64 kbps
• A companding algorithm with 2 different
flavors is used to reduce the quantization error.
• Mu-Law mainly used in North America and
Japan
• A-Law used in Europe and the rest of the
world
35
Time Division Multiplexing (TDM)
1 1
64 Kbps
2 2
64 Kbps
3 2 1
3 3
64 Kbps
Multiplexer Demultiplexer
. . . 32 . . . 32
64 Kbps
36
E1
• Data rate of 2.048 Mbps (full duplex)
• Split into 32 time slots
• Each time slot sends and receives an 8-bit sample 8000 times per second
(8 x 8000 x 32 = 2,048 Mbps)
• Ideal for voice telephone calls where the voice is sampled into an 8 bit number (PCM)
• One timeslot (TS0) is reserved for framing purposes
• One timeslot (TS16) is often reserved for signaling purposes
Maintenance 1 2 15 17 30
Signaling
Framing
Voice
Voice
Voice
Voice
Voice
and
... ...
0 1 2 15 16 17 31
2.048 Mbps
37
T1
• Data rate of 1.544 Mbps
• Split into 24 time slots each encoded in 64 Kbps streams
• 8 Kbps of framing information for synchronization
• 64,000 x 24 + 8000 = 1544 Mbps
• Timeslot (TS24) is often reserved for signaling purposes
Signaling 23 22 15 13
Framing
Voice
Voice
Voice
Voice
Voice
Voice
... ...
24 23 22 15 14 13 1
1,536 Mbps
38
Signaling Methods
• In-band signaling is the exchange of signaling (call control) information on the same B-channel that the
telephone call itself is using
• Examples: CAS (Channel Associated Signaling), Loop Start
• Out-of-band signaling is the exchange of signaling that is done on a channel that is dedicated for the
purpose and separate from the channels used for the telephone call
• Examples: Common Channel Signaling (CCS) such as the D Channel (ISDN) and SS7
Signaling Link
Voice Link
39
ISDN
40
ISDN (Q.931) Call Flow
Call Proceeding
Connect
Off hook
Voice Channel
On hook Disconnect
Release
Release complete
41
BRI
• The ISDN Basic Rate Interface (BRI) service offers two B-channels and one
D-channel (2B+D)
• B-channel service operates at 64 kbps and is meant to carry user data
• D-channel service operates at 16 kbps and is meant to carry control and signaling
information
1 2
Framing and
Voice Voice
Signaling
D B1 B2
144 Kb/s
42
Lesson 3
Introduction to IP Telephony
Objectives
44
What is VoIP
• VoIP is a set of technologies that enables the transmission of voice traffic over IP-
based networks instead of the Plain Old Telephone System (POTS)
45
Circuit vs. Packet Switching
• Circuit Switching
• Traditional voice calls, running over the PSTN, are made using circuit switching,
where a dedicated circuit or channel is set up between two points before the users
talk to one another
• Packet Switching
• A data transmission technique in which data is separated into small 'packets', each
with its own routing information and then sent through a shared, often public,
network
• At the other end, the packets are reassembled into the original data format.
In this method bandwidth is only used when something is actually being transmitted
46
VoIP Architecture
IP Telephone IP Telephone
IP Network
Gateway Gateway
PSTN PSTN
47
VoIP Protocol Stack
48
VoIP Protocol Stack
SDP
MGCP
MEGACO
SIP
H.323 audio
video
H.225
H.245 Q.931 RAS RTP RTCP
TCP UDP
IPv4 / IPv6
Data Link Layer
Physical Layer
49
Introduction to RTP
V P X CC M PT Sequence Number
Voice Bits
50
Voice Codecs
• A codec (Coder/Decoder) converts analog signals to a digital bitstream, and back into an
analog signal for transmission across IP networks.
• Codecs generally provide a compression capability to save network bandwidth. Some codecs
also support silence suppression, where silence is not encoded or transmitted
G.729 CS-ACELP 8
G.723.1 ACELP 5.3
G.723.1 MPC-MLQ 6.3
51
VoIP Challenges
• Delay
• Each component in the path adds delay (sender, network, receiver)
• ITU-T G.114 recommends 150 msec as the maximum desired delay to achieve high voice
quality.
• Jitter
• Defines variation in delay
• The effects of jitter can be mitigated by storing voice packets in a jitter buffer upon arrival
and before producing audio
• Packet loss
• Occurs either in bursts or due to a congested network
• Periodic loss in excess of 5-10% of all VoIP packets can significantly degrade voice quality
52
Delay
Sender Receiver
Start Talk
Network
End-to-End Delay
53
Jitter
• Jitter (delay variation) caused when voice packets suffer different transit delays, causing
variation in arrival times at the receiver
• The jitter buffer collects voice packets, stores them and sends them to the voice processor in
evenly spaced intervals
P1 P2 P3 Sender
time
P1 P2 P3 Receiver
time
D1 D2 = D1 D3 = D2
54
Introduction to SIP
• The Session Initiation Protocol (SIP) is a signaling protocol for initiating, managing
and terminating voice and video sessions across packet networks.
• It is based on a client-server architecture in which clients initiate calls and servers
answer calls.
• It is defined by IETF and documented in RFC 3261.
55
SIP Network Entities
56
User Agent (UA)
• A SIP User Agent is an entity which initiates and terminates sessions by exchanging requests and
responses
• The User Agents consists of two components:
• User Agent Client UAC (originates requests)
• User Agent Server UAS (reply for requests)
Request
UAC Response UAS
Request
UAS Response
UAC
57
Basic SIP Call Flow
100 Trying
Ringing
180 Ringing
Ringback
200 OK (SDP) Off-hook
ACK
RTP-RTCP
On-hook BYE
200 OK
58
SIP Requests: Basic Methods
Method Description
59
SIP Requests: Extended Methods
Method Description
INFO Mid-call signaling (DTMF, hook-flash, etc.)
REFER Call transfer
User agent establishes a subscription for the purpose of receiving
SUBSCRIBE
notifications
User agent conveys information about the occurrence of a particular
NOTIFY
event (such as MWI)
PRACK Acknowledges receipt of reliably transported provisional responses (1xx)
60
SIP Responses
Informational Redirection
Indicates status of call prior to completion Server has returned possible locations. The
client should retry requests at another server.
100 Trying
180 Ringing 300 Multiple Choices
181 Call is being forwarded 301 Moved Permanently
182 Call Queued 302 Moved Temporarily
183 Session Progress 380 Alternative Service
Success
Request has succeeded
200 OK
202 Accepted
61
SIP Responses (cont.)
Client Errors Server Failure
The request has failed due to an error by the The request has failed due to an error by the server.
client. The client may retry the request if The request may be retried at another server.
reformulated according to response
500 Server Internal Error
400 Bad Request 501 Not Implemented
401 Unauthorized 502 Bad Gateway
403 Forbidden 503 Service Unavailable
404 Not Found
405 Method not Allowed Global Failure
407 Proxy Authentication Required
415 Unsupported Media The request has failed. The request should not be
486 Busy Here tried again at this or another server.
600 Busy Everywhere
603 Decline
604 Doesn’t Exist Anywhere
606 Not Acceptable
62
SIP Addressing
• SIP requests and responses are sent to particular addresses known as Uniform
Resource Identifier (SIP URI)
• Typically, routing is performed according to the Request-URI and not according to
the To header
• Convention: user@host
• User can be: user name or Tel number
• Host can be: domain name or IP address
63
INVITE
v=0
o=AudiocodesGW 1725394110 1725393989 IN IP4 10.33.6.100
s=Phone-Call
c=IN IP4 10.33.6.100
t=0 0
m=audio 6000 RTP/AVP 8 96
a=rtpmap:8 PCMA/8000
a=rtpmap:96 telephone-event/8000
a=fmtp:96 0-15
a=ptime:20
a=sendrecv
64
200 OK
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.33.6.100;branch=z9hG4bKac1725404454
From: <sip:[email protected]>;tag=1c1725402038
To: <sip:[email protected];user=phone>;tag=1c1534094691
Call-ID: [email protected]
CSeq: 1 INVITE
Contact: <sip:[email protected]>
Supported: em,timer,replaces,path,resource-priority
Server: Audiocodes-Sip-Gateway-MP-118 FXS_FXO/v.5.00A.043.001
Content-Type: application/sdp
Content-Length: 260
v=0
o=AudiocodesGW 1534112064 1534111943 IN IP4 10.33.6.101
s=Phone-Call
c=IN IP4 10.33.6.101
t=0 0
m=audio 6000 RTP/AVP 8 96
a=rtpmap:8 PCMA/8000
a=rtpmap:96 telephone-event/8000
a=fmtp:96 0-15
a=ptime:20
a=sendrecv
65
General Main Header Fields
Header Description
Call-ID The Call-ID uniquely identifies a particular dialog between two UAs
Contains the name and the address of the originator of the request. Also
From
contains a tag, used to identify a particular call
Contains the name and the address of the called party.
To The “To” header field isn’t used for routing; the Request-URI is used for
this purpose.
Indicates the path in terms of proxies taken by the request. Used to
Via prevent looping on requests and to ensure that responses take the same
path.
66
Other important Header Fields
Header Description
Maximum number of proxies that can forward the request. Used to avoid
Max-Forwards
looping on requests in a similar way to IP’s TTL
Contact Indicates one or more addresses to use in order to contact the user
Used by clients to tell servers about the options that they expect the
Require
server to support in order to process the request
67
Session Description Protocol (SDP)
• Provides negotiation between two SIP UAs to allow them to agree on a media type
and format
• Contains information on the media to be replaced such as RTP payload types, IP
address and ports
• Carried in SIP message body
v=0
o=AudiocodesGW 1725394110 1725393989 IN IP4 10.33.6.100
s=Phone-Call
c=IN IP4 10.33.6.100
t=0 0
m=audio 6000 RTP/AVP 8 96
a=rtpmap:8 PCMA/8000
a=rtpmap:96 telephone-event/8000
a=fmtp:96 0-15
a=ptime:20
a=sendrecv
68
PRACK
PRACK
69
Early Media
• Used to set a voice connection prior to the establishment of the call (before
200 OK is received).
• Mostly used for playing announcements or Ringback tone.
• Method used: 183-Session Progress with SDP (instead of 180)
EarlyMedia
70
SIP Servers - Proxy
• Receives a SIP request from a user and acts on the user’s behalf in forwarding or
responding to the request
• Typically has access to a database or a location service to help it process the
request (determining the next hop)
• Performs functions such as:
• Authentication
• Authorization
• Network access control
• Routing Proxy Server
Media Session
71
Call Flow with Proxy (case 1)
INVITE (SDP)
100 Trying
INVITE (SDP)
100 Trying
180 Ringing
180 Ringing
200 OK (SDP)
200 OK (SDP)
ACK
RTP-RTCP
BYE
200 OK
72
INVITE after Traversing the Proxy
73
Call Flow with Proxy (Case 2)
INVITE (SDP)
100 Trying
INVITE (SDP)
100 Trying
180 Ringing
180 Ringing
200 OK (SDP)
200 OK (SDP)
ACK
ACK
RTP-RTCP
BYE BYE
200 OK
200 OK
74
INVITE after Traversing the Proxy
75
SIP Servers - Registrar
76
Registration Call Flow
Register
401 Unauthorized
Register
200 OK
77
Registration Call Flow
78
Registration Call Flow
SIP/2.0 200 OK
Via: SIP/2.0/TLS user1.mynet.com:5061; branch=z9hG4bKnashds7; received 15.0.0.1
From: myname <sips:myname@mynet. com>; tag=a73kszlfl
To: myname <sips:myname@mynet. com>;tag=37GkEhwl6
Call-ID: [email protected]
CSeq: 2 REGISTER
Contact: <sip:[email protected]> ;expires=3600
Content-Length: 0
79
Enterprise PSTN & Data Network
Headquarters
Branch
PSTN
IP
Telecommuter
80
FXS Gateways
• FXS (Foreign Exchange Station) – Emulates a PSTN/PBX.
Provides battery power, sends dial tones and generates ringing voltage.
A standard telephone / fax machine plugs into such an interface to receive telephone
services.
• FXS gateways convert (in real time) loop start signaling to SIP and variable electric currents to
RTP
FXS Gateway
IP Phone
IP Signaling
IP
Local Loop IP Voice
81
FXO Gateways
• FXO (Foreign Exchange Office) – Generates the on-hook and off-hook indicators used to
signal a loop closure at the FXS's end of the circuit.
Analog telephone handsets, fax machines and (analogue) modems are FXO devices
• FXO gateways convert (in real time) loop start signaling to SIP and variable electric currents
to RTP
FXO Gateway
PBX
IP Signaling
IP Phone
IP Voice
IP Local Loop
82
FXS Call Flow
Analog Phone
FXS Gateway
IP
Dialing
INVITE
100 Trying
180 Ringing
Ringback Tone
200 OK
ACK
Voice
On-hook BYE
200 OK
83
Digital Gateway
• Digital gateways convert (in real time) ISDN or CAS signaling to SIP and PCM to
RTP
PBX
E1 / T1
84
ISDN Call Flow
PBX Digital Gateway
IP
Setup
INVITE
Call Proceeding
100 Trying
180 Ringing
Alert
200 OK
Connect
ACK
Voice
Disconnect
Release BYE
85
Media Processing
IP RTP
Network
Digital Gateway Analog Gateway
Packetization Decoder
RTP
86
Lesson 4
AudioCodes Documentation
Lesson Objectives
88
Obtaining AudioCodes Documentation
• You can access all AudioCodes' documentation from AudioCodes Web site
• This includes:
• Technical documentation (user manuals, hardware installation manuals, configuration
notes and release notes)
• Homologation material (regulatory information)
• Partner/channel material (interoperability guides etc.)
• Marketing material (white papers, application notes, product notices, etc.)
89
Obtaining Document
90
Obtaining Document (Cont.)
91
Specific Documentation
92
Enterprise Gateways and SBCs User’s Manual
93
Hardware Installation Manual
94
Additional Documentation
95
Additional Documentation
• Complementary Guides
• Includes
• Reference Guides
• Design Guides
• Security Guidelines
• Utilities Guides
• Others
• Identified by software release version
96
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
97
Lesson 5
99
Typical MediaPack VoIP Application
100
FXS vs. FXO
FXS FXO
Foreign eXchange Subscriber Foreign eXchange Office
Receives hook flash, off hook, on Generates hook flash, off hook, on
hook hook
Receives and Transmits DTMF Receives and Transmits DTMF
Provides Ring and Dial Tone, Caller ID Receives Caller ID, Ring Tone, Dial
Tone
101
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
102
Analog Gateways Portfolio
Power Supply AC AC AC AC / DC AC / DC
103
MediaPack MP-11x
• MP-11x with 2, 4 or 8 FXS/FXO Ports
• RJ-11 connector, RS-232 and Ethernet
• Same Firmware for all MP-11x
MP-11x Front Panel
104
MP-11x Rear Panel
105
MediaPack MP-124
• MP-124 with 24 FXS Ports
• 50-pin Telco Connector, RS-232 and Ethernet
• AC or DC Power Supply
MP-124 Front Panel
106
MP-124 Rear Panel
107
MP-1288 Overview
• 19” x 3U Chassis
• Single CPU module
• 4 Analog blades, each supporting 72 ports
• 3 x 24 Port Connectors (same 50-pin connector as MP-124)
• 1+1 AC Power Supplies
• Front to Rear Cooling
• Extractable fan tray
• 1+1 Gig ETH connection
• DSPs on each Blade
• Hot-swappable
• Supports short and long haul up to 7.5 Km
• SBC functionality
• 3 lifeline ports per blade
• DSPs on each Blade
• Support for emergency/elevator phones that require higher loop current and increased ring voltage
• Integrated protection against surge damages on FXS ports
• Support line test functionality
108
MP-1288 Overview
MP-1288 Front Panel
• Provides a wired analog POTS connection to any PSTN or PBX FXS port when power fails or
when the network connection fails
• Available configurations:
• FXS only: A single Lifeline connected to Port #1 using a splitter
• Mixed FXS and FXO: Splitter not required - all FXS ports automatically connected to FXO ports
(e.g., FXS Port 1 to FXO Port 5)
• FXO only: Lifeline not available
• Activated by parameter LifeLineType
Telephone PBX/PSTN
Telephone
PBX/PSTN
110
Analog Lifeline Support – MP1288
• Each FXS blade supports up to three FXS Lifelines, one per FXS connector
• For each connector, the first channel provides the connection to the Lifeline
extension and the last channel is the Lifeline interface providing the connection to
the PSTN / PBX
• For FXS connector labeled FXS 1-24, channel 1 is the Lifeline extension and channel
25 is the Lifeline interface for the PSTN / PBX
Telephone PBX/PSTN
111
Lesson 6
113
Assigning Networking Parameters
114
Default Factory IP Address
Product Default
FXS and FXS / FXO devices – 10.1.10.10
MediaPack MP-11x and MP-124 Analog GW
FXO devices – 10.1.10.11
Software E-SBC
192.168.0.1/24
Mediant 9000 E-SBC
MediaPack MP-1288
Mediant 500 E-SBC
Mediant 800 E-SBC 192.168.0.2/24
Mediant 1000 E-SBC
Mediant 2600/4000 E-SBC
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
115
Assigning IP Address – HTTP
117
Assigning IP Address – HTTP (v7.2)
118
Assigning IP Address – BootP
119
AudioCodes’ BootP & TFTP Utility – Preferences
120
BootP & TFTP Utility – Client Configuration
MAC address
Enable Device
121
BootP & TFTP Utility – Monitor
Monitoring
Area
122
Question
• Why does the gateway revert to the old software version after it is reset?
• When loaded via BootP/TFTP, the CMP file must be burned to flash
(using the –fb option)
• Otherwise the CMP file is only stored in the volatile memory (RAM)
123
Assigning IP Address – DHCP
124
Assigning IP Address – DHCP (v6.6)
125
Assigning IP Address – DHCP (v7.2)
126
Question
127
Assigning IP Address – RS-232 MPs (CMD Shell)
• Connect the gateway's RS-232 port to your PC
• Use the following communications port settings:
• Baud Rate: 115, 200 bps
• Data bits: 8
• Parity: None
• Stop bits: 1
• Flow control: None
• At the CLI prompt, type conf and then press <Enter>
• To check the current network parameters, at the prompt type GCP IP, and then press
<Enter>
• Change the network settings by typing:
• SCP IP [ip_address] [subnet_mask] [default_gateway]
e.g., SCP IP 10.13.77.7 255.255.0.0 10.13.0.1
• To save the configuration, type SAR and then press <Enter>; the gateway restarts with the new
network settings
128
Assigning IP Address – RS-232 MP-1288/Mediants CLI
Username: Admin
Password: *****
Mediant 800#
After ‘exit’ the address changed. Logon again using the new IP address
131
Assigning IP Address – Voice Menu
133
Lesson 7
Management & Maintenance
Web Interface - MediaPack MP-11X/MP-124
Lesson Objectives
135
Management and Maintenance Interfaces
Configuration File
(referred to as the ini file) REST-based programs
(such as AudioCodes’ OVOC)
136
Accessing the Web Interface
137
Getting Acquainted with the Web Interface
Navigatio
n
Bar
Navigatio
n
Tree
138
Getting Acquainted with the Web Interface
Title Bar Tool Bar
Navigation
Bar
Navigation
Tree
Work pane
• Title Bar
• Displays the corporate logo and product name
• Tool Bar
• Provides frequently required command buttons for configuration
• Navigation Bar
• Provides tabs for accessing the configuration menus, creating a scenario, and searching
parameters
• Navigation Tree
• Displays the elements pertaining to the tab selected on the Navigation Bar
• Work pane
• Displays configuration pages where all configuration is performed
140
Title Bar
• Title Bar
• Displays the corporate logo and product name
• Company logo
• Loaded image file, gif, png or jpeg
• Loaded text via ini file
• Device Name
Company Device
logo Name
141
Tool Bar
• Tool Bar
142
Tool Bar (cont'd)
• If you click the Submit button after modifying parameters that take effect only after
a device reset, the Tool Bar displays ‘Reset’ (in red)
• This is a reminder to later save ('burn') your settings to flash memory and reset the
device
143
Navigation Bar
• Navigation Bar
• Provides tabs for accessing the configuration menus, creating a scenario, and searching
parameters
Icon Description
Includes all gateway parameters and tables
Allows you to create your own ‘menu’ with pages selected from the
menus in the Navigation Tree. Not supported anymore in version 6.8
Search engine enabling searching for any ini file parameter that is
configurable in the Web interface
144
Navigation Tree
Basic / Full
• Navigation Tree view
145
Work Pane
• Work pane
• Displays configuration pages where all configuration is performed
• Displaying Basic or Advanced Parameter List
• Advanced Parameter List displays all parameters
• Basic Parameter List displays only common parameters
• When the Navigation Tree is in ‘Advanced' mode, the 'Advanced Parameter List'
view is displayed Advanced/Basic
Parameter List
146
Work Pane (cont'd)
147
Modifying/Saving Parameters
148
Modified Parameter
• In case of invalid parameter value, after the select Submit, you will get a Red Alert
149
Modifying/Saving Parameters (cont'd)
150
Maintenance Actions
151
Maintenance Actions
• Reset: After a Web reset, the gateway starts from Flash and doesn’t issue BootP
requests
• LOCK: The gateway doesn't accept any new incoming calls
• BURN: Save the running configuration to the memory
• Graceful: Shutdown will perform only after X time or no more active traffic exists
152
Navigation Bar – Configuration
153
Navigation Bar – Management
155
Navigation Bar – Search
• The search engine enables searching for any ini file parameter that is configurable
in the Web interface
Search
Field Parameter
highlighted
in page
Searched
Results
156
Admin Page
• Use AdminPage to configure parameters that don’t appear in the regular Web
menu
Case
Sensitive
157
ini File
Configuration ini File
159
Configuration File Example
160
Configuration File (ini file)
161
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
162
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:
163
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
164
AudioCodes INI Viewer & Editor
165
AudioCodes INI Viewer & Editor
166
Restore and Back Up the ini File
• Device Actions > Load/Save Configuration File
• Maintenance tab > Software Update menu > Configuration File
167
Loading Incremental ini File
• Maintenance tab > Software Update menu > Load Auxiliary Files
• Used to load specific parameters to the gateway
• Parameters not included in the ini file are retained (and not reset to defaults)
• After loading the ini file the gateway doesn’t reset automatically
168
Upgrading & Downgrading Software
• The gateway can be updated with software (cmp file), configuration (ini file),
auxiliary files and license key (not relevant to MPs) using:
• Web interface
• BootP/TFTP utility
• Automatic Update Mechanism
169
Upgrading/Downgrading Software – via Web Interface
• Maintenance tab > Software Update menu > Software Upgrade Wizard
170
Upgrading/Downgrading Software – via Web Interface
171
Restoring Factory Default Settings
• The device's factory defaults can be restored using :
• Reset button
• CLI
• CONFiguration > RestoreFactorySettings
172
Lesson 8
Management & Maintenance
Web Interface - MediaPack MP-1288/Mediants
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
175
GUI Areas
176
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
177
GUI Areas
Work pane:
Where configuration pages are displayed
178
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
180
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
181
Stand-alone Parameters
• Parameters that are not contained in a table are referred to as stand-alone parameters
Stand-alone parameters
182
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))
183
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))
184
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)
185
Stand-alone Parameters Configuration
186
Stand-alone Parameters Indications Meaning
187
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
189
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
190
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
191
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
192
Assigning Rows from other Tables
• Tables may contain parameters assigned a value which is a row referenced from
another table
193
Assigning Rows from other Tables
• For example, after pressing the View button pointing to the Network Interface,
the referenced table web page is opened
194
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
195
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
196
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
198
Searching for Configuration Parameters
Search can
be by name
or by value
199
Setup Menu
• 3 Options:
• IP Network
• Administration
200
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
201
Setup Menu: IP Network Option
• Home Page: NETWORK VIEW
Ethernet Groups
can be, edited
or viewed
Physical Ports
can be, edited
or viewed
202
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
203
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
204
Setup Menu: Signaling & Media Option
• Home Page: TOPOLOGY VIEW
Hover to see
the basic
configuration
205
Setup Menu: Signaling & Media Option
• Home Page: TOPOLOGY VIEW
206
Setup Menu: Administration Option
207
Setup Menu: Administration Option
• Home Page: TIME & DATE
208
Web Local Users Table
User levels:
• Monitor
• Administrator
• Security Administrator
• Master
209
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
210
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)
212
Maintenance: Auxiliary Files
213
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
214
Maintenance: License Key
215
Maintenance: License Key
216
Maintenance: HA
217
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 80 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
218
Monitor Menu
219
Monitor Menu
• Home Page: MONITOR
220
Device Information
221
Troubleshoot Menu
222
Troubleshoot Menu
223
AdminPage
224
Lesson 9
226
Endpoint Phone Number Table
227
Endpoint Phone Number Table – Hunt Group
228
Hunt Group Setting
• Allows to configure settings of up to 24 Hunt Groups
• Allows you to select the method for which IP-to-Tel calls are assigned to channels within each Hunt Group
• If no method is selected for a specific Hunt Group, the setting of the global parameter, Channel Select
Mode (SIP General Parameters screen) takes effect
229
Channel Select Mode
• By Dest Phone Number: Selects the port according to the called number
• Cyclic Ascending: Always selects the next higher channel number in the Hunt Group; when the gateway reaches the
highest channel number, it selects the lowest channel number and then starts ascending again
• Ascending: Always starts at the lowest channel number; if this channel is not available, it selects the next highest one
• Cyclic Descending
• Descending
• Dest Number + Cyclic Ascending: First selects the port according to the called number, if the called number isn't found,
then it selects the next available channel in ascending cyclic order. If the called number is found and the port associated
with this number is busy, the call is released
• By Source Phone Number: Selects the port according to the calling number
• Ring to Hunt Group: The device allocates IP-to-Tel calls to all the FXS ports in the Hunt Group. When a call is received
for the Hunt Group, all telephones connected to the FXS ports belonging to the Hunt Group start ringing. The call is
received by the first telephone that answers the call (after which the other phones stop ringing). This option is
applicable only to FXS interfaces
• Dest Number + Ascending: First selects the port according to the called number, If the number is not located or the
channel is unavailable (e.g., busy), the device searches in ascending order for the next available channel in the Hunt
Group
• Note: If this parameter is not configured for the Hunt Group, then its channel select method is according to the global
parameter, ChannelSelectMode.
230
Q: How do I reduce glare symptoms?
PC CARD
PBX
PWR ALM FAN0 FAN1 PWR0 PWR1
231
Coder Table
232
Coder Table
233
IP to Tel (Hunt) Routing Table
IP to Tel
234
IP to Tel (Hunt) Routing Table
235
Tel to IP
Two methods
1. Tel to IP Routing Table
• Allows you to configure up to 50 Tel-to-IP
Tel to IP
call routing rules
Tel to IP
• Used to route Tel calls to IP Addresses
when the Proxy isn’t used
• The ‘Destination IP Address’ can be:
• IP Address Tel to IP
GW to Proxy
2. Using Default Proxy Tel to IP
236
Tel to IP Routing Table
237
Using Proxy
1. Enable “Use
Default Proxy”
2. Press the
arrow button
238
Combine Proxy and Routing Table
• Enable Fallback to Routing Table:
• Determines whether the Gateway falls back to the 'Outbound IP Routing Table' (Tel to IP) for call routing when
Proxy servers are unavailable
• Prefer Routing Table
• Determines whether the Gateway internal routing table takes precedence over a Proxy for routing calls
239
Proxy Name
241
Gateway Name
• Used as the host part of the SIP URI in the From header
• If not specified, Gateway IP Address is used instead
INVITE sip:1234@GW1;user=phone SIP/2.0
Via: SIP/2.0/UDP 10.15.8.2;branch=z9hG4bKac13248121
Max-Forwards: 70
From: <sip:[email protected]>;tag=1c13240668
To: <sip:1234@GW1;user=phone>
Call-ID: [email protected]
CSeq: 1 INVITE
Contact: <sip:[email protected]:5060>
Supported: em,100rel,timer,replaces,path,resource-priority,sdp-anat
Allow: REGISTER,OPTIONS,INVITE,ACK,CANCEL,BYE,NOTIFY,PRACK,REFER,INFO,SUBSCRIBE,UPDATE
User-Agent: Audiocodes-Sip-Gateway-MP-118 FXS/v.6.20A.055.003
Content-Type: application/sdp
Content-Length: 312
242
Registration
• Enable Registration: Enables the gateway to register to Proxy/Registrar server
• Registrar Name: If specified, the name is used as the Request-URI in REGISTER messages
• Registrar IP Address: The IP address (or FQDN) and port number (optional) of the Registrar
server
---- Outgoing SIP Message to 10.15.1.1:5060 ----
REGISTER sip:User10 SIP/2.0
Via: SIP/2.0/UDP 10.15.8.2;branch=z9hG4bKac1198896178
Max-Forwards: 70
From: <sip:[email protected]>;tag=1c1198887385
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 4 REGISTER
Contact: <sip:[email protected]:5060>;expires=180
Supported: path
Allow: REGISTER,OPTIONS,INVITE,ACK,CANCEL,BYE,NOTIFY,PRACK,REFER,INFO,SUBSCRIBE,UPDATE
Expires: 180
User-Agent: Audiocodes-Sip-Gateway-MP-118 FXS/v.6.20A.055.003
Content-Length: 0
243
Registration
244
Registration
245
Authentication Table
• Defines a user name and password for authenticating each Gateway port
• Authentication is typically used for FXS interfaces, but can also be used for FXO interfaces
• For configuring whether authentication is done per port or for the entire device,
use the parameter Authentication Mode.
• If authentication is configured for the entire device, the configuration in this table is
ignored
• If the user name or password is not configured in this table, the port's phone
number (configured in the Endpoint Phone Number table and global password
(configured by the global parameter, Password) are used instead for authentication
of the port
246
Authentication Table
247
Maximum Digits In Phone Number
• Defines the maximum number of collected destination number digits that can be received
(i.e., dialed) from the Tel side
• When the Gateway has collected the maximum digits, it’s stops collecting and sends the call
to the destination
248
General Parameters
• Channel Select Mode: The default method for allocating incoming IP-to-Tel calls to Hunt Group
• SIP Transport Type: The default transport layer for outgoing SIP calls (UDP, TCP, or TLS)
• SIP Local Port: The local listening port for SIP messages
• SIP Destination Port: SIP destination port for sending initial SIP requests
249
Registration Status
• Displays whether the Gateway, its endpoints, SIP Accounts, and BRI endpoints are
registered to a SIP Registrar/Proxy server
250
Lesson 10
• Collecting data
• Use the relevant data collection tools for problem investigation
252
Collecting Data
253
What is Syslog?
254
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
255
Syslog Types of Messages
• WARNING: Indicates an error that might occur if measures are not taken to prevent it
256
Enabling Syslog – (v6.6)
• Enable Syslog
• Set Syslog Server IP address and port
• Select the Debug level (recommended ‘Detailed’)
ini parameters
257
Enabling Syslog – (v7.2)
• Enable Syslog
• Set Syslog Server IP address and port
• Select the Syslog level (recommended ‘Detailed’)
258
Message Log
259
AudioCodes Syslog Viewer
Clear On-Line
Syslog
Open/Save Freeze
file Display
Pause/Resume
Syslog
260
AudioCodes Syslog Viewer
• Syslog can be enabled simultaneously in several devices, reporting to the same Syslog Server
261
AudioCodes Syslog Viewer
• SIP/SDP messages are properly arranged to be easily identified for analysis
262
AudioCodes Syslog Viewer
• The SIP/SDP flow diagram can be viewed
SIP Flow
Diagram
263
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
264
AudioCodes Syslog Viewer
• CDR info
265
AudioCodes Syslog Viewer
Options
266
Wireshark
267
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
268
Capture Interfaces
• Capture > Options…
• Select the network interface currently used by the computer
269
Capture Output & Options
270
Wireshark Main Window
Filter Bar
Packet list
pane
Packet bytes
pane
271
Coloring Rules
• Assign a color to each protocol to facilitate quick analysis
• Define general rules e.g., TCP, UDP at the bottom of the coloring list because processing is
from top to bottom until a match is found
272
Generating Call Flow
• Visually represents entire call flow
• Telephony > VoIP Calls
273
Playing G.711 RTP Stream
274
Analyzing RTP Data Stream
• Extracts audio from data packets (G.711 only)
275
SIP Calls Tests
Testing SIP calls
• The SIP test call simulates a complete SIP signaling process.
• Setup and registration of calls
• A simulated endpoint can be configured on the device to test SIP signaling of calls between it
and a remote destination
• Tests involve both incoming and outgoing calls
• Useful for remote verification of SIP message flow without involving the remote end side in a
debug process
• As any other call, a test call sends Syslog messages to a Syslog server, showing the SIP
message flow, DTMF signals, termination reasons, as well as voice quality statistics.
277
Testing SIP calls
278
DTMF Tones configuration – (v6.6)
• By default, the DTMF signal that is played to answered incoming and outgoing test calls is
"3212333“
• This can be changed by using the GUI or ini file parameter, TestCallDtmfString
• Note: To generate DTMF tones, the device's DSP resources are required
279
Incoming test calls configuration – (v6.6)
280
DTMF Tones configuration – (v7.2)
• By default, the DTMF signal that is played to answered incoming and outgoing test calls is
"3212333“
• This can be changed by using the GUI or ini file parameter, TestCallDtmfString
• Note: To generate DTMF tones, the device's DSP resources are required
281
Incoming test calls configuration – (v7.2)
282
Incoming test calls configuration
• The Basic Test Call feature tests incoming Gateway calls from a remote SIP endpoint to a simulated test
endpoint on the device
• The only required configuration is to assign a prefix number (test call ID) to the simulated endpoint
• All incoming calls with this called (destination) prefix number is identified as a test call and sent to the
simulated endpoint
• The Basic Test Call feature tests incoming calls only and is initiated only upon receipt of incoming calls
with the configured prefix.
Remote SIP UA
Device Device
Network
283
Outgoing test calls configuration – (v6.6)
284
Outgoing test calls configuration – (v6.6)
GW Tel2IP
IP Group
Dest Address
GW & IP2IP
SBC
Disable (default)
Enable
285
Outgoing test calls configuration – (v6.6)
286
Test calls starting and stopping – (v6.6)
1. In the Test Call table, select the required test call entry; the Actions button appears above the table.
2. From the Actions drop-down list, choose the required command:
• Dial to start the test call
• Drop Call to stop the test call
• Restart ends all established calls and then starts the test call session again
2
3
287
Test calls viewing summary and statistics – (v6.6)
1. Select the test call table entry whose call statistics you want to view.
2. Click the Show/Hide button; the call statistics are displayed in the Test Statistics pane located beneath
the table
288
Outgoing test calls configuration – (v7.2)
289
Outgoing test calls configuration – (v7.2)
GW Tel2IP
Group
Dest Address
GW Tel2IP
SBC
Disable (default)
Enable
290
Outgoing test calls configuration – (v7.2)
Caller (default)
Called
0 means infinite
-1 means that the value is calculated according to the values
of the 'Calls Per Second' and 'Maximum Channels for
Session' parameters
291
Test calls starting and stopping – (v7.2)
1. In the Test Call table, select the required test call entry; the Actions button appears above the table.
2. From the Actions drop-down list, choose the required command:
• Dial to start the test call
• Drop Call to stop the test call
• Restart ends all established calls and then starts the test call session again
2
3
292
Test calls viewing summary and statistics – (v7.2)
293
Hands-on Lab 1
Basic Call
Hands-on Lab 2
MP-11x FXO
FXO Gateways
• FXO (Foreign Exchange Office) – Generates the on-hook and off-hook indicators used to
signal a loop closure at the FXS's end of the circuit
• Analog telephone handsets, fax machines and (analog) modems are FXO devices
• FXO gateways convert (in real time) loop start signaling to SIP and variable electric current to
RTP
FXO Gateway
PBX
IP Signaling
IP Phone
IP Voice
IP
Local Loop
298
PBX to IP Calls (Tel2IP)
• The FXO gateway provides the following operating modes for Tel-to-IP calls:
• Automatic Dialing
• When a call is received from the PBX, the gateway automatically dials a preconfigured telephone
number to IP
• Hot Line
• When a call is received from the PBX, and no digit is dialed for HotLineToneDuration, the
gateway automatically dials a preconfigured telephone number to IP
• Collecting Digits
• When a call is received from the PBX, the gateway answers the call and plays a second dial tone
to the PBX, the user on the PBX side then dials the number they wish to reach
299
Automatic Dialing
• Defines telephone numbers that are automatically dialed when a specific port is
used
• Available options:
• Enable: the number in the 'Destination Phone Number' field is automatically dialed if a
ring signal is detected on a port
• Hotline: When ring is detected and no digit is dialed for HotLineToneDuration, the
number in the 'Destination Phone Number' field is automatically dialed
• Disable: Automatic dialing option on the specific port is disabled
300
Automatic Dialing (v6.6)
301
Automatic Dialing (v7.2)
302
Automatic Dialing
• If the CallerID does not recognize the FXO, Invite sent immediately
the FXO sends the SIP Invite after 0-2
rings, based on the parameter 18x
‘RingsBeforeCallerID’
200 OK
303
Automatic Dialing
304
Collecting Digits Dialing
Invite
305
PBX to IP Calls (Tel2IP) – Auto dial example
LAN
OK
HotLine
306
PBX to IP Calls (Tel2IP) – Collecting Digits example
•
100
The FXO sends Dial Tone to the PBX
Hunt Group
• The FXO recognizes the CallerID (100) 9
200 Off-Hook + Dial Tone
• The PBX ext’ dial 200 FXO
Gateway
• The FXO sends SIP invite to the IP Phone 200
OK
200
Collecting
Digits
307
IP to PBX Calls (IP2Tel)
• The FXO gateway provides the following operating modes for IP-to-Tel calls:
• One stage dialing:
• When a new call is received from the IP, the FXO off-hooks the PBX line connected to the
telephone, and immediately dials the destination telephone number
308
IP to PBX Calls (IP2Tel) (v6.6)
309
IP to PBX Calls (IP2Tel) (v7.2)
310
IP to PBX Calls (IP2Tel) – One stage dialing
• The FXO receives an Invite from IP Phone
• The FXO sends a 100 Trying
• The FXO seizes the line from the PBX PBX FXO Gateway IP Phone
Connect
200 OK
One stage
311
IP to PBX Calls (IP2Tel) – Two stage Dialing
• The FXO receives Invite from
IP Phone
• The FXO sends 100 Try
PBX FXO Gateway IP Phone
• The FXO seizes line from the PBX
• The FXO waits for PBX dial tone Invite
100 Try
• The FXO sends 200 OK to the IP Phone and opens FXO seizes line
• The IP Phone receives dial tone from the PBX Wait for Dial Tone
Voice Channel
• The IP Phone sends the DTMF to the PBX
Dial Tone
DTMF
Two stage
312
Call Termination on FXO
313
Call Termination on FXO
• The PBX doesn't disconnect the call; however instead signals to the gateway that
the call is disconnected
Supervision Signals
BYE
314
FXO Settings (v6.6)
315
FXO Settings (v7.2)
316
Hands-on Lab 4
FXO
Lesson 12
Common Features
Routing
Routing Tables (reminder)
320
IP to Tel (Hunt) Routing Table
• The table is divided to main areas: Match characteristics and Action to take
• If the incoming call matches the characteristics of a rule, then the call is sent to the destination configured for that rule
• ‘-1’ in the table refers to “Not Configured”
321
Tel to IP Routing Table
• The table is divided to main areas: Match characteristics and Action to take
• If the incoming call matches the characteristics of a rule, then the call is sent to the destination configured for that rule
• ‘-1’ in the table refers to “Not Configured”
322
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)
• Represents a range of numbers Destination Phone Prefix Source Phone Prefix
326
Triggering the Alternative Routing
327
Adding an Alternative Route
328
Reason for Alternative Routing (v.6.6)
329
Reason for Alternative Routing (v7.2)
330
Reason for Alternative Routing IP-to-Tel (v7.2)
331
Reason for Alternative Routing Tel-to-IP (v7.2)
Generic category of
statuses can be
defined
A specific status
code can be defined
332
Number Manipulation
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
334
Number Manipulation v6.6
335
Number Manipulation v6.6
336
Number Manipulation: Rules and Actions (v6.6)
• Destination Phone Number Manipulations for IP to Tel calls
Matching Rules
Actions to Take
1. Action 1: Number of digits to remove from left of the number
2. Action 2: Number of digits to remove from right of the number
3. Action 3: Number of digits to leave from the right
4. Action 4: Number or string to add to the left of the number
5. Action 5: Number or string to add to the right of the
6. Enables caller ID
337
Number Manipulation: Rules and Actions (v6.6)
• Source Phone Number Manipulations for IP to Tel calls
Matching Rules
Actions to Take
1. Action 1: Number of digits to remove from left of the number
2. Action 2: Number of digits to remove from right of the number
3. Action 3: Number of digits to leave from the right
4. Action 4: Number or string to add to the left of the number
5. Action 5: Number or string to add to the right of the
6. Enables caller ID
338
Number Manipulation: Rules and Actions (v6.6)
• Destination Phone Number Manipulations for Tel to IP calls
Matching Rules
1. Destination telephone number prefix
2. Represents the source IP address of the call (obtained from
the Contact header in the INVITE message)
3. Defines the source Hunt Group ID. To denote all Hunt Groups,
leave this field empty
4. Defines the IP Group from where the IP call originated
Actions to Take
1. Action 1: Number of digits to remove from left of the number
2. Action 2: Number of digits to remove from right of the number
3. Action 3: Number of digits to leave from the right
4. Action 4: Number or string to add to the left of the number
5. Action 5: Number or string to add to the right of the
6. Defines the NPI (Numbering Plan Indicator)
7. Defines the TON (Type of Number)
8. Enables caller ID
339
Number Manipulation: Rules and Actions (v6.6)
• Source Phone Number Manipulations for Tel to IP calls
Matching Rules
1. Destination telephone number prefix
2. Represents the source IP address of the call (obtained from
the Contact header in the INVITE message)
3. Defines the source Hunt Group ID. To denote all Hunt Groups,
leave this field empty
Actions to Take
1. Action 1: Number of digits to remove from left of the number
2. Action 2: Number of digits to remove from right of the number
3. Action 3: Number of digits to leave from the right
4. Action 4: Number or string to add to the left of the number
5. Action 5: Number or string to add to the right of the
6. Defines the NPI (Numbering Plan Indicator)
7. Defines the TON (Type of Number)
8. Enables caller ID
340
Number Manipulation: Rules and Actions (v6.6)
• Gateway first attempts to match patterns at the top of the table More specific rules
should be at the top and more generic ones at the bottom
• Applies to either software release (v6.6/v7.2)
341
Numbers Manipulation (examples)
342
Numbers Manipulation (examples)
343
Numbers Manipulation (examples)
346
Facilitating Support for Coders
• Software Upgrade Key only includes coders G.711 and G.726 (by default)
• To facilitate gateway support for other coders (e.g., G.723.1):
• Update the gateway’s Software Upgrade Key
• MP-1xx have no Feature Key
• Coder Group Table
• Allows you to configure up to 10 coders for the Gateway
• The first coder in the list has the highest priority
• A coder can appear only once in the table
• The Packetization Time determines how many coder payloads are combined into a single RTP
packet
• The Gateway always uses the packetization time requested by the remote side for sending RTP packets
• Enable/Disable the Silence Suppression option per coder
347
Coder Group Table (v6.6)
348
Coder Groups Settings (v6.6)
• Use the ‘Coder Group Settings’ screen to defines up to 4 different coder groups
• These Coder Groups are used in the Tel Profile and/or IP Profile Settings screens to assign
different coders to Profiles
• Each Coder Group contains up to 10 coders
349
Coder Group Table (v7.2)
350
Tel Profile (v6.6)
• Can define up to 9 different Tel Profiles
• These Profiles are used in the 'Endpoint Phone Number Table' screen where they can be
assigned to the gateway's channels
351
Tel Profile (v7.2)
352
Assigning Tel Profile to Endpoint (v6.6)
353
Assigning Tel Profile to Endpoint (v7.2)
354
IP Profile (v6.6)
• Can define up to 9 different IP Profiles
• These Profiles are used in the 'Tel to IP Routing' and 'IP to Trunk Group Routing Table' screens for
associating IP Profiles to routing rules. IP Profiles can also be used when working with a Proxy Server
355
IP Profile (v7.2)
356
Assigning IP Profile to Routing Rules (v6.6)
• Tel to IP Routing
• Affects the calls that are sent from the Gateway
357
Assigning IP Profile to Routing Rules v7.2
358
Assigning IP Profile to Routing Rules (v6.6)
359
Assigning IP Profile to Routing Rules (v7.2)
360
DTMF Transport
DTMF
362
DTMF Transport Types
• In-Band
• Transparent – DTMF digits are carried within the voice stream using a high bit rate coder
• RFC 2833
• Out-of-Band using SIP signaling (in this mode DTMF digits are erased from the RTP
stream)
• INFO (Nortel) – Each INFO message can carry more than 1 digit (buffering digits)
• INFO (Cisco) – Each INFO message carries 1 digit
• INFO (Korea)
• NOTIFY
363
RFC 2833
• In this mode, DTMF digits are carried to the remote side as part of the RTP stream
in accordance with RFC 2833 standard
• To enable this mode, define the following:
• TxDTMFOption = 4
• RxDTMFOption = 3 (Declare RFC 2833 in SDP = Yes)
• To set the RFC 2833 payload type with a different value (other than its default 96) use the
parameter RFC2833PayloadType
• The Gateway negotiates the RFC 2833 payload type using local and remote SDP and
sends packets using the payload type from the received SDP
364
DTMF using INFO messages
• In this mode, DTMF digits are carried to the remote side within INFO messages
• TxDTMFOption should be set according to the selected method
• Cisco
• Nortel
• Korea
• RxDTMFOption = 0
365
DTMF settings (v6.6)
• To enable this mode, define the following:
• TxDTMFOption = 4
• RxDTMFOption = 3 (Declare RFC 2833 in SDP = Yes)
• To set the RFC 2833 payload type with a different value (other than its default 96) use the parameter
RFC2833PayloadType
366
DTMF settings (v7.2)
367
Digit Collection Rules
Digit Collection Rules
• When dialing ends, the gateway uses the collected digits for the called destination
number. Dialing ends when:
• The maximum number of digits is dialed (configured by the parameter MaxDigits)
• The Inter-digit Timeout expires (configured by the parameter TimeBetweenDigits)
• The '#' key is dialed (to allow '*' and '#' to be used for telephone numbers set
IsSpecialDigits=1)
• A digit map pattern is matched (using the parameter DigitMapping or the Dial Plan file)
• Using the dial plan file, it is possible to assign different dial plans to different ports (using Tel
profiles)
369
DTMF settings v6.6
• Determining when dialing is complete
• The maximum number of digits is dialed
• The Inter-digit Timeout expires
• Special Digit Mapping
• A digit map pattern is matched/Dial Plan is used
370
DTMF settings (v7.2)
371
Hands-on Lab 5
Hunt Group
Hands-on Lab 6
Number Manipulations
Lesson 13
Mediant Family
Digital Gateways Overview
Mediant 500L Mediant 500 Mediant 800 Mediant 1000B Mediant 3000
375
Mediant 500L / 500 / 800B /800C/ 1000B* MSBR
378
Mediant 500 Gateway and E-SBC
• Data capability:
• Four Gigabit Ethernet (10/100/1000Base-T) LAN ports
• WAN port – Single copper GE /SFP, ADSL2+ / VDSL2
• 3G connection (using USB 3G stick) used as primary WAN interface or as optional/backup when
primary WAN fails
• Firewall (MSBR only)
• Route (MSBR only)
• QoS (MSBR only)
380
Mediant 500 Gateway/E-SBC/MSBR (Front View)
WiFi 802.11a/b/g/n
2x2 MIMO Dual band 2.4GHz/5GHz
Note: The figure above is used only as an example. The number and type of port interfaces depends on the ordered model.
381
Mediant 500 Gateway/E-SBC/MSBR (Front View)
1. Wi-Fi button for enabling and disabling Wi-Fi (available only if ordered with Wi-Fi)
2. Reset pinhole button for resetting the device and optionally, for restoring the device to
factory defaults
3. Console - RJ-45 port for RS-232 serial communication
4. WAN interface, can be any of the following: Copper GE, SFP module, ADSL/2+ and VDSL2
5. Up to 4 GE ports for connecting to LAN network
6. Telephony interfaces, depending on ordered configuration: 1 PRI E1/T1, up to 2 BRI ports, up
to 4 FXS ports, 1 FXO
7. LEDs indicating the status of the power, reboot/initialization, and Wireless LAN interface
8. 2 USB 2.0 ports, which can be used for the following: 3G cellular WAN modem for primary or
backup WAN and external USB hard drive or flash disk for USB storage capabilities
382
Mediant 500 Gateway/E-SBC/MSBR (Rear View)
383
Mediant 800 Gateway and E-SBC
• Networking device combining multiple service functions
• Enterprise Class Session Border Controller (E-SBC)
• LAN Ethernet ports: Power / Status LEDs Reset pinhole
• Up to 4 Gigabit Ethernet button
• Up to 8 Fast Ethernet
FXS/FXO/BRI/E1/T1
• Integrated PSTN connectivity
• Up to 2 E1/T1/J1 trunks
• 8 BRI ports (16 calls)
• Up to 12 analog FXS/FXO ports
• OAM&P:
• Embedded HTTP/S-based Web Server
• Command Line Interface (CLI) Four Gigabit Eight Fast Ethernet
• Configuration ini file Ethernet LAN ports LAN ports
• SNMP
• REST API
• Integrated Open Solutions Network (OSN) server platform
384
Mediant 800 Gateway/E-SBC/MSBR
• Data capability:
• Up to 12 LAN ports Power over Ethernet (PoE)
• WAN port – Integral copper GE, plus optional 2 WAN interfaces (xDSL or GE UTP/SFP). T1/E1, SHDSL,
ADSL2+, VDSL, 100Base-X, 1000Base-X (SFP Format)
• Wi-Fi Access Point support for 802.11 a/b/g/n, dual band 2.4 GHz, 5GHz
• 3G connection (using USB 3G stick) used as primary WAN interface or as optional/backup when
primary WAN fails
• 2 x USB interface ports
• RJ-45 serial connector
385
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
386
Standalone OSN Server Hosted on Mediant 800
387
Mediant 1000B Gateway and E-SBC
• 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
388
LAN switching extension module
389
Analog FXS / FXO Modules
390
Digital PRI Module
• E1/T1/J1 capabilities
• 1, 2, or 4 port configurations.
• Since release 6.8 up to 6 E1 ports or 8 T1 ports
• Previous releases supported up to 4 E1/T1 ports
• PSTN Fallback support
• Hot swappable
391
BRI Module
392
MPM Module
393
Standalone OSN Server Hosted on Mediant 1000B
Hard Drives Up to 2 hard drives (HDMX modules) 500 GB HDD or 120GB SSD (2 HDD can work in Raid1)
Trunk
FXS
• Lifeline (Analog):
• Lifeline is provided only by Port 1 on an FXS module
395
Lesson 14
397
Configuring the TDM Bus
398
Configuring the TDM Bus
399
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
400
Configuring Key Trunk Parameters
401
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 from ‘0’ regardless of whether
physical Trunks are numbered from ‘1’
E1
E1
Euro
QSIG
ISDN
402
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)
• Solution:
• 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
403
Examples of Basic Trunk Issues
• It must be identical to the value configured for the PCM Law Select parameter for the
PBX/PSTN
404
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
405
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
406
To change the protocol type between E1/T1 trunks
407
Configuring a Clock Option
408
Verifying Trunk Synchronization
• To verify that the clock is synchronized and that there are no slips on the trunk,
access the CmdShell and enter these commands:
• pstn
• physical
• PstnGetPerformanceMonitoring trunknumber #
• Note that trunks are numbered 0 - 7
pstn
/PStn>
ph
409
Verifying Trunk Synchronization (cont.)
/PStn/PHysical>
PstnGetPerformanceMonitoring 0 0
TrunkId = 0
Interval = 0
AlarmIndicationSignal = 0
LossOfSignal = 0
LossOfFrame = 0
FramingErrorReceived = 0
RemoteAlarmReceived = 0
LostCRC4multiframeSync = 0
CRCErrorReceived = 0
EBitErrorDetected = 0
BitError = 0
LineCodeViolation = 0
ControlledSlip = 0
ErroredSeconds = 0
ControlledSlipSeconds = 0
SeverelyErroredFramingSeconds = 0
SeverelyErroredSeconds = 0
BurstyErroredSeconds = 0
UnAvailableSeconds = 0
PathCodingViolation = 0
LineErroredSeconds = 0
DegradedMinutes = 0
AssessedSeconds = 427
410
Verifying Trunk Synchronization (cont.)
411
Loading a CAS File to the Gateway
• If CAS protocol is used, download a CAS state machine file to the gateway
412
Selecting CAS Table
413
Overlap Dialing
• Overlap dialing is a dialing scheme to send/receive called # digits in parts or several at once
• Opposite to en-bloc dialing in which the complete number is sent at once
• The gateway supports ISDN overlap dialing for incoming ISDN calls per E1/T1 trunk
None = Disable
Local receiving = the complete number is
sent in the INVITE Request-URI user part
Through SIP = each digit is sent to the IP
(based on RFC 3578)
414
Overlap Dialing
415
Software Upgrade Key
416
Software Upgrade Key
417
Routing Tables (Quick Review)
418
Routing Tables Syntax
419
Fields to Match
• Gateway 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
420
Inbound IP Routing Table (IP2Tel)
• Used to route incoming IP calls to trunk groups
421
Inbound IP Routing Table (IP2Tel)
422
Outbound IP Routing Table (Tel2IP)
• Used to route outgoing calls from Tel to IP
423
Outbound IP Routing Table (Tel2IP)
424
Number Manipulation
425
Number Manipulation
427
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
428
Hands-on Lab 7
Alternative Routing
Hands-on Lab 9
Profiles
Hands-on Lab 10
434
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)
435
Debug Recording Advantages
436
Installing AudioCodes’ Proprietary Plug-in
1. Install Wireshark on your computer
• The Wireshark program can be downloaded from www.wireshark.org
2. Install the AudioCodes proprietary needed plug-in files as follows:
• Either download them from www.audiocodes.com/library/firmware?page=2
or copy them from your Student Kit USB Stick folder: \Utilities\Wireshark\Plugins_x64\*.*
• Then copy them to the directory in which you installed Wireshark, as follows:
\Wireshark\plugins\<Wireshark ver.>\epan\
3. Start Wireshark
• In the Filter field, type "acdr" to view the debug recording messages
• Note that the source IP address of the messages is by default the OAMP IP address of the
device
• The device adds the header "AUDIOCODES DEBUG RECORDING" to each debug recording
message
437
Viewing DR Messages in Wireshark
ACDR Filter
Proprietary
Header
438
Viewing DR Messages in Wireshark
ACDR and
Q.931 Filter
Proprietary
Header
439
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
440
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
441
Configuring filtering rules
442
Configuring filtering rules
443
Configuring generic filtering rules for a SIP call
444
Enabling Traces for an ISDN call
445
Configuring generic filtering rules for a PSTN call
446
Hands-on Lab 11
Debugging Tools
Thank You