Professional Documents
Culture Documents
Cisco
Voice
Over
IP
(CVOICE)
(642-‐436
CVOICE
6.0)
CiscoVoiceGuru.com
-‐
Guru
Guide
Prepared
by
Matthew
Berry,
CCIE
#26721
For
more
Cisco
Voice
study
resources
visit
www.ciscovoiceguru.com
Prepared
by
Matthew
Berry,
CCIE
#26721
1
For
more
Cisco
Voice
study
resources
visit
www.ciscovoiceguru.com
Prepared
by
Matthew
Berry,
CCIE
#26721
2
For
more
Cisco
Voice
study
resources
visit
www.ciscovoiceguru.com
Prepared
by
Matthew
Berry,
CCIE
#26721
3
For
more
Cisco
Voice
study
resources
visit
www.ciscovoiceguru.com
Acceptable
Delay
Clustering
over
the
IP
WAN
Deployment
• Local
Failover
Deployment
Model:
Local
failover
requires
that
you
place
UCM
subscriber
and
backup
servers
at
the
same
site,
with
no
WAN
between
them.
This
deployment
model
is
ideal
for
two
to
four
sites
with
UCM.
• Remote
Failover
Deployment
Model:
Remote
failover
allows
you
to
deploy
the
backup
servers
over
the
WAN.
Using
this
deployment
model,
you
might
have
up
to
eight
sites
with
UCM
subscribers
being
backed
up
by
UCM
subscribers
at
another
site.
Note
1:
This
recommendation
is
for
connections
with
echo
that
are
adequately
controlled,
implying
Note:
You
can
also
use
a
combination
of
the
two
deployment
models
to
satisfy
specific
site
that
echo
cancellers
are
used.
Echo
cancellers
are
required
when
one-‐way
delay
exceeds
25
ms
(G.131).
requirements.
For
example,
two
main
sites
might
each
have
primary
and
backup
subscribers,
with
Note
2:
For
private
networks,
a
200
ms
delay
is
a
reasonable
goal
and
a
250
ms
delay
is
a
limit
per
Cisco
another
two
sites
containing
only
a
primary
server
each
and
utilizing
either
shared
backups
or
dedicated
backups
at
the
two
main
sites.
Calculating
Delay
Budget
Benefits
of
the
Clustering
over
the
IP
WAN
Deployment
• Single
point
of
administration
for
users
for
all
sites
within
a
cluster
• Feature
transparency
• Shared
line
appearances
• Extension
mobility
within
the
cluster
• Unified
dial
plan
Note:
These
features
make
this
solution
ideal
as
a
disaster
recovery
plan
WAN
Considerations
Intra-‐Cluster
Communication
Signaling
(ICCS)
between
UCM
servers
consists
of
many
traffic
types.
The
Packet
Loss
ICCS
traffic
types
are
classified
as
either
priority
or
best
effort.
Priority
ICCS
traffic
is
marked
with
IP
• Cisco
DSPs
correct
for
20
ms
to
50
ms
of
lost
voice
through
the
use
of
Packet
Loss
Precedence
3
(DSCP
24
or
PHB
CS3).
Best-‐effort
ICCS
traffic
is
marked
with
IP
Precedence
0
(DSCP
0
or
Concealment
(PLC)
algorithms,
which
generates
a
reasonable
replacement
packet
to
PHB
BE).
improve
the
voice
quality.
• Delay
–
Maximum
one-‐way
delay
between
any
UCM
servers
for
all
priority
ICCS
traffic
• Effective
codec
algorithms
require
that
only
a
single
packet
can
be
lost
at
a
time.
should
not
exceed
20
ms,
or
40
ms
round-‐trip
time
(RTT)
o Propagation
delay
between
two
sites
>>
8
microseconds
per
kilometer
Audio
Quality
Measurement
without
any
other
network
delays.
Theoretical
maximum
distance
of
• MOS
-‐
Subjective
tests,
scale
1-‐5,
based
on
the
experience
of
the
listeners
approximately
3000
km
for
20
ms
delay
or
approximately
1860
miles.
• PSQM
–
Automated
method
of
measuring
speech
quality
“in
service,”
or
as
the
speech
• Jitter
–
Variance
in
delay
>>
processing,
queue,
buffer,
congestion,
path
variation
delay.
happens.
Resides
with
the
IP
call
management
systems,
which
sometimes
integrated
o Jitter
for
IP
Precedence
3
ICCS
traffic
must
be
minimized
using
QOS
into
SNMP
systems.
Scale
0-‐6.5,
where
6.5
is
the
worst.
PSQM
does
not
include
• Packet
loss
and
errors
–
Network
engineered
to
provide
sufficient
prioritized
bandwidth
jitter/delay
problems.
for
all
ICCS
traffic,
especially
the
priority
ICCS
traffic.
• PESQ
–
P.862,
considered
the
current
standard
for
voice-‐quality
measurement.
PESQ
o Standard
QOS
mechanisms
must
be
implemented
to
avoid
congestion
can
take
into
account
codec
errors,
filtering
errors,
jitter
problems,
and
delay
problems.
and
packet
loss.
Scale
1-‐4.5,
where
4.5
is
the
best
and
3.8
considered
toll-‐quality.
o Lost
packets
must
be
retransmitted
because
of
TCP
error
recovery
>>
delayed
call
setup,
disconnect,
or
other
supplementary
services
during
Voice-‐Quality
Measurement
Comparison
the
call.
• Bandwidth
–
Provision
correct
amount
of
bandwidth
between
each
server
for
the
expected
call
volume,
type
of
devices,
and
number
of
devices
o Bandwidth
is
in
addition
to
any
other
bandwidth
for
other
applications
sharing
the
network,
including
voice/video
traffic
between
the
sites.
o QOS
must
be
enabled
to
provide
prioritization/scheduling
for
the
different
classes
of
traffic
(overprovision
and
undersubscribe)
VoIP
and
QoS
• QoS
-‐
QoS-‐enabled
bandwidth
must
be
engineered
into
the
network
infrastructure.
• Header
Compression:
Used
with
RTP
and
TCP,
compresses
the
extensive
RTP
or
TCP
header
>>
resulting
in
decreased
consumption
of
available
bandwidth
for
voice
traffic
>>
Chapter
2:
Considering
VoIP
Design
Elements
reduction
in
delay
is
realized.
• Frame
Relay
Traffic
Shaping
(FRTS):
Delays
excess
traffic
using
a
buffer
or
queuing
mechanism
to
hold
packets
and
shape
the
flow
when
the
data
rate
of
the
source
is
VOIP
FUNDAMENTALS
higher
than
expected.
• FRF.12
(and
Higher):
Ensures
predictability
for
voice
traffic,
aiming
to
provide
better
Factors
that
Affect
Audio
Clarity
throughput
on
low-‐speed
Frame
Relay
links
by
interleaving
delay-‐sensitive
voice
traffic
• Fidelity
-‐
Degree
to
which
a
system,
or
a
portion
of
a
system,
accurately
reproduces
at
on
one
virtual
circuit
(VC)
with
fragments
of
a
long
frame
on
another
VC
utilizing
the
its
output
the
essential
characteristics
of
the
signal
impressed
upon
its
input,
or
the
same
interface.
result
of
a
prescribed
operation
on
the
signal
impressed
upon
its
input.
• Public
Switched
Telephone
Network
(PSTN)
Fallback:
Provides
a
mechanism
to
monitor
• Echo
–
Result
of
electrical
impedance
mismatches
in
the
transmission
path.
Always
congestion
in
the
IP
network
and
either
redirect
calls
to
the
PSTN
or
reject
calls
based
present,
but
usually
not
detectable.
Use
suppressors
or
cancellers
to
minimize.
on
the
network
congestion.
• Jitter
–
Variation
in
the
arrival
of
coded
speech
packets
at
the
far
end
of
a
VoIP
network
• IP
RTP
Priority
and
Frame
Relay
IP
RTP
Priority:
Provides
a
strict
priority
queuing
induced
by
variation
in
the
routes
of
individual
packets,
contention,
or
congestion.
Use
scheme
that
allows
delay-‐sensitive
data,
such
as
voice,
to
be
dequeued
and
sent
before
dejitter
buffers
to
resolve
variable
delay.
packets
when
other
queues
are
dequeued.
These
features
are
especially
useful
on
slow-‐
• Delay
–
Time
between
the
spoken
voice
and
the
arrival
of
the
electronically
delivered
speed
WAN
links,
including
Frame
Relay,
Multilink
PPP
[MLP],
and
T1
ATM
links.
It
works
voice
at
the
far
end.
Caused
by
distance
(propagation
delay),
coding,
compression,
with
weighted
fair
queuing
(WFQ)
and
Class-‐Based
WFQ
(CBWFQ).
serialization,
and
buffers.
• IP
to
ATM
Class
of
Service
(CoS):
Includes
a
feature
suite
that
maps
QoS
characteristics
• Packet
loss
–
Caused
by
unstable
network,
congestion,
or
too
much
variable
delay.
Lost
between
IP
and
ATM.
Offers
differential
service
classes
across
the
entire
WAN,
not
just
voice
packets
not
recoverable
resulting
in
gaps,
voice
clipping,
and
skips
in
conversation.
the
routed
portion.
Gives
mission-‐critical
applications
exceptional
service
during
periods
• Side
tone
–
Purposeful
design
that
allows
the
speakers
to
hear
their
spoken
audio
in
the
of
high
network
usage
and
congestion.
earpiece.
Otherwise,
they
think
the
phone
is
dead.
• Low
Latency
Queuing
(LLQ):
Provides
strict
priority
queuing
on
ATM
VCs
and
serial
• Background
noise
–
Low-‐volume
audio
heard
from
the
far-‐end
connection.
Effect
of
interfaces.
This
feature
enables
you
to
configure
the
priority
status
for
a
class
within
VAD
is
often
that
speakers
think
the
connection
is
broken
because
they
hear
nothing
CBWFQ
and
is
not
limited
to
User
Datagram
Protocol
(UDP)
port
numbers,
as
is
IP
RTP
from
the
other
end.
VAD
is
often
combined
with
comfort
noise
generation
(CNG)
to
Priority.
prevent
illusion
that
the
call
has
been
disconnected.
• MLP:
Allows
large
packets
to
be
multilink
encapsulated
and
fragmented
so
they
are
small
enough
to
satisfy
the
delay
requirements
of
real-‐time
traffic.
MLP
also
provides
a
Delay
special
transmit
queue
for
smaller,
delay-‐sensitive
packets,
enabling
them
to
be
sent
• Fixed
delay
(Carl
Purchases
Some
Pizzas)
–
Predictable,
add
directly
to
overall
delay
earlier
than
other
flows.
o Coding
–
Time
to
translate
audio
signal
>>
digital
signal
• Resource
Reservation
Protocol
(RSVP):
Supports
the
reservation
of
resources
across
an
o Packetization
–
Time
to
put
digital
voice
information
in/out
of
packets
IP
network,
allowing
end
systems
to
request
QoS
guarantees
from
the
network.
For
o Serialization
–
Insertion
of
bits
onto
a
link
networks
supporting
VoIP,
RSVP
(in
conjunction
with
features
that
provide
queuing,
o Propagation
–
Time
it
takes
a
packet
to
traverse
a
link
traffic
shaping,
and
voice
call
signaling)
can
provide
call
admission
control
(CAC)
for
• Variable
delay
–
Queuing
delays
in
the
egress
trunk
buffers
located
on
the
serial
port
voice
traffic.
Cisco
also
provides
RSVP
support
for
LLQ
and
Frame
Relay.
connected
to
the
WAN.
These
buffers
create
variable
delays
(jitter)
across
the
network.
Prepared
by
Matthew
Berry,
CCIE
#26721
4
For
more
Cisco
Voice
study
resources
visit
www.ciscovoiceguru.com
Objectives
of
QoS
Method
1b:
Modem
Pass-‐Through
(over
TDM
networks)
• Support
guaranteed
bandwidth
• Transports
modem
signals
through
a
packet
network
using
PCM-‐encoded
packets
• Improve
loss
characteristics:
Designing
the
Frame
Relay
network,
for
example,
so
• Does
not
support
switch
from
G.Clear
to
G.711
discard
eligibility
is
not
a
factor
for
frames
containing
voice,
keeping
voice
below
the
• VAD
and
echo
cancellation
need
to
be
disabled
committed
information
rate
(CIR)
• Functions:
• Avoid
and
manage
network
congestion
o Represses
processing
functions
like
compression,
echo
cancellation,
high-‐
• Shape
network
traffic
pass
filter,
and
VAD
• Set
traffic
priorities
across
the
network
o Issues
redundant
packets
to
protect
against
random
packet
drops
o Provides
static
jitter
buffers
of
200
ms
to
protect
against
clock
skew
Using
QoS
to
Improve
Voice
Quality
o Discriminates
modem
signals
from
voice
and
fax
signals,
indicating
the
LLQ
provides
strict
priority
queuing
(PQ)
in
conjunction
with
CBWFQ.
LLQ
configures
the
priority
status
detection
of
the
modem
signal
across
the
connection,
and
placing
the
for
a
class
within
CBWFQ,
in
which
voice
packets
receive
priority
over
all
other
traffic.
connection
in
a
state
that
transports
the
signal
across
the
network
with
the
least
amount
of
distortion
Transporting
Modulated
Data
over
IP
Networks
o Reliably
maintains
a
modem
connection
across
the
packet
network
for
a
• Data
is
assembled
by
a
packet
assembler/disassemble
(PAD)
into
individual
packets
of
long
duration
under
normal
network
conditions
data,
involving
a
process
of
segmentation
or
subdivision
of
larger
sets
of
data
as
specified
by
the
native
protocol
of
the
sending
device.
Method
2b:
Modem
Relay
(over
TDM
networks)
• Each
packet
has
a
unique
identifier
that
makes
it
independent
and
has
its
own
• On
detection
of
modem
answer
tone,
gateways
switch
into
modem
pass-‐through
mode
destination
address.
Because
the
packet
is
unique
and
independent,
it
can
traverse
the
and
then,
if
the
call
menu
(CM)
signal
is
detected,
the
two
gateways
switch
into
modem
network
in
a
stream
of
packets
and
use
different
routes.
relay
mode.
• Modem
relay
significantly
reduces
the
effects
that
dropped
packets,
latency,
and
jitter
Understanding
Fax/Modem
Pass-‐Through,
Relay,
and
Store
and
Forward
have
on
the
modem
session.
Compared
to
modem
pass-‐through,
reduces
the
amount
• Fax
transmissions
are
designed
to
operate
across
a
64
kbps
pulse
code
modulation
of
bandwidth
used.
(PCM)
encoded
voice
circuit,
but
in
packet
networks,
the
64
kbps
stream
is
often
• Option
1:
Modem
Pass-‐through
–
Modem
traffic
carried
between
gateways
in
RTP
compressed
into
a
much
smaller
data
rate
by
passing
it
through
a
DSP.
packets,
uncompressed
voice
codec
(G.711
mu-‐law
or
a-‐law)
• Faxes/modems
are
rarely
used
in
a
VoIP
network
without
some
kind
of
relay
or
pass-‐ • Option
2:
Modem
Relay
–
Modem
signals
demodulated
at
one
gateway,
converted
to
through
mechanism
in
place
since
DSPs
not
designed
to
compress
fax/modem
tones.
digital
form,
and
carried
in
the
Simple
Packet
Relay
Transport
(SPRT)
protocol
which
runs
over
UDP
packets
to
the
other
gateway.
Method
1:
Fax
Pass-‐through
(over
IP
networks)
(voice
band
data)
–
Modulated
fax
information
from
• Features
(covered
in
following
sections):
the
PSTN
is
passed
in-‐band
end-‐to-‐end
over
a
voice
speech
path
in
an
IP
network.
o Modem
tone
detection
and
signaling
• Review:
Simplest
method,
Not
default,
Not
most
desirable
method
for
t(x)
o Relay
switchover
• Supported
by:
H.323,
SIP,
MGCP
o Controlled
redundancy
• Gateways
do
not
distinguish
fax
call
from
voice
call
o Packet
size
• T(x)
occurs
in-‐band
over
a
voice
call
o Clock
slip
buffer
management
• Fax
traffic
carried
between
two
gateways
in
RTP
packets
using
an
uncompressed
format
resembling
the
G.711
codec.
Takes
constant
64
kbps
(payload)
stream
plus
IP
overhead
Modem
Tone
Detection
and
Signaling
• Supports
V.34
modulation
and
V.42
error
correction
and
link
layer
protocol
• Maximum
transfer
rates
of
up
to
33.6
kbps,
forces
higher
speeds
to
slow
down
• Supported
by:
SIP,
MGCP,
and
H.323
o For
MGCP/SIP/H.323,
during
call
setup,
gateways
negotiate
these
items:
§ To
use
or
not
use
modem
relay
mode
§ To
use
or
not
use
gateway
exchange
identification
(XID)
§ Value
of
payload
type
for
Named
Signaling
Event
(NSE)
packets
(unique
to
MGCP/SIP)
Relay
Switchover
When
the
gateways
detect
data
modem,
both
gateways
switch
to
modem
pass-‐through
mode
by
performing
the
following
actions.
They
revert
to
previous
configuration
at
the
end
of
the
call.
• Switching
to
G.711
codec
• Disabling
the
high-‐pass
filter
• Disabling
VAD
• Technique
1:
Configured
voice
codec
is
used
for
the
fax
transmission.
• Using
special
jitter
buffer
management
algorithms
o Only
works
when
configured
codec
is
G.711
with
no
VAD
and
no
echo
• Disabling
the
echo
canceller
upon
detection
of
a
modem
phase
reversal
tone
cancellation
(EC)
or
when
the
configured
codec
is
a
clear-‐channel
codec
or
G.726/32.
Payload
Redundancy
o Low
bit-‐rate
codecs
cannot
be
used
for
fax
transmissions.
• When
only
a
single
gateway
is
configured,
the
other
gateway
receives
packets
correctly,
• Technique
2:
“Codec
up
speed”
or
“fax
pass-‐through
with
up
speed”
but
does
not
produce
redundant
packets
o Gateway
dynamically
changes
the
codec
from
the
codec
configured
for
• Redundancy
enabled:
10
ms
sample-‐sized
packets
sent
voice
to
G.711
with
no
VAD
and
no
EC
for
the
duration
of
the
fax
session.
• Redundancy
disabled
(default):
20
ms
sample-‐sized
packets
sent
Method
2:
Method:
Fax
Relay
(over
IP
networks)
–
The
T.30
fax
from
the
PSTN
is
demodulated
at
the
Dynamic
and
Static
Jitter
Buffers
sending
gateway.
The
demodulated
fax
content
is
enveloped
into
packets,
sent
over
the
network,
and
When
gateways
detect
data
modem,
both
gateways
switch
from
dynamic
buffers
to
static
jitter
buffers
remodulated
into
T.30
fax
at
the
receiving
end.
of
200
ms
depth
to
compensate
for
PSTN
clocking
differences.
They
revert
back
at
the
end
of
the
call.
• Review:
Oldest
method,
Default
method,
Uses
RTP
as
method
of
transport
• Supported
by:
H.323,
SIP,
MGCP
Gateway-‐Control
Modem
Relay
• Cisco
IOS
supports:
(1)
T.38
fax
relay
and
(2)
Cisco
Fax
Relay
Beginning
with
IOS
12.4(4)T,
Cisco
supports
gateway-‐controlled
negotiation
parameters
for
modem
• Gateways
terminate
T.30
fax
signaling
by
spoofing
a
virtual
fax
machine
to
the
locally
relay.
It
is
a
non-‐negotiated,
bearer-‐switched
mode
that
does
not
involve
call-‐agent-‐assisted
attached
fax
machine.
negotiation
during
call
setup.
• Unlike
fax
pass-‐through,
demodulates
fax
bits
at
local
gateway,
sends
information
• Gateways
use
NSEs
to
switchover
from
voice
>>
voice
band
data
>>
modem
relay
across
voice
network
using
fax
relay
protocol,
and
then
remodulates
bits
back
into
tones
• Upon
detecting
a
2100
Hz
tone…
at
far
gateway.
The
fax
machines
on
either
end
are
sending
and
receiving
tones
and
are
o Terminating
gateway
sends
NSE
192
to
originating
gateway
and
switches
not
aware
that
a
demodulation/modulation
fax
relay
process
is
occurring.
over
to
modem
pass-‐through.
• Technique
1:
Cisco
Fax
Relay
–
Cisco-‐proprietary
method,
default
on
most
platforms
o The
terminating
gateway
also
sends
NSE
199
to
indicate
modem
relay.
• Technique
2:
T.38
Fax
Relay
–
Based
on
ITU.T
T.38
standard,
real-‐time
fax
transmission,
o If
this
event
is
recognized
by
the
originating
gateway,
the
call
occurs
as
requires
a
few
additional
commands
on
gateway
dial
peers
modem
relay.
If
the
event
is
not
recognized,
the
call
occurs
as
modem
pass-‐through.
Method
3:
Store-‐and-‐forward
fax
(on/off-‐ramp
gateway)
–
Breaks
the
fax
process
into
distinct
sending
and
receiving
processes
and
allows
fax
messages
to
be
stored
between
those
processes.
• Based
on
the
ITU-‐T
T.37
standard
• Enables
fax
t(x)
to
be
received/delivered
to
computers
rather
than
faxes
• Basic
functionality
facilitated
by
SMTP,
with
additional
functionality
that
provides
confirmation
of
deliver
using
existing
SMTP
mechanisms
>>
Extended
SMTP
(ESMTP)
• On-‐ramp
faxing
–
voice
gateway
that
handles
incoming
calls
from
a
standard
fax
machine
or
the
PSTN
converts
traditional
G3
fax
to
an
email
message
with
a
TIFF
attachment,
which
are
handled
by
an
email
server
• Off-‐ramp
faxing
–
voice
gateway
that
handles
outgoing
calls
from
the
network
to
a
fax
machine
or
the
PSTN
converts
a
fax
e-‐mail
with
a
TIFF
attachment
into
a
traditional
fax
format
that
can
be
delivered
to
a
standard
fax
machine
or
the
PSTN
Prepared
by
Matthew
Berry,
CCIE
#26721
5
For
more
Cisco
Voice
study
resources
visit
www.ciscovoiceguru.com
The
ANSam
or
CED
tone
causes
a
switch
to
modem
pass-‐through,
if
enabled,
to
allow
the
tone
to
pass
cleanly
to
the
remote
fax.
3. A
normal
fax
machine,
after
generating
a
CED
or
hearing
a
CNG
(CalliNG)
tone,
sends
a
DIS
(digital
identification
signal)
message
with
the
capabilities
of
the
fax
machine.
The
DSP
in
the
Cisco
IOS
gateway
attached
to
the
fax
machine
that
generated
the
DIS
message
(normally
the
TGW)
detects
the
High-‐Level
Data
Link
Control
(HDLC)
flag
sequence
at
the
start
of
the
DIS
message
and
initiates
fax
relay
switchover.
The
DSP
also
triggers
an
internal
event
to
notify
the
call
control
stack
that
fax
switchover
is
required.
The
call
control
stack
then
instructs
the
DSP
to
change
the
RTP
payload
type
to
96
and
to
send
this
payload
type
to
the
OGW.
4. When
the
DSP
on
the
OGW
receives
an
RTP
packet
with
the
payload
type
set
to
96,
it
triggers
an
event
to
inform
its
own
call
control
stack
that
a
fax
changeover
has
been
requested
by
the
remote
gateway.
The
OGW
then
sends
an
RTP
packet
to
the
TGW
with
Gateway
Signaling
Protocols
and
Fax
Pass-‐through
and
Relay
payload
type
97
to
indicate
that
the
OGW
has
started
the
fax
changeover.
When
the
Fax
Pass-‐Through
Operation
(NSE)
TGW
receives
the
payload
type
97
packet,
the
packet
serves
as
an
acknowledgement.
The
TGW
starts
the
fax
codec
download
and
is
ready
for
fax
relay.
5. After
the
OGW
has
completed
the
codec
download,
it
sends
RTP
packets
with
payload
type
96
to
the
TGW.
The
TGW
responds
with
an
RTP
packet
with
payload
type
97,
and
fax
relay
can
begin
between
the
two
gateways.
As
part
of
the
fax
codec
download,
other
parameters
such
as
VAD,
jitter
buffers,
and
echo
cancellation
are
changed
to
suit
the
different
characteristics
of
a
fax
call.
#3
-‐
H.323
T.38
Fax
Relay
1. Same
as
Cisco
Fax
Relay
2. Same
as
Cisco
Fax
Relay
3. Same
as
Cisco
Fax
Relay
4. The
detecting
TGW
sends
a
ModeRequest
message
to
the
OGW,
and
the
OGW
responds
with
a
ModeRequestAck.
5. The
OGW
sends
a
closeLogicalChannel
message
to
close
its
VoIP
UDP
port,
and
the
TGW
Cisco
Fax
Relay
(Codec
Downloaded)
responds
with
a
closeLogicalChannelAck
message
while
it
closes
the
VoIP
port.
6. The
OGW
sends
an
openLogicalChannel
message
that
indicates
to
which
port
to
send
the
T.38
UDP
information
on
the
OGW,
and
the
TGW
responds
with
an
openLogicalChannelAck
message.
7. The
TGW
sends
a
closeLogicalChannel
message
to
close
its
VoIP
UDP
port,
and
the
OGW
responds
with
a
closeLogicalChannelAck
message.
8. The
TGW
sends
an
openLogicalChannel
message
that
indicates
to
which
port
to
send
the
T.38
UDP
stream,
and
the
OGW
responds
with
an
openLogicalChannelAck
message.
9. T.38-‐encoded
UDP
packets
flow
back
and
forth.
At
the
end
of
the
fax
transmission,
either
gateway
can
initiate
another
ModeRequest
message
to
return
to
VoIP
mode.
#4
-‐
SIP
T.38
Fax
Relay
1. Same
as
Cisco
Fax
Relay
2. Same
as
Cisco
Fax
Relay
3. Same
as
Cisco
Fax
Relay
4. The
TGW
detects
a
fax
V.21
flag
sequence
and
sends
an
INVITE
message
with
T.38
details
in
the
SDP
field
to
the
OGW
or
to
the
SIP
proxy
server,
depending
on
the
network
H.323
T.38
Fax
Relay
(Node
Request/Ack)
topology.
5. The
OGW
receives
the
INVITE
message
and
sends
back
a
200
OK
message.
6. The
TGW
acknowledges
the
200
OK
message
and
sends
an
ACK
message
directly
to
the
OGW.
7. The
OGW
starts
sending
T.38
UDP
packets
instead
of
VoIP
UDP
packets
across
the
same
ports.
8. At
the
end
of
the
fax
transmission,
another
INVITE
message
can
be
sent
to
return
to
VoIP
mode.
MGCP
T.38
Fax
Relay
• Mode
1:
Gateway-‐controlled
mode
–
gateways
negotiate
fax
relay
t(x)
by
exchanging
capability
information
in
SDP
messages,
which
is
transparent
to
the
call
agent.
Allows
the
use
of
a
MGCP-‐based
T.38
fax
without
necessity
of
upgrading
call
agent
software.
SIP
T.38
Fax
Relay
(INVITE)
• Mode
2:
Call
agent-‐controlled
mode
–
call
agents
use
MGCP
messaging
to
instruct
gateways
to
process
fax
traffic.
For
MGCP
T.38
fax
relay,
call
agents
can
tell
gateways
to
revert
to
gateway-‐controlled
mode
if
call
agent
cannot
handle
the
fax
control
messaging
traffic
(overloaded/congested
networks)
Call
flow
for
an
MGCP-‐based
T.38
fax
relay:
1. A
call
is
initially
established
as
a
voice
call.
2. The
gateways
advertise
capabilities
in
an
SDP
exchange
during
connection
establishment.
3. If
both
gateways
do
not
support
T.38
fax
relay,
fax
pass-‐through
is
used
for
fax
transmission.
If
both
gateways
support
T.38,
they
attempt
to
switch
to
T.38
upon
fax
tone
detection.
The
existing
audio
channel
is
used
for
T.38
fax
relay,
and
the
existing
connection
port
is
reused
to
minimize
delay.
If
failure
occurs
at
some
point
during
the
switch
to
T.38,
the
call
reverts
to
the
original
settings
it
had
as
a
voice
call.
If
this
failure
occurs,
a
fallback
to
fax
pass-‐through
is
not
supported.
4. Reverts
to
a
voice
call
using
the
previously
designated
codec,
unless
the
call
agent
#1
-‐
Fax
Pass-‐Through
Operation
instructs
the
gateways
to
do
otherwise.
If
pass-‐through
is
supported,
these
events
occur:
1. For
the
duration
of
the
call,
the
DSP
listens
for
the
2100-‐Hz
CED
tone
to
detect
a
fax
or
Gateway-‐Controlled
MGCP
T.38
Fax
Relay
modem
on
the
line.
• Call
agent
uses
the
fx:
extension
of
the
local
connection
option
(LCO)
to
instruct
a
2. If
the
CED
tone
is
heard,
an
internal
event
is
generated
to
alert
the
call
control
stack
that
gateway
how
to
process
a
call.
a
fax
or
modem
changeover
is
required.
• In
gateway-‐controlled
mode,
gateways
exchange
NSEs
with
these
steps:
3. The
call
control
stack
on
the
OGW
instructs
the
DSP
to
send
an
NSE
to
the
TGW,
o Instruct
the
peer
gateway
to
switch
to
T.38
for
a
fax
transmission.
informing
the
TGW
of
the
request
to
carry
out
a
codec
change.
o Either
acknowledge
the
switch
and
the
readiness
of
the
gateway
to
4. If
the
TGW
supports
NSEs,
it
responds
to
the
OGW
instruction
and
loads
the
new
codec.
accept
T.38
packets
or
indicate
that
the
gateway
cannot
accept
T.38
The
fax
machines
are
able
to
communicate
on
an
end-‐to-‐end
basis
with
no
further
packets.
intervention
by
the
voice
gateways.
CA-‐Controlled
MGCP
T.38
Fax
Relay
Note:
NSEs
are
a
Cisco-‐proprietary
version
of
IETF-‐standard
named
telephony
events
(NTEs),
which
are
specially
marked
data
packets
used
to
digitally
convey
telephony
signaling
tones
and
events.
• Capability
to
accept
the
MGCP
FXR
package,
to
receive
the
fxr
prefix
in
commands
from
• NSEs
=
RTP
payload
type
100
the
call
agent,
and
to
send
the
fxr
prefix
in
notifications
to
the
call
agent.
• Capability
to
accept
a
new
port
when
switching
from
voice
to
fax
transmission
during
a
• NTEs
=
RTP
payload
type
101
call.
This
new
capability
allows
successful
T.38
call-‐agent-‐controlled
fax
communications
• NSE/NTEs
provide
a
more
reliable
way
to
communicate
tones
and
events
using
a
single
between
H.323
and
MGCP
gateways
in
those
situations
in
which
the
H.323
gateway
packet
rather
than
a
series
of
in-‐band
packets
that
can
be
corrupted
or
partially
lost.
assigns
a
new
port
when
changing
a
call
from
voice
to
fax.
New
ports
are
assigned
in
H.323
gateways
using
images
from
Cisco
IOS
Release
12.2(2)T
through
Cisco
IOS
Release
#2
-‐
Cisco
Fax
Relay
12.2(7.5)T.
MGCP
gateways
in
MGCP-‐to-‐MGCP
fax
calls
reuse
the
same
port,
but
call-‐
agent-‐controlled
T.38
fax
relay
enables
MGCP
gateways
to
handle
both
situations,
either
When
DSP
put
into
voice
mode
at
beginning
of
a
VoIP
call,
DSP
informed
by
call
control
stack
whether
switching
to
a
new
port
or
reusing
the
same
port,
as
directed
by
the
call
agent.
fax
relay
is
supported.
If
so,
finds
out
if
it
is
Cisco
Fax
Relay
or
T.38
fax
relay.
If
Cisco
Fax
Relay,
the
following
occurs:
1. VoIP
call
established
as
if
it
were
a
normal
speech
call.
Call
control
procedures
are
followed
>>
DSP
put
into
voice
mode,
which
expects
human
speech
2. At
anytime
during
the
life
of
the
call,
if
a
fax
answer
or
calling
tone
(ANSam
[modified
ANSwer
tone]
or
CED)
is
heard,
the
DSP
does
not
interfere
with
the
speech
processing.
Prepared
by
Matthew
Berry,
CCIE
#26721
6
For
more
Cisco
Voice
study
resources
visit
www.ciscovoiceguru.com
Configuring
Codec
Complexity
C549
DSPs:
(config)#
voice-‐card
1
(config-‐voicecard)#
codec
complexity
{high
|
medium
|
<cr>}
Audio
Bandwidth
(in
bytes)
C5510
DSPs:
(config)#
voice-‐card
1
(SampleSizesec
*
CodecBW)/8
Verify:
(Config)#
codec
complexity
{flex
|
high
|
medium
|
secure}
(config)#
show
voice
dsp
Where
codec
bandwidth
is
in
bps
and
sample
size
is
in
sec
(ex.
64000
*
0.03)
Flex
allows
6-‐16
calls
to
be
completed
per
DSP
depending
on
codec
used
for
the
call.
Secure
supports
SRTP,
providing
authentication
and
encryption
services
to
RTP.
Data
Link
Overhead
(18
bytes
LAN
/
6
bytes
WAN)
• Ethernet
II
–
18
bytes
overhead
DSP
Requirements
for
Media
Resources
• MLP
–
6
bytes
overhead
Requirements
based
on
(1)
DSP
type
and
(2)
codec
used
• Frame
Relay
Forum
Standard
12
(FRF.12)
–
6
bytes
overhead
• Each
DSP
configured/functions
independently
• Single
DSP
can
support
only
one
function
at
a
time
(e.g.
conferencing,
transcoding,
etc.)
Security
and
Tunneling
Overhead
• Conferencing
resources
either
be
G/711-‐only
or
mixed
mode
(i.e.
one
party
with
G.729)
• IPsec
–
50-‐57
bytes
overhead
• L2TP/GRE
–
24
byes
overhead
• MLP
–
6
bytes
overhead
• MPLS
–
4
bytes
overhead
Prepared
by
Matthew
Berry,
CCIE
#26721
7
For
more
Cisco
Voice
study
resources
visit
www.ciscovoiceguru.com
d. Verify
DSP
Farm
configuration.
Cisco
IOS
Configuration
Commands
for
Enhanced
Media
Resources
• voice-‐card
slot
• dsp
services
dspfarm
• dspfarm
profile
profile-‐identifier
{conference
|
mtp
|
transcode|
o Ground
Start
Signaling
• codec
{codec-‐type
|
pass-‐through}
§ Idle
state:
both
tip/ring
disconnected
from
ground.
o Pass-‐through
option
is
available
only
for
MTPs
and
is
typically
used
for
Battery
(-‐48V
DC)
is
still
connected
to
the
ring
line
CUCM
5.0
controlled
RSVP-‐based
CAC
§ PBX/FXO
grounds
the
ring
line
to
tell
CO/FXS
that
there
is
• maximum
sessions
number
an
incoming
call.
CO/FXS
senses
the
ring
ground
and
then
• associate
profile
sccp
grounds
the
tip
lead
to
let
the
PBX/FXO
know
that
it
is
• sccp
ccm
{ip-‐address
|
dns}
identifier
identifier-‐number
[priority
priority]
[port
port-‐ ready
to
receive
the
incoming
call.
number]
[version
version_number]
§ PBX/FXO
senses
the
tip
ground
and
closes
the
loop
• sccp
local
interface-‐type
interface-‐number
[port
port-‐number]
• DTMF
Frequencies
• sccp
• sccp
ccm
group
group-‐number
• associate
ccm
identifier-‐number
priority
priority
• associate
profile
profile-‐identifier
register
device-‐name
• bind
interface
interface-‐type
interface-‐number
• Informational
Signaling
Verifying
Media
Resources
• Verify
configuration
of
a
DSP
farm
profile
–
show
dspfarm
profile
• E&M
Signaling
o Type
I
–
Most
common.
Two
signaling
wires:
E-‐lead,
M-‐lead,
remaining
two
pairs
of
wires
serve
as
audio
path
o Type
II
–
Used
in
sensitive
environment.
Four
signaling
wires:
E-‐lead,
M-‐lead,
Signal
Ground
(SG),
Signal
Battery
(SB)
• Check
DSP
status
used
for
DSP
farm
profiles
–
show
dspfarm
dsp
all
o Type
III
–
Not
common.
Four
wires
used
for
signaling.
o Type
IV
–
Not
supported
by
Cisco.
Four
signaling
wires.
o Type
V
–
Most
common
outside
North
America.
Two
signaling
wires.
o SSDC5
–
Common
in
England.
Similar
to
Type
5.
Prepared
by
Matthew
Berry,
CCIE
#26721
8
For
more
Cisco
Voice
study
resources
visit
www.ciscovoiceguru.com
Prepared
by
Matthew
Berry,
CCIE
#26721
9
For
more
Cisco
Voice
study
resources
visit
www.ciscovoiceguru.com
INTRODUCING
DIAL
PEERS
Chapter
4:
Performing
Call
Signaling
over
Digital
Voice
Ports
Understanding
Call
Legs
INTRODUCING
DIGITAL
VOICE
PORTS
• Call
legs
are
logical
connections
between
any
two
telephony
devices,
such
as
gateways,
routers,
Cisco
Unified
Communication
Managers,
or
telephony
endpoint
devices.
• Call
legs
are
router-‐centric.
Digital
Trunks
• T1:
TDM
to
transmit
digital
data
over
24
voice
channels
using
CAS
• E1:
TDM
to
transmit
digital
data
over
30
voice
channels
using
either
CAS/CCS
• ISDN:
A
circuit-‐switched
telephone
network
system
using
CCS.
Variations
of
Integrated
Services
Digital
Network
(ISDN)
circuits
include
the
following:
Understanding
Dial
Peers
• A
dial
peer
is
an
addressable
call
endpoint.
The
address
is
called
a
destination
pattern
and
is
configured
in
every
dial
peer.
• POTS
dial
peers:
connect
to
traditional
telephony
network,
such
as
PSTN,
PBX,
or
telephony
edge
device
such
as
a
telephone
or
fax
machine.
o Provide
an
address
for
edge
network
or
device
o Point
to
specific
voice
port
that
connects
the
edge
network
or
device
• VoIP
dial
peers:
connect
over
an
IP
network
o Provide
destination
address
for
edge
device
located
across
network
o Associate
destination
address
with
next-‐hop
router
or
destination
router
Configuring
POTS
Dial
Peers
(config)#
dial-‐peer
voice
1
pots
(config-‐dialpeer)#
destination-‐pattern
7777
(config-‐dialpeer)#
port
1/0/0
Configuring
VoIP
Dial
Peers
(config)#
dial-‐peer
voice
2
voip
(config-‐dialpeer)#
destination-‐pattern
8888
(config-‐dialpeer)#
session
target
ipv4:10.18.0.1
• The
ds0-‐group
command
creates
a
logical
voice
port
(a
DS0
group)
from
some
or
all
of
the
DS0
channels,
which
allows
you
to
address
those
channels
easily,
as
a
group.
Configuring
Destination
Pattern
Options
Period
(.)
Matches
any
dialed
digit
from
0-‐9
or
the
*
key
(20..
=
2011,
2022,
2045)
T1
CAS
Plus
(+)
Matches
one
or
more
instances
of
preceding
digit
(5+23
=
5523)
• DS0
=
64
kbps
=
8000
samples/sec
x
8
bits/sample
=
64,000
bits/sec
Brackets
([
])
Matches
a
range
of
digits
([1-‐3]22
=
122,
222,
322)
• Uses
the
same
signaling
types
available
for
analog
trunks:
loop
start,
ground
start,
and
Caret
(^)
Does
NOT
match
(^[1-‐3]22
=
022,
422,
522,
622)
E&M
variants
such
as
wink-‐start,
delay-‐start,
and
immediate-‐start.
T
Matches
any
number
of
dialed
digits
(from
0-‐32
digits)
o E&M
FG-‐B:
Inbound/Outbound
DNIS,
inbound
ANI
(only
on
Cisco
AS5x00)
Comma
(,)
Inserts
a
one-‐second
pause
between
dialed
digits
o E&M
FG-‐D:
Inbound/Outbound
DNIS,
inbound
ANI
o E&M
FG-‐D
EANA:
Inbound/Outbound
DNIS,
outbound
ANI
Matching
Inbound
Dial
Peers
• SF
–
12
T1
frames,
bit-‐robbing
in
frames
6
and
12,
least
significant
bit
of
each
channel
is
• Inbound
POTS
dial
peers
are
associated
with
incoming
POTS
call
legs
of
originating
robbed,
leaving
7
bits
for
voice
data
router/gateway.
• ESF
–
Of
the
total
8000
F
bits
used
in
T1
>>
2000
framing,
2000
CRC,
4000
intelligent
• Inbound
VoIP
dial
peers
are
associated
with
incoming
VoIP
call
legs
of
terminating
supervisory
channel
to
control
functions
end-‐to-‐end
(e.g.
loopback
and
error
reporting)
router/
gateway.
• Information
send
in
call
setup
message
E1
R2
CAS
o Called
number
dialed
number
identification
service
(DNIS)
• Widely
used
in
Europe,
Asia,
Central/South
America
DNIS
=
DESTINATION
• Bundles
32
time
slots
instead
of
24
>>
2.048
Mbps
bandwidth
Call-‐destination
dial
string,
derived
from
the
ISDN
setup
message
or
• E1
Multiframe
Format
channel
associated
signaling
dialed
number
identification
service.
o 16
consecutive
256-‐bit
frames,
each
frame
carrying
32
time
slots
o Calling
number
automatic
number
identification
(ANI/CLID)
o Time
slot
1
>>
frame
synchronization
ANI/CLID
=
ANDY
CALLED
o Time
slot
17
>>
signaling
Represents
the
origin,
and
it
is
derived
from
the
ISDN
setup
message
or
o Time
slot
2-‐16,
18-‐32
>>
voice
traffic
channel
associated
signaling
(CAS)
automatic
number
identification.
o Voice
port
–
POTS
physical
voice
port.
ISDN
• Router/Gateway
matches
call
setup
element
parameters
in
the
following
order
• Circuit-‐switched
telephone
network
system
designed
to
allow
digital
transmission
of
IAN
AND
DAVE
PUNCH
DOGS
voice/data
over
ordinary
telephone
copper
wires
1. Match
dialed
number
(DNIS)
using
incoming
called-‐number
• ISDN
provides
additional
supplementary
services
such
as
Call
Waiting,
Do
Not
Disturb,
2. Matchcaller
ID
information
(ANI)
using
answer-‐address
etc.
CAS/R2
only
provide
DNIS
Note:
To
match
calls
based
on
originating
calling
number
• ISDN-‐PRI
Nonfacility
Associated
Signaling
(NFAS)
–
Single
D
channel
controls
multiple
3. Match
caller
ID
information
(ANI)
using
destination-‐pattern
ISDN
PRIs
on
a
chassis.
Primary
channel
with
option
of
another
D
channel
for
backup.
4. Match
an
incoming
POTS
dial
peer
by
using
port
Frees
up
additional
channel
to
carry
information.
5. If
multiple
dial
peers
match,
pick
the
first
dial
peer
added
to
config
• Benefits
using
ISDN
for
voice
traffic
6. If
no
match,
use
dial
peer
0.
o Perfect
for
G.711
PCM
because
each
B
channel
is
full
64
kbps
o Built-‐in
call
control
protocol
>>
ITU-‐T
Q.931
Characteristics
of
the
Default
Dial
Peer
o Can
convey
standards-‐based
voice
features
Only
used
for
inbound
matches.
Dial
peer
0
cannot
be
used
to
match
outbound
calls.
o Supports
standards-‐based
dial-‐up
capabilities
like
G4
fax
and
audio
• Characteristics
of
Dial
Peer
0
• Drop
and
Insert
–
allows
for
dynamic
multiplexing
of
B
channels
between
different
o Any
codec
interfaces.
Only
possible
if
all
interfaces
share
common
clock
source
(w/
ISRs)
o IP
precedence
0
o VAD
enabled
ISDN
Signaling
(debug
isdn
q931)
o No
RSVP
support
• Q.921
–
Layer
2
ISDN
signaling
protocol
is
Link
Access
Procedure,
D
channel
(LAPD)
o fax-‐rate
service
Similar
to
HDLC
and
LAPB.
Used
across
D
channel
to
supervise
control/signaling
• For
inbound
POTS
peers,
dial
peer
0
is
configured
with
the
no
ivr
application
command
• Q.931
–
Layer
3
ISDN
signaling
protocol.
Support
user-‐to-‐user,
circuit-‐switched
(B
• The
user
will
get
a
dial
tone
and
then
need
to
proceed
with
dialed
digits
channels)
and
packet-‐switched
(D-‐channels)
connections.
• Cannot
be
viewed
with
the
show
command
o D
channel
directs
the
CO
switch
to
send
incoming
calls
to
particular
time
slots
on
the
Cisco
access
server
or
router.
Matching
Outbound
Dial
Peers
• Uses
the
destination-‐pattern
command
o POTS
>>
port
command
o VoIP
>>
session
target
command
• show
dialplan
number
string
command
to
determine
which
dial
peer
is
matched
to
a
specific
dialed
strong.
Displays
all
matching
dial
peers
in
the
order
that
they
are
used.
Prepared
by
Matthew
Berry,
CCIE
#26721
10
For
more
Cisco
Voice
study
resources
visit
www.ciscovoiceguru.com
Prepared
by
Matthew
Berry,
CCIE
#26721
11
For
more
Cisco
Voice
study
resources
visit
www.ciscovoiceguru.com
• Translations
can
be
defined
per
gateway
–
allows
translations
to
be
made
on
gateway
Verifying
QSIG
Trunks
and
then
send
transformed
number
to
CUCM
for
processing,
useful
for
system
that
spans
multiple
countries
• More
specific
call-‐router
than
CUCM
–
allows
matching
by
called
and
calling
part
numbers
whereas
CUCM
only
handles
called
number
• No
need
for
extra
SRST-‐related
call-‐routing
configuration
• No
dependency
on
CUCM
version
–
due
to
peer-‐to-‐peer
nature
of
H.323
• More
voice
interface
types
are
supported
• Support
for
ISDN
Nonfacility
Associate
Signaling
(NFAS)
-‐
MGCP
does
not
• Fax
support
is
improved
–
better
on
H.323
than
MGCP
gateways
because
H.323
supports
T.37
and
T.38
and
can
route
faxes
directly
to
FXS
• Call
preservation
is
enhanced
H.323
Network
Components
• H.323
Terminals
–
endpoint
that
provides
real-‐time
voice
communication
with
another
endpoint,
such
as
an
H.323
terminal
or
multipoint
control
unit
(MCU).
Must
be
capable
of
t(x)/r(x)
G.711
(a-‐law
and
mu-‐law)
64
kbps
PCM
• H.324
Terminals
–
uses
33.6
kbps
modem
for
transmission,
H.263
codec
for
video
encoding,
and
G.723
for
audio
• H.323
Gateways
–
endpoint
that
provides
real-‐time
voice
communications
between
H.323
terminals
on
LAN
and
other
ITU
terminals
on
a
WAN
or
to
other
H.323
gateways
• Cisco
Unified
Border
Elements
(UBE
or
session
border
controllers)
–
optional
H.323
component,
joins
two
VoIP
call
legs,
functions
like
a
PSTN-‐to-‐IP
gateway,
can
pass
codec
preferences
to
the
terminating
leg
of
a
VoIP
call,
configured
to
use
transparent
codec
• H.323
Gatekeepers
–
provides
call
management,
including
admission
control,
bandwidth
management,
and
routing
services
for
calls
in
the
network
o Zone
–
scope
of
endpoints
over
which
gatekeeper
exercises
authority
o Functions
of
Gatekeeper
§ Address
translation
–
coverts
alias
address
to
IP
address
§ Admission
control
–
limits
access
to
network
resources
Remember:
if
network
emulation
is
not
correctly
set,
Layer
2
will
not
come
up!!
based
on
bandwidth
restrictions
§ Bandwidth
control
–
responds
to
bandwidth
debug
isdn
q921
request/modifications
• Limited
to
commands/responses
during
peer-‐to-‐peer
communication
over
D
channel
§ Zone
management
–
services
for
registered
endpoints
• Does
not
include
B
channels
that
are
part
of
the
same
ISDN
interface
§ Call
control
signaling
–
performs
call
signaling
on
behalf
of
• Does
not
display
data
link
layer
access
procedures
taking
place
on
ISDN
network
side
the
endpoint
(gatekeeper-‐routed
call
signaling)
§ Call
authorization
–
rejects
calls
based
on
auth.
Failure
debug
isdn
q931
§ Bandwidth
management
–
limits
number
of
concurrent
• Watch
Q.931
signaling
messages
go
back/forth
while
router
negotiates
ISDN
connection
accesses
to
IP
internetwork
resources
(CAC)
• Displays
call
setup/teardown
of
ISDN
network
connections
§ Call
management
–
maintains
record
of
ongoing
calls
• show
dialer
retrieve
information
about
status/configuration
of
ISDN
interface
on
router
• Multipoint
Control
Units
(MCUs)
–
allows
three
or
more
endpoints
to
participate
in
a
multipoint
conference
Chapter
5:
VoIP
Gateways
&
Gateway
Control
Protocols
H.323
Call
Establishment
and
Maintenance
• Endpoint
to
endpoint
–
endpoints
locate
other
endpoints
through
nonstandard
Configuring
H.323
mechanisms
and
initiate
direct
communication
between
endpoints
• Endpoint
to
gatekeeper
–
endpoints
interoperate
with
gatekeeper
using
RAS
channel
H.323
Gateway
Overview
• Gatekeeper
to
gatekeeper
–
with
multiple
gatekeepers,
they
communication
with
each
• Gateway
–
point
where
circuit-‐switched
call
is
encoded
and
repackaged
into
IP
packets
other
using
RAS
channel
o Provides
admission
control,
address
lookup/translation,
accounting
H.323
Call
Flows
H.323
Basic
Call
Setup
• H.323
and
IP
o H.225.0
–
Call
setup
§ Call-‐signaling
function
–
uses
call-‐signaling
channel
that
allows
endpoint
to
communicate
with
another
endpoint
o H.225.0
–
Registration,
admission,
status
(RAS)
control
for
call
routing
§ Uses
separate
signaling
channel
(RAS
channel)
to
perform
registration,
admissions,
bandwidth
changes,
status,
and
disengage
procedures
between
endpoints
and
a
gatekeeper.
o H.245
–
Capabilities
exchange
§ H.245
control
function
–
uses
control-‐channel
to
transport
control
messages
between
endpoints,
separate
from
call
signaling
channel
§ Logical
channel
signaling
–
opens/closes
a
channel
that
carries
a
media
stream
§ Capabilities
exchange
–
negotiates
audio,
video,
and
coder-‐decoder
(codec)
capability
between
endpoints
§ Master
or
responder
determination
–
determines
which
endpoint
is
the
master
and
which
the
responder,
used
to
resolve
conflicts
during
the
call
§ Mode
request
–
requests
a
change
in
mode
or
capability
of
the
media
stream
§ Timer
and
counter
values
–
establishes
values
for
timers
and
counts
and
agreement
of
those
values
by
endpoints
Why
H.323
• Dial
plans
can
be
configured
directly
on
the
gateway
–
possible
to
handle
call
setup/teardown
with
endpoints
or
route
calls
to
another
site
without
use
CUCM
cluster
Prepared
by
Matthew
Berry,
CCIE
#26721
12
For
more
Cisco
Voice
study
resources
visit
www.ciscovoiceguru.com
H.323
Multipoint
Conferences
All
types
of
multipoint
conferences
rely
on
a
single
MC
to
coordinate
membership
of
a
conference.
Each
endpoint
has
an
H.245
control
channel
connection
to
the
MC.
Either
MC
or
endpoint
initiates
the
Implementing
MGCP
Gateways
control
channel
setup.
1. Centralized
multipoint
conference
–
endpoints
must
have
their
A/V/D
channels
MGCP
Overview
connected
to
multipoint
processor
(MP)
• Centralized
device
control
protocol
with
simple
endpoints
2. Distributed
multipoint
conference
–
endpoints
do
not
have
connection
to
an
MP,
• Stimulus
protocol
–
endpoints
and
gateways
cannot
function
alone
endpoints
multicast
A/V/D
streams
to
call
participants
in
conference,
any
mixing
of
• Plaintext
commands
sent
to
gateways
on
UDP
2427,
send
back
to
call
agent
UDP
2727
streams
is
a
function
of
the
endpoint,
all
endpoints
must
use
same
comm.
Parameters
• Gateways
interacted
with
call
agent,
also
called
Media
Gateway
Controller
(MGC)
3. Ad
hoc
multipoint
conference
–
if
no
collocated
MC,
they
use
services
of
a
gatekeeper.
• Uses
“hairpinning”
to
return
a
call
to
the
PSTN
when
the
packet
network
is
not
available
Configuring
H.323
Gateways
Why
MGCP
Options
for
setting
up
H.323
gateway
include
the
following:
• Alternate
dial
tone
for
VoIP
environments
–
enables
VoIP
system
to
control
call
• Enable
H.323
VoIP
call
services
globally
(required)
setup/teardown
and
Custom
Local
Area
Subscriber
Services
(CLASS)
features
(config)#
voice
service
{pots
|
voatm
|
vofr
|
voip}
• Simplified
configuration
for
static
VoIP
network
dial
peers
–
call
agent
provides
(conf-‐voi-‐serv)#
h323
functions
similar
to
VoIP
dial
peers,
but
still
requires
POTS
dial
peers
(conf-‐voi-‐serv)#
no
shutdown
• Migration
paths
–
systems
using
earlier
version
of
protocol
can
migrate
easily
• Centralized
dial
plan
configured
on
CUCM
• Configure
interface
as
an
H.323
gateway
interface
(required)
• Centralized
gateway
configuration
on
CUCM
(config)#
interface
interface
• Simple
Cisco
IOS
gateway
configuration
–
far
few
commands
needed
(config-‐if)#
ip
address
ip-‐address
network-‐mask
• Supports
QSIG
supplementary
services
with
CUCM
–
with
QSIG,
you
can
used
MGCP
to
(config-‐if)#
h323-‐gateway
voip
interface
connection
CUCM
with
a
traditional
PBX
(config-‐if)#
h323-‐gateway
voip
h323-‐id
name
(config-‐if)#
h323-‐gateway
voip
bind
srcaddr
ip-‐address
MGCP
Architecture
• Endpoints
–
the
point
of
interconnection
between
the
packet
network
and
the
• Configure
codecs
(optional)
(config)#
voice
class
codec
tag
traditional
telephone
network
(config-‐class)#
codec
preference
value
codec-‐type
[bytes
payload-‐size]
• Gateways
–
handle
translation
of
audio
between
a
switched-‐circuit
and
packet
network
(config)#
dial-‐peer
voice
tag
voip
o Connections
can
be
point-‐to-‐point
or
multipoint
(config-‐dial-‐peer)#
voice-‐class
codec
tag
o For
point-‐to-‐point,
endpoints
could
be
in
separate/same
gateway
o Creating
call
connection
involves
a
series
of
signals
and
events
that
• Adjust
H.225
Timers
describe
the
connection
process
(config)#
voice
class
h323
tag
• Call
Agents
–
exercises
control
over
operation
of
gateway
(config-‐class)#
h225
timeout
tcp
establish
seconds
>>
establish
timeout
o What
events
should
be
reported
back
to
call
agent
(config-‐class)#
h225
timeout
setup
value
>>
SETUP
response
timeout
o How
endpoints
should
be
connected
(config)#
dial-‐peer
voice
tag
voip
o What
signals
should
be
implemented
on
endpoints
(config-‐dial-‐peer)#
voice-‐class
h323
tag
o Uses
directory
of
endpoints
and
the
relationship
each
endpoint
has
with
(config)#
voice
service
{pots
|
voatm
|
vofr
|
voip}
dial
plan
to
determine
appropriate
call
routing
(conf-‐voi-‐serv)#
h323
o Call
agents
initiate
all
VoIP
call
legs
(conf-‐serv-‐h323)#
h225
timeout
tcp
call-‐idle
{value
value
|
never}
>>
Idle
timer
Timer
value
in
minutes
(0-‐1440)
MGCP
Gateways
0
=
disables
timer,
TCP
connection
closed
immediately
after
call
clears
• Trunking
gateway
(TGW)
–
provides
interface
between
PSTN
and
VoIP
networks,
can
be
Never
=
connection
maintained
forever
or
until
other
endpoint
closes
it
DS0/T1/E1,
access
servers
or
routers
• Residential
gateway
(RGW)
–
provide
interface
between
analog
(RJ-‐11)
calls
from
a
Configuring
H.323
Fax
Pass-‐Through
and
Relay
telephone
and
a
VoIP
network,
cable-‐modem/2600-‐series-‐routers
Tones
used
by
fax
machines
can
be
degraded
by
a
codec
to
the
point
they’re
unintelligible.
Two
approaches
exist
to
preserve
fax
tones
across
an
IP
WAN.
Basic
MGCP
Concepts
• Fax
Pass-‐Through
• MGCP
calls
and
connections
–
call
agent
instructs
gateway
to
make
a
connection
with
a
(config)#
dial-‐peer
voice
id
voip
specific
endpoint,
gateway
returns
session
parameters
to
call
agent,
which
then
sends
(config-‐dial-‐peer)#
destination-‐pattern
pattern
to
other
gateway,
all
connections
for
same
call
with
share
common
Call
ID
and
same
(config-‐dial-‐peer)#
session
target
ipv4:ip-‐address
media
stream
(config-‐dial-‐peer)#
fax
protocol
{cisco
|
none
|
system
|
pass-‐through
{g711ulaw
• MGCP
control
commands
(8
command
verbs)
|g711alaw}}
o Used
by
call
agent
to
query
state
of
media
gateway
(config-‐dial-‐peer)#
fax
rate
{2400
|
…
|
14400}
{disable
|
voice}
[bytes
rate]
§ AuditEndpoint
(AUEP)
–
status
of
endpoint
§ AuditConnection
(AUCX)
–
status
of
connection
fax
protocol
none
=
disables
all
faxing
o Used
by
call
agent
to
manage
RTP
connection
on
media
gateway
no
fax
protocol
=
sets
fax
protocol
for
dial
peer
to
default,
which
is
system
§ CreateConnection
(CRCX)
–
tells
gateway
to
establish
connection
with
the
endpoint
Note
1:
If
the
fax
protocol
(voice-‐service)
command
is
used
to
set
fax
relay
options
§ DLCX
–
tells
gateway
to
delete
a
connection
for
all
dial
peers
and
the
fax
protocol
(dial-‐peer)
command
is
used
on
a
specific
§ ModifyConnection
(MDCX)
tells
gateway
to
update
its
dial-‐peer,
the
dial-‐peer
configuration
takes
precedence.
connection
parameters
for
a
previously
established
Note
2:
If
fax
rate
transmission
is
higher
than
the
codec
rate
in
the
same
dial
peer,
connection
the
data
send
over
the
network
for
fax
is
above
bandwidth
reserved
for
RSVP
o Used
by
call
agent
to
request
notification
of
events
and
apply
signals
§ NotificationRequest
(RQNT)
–
tells
gateway
to
watch
for
events
on
an
endpoint
and
specifies
action
to
take
Prepared
by
Matthew
Berry,
CCIE
#26721
13
For
more
Cisco
Voice
study
resources
visit
www.ciscovoiceguru.com
o Used
by
media
gateway
to
indicate
it
has
received
an
event
that
call
Implementing
SIP
Gateways
agent
had
requested
notification
for.
§ RestartInProgress
(RSIP)
–
notifies
call
agent
that
the
SIP
Overview
gateway
and
its
endpoints
are
removed
from
service
or
• ASCII
text-‐based
application
layer
control
protocol
are
being
placed
back
in
service
• Enables
Internet
endpoints
(user
agents)
to
discover
one
another
and
agree
on
the
• Package
types
parameters
of
the
session
they
want
to
share
o MGCP
groups
events/signals
into
packages
• Supports
five
facets
of
establishing/terminating
multimedia
communications:
o Supported
by
default
on
certain
types
of
gateways
o Determines
location
of
target
endpoint
–
supports
address
resolution,
name
mapping,
and
call
redirection
o Trunk:
mgcp
package-‐capability
trunk-‐package
o Determines
media
capabilities
of
the
target
endpoint
–
finds
lowest
o Line:
mgcp
package-‐capability
line-‐package
level
of
common
services
between
endpoints
through
SDP,
conferences
o DTMF:
mgcp
package-‐capability
dtmf-‐package
established
only
use
level
of
capability
that
all
participants
share
o Generic
media:
mgcp
package-‐capability
gm-‐package
o Determines
availability
of
target
endpoint
–
if
target
endpoint
not
o RTP:
mgcp
package-‐capability
rtp-‐package
available,
SIP
returns
a
message
indicating
why
target
unavailable
o Announce
server:
mgcp
package-‐capability
as-‐package
o Establishes
a
session
between
originating
and
target
endpoints
–
also
o Script:
mgcp
package-‐capability
script-‐package
supports
mid-‐call
changes,
i.e.
adding
another
endpoint
in
conference
o Handles
transfer/termination
of
calls
MGCP
Call
Flows
How
SIP
Works
• User
identified
by
unique
SIP
address,
similar
to
an
email
address
in
the
format
of
sip:userID@gateway.com
• Users
register
with
a
registrar
server
using
their
assigned
SIP
address
Why
SIP
• Dial
plan
configuration
directly
on
the
gateway
–
allows
special
calls
to
be
routed
without
the
assistance
of
CUCM
• Translations
defined
per
gateway
–
allows
calling
part
transformations
or
special
number
formats,
allows
translation
of
incoming
calls
directly
on
gateway
to
meet
internally
used
number
formats
• Advanced
support
of
third-‐party
telephony
systems
• Interoperability
with
third-‐party
voice
gateways
–
most
feasible
way
to
connect
a
Cisco
IOS
voice
gateway
to
a
third-‐party
voice
gateway
SIP
Architecture
• Session
Peers
/
User
Agents
(UA)
o User
agent
client
(UAC)
–
client
application
that
initiates
SIP
request
o User
agent
server
(UAS)
–
server
application
that
contacts
user
when
SIP
invitation
received
and
returns
a
response
on
behalf
of
the
user
to
the
invitation
originator
• Clients
(endpoints)
o Phone
–
act
as
UAS/UAC
on
session-‐by-‐session
basis
§ Initiate/Respond
to
SIP
requests
Configuring
MGCP
Gateways
§ ephones
are
IP
phone
not
configured
on
gateway
MGCP
Residential
Gateway
o Gateway
–
acts
as
UAS/UAC
and
provides
call
control
support,
translation
(config)#
ccm-‐manager
mgcp
>>
only
required
if
call
agent
is
CUCM
function
between
SIP
conferencing
endpoints,
performs
call-‐setup
and
(config)#
mgcp
call-‐clearing
on
both
IP
side
and
SCN
side
(config-‐mgcp)#
mgcp
call-‐agent
172.20.5.20
service-‐type
mgcp
>>
at
least
one
required
• Servers
(config)#
dial-‐peer
voice
1
pots
o Proxy
server
–
receives
SIP
requests
from
client
and
forwards
requests
on
(config-‐dialpeer)#
application
mgcpapp
>>
MGCP
application
to
run
on
port
behalf
of
client
to
next
SIP
server
in
network,
perform
authentication,
(config-‐dialpeer)#
port
1/0/0
>>
specify
voice
port
to
bind
with
MGCP
authorization,
network
access
control,
routing,
reliable
request
(config)#
dial-‐peer
voice
2
pots
transmission
and
security
(config-‐dialpeer)#
application
mgcpapp
o Redirect
server
–
provides
client
with
information
about
next
hop(s)
that
(config-‐dialpeer)#
port
1/0/1
a
message
should
take,
and
then
client
contacts
next
hop
server
directly,
(config-‐dialpeer)#
exit
can
be
another
network
server
or
a
UA
(config)#
mgcp
package-‐capability
dtmf-‐package
o Registrar
server
–
receives
requests
from
UACs
for
registration
(config)#
mgcp
package-‐capability
gm-‐package
o Location
server
–
address
resolution
services
to
SIP
proxy/redirect
(config)#
mgcp
package-‐capability
line-‐package
servers,
resolves
addresses
(config)#
mgcp
package-‐capability
rtp-‐package
(config)#
mgcp
default-‐package
line-‐package
SIP
Call
Flow
Direct
Call
Setup
MGCP
Trunk
Gateway
(config)#
ccm-‐manager
mgcp
>>
only
required
if
call
agent
is
CUCM
(config)#
mgcp
4000
(config)#
mgcp
call-‐agent
10.1.1.201
4000
>>
at
least
one
required
(config)#
controller
t1
0/1/1
(config-‐controller)#
framing
esf
(config-‐controller)#
clock
source
internal
(config-‐controller)#
ds0-‐group
1
timeslots
1-‐24
type
none
service
mgcp
>>
only
for
trunk
(config)#
mgcp
package-‐capability
dtmf-‐package
(config)#
mgcp
package-‐capability
gm-‐package
(config)#
mgcp
package-‐capability
line-‐package
(config)#
mgcp
package-‐capability
rtp-‐package
(config)#
mgcp
default-‐package
line-‐package
Note:
Specify
event
extra
packages
supported
on
trunking
gateway,
default
is
trunk-‐package
Configuring
Fax
Pass-‐Through
and
Relay
with
MGCP
Gateway
(config)#
ccm-‐manager
mgcp
>>
Configure
call
agent
(config)#
no
ccm-‐manager
fax
protocol
cisco
>>
Disable
Cisco
Fax
Relay
(config)#
mgcp
>>
Enable
MGCP
(add
port
if
not
default)
Call
Setup
Using
a
Proxy
Server
(config)#
mgcp
call-‐agent
10.1.1.10
service-‐type
mgcp
version
0.1
(config)#
mgcp
package-‐capability
fxr-‐package
>>
specify
additional
MGCP
package
cap.
(config)#
mgcp
package-‐capability
rtp-‐package
(config)#
mgcp
fax
rate
14400
>>
specify
maximum
fax
rate
(config)#
mgcp
timer
300
>>
adjust
NSE
timers
for
network
conditions
(config)#
mgcp
fax-‐relay
sg3-‐to-‐g3
>>
configure
fax
machines
to
negotiate
down
to
G3
speeds
Verifying
MGCP
• show
mgcp
• show
ccm-‐manager
• show
mgcp
endpoint
• show
mgcp
statistics
• debug
voice
ccapi
inout
–
shows
every
interaction
with
call
control
API
on
telephone
interface
and
VoIP
side,
allows
you
to
follow
progress
of
a
call
• debug
mgcp
[all
|
errors
|
events
|
packets
|
parser]
–
reports
all
command
activity
Prepared
by
Matthew
Berry,
CCIE
#26721
14
For
more
Cisco
Voice
study
resources
visit
www.ciscovoiceguru.com
Call
Setup
Using
a
Redirect
Server
debug
ccsip
transport:
Enables
tracing
of
the
SIP
transport
handler
and
the
TCP
or
UDP
process.
Chapter
6:
Identifying
Dial
Plan
Characteristics
Introducing
Dial
Plans
Dial
Plan
Overview
• A
dial
plan
is
a
numbering
plan
for
the
voice-‐enabled
network
• Endpoint
addressing
(Numbering
plan)
–
assigning
numbers
to
endpoints
• Call
routing
and
path
selection
–
option
to
select
different
paths
to
reach
the
same
destination,
using
a
secondary
path
if
the
primary
path
goes
down
• Digit
manipulation
–
can
occur
prior
to
or
after
a
routing
decision
has
been
made
• Calling
privileges
–
assigning
different
groups
of
devices
to
different
classes
of
service
• Call
coverage
–
special
groups
of
devices
to
handle
incoming
calls
for
a
certain
service
according
to
different
rules
(top-‐down,
circular-‐hunt,
longest-‐idle,
broadcast)
SIP
Addressing
• sip:
or
ssip:
(for
secure
SIP
connections)
as
URL
type
• When
two
UAs
communicate
with
each
other,
the
current
destination
and
final
destination
are
the
same.
Different
with
use
of
proxy/redirect
server.
SIP
DTMF
Considerations
• SIP
DTMF
relay
method
is
required
in
following
situations:
o Connecting
Cisco
SRST
system
to
remote
SIP-‐based
IVR
or
vm
app
o Connecting
Cisco
SRST
system
to
remote
SIP
PSTN
voice
gateway
that
goes
through
PSTN
to
a
voice-‐mail
or
IVR
application
• SIP
usually
sends
DTMF
in-‐band
digits,
whereas
SCCP
supports
only
out-‐of-‐band
digits.
The
software-‐based
Media
Termination
Point
(MTP)
device
receives
the
DTMF
out-‐of-‐
band
tones
and
generates
DTMF
in-‐band
tones
for
the
SIP
client.
Digit
Manipulation
• POTS
dial
peers
support
wider
range
of
commands
for
simple
digit
stripping/prefixing
• VoIP
dial
peers
are
primarily
dependent
on
voice
translation
profiles.
Calling
Privileges
–
implemented
on
Cisco
IOS
gateways
using
COR
and
COR
lists
Call
Coverage
–
goal
is
to
lose
as
few
calls
as
possible
• Call
coverage
for
individual
users
–
tries
to
forward
call
to
other
uses
or
to
voice
mail
in
case
this
user
does
not
answer
a
call
• NOTIFY-‐based
out-‐of-‐band
DTMF
relay
sends
messages
bidirectionally
between
• Pilot
numbers
with
associated
user
groups
–
used
to
distribute
incoming
calls
originating
and
terminating
gateways
for
a
DTMF
event
during
a
call.
• If
multiple
DTMF
relay
mechanisms
are
enabled
on
a
SIP
dial
peer
and
are
negotiated
Scalable
Dial
Plans
successfully,
NOTIFY-‐based
out-‐of-‐band
DTMF
relay
takes
precedence.
• Dial-‐plan
logic
distribution
–
effective
distribution
of
dial-‐plan
logic
among
various
components,
try
to
localize
processing
as
much
as
possible
Configuring
SIP
• Hierarchical
numbering
plan
-‐
scale
number
devices
without
introducing
interdigit
Enable
the
SIP
voice
service
within
Cisco
IOS
timeout
or
routing
issues
due
to
overlapping
ranges,
need
good
route
summarization
(config)#
voice
service
{pots
|
voatm
|
vofr
|
voip}
• Simplicity
in
provisioning
–
keep
it
simple
and
symmetrical,
made
consistent
using
(conf-‐voi-‐serv)#
sip
translation
rules
to
manipulate
local
digit
dialing
patterns,
standardize
before
entering
(conf-‐voi-‐serv)#
no
shutdown
VoIP
core
• Post
dial
delay
-‐
time
between
when
the
last
digit
is
dialed
and
the
phone
rings
at
the
Specify
the
parameters
for
the
SIP
service
receiving
location,
excessive
translations/digit-‐manipulations/lookups
>>
lag
time
(conf-‐serv-‐sip)#
session
transport
{
tcp
|
udp
}
• Availability
and
fault
tolerance
–
SRST
is
a
good
option
here
(conf-‐serv-‐sip)#
bind
{control
|
media
|
all}
source-‐interface
interface-‐id
• Conformance
to
public
standards
(conf-‐serv-‐sip)#
exit
PSTN
Dial
Plan
Requirements
Configure
the
SIP
UA
• Inbound
call
routing
(config)#
sip-‐ua
• Outbound
call
routing
(config-‐sip-‐ua)#
authentication
username
name
password
password
realm
string
• Correct
PSTN
Automatic
Number
Identification
(ANI)
presentation
–
should
include
the
(config-‐sip-‐ua)#
registrar
name
expires
secs
PSTN
access
code
and
any
other
identifiers
required
by
the
PSTN
to
successfully
place
a
(config-‐sip-‐ua)#
sip-‐server
{dns:[hostname]
|
ipv4:ip_addr:[port-‐num]}
call
using
that
ANI
(config-‐sip-‐ua)#
retry
{invite
number
|
response
number
|
bye
number
|
cancel
number}
ISDN
Dial
Plan
Requirements
Configure
SIP-‐based
VoIP
dial
peers
to
connect
and
route
calls
to
the
service
provider's
SIP
network
• Correct
PSTN
inbound
ANI
presentation
depending
on
TON
–
number
displayed
must
(config)#
dial-‐peer
voice
2000
pots
be
a
number
that
can
be
dialed
back
(config-‐dial-‐peer)#
destination-‐pattern
2...
• Correct
PSTN
outbound
ANI
presentation
depending
on
TON
(config-‐dial-‐peer)#
session
protocol
sipv2
(config-‐dial-‐peer)#
session
target
sip-‐server
>>
sip-‐server
was
entered
in
SIP
UA
config
Configuring
PSTN
Dial
Plans
(config-‐dial-‐peer)#
dtmf-‐relay
rtp-‐nte
>>
how
DTMF
signaling
will
be
sent
Configure
digit
manipulation
for
PSTN
calls
(config)#
dial-‐peer
voice
2001
voip
Inbound
(config-‐dial-‐peer)#
destination-‐pattern
2…
(config)#
voice
translation-‐rule
1
>>
Create
voice
translation
rule
(config-‐dial-‐peer)#
session
protocol
sipv2
(cfg-‐translation-‐rule)#
rule
1
/^4085552/
/2/
>>
Create
sub-‐rule
to
the
rule
(config-‐dial-‐peer)#
session
target
ipv4:10.1.1.15
>>
Distinguishes
one
session
from
another
(cfg-‐translation-‐rule)#
exit
(config-‐dial-‐peer)#
dtmf-‐relay
sip-‐notify
(config)#
voice
translation-‐profile
pstn-‐in
>>
Create
voice
translation
profile
(cfg-‐translation-‐profile)#
translate
called
1
>>
Assign
v.t.
rule
to
v.t.
profile
Verifying
SIP
Gateways
(cfg-‐translation-‐profile)#
exit
• show
sip
service
–
displays
if
service
is
up/down
(config)#
voice-‐port
0/0/0:23
• show
sip-‐ua
status
–
displays
status
for
SIP
user
agent
(config-‐voiceport)#
translation-‐profile
incoming
pstn-‐in
>>
Assign
v.t.
profile
to
port
• show
sip-‐ua
timers
–
displays
current
SIP
UA
timers
• show
sip-‐ua
register
status
–
display
status
of
E.164
numbers
that
a
SIP
gateway
has
Outbound
registered
with
an
external
primary
SIP
registrar
(config)#
voice
translation-‐rule
2
• show
sip-‐ua
calls
–
detailed
information
about
current
SIP
calls
(cfg-‐translation-‐rule)#
rule
1
/^2/
/4085552/
(cfg-‐translation-‐rule)#
exit
debug
asnl
events:
Use
this
command
to
verify
that
the
SIP
subscription
server
is
up
(config)#
voice
translation-‐profile
pstn-‐out
debug
voip
ccapi
inout:
Follow
progress
of
call
from
inbound
intf.
or
VoIP
peer
to
outbound
side
of
call
(cfg-‐translation-‐profile)#
translate
calling
2
debug
voip
ccapi
protoheaders:
Displays
messages
sent
between
originating/terminating
gateways
(cfg-‐translation-‐profile)#
exit
debug
ccsip
all:
Enables
all
ccsip-‐type
debugging.
(config)#
voice-‐port
0/0/0:23
debug
ccsip
calls:
Displays
all
SIP
call
details
as
they
are
updated
in
SIP
call
control
block
(config-‐voiceport)#
translation-‐profile
outgoing
pstn-‐out
debug
ccsip
errors:
Traces
all
errors
encountered
by
the
SIP
subsystem.
debug
ccsip
events:
Traces
events,
such
as
call
setups,
connections,
and
disconnections
Configure
digit
manipulation
for
intersite
calls
debug
ccsip
info:
Enables
tracing
of
general
SIP
Service
Provider
Interface
(SPI)
information
(config)#
num-‐exp
3...
915125553...
debug
ccsip
media:
Enables
tracing
of
SIP
media
streams.
debug
ccsip
messages:
Shows
the
headers
of
SIP
messages
exchanged
between
a
client
and
a
server.
debug
ccsip
preauth:
Enables
diagnostic
reporting
of
authentication,
authorization,
and
accounting
debug
ccsip
states:
Displays
SIP
states
and
state
changes
for
sessions
within
SIP
subsystem.
Prepared
by
Matthew
Berry,
CCIE
#26721
15
For
more
Cisco
Voice
study
resources
visit
www.ciscovoiceguru.com
Prepared
by
Matthew
Berry,
CCIE
#26721
16
For
more
Cisco
Voice
study
resources
visit
www.ciscovoiceguru.com
• CME configured to use voice-‐translation profile instead of dialplan-‐pattern command
• Verify
using
the
test
voice
translation-‐rule
Regular
expressions
for
voice
translation
rules
^
Match
the
expression
at
the
start
of
a
line.
$
Match
the
expression
at
the
end
of
the
line.
/
Delimiter
that
marks
the
start
and
end
of
both
the
matching
and
replacement
strings.
• Verify
using
the
show
voice
translation-‐rule
and
show
voice
translation-‐profile
\
Escape
the
special
meaning
of
the
next
character.
–
Indicates
a
range
when
not
in
the
first/last
position.
Used
with
the
"["
and
"]"
characters.
[list]
Match
a
single
character
in
a
list.
[^list]
Do
not
match
a
single
character
specified
in
the
list.
.
Match
any
single
character.
*
Repeat
the
previous
regular
expression
(regex)
zero
or
more
times.
+
Repeat
the
previous
regular
expression
one
or
more
times.
?
Repeat
the
previous
regular
expression
zero
or
one
time
(use
CTRL-‐V
to
enter
in
Cisco
IOS,
because
Cisco
IOS
interprets
a
"?"
character
as
a
request
for
context-‐sensitive
help).
()
Groups
regular
expressions.
Example:
rule 1 /\(9\)\([^10].*\)/ /\11408\2/
Configuring
Path
Selection
Call
Routing
and
Path
Selection
• Each
call
passing
through
a
Cisco
IOS
router
is
considered
to
have
two
call
legs,
one
entering
the
router
and
one
exiting
the
router.
• Two
main
types
of
call
legs:
Note:
The
first
set
of
parenthesis
is
referenced
as
\1
and
the
second
set
as
\2
o Traditional
TDM
call
legs
that
connect
router
to
PSTN,
analog
phone/fax
o IP
call
legs
that
connect
router
to
other
gateways/keepers
or
CUCM
Voice
Translation
Profiles
• Two
main
types
of
dial
peers
o POTS
dial
peers
• Types
of
call
numbers
in
a
translation
profile
o VoIP
dial
peers
o called
–
defines
for
called
number
(DNIS)
• Router
selects
a
dial
peer
by
matching
the
information
elements
in
the
setup
message
o calling
–
defines
for
calling
number
(ANI)
(called
number/DNIS
and
calling
number/ANI)
with
four
configurable
dial-‐peer
o redirect-‐called
–defines
for
redirect-‐called
number
attributes.
Inbound
dial-‐peer
matching
is
prioritized
as
follows:
• Reference
translation
profile
by:
o Dialed
number
(DNIS)
using
incoming
called-‐number
o Dial
peer
–
two
different
profiles
can
be
defined:
incoming/outgoing
o ID
information
(ANI)
using
answer-‐address
o Trunk
group
–
two
different
profiles
can
be
defined:
incoming/outgoing
o Caller
ID
information
(ANI)
using
destination-‐pattern
o Voice
port
–
two
different
profiles
can
be
defined:
incoming/outgoing,
if
o Incoming
POTS
dial
peer
by
using
port
voice
port
also
trunk
group
member
>>
voice
port
overrides
trunk
group
o No
match
>>
dial
peer
0
o NFAS
interface
–
defined
through
the
translation-‐profile
command,
• Outbound
dial-‐peer
matching
is
prioritized
as
follows
by
default:
higher
precedence
than
translation
profile
of
a
voice
port
or
trunk
group
o Searches
through
all
dial
peers
and
tries
to
match
the
called
number
(the
o Source
IP
group
–
can
be
defined
in
source
IP
group
for
VoIP
calls
DNIS)
with
the
destination-‐pattern
>>
closest
match
is
selected.
o VoIP
incoming
–
defined
globally
for
all
incoming
VoIP
(H.323/SIP)
calls,
o If
multiple
equal
matches
>>
lowest
preference
configuration
wins
lower
precedence
than
source
IP
group
o If
equal
preferences
are
found,
a
random
dial
peer
is
selected.
• ANI
and
DNIS
Matching
on
Dial
Peers
Voice
Profile
Example
o (*)
and
(#)
As
they
appear
on
standard
touch-‐tone
dial
pads
(config)#
voice
translation-‐rule
1
o (,)
Inserts
pause
between
digits
(config-‐translation-‐rule)#
rule
1
/^4085552/
/2/
o (.)
Wildcard
(config-‐translation-‐rule)#
exit
o (%)
Preceding
digit
occurred
zero
or
more
times
(config)#
voice
translation-‐rule
2
o (+)
Preceding
digit
occurred
one
or
more
times
(config-‐translation-‐rule)#
rule
1
/^.*/
/9&/
type
subscriber
subscriber
o (^)
Match
to
the
beginning
of
the
string
(config-‐translation-‐rule)#
rule
2
/^.*/
/91&/
type
national
national
o ($)
Match
null
string
at
end
of
input
string
(config-‐translation-‐rule)#
rule
3
/^.*/
/9011&/
type
international
international
o (\)
Followed
by
single
character
and
matches
that
character
(config-‐translation-‐rule)#
exit
o (?)
Preceding
digit
occurred
zero
or
one
times
(config)#
voice
translation-‐profile
Pstn-‐In
o (
[
]
)
Range,
only
numbers
0-‐9
(cfg-‐translation-‐profile)#
translate
called
1
o (
(
)
)
Indicate
pattern
and
are
same
as
regular
expression
rule
(cfg-‐translation-‐profile)#
translate
calling
2
• direct-‐inward-‐dial
–
Enable
DID
call
treatment
for
incoming
called
number
Call
Blocking
Example
• preference
value
–
Indicate
the
preferred
order
(config)#
voice
translation-‐rule
1
• no
dial-‐peer
outbound
status-‐check
pots
–
Check
status
of
outbound
POTS
dial
peers
(config-‐translation-‐rule)#
rule
1
reject
/408555*/
during
call
setup
and
to
disallow,
for
that
call,
any
dial-‐peers
who
status
is
down
(config-‐translation-‐rule)#
exit
(config)#
voice
translation
profile
BlockCall
Matching
Dial
Peers
in
a
Hunt
Group
(cfg-‐translation-‐profile)#
translate
calling
1
(cfg-‐translation-‐profile)#
exit
• Longest
match
in
phone
number
–
looks
for
match
with
greatest
number
dialed
digits
(config)#
dial-‐peer
voice
111
pots
• Explicit
preference
–
lower
the
preference
number,
higher
the
priority
(config-‐dial-‐peer)#
call-‐block
translation-‐profile
incoming
BlockCall
• Random
selection
–
all
weighted
equally
(config-‐dial-‐peer)#
call-‐block
disconnect-‐cause
incoming
invalid-‐number
Optional
values
call-‐reject,
invalid-‐number,
unassigned-‐number,
user-‐busy
Can
be
changed
using
the
dial-‐peer
hunt
global
configuration
command
(0
is
default)
• 0:
Longest
match
in
phone
number,
explicit
preference,
random
selection.
Voice
Translation
Profiles
Versus
the
dialplan-‐pattern
Command
• 1:
Longest
match
in
phone
number,
explicit
preference,
least
recent
use.
• SRST
and
CME
use
dialplan-‐pattern
command
to
map
ephone-‐dns
to
DID
numbers,
but
• 2:
Explicit
preference,
longest
match
in
phone
number,
random
selection.
they
also
increase
the
number
of
dial
peers,
which
makes
troubleshooting
hard.
• 3:
Explicit
preference,
longest
match
in
phone
number,
least
recent
use.
• 4:
Least
recent
use,
longest
match
in
phone
number,
explicit
preference.
• 5:
Least
recent
use,
explicit
preference,
longest
match
in
phone
number.
• 6:
Random
selection.
• 7:
Least
recent
use.
• Problem:
no
support
for
FXS
and
voice-‐mail
pilots
>>
Solution:
voice
translation-‐profiles
Prepared
by
Matthew
Berry,
CCIE
#26721
17
For
more
Cisco
Voice
study
resources
visit
www.ciscovoiceguru.com
Note:
Notice
the
default
dial
peer
with
incoming
called-‐number
.
–
It
should
be
the
only
dial
peer
that
contains
a
“.”
For
the
destination
pattern
and
direct
inward
dial.
Should
not
contain
a
port
number.
Path
Selection
Strategies
• Site-‐code
dialing
–
allows
users
to
place
intersite
call
by
dialing
a
site
code
• Toll-‐bypass
–
uses
WAN
link
for
call
routing
to
avoid
PSTN
charges
• TEHO
–
similar
to
toll-‐bypass
but
extends
WAN
usage
for
PSTN
calls
as
well
Configuring
TEHO
Site-‐Code
Dialing
and
Toll-‐Bypass
Idea:
routing
intersite
calls
over
an
IP
WAN
link
Tail-‐End
Hop-‐Off
(TEHO)
-‐
Routing
PSTN
calls
over
IP
WAN
to
PSTN
demark
close
to
dialed
destination
Configuring
Site-‐Code
Dialing
and
Toll-‐Bypass
1. Define
the
VoIP
outbound
digit
manipulation.
2. Define
the
outbound
VoIP
dial
peer.
1. Configure
voice
translation
rules
and
voice
translation
profiles
for
inbound/outbound
VoIP
intersite
routing
3. Define
the
outbound
POTS
dial
peer.
Implementing
Call
Privileges
on
Cisco
IOS
Gateways
Calling
Privileges
Capability
to
deny
certain
call
attempts
based
on
incoming/outgoing
CORs
provisioned
on
the
dial
peers
2. Define
dial
peers
for
VoIP
intersite
routing
that
route
the
call
using
the
WAN
link
Understanding
COR
on
Cisco
IOS
Gateways
Define
incoming/outgoing
COR
lists.
Each
list
includes
members,
which
are
tags
defined
within
IOS
• If
COR
applied
on
an
incoming
dial-‐peer
is
a
super
set
or
equal
to
the
COR
applied
to
the
3. Configure
voice
translation
rules
and
voice
translation
profiles
for
inbound/outbound
outgoing
dial-‐peer,
the
call
goes
through.
Otherwise,
call
is
rejected.
PSTN
intersite
routing
• If
not
corlist
statements
are
applied
to
some
dial
peers,
the
following
apply:
o No
incoming
corlist
setup
on
dial-‐peer
>>
default
corlist
-‐highest
prior.
o No
outgoing
corlist
setup
on
dial-‐peer
>>
use
default
corlist
-‐lowest
prior.
• Two
components
of
COR
o COR
–
building
block
of
calling
privileges
o corlist
–
contains
multiple
CORs
and
is
bound
to
dial
peers
4. Define
dial
peers
for
PSTN
intersite
routing
that
route
the
call
using
the
PSTN
link
in
case
• Call
Routing
with
Corlists
the
WAN
link
is
not
available
Outbound
Site-‐Code
Dialing
Example
Prepared
by
Matthew
Berry,
CCIE
#26721
18
For
more
Cisco
Voice
study
resources
visit
www.ciscovoiceguru.com
Prepared
by
Matthew
Berry,
CCIE
#26721
19
For
more
Cisco
Voice
study
resources
visit
www.ciscovoiceguru.com
o Location
messages
(LRQ/LCF/LRJ)
–
used
between
interzone
gatekeepers
Gatekeeper-‐Routed
Call
Signaling
with
call-‐signaling
channel
handled
by
gatekeeper
§ lrq
reject-‐resource-‐low
>>
gatekeeper
rejects
LRQ
requests
if
no
1. The
GK
responds
to
ARQ
and
advises
terminating
endpoints
are
available
endpoint
to
perform
call
setup
§ LRQ
Sequential
>>
provides
redundancy
and
load-‐sharing
features
procedure
with
GK,
not
with
>>
default
forwarding
mode,
orig.
gatekeeper
forwards
LRQ
to
terminating
endpoint.
first
gatekeeper
in
matching
list,
then
waits
for
response
before
2. Endpoint
initiates
setup
request
w/
GK
sending
LRQ
to
next
gatekeeper,
uses
fixed
timer
3. GK
sends
its
own
request
to
terminating
• GKA(config)#
gatekeeper
endpoint
and
incorporates
some
details
• GKA(config-‐gk)#
zone
local
GKA
cisco.com
acquired
from
originating
request.
• GKA(config-‐gk)#
zone
remote
GKB
cisco.com
4. When
connect
message
received
from
• GKA(config-‐gk)#
zone
remote
GKC
cisco.com
terminating
endpoint,
GK
sends
connect
• GKA(config-‐gk)#
zone
remote
GKD
cisco.com
message
to
originating
endpoint.
• GKA(config-‐gk)#
zone
prefix
GKB
1408555....
seq
5. Two
endpoints
establish
H.245
control
channel
between
them.
Call
procedure
continues
normal
• GKA(config-‐gk)#
zone
prefix
GKC
1408555....
seq
• GKA(config-‐gk)#
zone
prefix
GKD
1408555....
seq
Call
flow
with
multiple
gatekeepers
Note:
Speed
up
timer
using
lrq
lrj
immediate-‐advance
§ LRQ
Blast
>>
simultaneously
send
LRQs
to
all
gatekeepers
that
match
the
zone
prefix
• GKA(config)#
gatekeeper
• GKA(config-‐gk)#
zone
local
GKA
cisco.com
• GKA(config-‐gk)#
zone
remote
GKB
cisco.com
• GKA(config-‐gk)#
zone
remote
GKC
cisco.com
• GKA(config-‐gk)#
zone
remote
GKD
cisco.com
• GKA(config-‐gk)#
zone
prefix
GKB
1408555....
blast
• GKA(config-‐gk)#
zone
prefix
GKC
1408555....
blast
• GKA(config-‐gk)#
zone
prefix
GKD
1408555....
blast
Note:
if
all
three
reply
with
positive
conformation
(LCF),
gatekeeper
chooses
one.
Tailor
the
choice
using
cost
and
priority
keywords
at
end
of
zone
remote
statement.
Lower
=
Better
zone
remote
GKB
cisco.com
cost
{#}
priority
{#}
o Status
messages
(IRQ/ICF/IRR/IACK/INAK)
o Bandwidth
messages
(BRQ/BCF/BRJ)
o Resource
availability
messages
(RAI/RAC/RIP)
–
indicate/confirm/busy-‐wait
Zone
Prefixes
o Disengage
messages
(DRQ/DCF/DRJ)
Intrazone
Call
Setup
1. PA
dials
phone
number
408
5555-‐2001
to
PB
2. GA
sends
ARQ
to
GK,
asking
permission
to
call
PB.
3. GK
does
a
lookup,
finds
PB
registered
to
GB,
returns
ACF
with
IP
address
of
GB.
Technology
Prefixes
4. GA
sends
an
H.225
call
setup
message
to
GB
with
phone
number
of
PB.
5. GB
sends
H.255
call
proceeding
message
to
GA.
6. GB
sends
ARQ
to
GK,
asking
permission
to
answer
GA's
call.
7. GK
returns
an
ACF
with
IP
add.
of
GA.
8. GB
and
GA
initiate
an
H.245
capability
exchange
and
open
logical
channels.
9. GB
sets
up
a
plain
old
telephone
service
(POTS)
call
to
PB
at
408
555-‐2001.
10. When
PB
answers,
GB
sends
an
H.245
call
connect
message
to
GA.
• Gatekeepers
use
technology
prefixes
to
route
calls
when
no
E.164
addresses
registered
11. Dual
RTP
streams
flow
between
gateways.
match
the
called
umber.
Without
E.164
addresses
registered,
GK
relies
on
two
options:
o With
technology
prefix
matches
option
–
GK
uses
technology
prefix
Interzone
Call
Setup
appended
in
the
called
number
to
select
destination
gateway
or
zone
Difference
between
Intrasite
and
Interzone,
is
steps
3
and
4
o With
default
technology
prefixes
option
–
GK
assigns
default
gateway(s)
3.
GK1
does
a
lookup
and
does
not
find
PB
registered.
for
routing
unresolved
call
addresses.
GK1
does
a
prefix
lookup
and
finds
a
match
with
GK2.
• If
you
use
mostly
voice
gateways
in
network,
you
can
configure
gatekeeper
to
use
1#*
GK1
sends
an
LRQ
to
GK2
and
a
RIP
to
GA.
(1#
followed
by
zero
or
more
characters)
gateway
as
the
default
4.
GK2
does
a
lookup,
finds
PB
registered,
returns
LCF
to
o (config-‐gk)#gw-‐type-‐prefix
1#*
default-‐technology
GK1
with
the
IP
address
of
GB.
Gatekeeper
Call
Routing
Call
Disconnect
1. PB
hangs
up.
2. GWB
sends
a
DRQ
to
GK2,
disconnecting
the
call
between
PA
and
PB.
A
DCF
is
received
later
3. GWB
sends
Q.931
release
complete
mess.
to
GWA.
4. GWA
sends
a
DRQ
to
GK1,
disconnecting
the
call
between
PA
and
PB.
A
DCF
is
received
later.
5. GWA
signals
a
call
disconnect
to
the
voice
network.
Call
Flows
with
a
Gatekeeper
Typical
call
flow
with
call-‐signaling
channel
created
from
endpoint
to
endpoint
Gatekeeper
Call
Routing:
Zone
Prefixes
and
Default
Technology
Prefixes
Prepared
by
Matthew
Berry,
CCIE
#26721
20
For
more
Cisco
Voice
study
resources
visit
www.ciscovoiceguru.com
Gatekeeper Call Routing: Zone Prefixes and Technology Prefixes Directory Gatekeeper Signaling
Gatekeeper
Call
Routing:
Zone
Prefixes
and
Registered
Numbers
Directory
Gatekeeper
Create
single
local
zone
on
DGK
with
local
address
(config)#
gatekeeper
(config-‐gk)#
zone
local
DGK
cisco.com
10.4.1.1
Create
remote
zones
for
each
GK
controlled
by
DGK
(config-‐gk)#
zone
remote
SJCGK
cisco.com
10.1.1.1
1719
(config-‐gk)#
zone
remote
AUSGK
cisco.com
10.2.1.1
1719
(config-‐gk)#
zone
remote
NYCGK
cisco.com
10.3.1.1
1719
Specify
zone
prefixes
for
remote
gatekeepers
(config-‐gk)#
zone
prefix
SJCGK
408*
(config-‐gk)#
zone
prefix
DFWGK
972*
(config-‐gk)#
zone
prefix
NYCGK
212*
Enable
forwarding
of
location
requests
(config-‐gk)#
lrq
forward-‐queries
(config-‐gk)#
lrq
lrj
immediate-‐advance
Individual
Gatekeeper
Create
single
local
zone
on
GK
with
local
address
Gatekeeper
Call
Routing:
Remote
Zone
(config)#
gatekeeper
(config-‐gk)#
zone
local
SJCGK
cisco.com
10.1.1.1
Create
remote
zone
for
DGK
(config-‐gk)#
zone
remote
DGK
cisco.com
10.4.1.1
1719
Specify
zone
prefix
to
register
with
DGK
(config-‐gk)#
zone
prefix
SJCGK
408*
gw-‐priority
10
SJCGW
Specify
zone
prefix
of
DGK
(config-‐gk)#
zone
prefix
DGK
*
Gatekeeper
Transaction
Message
Protocol
• Can
extend
call
control
intelligence
of
a
gatekeeper
by
converting
incoming
RAS
messages
to
text
messages
and
sends
them
to
an
external
server.
• Overrides
default
gatekeeper
behavior
Verifying
Gatekeepers
Gatekeeper
Call
Routing:
Hop-‐Off
Technology
Prefix
Directory
Gatekeepers
• LRQ
forwarding
allows
gatekeeper
to
be
appointed
as
a
directory/super
gatekeeper
• Then
it
is
only
necessary
to
configure
each
gatekeeper
with
its
own
local
zones
and
zone
prefixes
and
a
single
match-‐all
wildcard
prefix
for
the
zone
of
the
directory
gatekeeper
• Only
directory
gatekeeper
has
to
be
configured
with
the
full
set
of
all
zones
and
zone
prefixes
within
the
network.
• LRQ
from
a
non-‐Cisco
gatekeeper
cannot
be
forwarded
• Directory
Gatekeeper
Characteristics
Configuring
H.323
Gatekeepers
o No
longer
need
a
full-‐mesh
configuration
between
interzone
gatekeepers
o LRQ
messages
are
RAS
messages
triggered
by
an
ARQ
message
from
Gatekeeper
Configuration
Steps
endpoints
that
are
forwarded
from
gatekeeper
to
gatekeeper
1. Configure
local
and
remote
zones
on
the
gatekeeper.
o Limit
five
hops
for
an
LRQ
message
>>
allows
up
to
a
4-‐tier
GK
hierarchy
2. Configure
zone
prefixes
for
all
zones
where
calls
should
be
routed.
o Centralize
dial
plan
and
server
a
potential
interface
to
other
centralized
3. Configure
technology
prefixes
to
provide
more
flexibility
in
call
routing.
applications.
4. Configure
gateways
to
use
H.323
gatekeepers.
o In
large-‐scale
VoIP
network,
a
centralized
interface
point
is
required,
5. Configure
dial
peers.
which
can
interact
with
Advanced
Intelligent
Network
(AIN)
in
SS7,
GKTMP
router
servers,
and
AAA.
Gateway
Selection
Process
• GK
maintains
separate
gateway
list,
ordered
by
priority,
for
each
zone
prefix
• If
GW
does
not
have
assigned
priority
for
a
zone
prefix
>>
defaults
to
priority
5
• Priority
0
disables
the
use
of
a
GW
in
a
particular
zone
• H.323
version
2
provides
gateway
resource
reporting
to
notify
gatekeeper
when
H.323
resources
are
getting
low.
GK
uses
this
info
to
determine
which
gateway
is
used
to
complete
a
call.
Prepared
by
Matthew
Berry,
CCIE
#26721
21
For
more
Cisco
Voice
study
resources
visit
www.ciscovoiceguru.com
Prepared
by
Matthew
Berry,
CCIE
#26721
22
For
more
Cisco
Voice
study
resources
visit
www.ciscovoiceguru.com
RAI
in
Gatekeeper
Networks
Protocol
Internetworking
on
Cisco
UBE
Gateways
• Interworking
between
the
same
signaling
protocol
Gateways
can
be
configured
to
report
on
DS0
and
DSP
resource
status
to
its
gatekeeper
• Interworking
between
different
signaling
protocols
–
can
interconnect
dial
peers
that
• Accomplished
with
the
use
of
RAI
RAS
messages
use
different
signaling
protocols
>>
greater
flexibility
• resource
threshold
[all]
[high
percentage-‐value]
[low
percentage-‐value]
o Default
for
high
and
low
values
is
90
Media
Flows
on
Cisco
UBE
Gateways
o (Opt.)
report-‐policy
>>
specify
how
resource
utilization
calculated
• Media
flow-‐through
–
UBE
replaces
source
IP
address
used
for
media
connections
with
§ Idle-‐only
>>
includes
free
and
in-‐use
channels
(default)
its
own
IP
address
>>
replaces
potential
duplicate
IPs
with
one
address
and
hides
§ Addressable
>>
includes
free,
in-‐use,
and
disables
channels
original
endpoint
IP
address
from
the
remote
endpoints
o Higher
CPU
load
on
the
router
>>
lowers
number
concurrent
call
flows
o Might
result
in
suboptimal
traffic
flows
because
direct
endpoint-‐to-‐
endpoint
communication
is
prohibited
Prepared
by
Matthew
Berry,
CCIE
#26721
23
For
more
Cisco
Voice
study
resources
visit
www.ciscovoiceguru.com
• Media
flow-‐around
–
no
duplicate
IP
address
ranges
exists,
IP
address
hiding
is
not
Cisco
UCM
to
Cisco
UCM
required,
use
when
not
concerned
with
hiding
your
network
addresses
Codec
Filtering
on
Cisco
UBEs
SIP
Carrier
Interworking
Gatekeeper
and
SIP
Carrier
Interworking
RSVP-‐Based
CAC
on
Cisco
UBEs
Cisco
UBE
and
Via-‐Zone
Gatekeeper
Cisco
UBE
Gateways
and
Gatekeeper
Internetworking
Configuring
Cisco
Unified
Border
Elements
Protocol
Interworking
Command
(config)#
voice
service
voip
(config-‐voice-‐service)#
allow-‐connections
h323
to
323
(config-‐voice-‐service)#
allow-‐connections
sip
to
sip
(config-‐voice-‐service)#
allow-‐connections
h323
to
sip
(config-‐voice-‐service)#
allow-‐connections
sip
to
h323
• UBE
can
register
with
the
gatekeeper
• Gatekeeper
can
use
a
register
UBE
router
with
via
zones
–
when
routing
a
call
between
Configuring
H.323-‐toH.323
Interworking
two
zones,
a
gatekeeper
can
be
configured
to
route
the
call
via
a
zone
containing
a
UBE
Step
1:
Enabling
H.323-‐to-‐H.323
Interworking
router.
This
enables
interzone
networking
using
a
central
UBE
router
without
the
need
(config)#
voice
service
voip
to
deploy
a
Cisco
UBE
router
at
every
site
or
redesign
an
already-‐deployed
H.323
(config-‐voice-‐service)#
allow-‐connections
h323
to
h323
network.
Step
2:
Configuring
H.323
Dial
Peers
• When
UBE
router
is
used
as
an
outbound
voice
gateway
>>
same
concepts
that
apply
(config)#
dial-‐peer
voice
2001
when
using
traditional
voice
gateways
with
gatekeepers
apply
to
UBE
deployments
(config-‐dial-‐peer)#
description
To
Cisco
Unified
Communications
Manager
• When
routing
calls
between
zones
that
require
UBE
functionality
>>
via-‐zones
should
(config-‐dial-‐peer)#
destination-‐pattern
2...
be
used,
existing
GK
deployments
can
easily
be
modified
to
include
UBE
(config-‐dial-‐peer)#
session-‐target
ipv4:192.168.1.1
(config-‐dial-‐peer)#
exit
Cisco
UBE
Gateway
Call
Flows
(config)#
dial-‐peer
voice
3000
Cisco
UCM
to
Cisco
UCME
(config-‐dial-‐peer)#
description
To
Cisco
Unified
Communications
Manager
Express
(config-‐dial-‐peer)#
destination-‐pattern
3...
(config-‐dial-‐peer)#
session-‐target
ipv4:192.168.2.254
Prepared
by
Matthew
Berry,
CCIE
#26721
24
For
more
Cisco
Voice
study
resources
visit
www.ciscovoiceguru.com
Show
active
calls
on
the
gatekeeper
Configuring
Cisco
UBEs
and
Via-‐Zone
Gatekeepers
Configure
Gatekeeper
1. Create
a
loopback
interface
to
use
for
the
gatekeeper.
2. Create
local,
remote,
and
VIA
zones.
3. Specify
zone
and
technology
prefixes.
Prepared
by
Matthew
Berry,
CCIE
#26721
25
For
more
Cisco
Voice
study
resources
visit
www.ciscovoiceguru.com