Introducing Voice Gateways Part 2
Introducing Voice Gateways Part 2
Introducing Voice Gateways Part 2
Gateways Part 2
Analog Signaling
Signaling techniques can be placed into one of three
categories:
Supervisory: Involves the detection of changes to the status of
a loop or trunk. When these changes are detected, the
supervisory circuit generates a predetermined response. For
example a circuit (loop) can close to connect a call
Addressing: Involves passing dialed digits (pulsed or tone) to a
PBX or CO. These dialed digits provide the switch with a
connection path to another phone
10
11
Loop-Start
Loop-start is the more common of the access signaling
techniques
When a handset is picked up (the telephone goes offhook) this action closes the 48V circuit that draws
current from the telephone company CO
This indicates a change in status, which signals the CO
to provide a dial tone
An incoming call is signaled from the CO to the called
handset by sending a signal in a standard on/off
pattern, which causes the telephone to ring
12
Loop-Start
The loop-start signaling process is as follows:
1. In the idle state, the telephone has an open two-wire loop
(tip and ring lines open). The CO or FXS waits for a closed
loop, which allows current to flow. The CO or FXS has a
ring generator connected to the tip line and 48VDC on the
ring line
13
Trivia!
Why are the wires called ring and tip?
14
Loop-Start
The loop-start signaling process is as follows:
2. A telephone set closes the loop between the tip and ring
lines. The CO or FXS module detects current flow and then
generates a dial tone, which is sent to the telephone set.
This indicates that the customer can start to dial.
The CO or FXS module seizes the line of the telephone
being called causing the phone to ring. The CO or FXS
module removes this ring after the telephone set closes the
circuit between the tip and ring lines.
15
Loop-Start
The loop-start signaling process is as follows:
3. The telephone set closes the circuit when the called party
picks up the handset. The CO or FXS module closes the
circuit when it has an available resource to connect to the
called party.
16
Loop-Start
Loop-start has two disadvantages:
There is no way to prevent the CO and the subscriber from
seizing the same line at the same time, known as glare.
It does not provide switch-side disconnect supervision for FXO
calls. The CO switch expects an FXO interface on a router to
hang up the calls it receives (like a telephone would), however
this function is not built into the FXO port for received calls, only
for calls originating from the FXO port
17
Ground-Start
Ground-start signaling is primarily used in switch-toswitch connections
The main difference between ground-start and loopstart signaling is that ground-start requires ground
detection to occur in both ends of a connection before
the ring and tip loops can be closed
Because ground-start signaling uses a request and/or
confirm switch at both ends of the interface it is
preferable over other signaling methods on high-usage
trunks
For this reason, ground-start signaling is typically used
on trunk lines between PBXs and in businesses where
call volume is high
Voice Over IP: Chapter 1 Introducing Voice Gateways Part 2
18
Ground-Start
The ground-start signaling process is as follows:
1. In the idle state, both the tip and ring lines are disconnected
from ground. The PBX/Router constantly monitor the tip line
for ground, and the CO constantly monitors the ring line for
ground. The battery (48VDC) is still connected to the ring
line just as in loop-start signaling.
PBX/Router
19
Ground-Start
The ground-start signaling process is as follows:
2. A PBX/Router grounds the ring line to indicate to the CO
that there is an incoming call. The CO senses the ring
ground and then grounds the tip lead to let the PBX/Router
know that it is ready to receive the incoming call
PBX/Router
20
Ground-Start
The ground-start signaling process is as follows:
3. The PBX/Router senses the tip ground and closes the loop
between the tip and ring lines in response. It also removes
the ring ground
PBX/Router
21
22
23
Pulse Dialing
Pulses were used by the old rotary phones
As the rotary disk rotated it opened and closed the
circuit a specified number of times based on how far
the disk was turned
The exchange equipment counted those circuit
interruptions to determine the called number
http://movieclips.com/t5Mc-hackers-movie-ramon-gets-busted/38.18/73.69
Voice Over IP: Chapter 1 Introducing Voice Gateways Part 2
24
DTMF
Dual Tone Multi-frequency (DTMF) tones are more
common today
A specific tone (consisting of two separate frequencies)
is assigned to each key on a touch-tone dial pad,
indicating the digits dialed
25
Informational Signaling
FXS ports provide informational signaling using call
progress (CP) tones
These tones are audible and are used by the FXS
connected device to indicate the status of calls
26
E&M Signaling
E&M is another signaling technique used mainly
between PBXs or other network-to-network telephony
switches
Instead of superimposing both voice and signaling on
the same wire, E&M uses separate paths, or leads, for
each
There are six distinct physical configurations for the
signaling part of the interface. They are Types IV and
Signaling System Direct Current No. 5 (SSDC5)
They use different methods to signal on-hook or offhook status
27
E&M Signaling
28
29
30
The calling side seizes the line by going off-hook on its E lead
then waiting for a short temporary off-hook pulse, or wink, from
the other end on its M lead before sending address information
as DTMF digits.
The switch interprets the pulse as an indication to proceed and
then sends the dialed digits as DTMF or dialed pulses.
31
32
33
34
35
36
37
38
NOTE: You can use the ? command to see a list of these twoletter locales
39
40
41
42
43
44
45
46
47
48
49
50
51
Note: The 9T string matches any outbound call starting with the
digit 9 (which is commonly used in enterprise networks to get an
outside line)
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
Trunks
Trunks interconnect gateways or PBX systems to other
gateways, PBX systems, or the PSTN
A trunk is a single physical interface or a logical
interface that contains several physical interfaces and
connects to a single destination (think about trunks in
LAN switching)
This could be a single FXO port that provides a single
line connection between a Cisco gateway and an FXS
port of a small PBX system
Or it could be several T1 interfaces with 24 lines each
in a Cisco gateway providing PSTN lines to several
hundred subscribers
Voice Over IP: Chapter 1 Introducing Voice Gateways Part 2
69
Trunks
Trunk ports can be analog or digital and use a variety of
signaling protocols
Signaling can be done using either the voice channel
(in-band) or an extra dedicated channel (out-of-band)
70
Analog Trunks
71
Analog Trunks
PSTN carriers typically offer analog trunk features that
can be supported on home phones
A description of several of these features can be found
on pages 78 and 79 of the textbook
Some of these features include caller ID, call waiting,
last-number redial, etc.
As shown in the next example, caller ID requires
special consideration when used on analog trunks
72
Analog Trunks
The following diagram shows a small business voice
network connected through a gateway to the PSTN
73
Analog Trunks
The voice network supports both analog and IP
phones. The connection to the PSTN is via an FXO
port and the analog phone is connected to an FXS port
on the gateway
74
Analog Trunks
The issue in this scenario is how the caller ID is passed
to call destinations
75
Analog Trunks
Call 1 is from the analog phone to the IP phone on the
same premises. The FXS port is configured with a
station ID and station ID number
76
Analog Trunks
When a call is placed from the analog phone to the IP
phone on the same premises the caller name and
number are displayed on the screen
77
Analog Trunks
Call 2 is placed from the same analog phone but the
destination is off premises on the PSTN
78
Analog Trunks
The FXO port forwards the station ID information to the
PSTN. The CO switch discards this information and
replaces it with information it has configured for this
connection
79
CAMA Trunks
A Centralized Automated Message Accounting
(CAMA) trunk is a special analog trunk mainly used for
emergency call services (911 and E911 services)
You can use CAMA ports to connect to a Public Safety
Answering Point (PSAP) for emergency calls
CAMA trunks are currently used in 80% of E911
networks
Always check local regulations regarding 911 and
Enhanced 911 (E911) requirements when
implementing an IP telephony solution
80
CAMA Trunks
When CAMA trunks are used for E911 services, the
calling number (ANI) is needed at the PSAP for two
reasons
The calling number is used to reference the Automatic Location
Identification (ALI) database to find the exact location of the
caller
81
CAMA Trunks
Cisco VIC2-2FXO and VIC2-4FXO cards support
CAMA via software configuration
When configuring CAMA signaling there are five
options:
KP-0-NXX-XXXX-ST
KP-0-NPA-NXX-XXXX-ST
KP-0-NPA-NXX-XXXX-ST-KP-YYY-YYY-YYYY-ST
KP-2-ST
KP-NPD-NXX-XXXX-ST
82
83
84
85
86
87
88
89
90
91
92
93
94
Step 2:
If you have a dial tone, dial a DTMF digit. If the dial tone stops
when you dial a digit, the voice port is probably configured
properly.
95
<output omitted>
Voice Over IP: Chapter 1 Introducing Voice Gateways Part 2
96
CH SIG-TYPE
OUT
STATUS
EC
fxs-ls
up
dorm on-hook
idle
0/0/1
fxs-ls
up
dorm on-hook
idle
97
Step 6:
You must confirm that the voice interface card (VIC) (that is, the
module in the router that contains the voice ports) is correctly
installed. With the device powered down, remove the VIC, and
reinsert it to verify the installation. If the device has other slots
available, try inserting the VIC into another slot to isolate the
problem.
Voice Over IP: Chapter 1 Introducing Voice Gateways Part 2
98
99
100