© 2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.0—2-1 Configuring Voice Ports Configuring Analog Voice Ports
8/14/2019 CVOICE 6.0 S02 L02
http://slidepdf.com/reader/full/cvoice-60-s02-l02 1/34
© 2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.0—2-1
Configuring Voice Ports
Configuring AnalogVoice Ports
8/14/2019 CVOICE 6.0 S02 L02
http://slidepdf.com/reader/full/cvoice-60-s02-l02 2/34
© 2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.0—2-2
IP WAN or PSTN
Voice Port Voice Port
PSTN
Voice Port Voice Port
IP WAN or PSTN
Voice Port Voice Port Voice Port Voice Port
Telephone to WAN
Telephone to PSTN
PBX to PBX over WAN
FXS(Analog)
FXO(Analog)
E&M(Analog)
T1, E1,or ISDNQSIG(Digital)
T1 or E1 or ISDN (Digital)
FXS(Analog)
T1,E1, or ISDN(Digital)
Voice Ports
T1,E1, or ISDN(Digital)
8/14/2019 CVOICE 6.0 S02 L02
http://slidepdf.com/reader/full/cvoice-60-s02-l02 3/34
© 2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.0—2-3
Signaling Interfaces
WAN or PSTN
Voice Port Voice Port
PSTN
Voice Port Voice Port
WAN
Voice Port Serial or T1 Serial or T1 Voice Port
Telephone to WAN
Telephone to PSTN
PBX to PBX over WAN
FXS
FXO
E&M
T1 or E1 or ISDN
FXS
PBX PBX
T1, E1,or ISDNQSIG(Digital)
T1,E1, or ISDN
T1,E1, or ISDN
8/14/2019 CVOICE 6.0 S02 L02
http://slidepdf.com/reader/full/cvoice-60-s02-l02 4/34
© 2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.0—2-4
FXS: Connects directly to end-user equipment such as telephones,fax machines, or modems
FXS
FXO: Used for trunk, or tie line, connections to a PSTN CO or to a PBXthat does not support E&M signaling
E&M: Most common form of analog trunk circuit
PSTNFXOFXO
E&M E&MWAN or PSTN
Analog Voice Ports
8/14/2019 CVOICE 6.0 S02 L02
http://slidepdf.com/reader/full/cvoice-60-s02-l02 5/34
© 2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.0—2-5
Analog Signaling
Supervisory signaling
– Loop-start
– Ground-start
Address signaling – Pulse
– DTMF
Informational signaling
– Call progress tones
8/14/2019 CVOICE 6.0 S02 L02
http://slidepdf.com/reader/full/cvoice-60-s02-l02 6/34
© 2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.0—2-6
CO
–48 V
CO
On-Hook
Off-Hook
Dial Tone Ring Voltage
CO
Off-Hook
On-Hook
On-Hook
Off-Hook
Idlestate.
Caller picks uphandsetand dialsnumber.
Call isconnected.
RG
Ring
TipRG
Ring
Tip
RG RG
Ring
Tip
Ring
Tip
Ring
Tip
Ring
TipRG RG
Telephone Telephone
Telephone Telephone
Telephone Telephone
Loop-Start Signaling
1
2
3
–48 V
–48 V
RG = Ring Generator
8/14/2019 CVOICE 6.0 S02 L02
http://slidepdf.com/reader/full/cvoice-60-s02-l02 7/34© 2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.0—2-7
CO
–48 V
CO
CO
On-Hook
On-Hook
Off-Hook
Idle state.
PBX grounds ringlead; CO sensesring ground andgrounds tip lead.
PBX sensestip ground,closes two-wire loop,and removesring ground.
RG
Ring
Tip
RGRing
Tip
Ring
Tip
RG
PBX or FXO
PBX or FXO
PBX or FXO
TipGroundDetector
TipGroundDetector
TipGroundDetector
Ground-Start Signaling
1
2
3
–48 V
–48 V
RG = Ring Generator
8/14/2019 CVOICE 6.0 S02 L02
http://slidepdf.com/reader/full/cvoice-60-s02-l02 8/34© 2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.0—2-8
DTMF Frequencies
#
9
6
3
1477
0*941
87852
54770
21697
13361209Frequencies
8/14/2019 CVOICE 6.0 S02 L02
http://slidepdf.com/reader/full/cvoice-60-s02-l02 9/34© 2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.0—2-9
Network Call Progress Tones
Continuous, FM =frequency modulation 1 HZ
200 – 400No such number
0.1 0.11400 + 2060 + 2450 +2600
Receiver off-hook
0.3 0.2480 + 620Reorder (Local)
0.2 0.3480 + 620Congestion (Toll)
1 3440 + 480Ringback, PBX
2 4440 + 480Ringback, normal
0.5 0.5480 + 620Busy
Continuous350 + 440Dial
On Off Frequency (Hz)Tone
8/14/2019 CVOICE 6.0 S02 L02
http://slidepdf.com/reader/full/cvoice-60-s02-l02 10/34© 2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.0—2-10
E&M Signaling
Type I Type V
M-Lead
E-Lead
T
T1
R
R1
Battery
Detect
Detect
Audio Audio
AudioAudio
Not used on two-wire
Full duplex on two-wire
Detect
Audio
Audio
Detect
Audio
Audio
Full duplex on two-wire
Not used on two-wire
Battery Battery
Battery
M-Lead
E-Lead
T
T1
R
R1
E = E-LeadM = M-LeadT = TipR = RingT1 = Tip 1
R1 = Ring 1
8/14/2019 CVOICE 6.0 S02 L02
http://slidepdf.com/reader/full/cvoice-60-s02-l02 11/34© 2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.0—2-11
150 ms
Immediate-Start Signaling
Sending Switch Receiving Switch
On-Hook
Off-Hook
Sending switch goes off-hook.
DTMF Digits
Receiving switch goes off-hookafter connection is established.
Sending switch waits a minimum of 150 ms beforesending addressing.
On-Hook
Off-Hook
8/14/2019 CVOICE 6.0 S02 L02
http://slidepdf.com/reader/full/cvoice-60-s02-l02 12/34© 2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.0—2-12
Wink-Start Signaling
Sending Switch Receiving Switch
On-Hook
Off-Hook
Sending switch goes off-hook.
DTMF Digits
Receiving switch goes off-hookafter connection is established.
Sending switch waits a minimum of 210 ms beforesending addressing.
On-Hook
Off-Hook
Receiving switch momentarily goesoff-hook for 140 to 200 ms.
On-Hook
Off-HookWink
8/14/2019 CVOICE 6.0 S02 L02
http://slidepdf.com/reader/full/cvoice-60-s02-l02 13/34© 2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.0—2-13
Delay-Start Signaling
Sending Switch Receiving Switch
On-Hook
Off-Hook
Sending switch goes off-hook.
DTMF Digits
Receiving switch goes off-hookafter connection is established.
Sending switch waits for receiving switch to go on-hook before sending addressing.
On-Hook
Off-Hook
On-Hook
Off-HookReceiving switch goeson-hook.
8/14/2019 CVOICE 6.0 S02 L02
http://slidepdf.com/reader/full/cvoice-60-s02-l02 14/34© 2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.0—2-14
Analog Voice Ports
FXS
FXO
E&M
8/14/2019 CVOICE 6.0 S02 L02
http://slidepdf.com/reader/full/cvoice-60-s02-l02 15/34© 2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.0—2-15
FXS Voice Port Configuration Example
WAN
Voice Port0/2/0
Router(config)# voice-port 0/2/0Router(config-voiceport)# signal groundstart
Router(config-voiceport)# cptone GBRouter(config-voiceport)# ring cadence pattern01Router(config-voiceport)# no shutdown
Liverpool
8/14/2019 CVOICE 6.0 S02 L02
http://slidepdf.com/reader/full/cvoice-60-s02-l02 16/34© 2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.0—2-16
PSTN
RomeE1 CCSTrunk
Chicago
E&MTrunk
London
T1 CASTrunk
T1 QSIGTrunk
E1 R2Trunk
San Jose
Denver
T1 PRI
T1 PRI
T1 QSIGTrunk
Trunks
CAS = Channel Associated Signaling
CSS = Common Channel Signaling
8/14/2019 CVOICE 6.0 S02 L02
http://slidepdf.com/reader/full/cvoice-60-s02-l02 17/34© 2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.0—2-17
Analog Trunks
E&M Interface
E&M Port
Trunk Side of PBX
FXO Interface
FXOPort
FXOPort
StationPort
CO
FXS Interface
FXSPort
FXS
Port
FXS
Port
PSTN
DID Interface
DIDPort
CO
PSTN
8/14/2019 CVOICE 6.0 S02 L02
http://slidepdf.com/reader/full/cvoice-60-s02-l02 18/34© 2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.0—2-18
Analog Trunks (Cont.)
Analog ExtensionStation ID Number 555-0112Station ID Name John Smith
Call 1
Call 2
Extension 0113
408 555-0199
Service Provider DatabaseNumber 408 555-0100Name ACME Enterprises
Caller ID DisplayNumber 555-0112Name John SmithCaller ID Display
Number 408 555-0100Name ACME Enterprises
PSTN
Inbound and Outbound Caller ID with FXO and FXS
8/14/2019 CVOICE 6.0 S02 L02
http://slidepdf.com/reader/full/cvoice-60-s02-l02 19/34© 2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.0—2-19
Austin
Router(config)# voice-port 0/0/0
Router(config-voiceport)# signal groundstartRouter(config-voiceport)# connection plar opx 4001
Router(config)# dial-peer voice 90 pots
Router(config-dialpeer)# destination-pattern 9T
Router(config-dialpeer)# port 0/0/0
PSTNFXO
Inbound calls shouldbe routed to 4001.
4001 4002
Configuring an Analog FXO PSTN Trunk
8/14/2019 CVOICE 6.0 S02 L02
http://slidepdf.com/reader/full/cvoice-60-s02-l02 20/34© 2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.0—2-20
E&M Voice Port Configuration
PBX
Router(config)# voice-port 1/1/1Router(config-voiceport)# signal wink-startRouter(config-voiceport)# operation 2-wire
Router(config-voiceport)# type 1Router(config-voiceport)# no shutdownRouter(config-voiceport)# exitRouter(config)# dial-peer voice 10 pots
Router(config-dialpeer)# destination-pattern 1...Router(config-dialpeer)# direct-inward-dialRouter(config-dialpeer)# forward-digits all
Router(config-dialpeer)# port 1/1/1
1001
1002
1003
2001
2002
2003
2004
E&M trunkWink-startType I
Two-wire
Inbound DNIS
Outbound DNIS
8/14/2019 CVOICE 6.0 S02 L02
http://slidepdf.com/reader/full/cvoice-60-s02-l02 21/34© 2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.0—2-21
Analog CAMA Trunk Support
Centralized Automated MessageAccounting
Chicago
PSTNT1 PRI for Standard Calls
PSAP
CAMA Trunkfor Emergency
Calls
8/14/2019 CVOICE 6.0 S02 L02
http://slidepdf.com/reader/full/cvoice-60-s02-l02 22/34© 2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.0—2-22
Austin
PSTN
T1 PRI for Standard Calls
PSAP
CAMA Trunkfor Emergency
Calls
Router(config)# voice-port 1/1/1Router(config-voiceport)# ani mapping 1 312
Router(config-voiceport)# signal cama KP-NPD-NXX-XXXX-ST
Router(config)# dial-peer voice 911 pots
Router(config-dialpeer)# destination-pattern 911
Router(config-dialpeer)# prefix 911
Router(config-dialpeer)# port 1/1/1
Router(config)# dial-peer voice 9911 pots
Router(config-dialpeer)# destination-pattern 9911Router(config-dialpeer)# prefix 911
Router(config-dialpeer)# port 1/1/1
Router(config)# dial-peer voice 910 pots
Router(config-dialpeer)# destination-pattern 9[2-8].........
Router(config-dialpeer)# port 0/0/0:23
0/0/0
1/1/1
Configuring CAMA Trunks
8/14/2019 CVOICE 6.0 S02 L02
http://slidepdf.com/reader/full/cvoice-60-s02-l02 23/34© 2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.0—2-23
Denver
PSTN
FXO Outbound 0/1/0
FXS DID Inbound 0/0/0DID Support
Router(config)# voice-port 0/0/0
Router(config-voiceport)# signal did wink-start
Router(config)# voice-port 0/1/0
Router(config-voiceport)# signal groundstartRouter(config)# dial-peer voice 1 pots
Router(config-dialpeer)# incoming called-number .
Router(config-dialpeer)# direct-inward-dial
Router(config-dialpeer)# port 0/0/0
Router(config)# dial-peer voice 910 pots
Router(config-dialpeer)# destination-pattern 9[2-8].........
Router(config-dialpeer)# port 0/1/0
0/0/0
0/1/0
Configuring DID Trunks
8/14/2019 CVOICE 6.0 S02 L02
http://slidepdf.com/reader/full/cvoice-60-s02-l02 24/34© 2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.0—2-24
Timers and Timing Configuration
timeouts initial
timeouts interdigit
timeouts ringing
timing digit timing interdigit
timing hookflash-in and hookflash-out
8/14/2019 CVOICE 6.0 S02 L02
http://slidepdf.com/reader/full/cvoice-60-s02-l02 25/34
© 2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.0—2-25
Timers and Timing Configuration (Cont.)
Router(config)# voice-port 0/1/0Router(config-voiceport)# timeouts initial 15Router(config-voiceport)# timeouts interdigit 15Router(config-voiceport)# timeouts ringing 240Router(config-voiceport)# timing hookflash-in 500
8/14/2019 CVOICE 6.0 S02 L02
http://slidepdf.com/reader/full/cvoice-60-s02-l02 26/34
© 2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.0—2-26
Verifying Voice Ports
• Check for dial tone (FXS only).
• Check for DTMF tones (FXS only).
• Use the show voice port command to check the configuration.
• Use the show voice port command to ensure that the port isenabled.
• Be sure that the PBX configuration is compatible with the voiceport.
• Check the physical installation of the hardware.
8/14/2019 CVOICE 6.0 S02 L02
http://slidepdf.com/reader/full/cvoice-60-s02-l02 27/34
© 2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.0—2-27
show Commands
Shows the operational state of thecontroller
show controller T1 | E1
Shows all DSP statusesshow voice dsp
Shows all voice ports configured asbusyout
show voice busyout
Shows all voice port configurations inbrief
show voice portsummary
Shows one voice port configuration in
detailshow voice port x/y/z
Shows all voice port configurations indetail
show voice port
DescriptionCommand
8/14/2019 CVOICE 6.0 S02 L02
http://slidepdf.com/reader/full/cvoice-60-s02-l02 28/34
© 2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.0—2-28
show voice portrouter# show voice port
Foreign Exchange Station 0/0/0 Slot is 0, Sub-unit is 0, Port is 0
Type of VoicePort is FXS VIC2-2FXS
Operation State is DORMANT
Administrative State is UP
No Interface Down Failure
Description is not set
Noise Regeneration is enabled
Non Linear Processing is enabled
Non Linear Mute is disabled
Non Linear Threshold is -21 dB
Music On Hold Threshold is Set to -38 dBm
In Gain is Set to 0 dB
Out Attenuation is Set to 3 dBEcho Cancellation is enabled
Echo Cancellation NLP mute is disabled
Echo Cancellation NLP threshold is -21 dB
Echo Cancel Coverage is set to 64 ms
Echo Cancel worst case ERL is set to 6 dB
Playout-delay Mode is set to adaptive
Playout-delay Nominal is set to 60 ms
8/14/2019 CVOICE 6.0 S02 L02
http://slidepdf.com/reader/full/cvoice-60-s02-l02 29/34
© 2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.0—2-29
show voice port summary
router# show voice port summary
IN OUT
PORT CH SIG-TYPE ADMIN OPER STATUS STATUS EC
========= == ============ ===== ==== ======== ======== ==0/0/0 -- fxs-ls up dorm on-hook idle y
0/0/1 -- fxs-ls up dorm on-hook idle y
50/0/11 1 efxs up dorm on-hook idle y
50/0/11 2 efxs up dorm on-hook idle y
50/0/12 1 efxs up dorm on-hook idle y
50/0/12 2 efxs up dorm on-hook idle y
8/14/2019 CVOICE 6.0 S02 L02
http://slidepdf.com/reader/full/cvoice-60-s02-l02 30/34
© 2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.0—2-30
show voice dsp
router# show voice dsp
DSP DSP DSPWARE CURR BOOT PAK TX/RX
TYPE NUM CH CODEC VERSION STATE STATE RST AI VOICEPORT TS ABORT PACK COUNT
==== === == ======== ======= ===== ======= === == ========= == ===== ============
edsp 001 01 g711ulaw 0.1 IDLE 50/0/11.1
edsp 002 02 g729r8 p 0.1 IDLE 50/0/11.2
edsp 003 01 g729r8 p 0.1 IDLE 50/0/12.1edsp 004 02 g729r8 p 0.1 IDLE 50/0/12.2
----------------------------FLEX VOICE CARD 0 ------------------------------
*DSP VOICE CHANNELS*
DSP DSP DSPWARE CURR BOOT PAK TX/RX
TYPE NUM CH CODEC VERSION STATE STATE RST AI VOICEPORT TS ABRT PACK COUNT
===== === == ======== ======= ===== ======= === == ========= == ==== ============
*DSP SIGNALING CHANNELS*DSP DSP DSPWARE CURR BOOT PAK TX/RX
TYPE NUM CH CODEC VERSION STATE STATE RST AI VOICEPORT TS ABRT PACK COUNT
===== === == ======== ======= ===== ======= === == ========= == ==== ============
C5510 001 01 {flex} 4.4.20 alloc idle 0 0 0/0/0 02 0 35/0
C5510 001 02 {flex} 4.4.20 alloc idle 0 0 0/0/1 02 0 33/0
8/14/2019 CVOICE 6.0 S02 L02
http://slidepdf.com/reader/full/cvoice-60-s02-l02 31/34
© 2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.0—2-31
Used to initiate simulated calls to whichever real-world E.164 number is desired.
csim start XXXX
Used to force a voice port into fax mode.Use the <slot/port:ds0-group> variable for digital voice ports.
test voice port <slot/subunit/port> switch {fax| disable}
Used to test relay-related functions on a voice
port.Use the <slot/port:ds0-group> variable for digital voice ports.
test voice port <slot/subunit/port> relay {e-
lead | loop | ring-ground | battery-reversal |power-denial | ring | tip-ground} {on | off |disable}
Used to perform loopback testing on a voiceport.Use the <slot/port:ds0-group> variable for digital voice ports.
test voice port <slot/subunit/port> loopback{local | network | disable}
Used to inject a test tone into a voice port.Use the <slot/port:ds0-group> variable for
digital voice ports.
test voice port <slot/subunit/port> inject-tone{local | network} {1000hz | 2000hz | 200hz |
3000hz | 300hz | 3200hz | 3400hz | 500hz |quiet | disable}
Used to test detector-related functions on avoice port.Use the <slot/port:ds0-group> variable for digital voice ports.
test voice port <slot/subunit/port> detector {m-lead | battery-reversal | ring | tip-ground |ring-ground | ring-trip} {on | off | disable}
DescriptionCommand
test Commands
8/14/2019 CVOICE 6.0 S02 L02
http://slidepdf.com/reader/full/cvoice-60-s02-l02 32/34
© 2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.0—2-32
Summary
Voice ports on routers and access servers emulate physicaltelephony switch connections.
Analog voice port interfaces connect routers in packet-basednetworks to analog two-wire or four-wire circuits in telephony
networks. FXS, FXO, and E&M ports have several configuration
parameters.
8/14/2019 CVOICE 6.0 S02 L02
http://slidepdf.com/reader/full/cvoice-60-s02-l02 33/34
© 2008 Cisco Systems, Inc. All rights reserved. CVOICE v6.0—2-33
Summary (Cont.)
CAMA is used for 911 and E911 services.
DID service enables callers to dial an extension directly on a PBXor packet voice system.
You can set a number of timers and timing parameters for fine-
tuning the voice port.
The show, debug, and test commands are used for monitoringand troubleshooting voice functions in the network.