Configuring Analog Voice Ports
Configuring Voice Ports
© 2008 Cisco Systems, Inc. All rights reserved.
CVOICE v6.0—2-1
Voice Ports Telephone to WAN
Voice Port
FXS (Analog)
Telephone to PSTN
Voice Port
FXS (Analog)
Voice Port
T1 or E1 or ISDN (Digital)
IP WAN or PSTN
Voice Port
PSTN
FXO (Analog)
PBX to PBX over WAN Voice Port
E&M (Analog) © 2008 Cisco Systems, Inc. All rights reserved.
Voice Port
T1, E1, or ISDN (Digital)
Voice Port
IP WAN or PSTN
T1, E1, or ISDN (Digital)
Voice Port
T1, E1, or ISDN QSIG (Digital) CVOICE v6.0—2-2
Signaling Interfaces Telephone to WAN
Voice Port
FXS
Telephone to PSTN
Voice Port
FXS
Voice Port
T1 or E1 or ISDN
WAN or PSTN
Voice Port
PSTN
FXO
PBX to PBX over WAN Voice Port
E&M PBX © 2008 Cisco Systems, Inc. All rights reserved.
Serial or T1
T1, E1, or ISDN
Serial or T1
WAN
T1, E1, or ISDN
Voice Port
T1, E1, or ISDN QSIG (Digital)
PBX CVOICE v6.0—2-3
Analog Voice Ports FXS
FXS: Connects directly to end-user equipment such as telephones,
fax machines, or modems FXO
FXO
PSTN
FXO: Used for trunk, or tie line, connections to a PSTN CO or to a PBX that does not support E&M signaling
E&M
WAN or PSTN
E&M
E&M: Most common form of analog trunk circuit © 2008 Cisco Systems, Inc. All rights reserved.
CVOICE v6.0—2-4
Analog Signaling Supervisory signaling – Loop-start – Ground-start Address signaling – Pulse – DTMF Informational signaling – Call progress tones
© 2008 Cisco Systems, Inc. All rights reserved.
CVOICE v6.0—2-5
Loop-Start Signaling Telephone Idle state.
Tip
RG
RG
Tip
1 On-Hook
Caller picks up handset and dials number.
Telephone
CO
Telephone
Ring
Tip Dial Tone
–48 V
Tip Ring Voltage
CO RG
Ring
On-Hook
Telephone
RG
2 Ring Off-Hook
Telephone 3 Call is connected.
Tip
RG = Ring Generator
Ring
–48 V
Off-Hook © 2008 Cisco Systems, Inc. All rights reserved.
On-Hook
Telephone
CO RG
Ring
Tip RG
–48 V
Ring Off-Hook CVOICE v6.0—2-6
Ground-Start Signaling CO Idle state.
–48 V
© 2008 Cisco Systems, Inc. All rights reserved.
Ring
Tip
2 RG
CO
–48 V
On-Hook
Tip Ground Detector
Ring On-Hook
PBX or FXO Tip
3 RG
Tip Ground Detector
PBX or FXO
CO
–48 V PBX senses tip ground, closes twowire loop, and removes ring ground.
Tip
1 RG
PBX grounds ring lead; CO senses ring ground and grounds tip lead.
PBX or FXO
Tip Ground Detector
RG = Ring Generator
Ring Off-Hook
CVOICE v6.0—2-7
DTMF Frequencies
Frequencies
1209
1336
1477
697
1
2
3
770
4
5
6
852
7
8
9
941
*
0
#
© 2008 Cisco Systems, Inc. All rights reserved.
CVOICE v6.0—2-8
Network Call Progress Tones Tone
Frequency (Hz)
On
Off
Dial
350 + 440
Busy
480 + 620
0.5
0.5
Ringback, normal
440 + 480
2
4
Ringback, PBX
440 + 480
1
3
Congestion (Toll)
480 + 620
0.2
0.3
Reorder (Local)
480 + 620
0.3
0.2
Receiver off-hook
1400 + 2060 + 2450 + 2600
0.1
0.1
No such number
200 – 400
© 2008 Cisco Systems, Inc. All rights reserved.
Continuous
Continuous, FM = frequency modulation 1 HZ CVOICE v6.0—2-9
E&M Signaling Type I M-Lead
Type V M-Lead
Detect
Detect
Battery
Battery
Battery
Battery Detect
E-Lead
Detect
T Audio
R
E-Lead T
Audio
Audio
R
Not used on two-wire
T1 Audio
R1
T1 Audio Full duplex on two-wire
Audio
R1
Audio Not used on twowire
Audio Full duplex on twowire
E = E-Lead M = M-Lead T = Tip R = Ring T1 = Tip 1 R1 = Ring 1 © 2008 Cisco Systems, Inc. All rights reserved.
CVOICE v6.0—2-10
Immediate-Start Signaling Receiving Switch
Sending Switch Off-Hook
Sending switch goes offhook.
On-Hook
150 ms
DTMF Digits Sending switch waits a minimum of 150 ms before sending addressing.
Off-Hook
Receiving switch goes off-hook after connection is established.
© 2008 Cisco Systems, Inc. All rights reserved.
On-Hook
CVOICE v6.0—2-11
Wink-Start Signaling Receiving Switch
Sending Switch Off-Hook
Sending switch goes offhook.
On-Hook
Receiving switch momentarily goes off-hook for 140 to 200 ms.
Wink
Off-Hook On-Hook
DTMF Digits Sending switch waits a minimum of 210 ms before sending addressing. Off-Hook
Receiving switch goes off-hook after connection is established. © 2008 Cisco Systems, Inc. All rights reserved.
On-Hook
CVOICE v6.0—2-12
Delay-Start Signaling Receiving Switch
Sending Switch Off-Hook
Sending switch goes offhook.
On-Hook
Receiving switch goes on-hook.
Off-Hook On-Hook
DTMF Digits Sending switch waits for receiving switch to go onhook before sending addressing. Off-Hook
Receiving switch goes off-hook after connection is established. © 2008 Cisco Systems, Inc. All rights reserved.
On-Hook
CVOICE v6.0—2-13
Analog Voice Ports FXS FXO E&M
© 2008 Cisco Systems, Inc. All rights reserved.
CVOICE v6.0—2-14
FXS Voice Port Configuration Example Liverpool Voice Port 0/2/0 WAN
Router(config)# voice-port 0/2/0 Router(config-voiceport)# signal groundstart Router(config-voiceport)# cptone GB Router(config-voiceport)# ring cadence pattern01 Router(config-voiceport)# no shutdown
© 2008 Cisco Systems, Inc. All rights reserved.
CVOICE v6.0—2-15
Trunks Chicago
T1 PRI E&M Trunk
PSTN San Jose T1 QSIG Trunk T1 CAS Trunk
London Denver
E1 R2 Trunk
Rome
E1 CCS Trunk
T1 QSIG Trunk
T1 PRI
CAS = Channel Associated Signaling CSS = Common Channel Signaling © 2008 Cisco Systems, Inc. All rights reserved.
CVOICE v6.0—2-16
Analog Trunks FXS Port
FXO Port
FXS Port FXS Port
Station Port
PSTN
FXO Port CO
FXS Interface
FXO Interface
Trunk Side of PBX
DID Port
PSTN E&M Port
E&M Interface © 2008 Cisco Systems, Inc. All rights reserved.
CO
DID Interface CVOICE v6.0—2-17
Analog Trunks (Cont.) Inbound and Outbound Caller ID with FXO and FXS Extension 0113
Caller ID Display Number 408 555-0100 Name ACME Enterprises
Caller ID Display Number 555-0112 Name John Smith
408 555-0199
Call 1
PSTN
Service Provider Database Number 408 555-0100 Name ACME Enterprises
© 2008 Cisco Systems, Inc. All rights reserved.
Call 2
Analog Extension Station ID Number 555-0112 Station ID Name John Smith
CVOICE v6.0—2-18
Configuring an Analog FXO PSTN Trunk Austin
FXO
PSTN Inbound calls should be routed to 4001. 4001
4002
Router(config)# voice-port 0/0/0 Router(config-voiceport)# signal groundstart Router(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
© 2008 Cisco Systems, Inc. All rights reserved.
CVOICE v6.0—2-19
E&M Voice Port Configuration 1001
E&M trunk Wink-start Type I Two-wire
PBX
2001 2002
1002 Inbound DNIS Outbound DNIS 1003
2003 2004
Router(config)# voice-port 1/1/1 Router(config-voiceport)# signal wink-start Router(config-voiceport)# operation 2-wire Router(config-voiceport)# type 1 Router(config-voiceport)# no shutdown Router(config-voiceport)# exit Router(config)# dial-peer voice 10 pots Router(config-dialpeer)# destination-pattern 1... Router(config-dialpeer)# direct-inward-dial Router(config-dialpeer)# forward-digits all Router(config-dialpeer)# port 1/1/1 © 2008 Cisco Systems, Inc. All rights reserved.
CVOICE v6.0—2-20
Centralized Automated Message Accounting Analog CAMA Trunk Support
Chicago
T1 PRI for Standard Calls
PSTN
CAMA Trunk for Emergency Calls
© 2008 Cisco Systems, Inc. All rights reserved.
PSAP
CVOICE v6.0—2-21
Configuring CAMA Trunks
Austin
Router(config)# voice-port 1/1/1 Router(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 9911 Router(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 T1 PRI for Standard Calls 0/0/0
PSTN
1/1/1
CAMA Trunk for Emergency Calls © 2008 Cisco Systems, Inc. All rights reserved.
PSAP CVOICE v6.0—2-22
Configuring DID Trunks Denver
DID Support
0/0/0
FXS DID Inbound 0/0/0
PSTN 0/1/0
FXO Outbound 0/1/0
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 groundstart Router(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 © 2008 Cisco Systems, Inc. All rights reserved.
CVOICE v6.0—2-23
Timers and Timing Configuration timeouts initial timeouts interdigit timeouts ringing timing digit timing interdigit timing hookflash-in and hookflash-out
© 2008 Cisco Systems, Inc. All rights reserved.
CVOICE v6.0—2-24
Timers and Timing Configuration (Cont.)
Router(config)# voice-port 0/1/0 Router(config-voiceport)# timeouts initial 15 Router(config-voiceport)# timeouts interdigit 15 Router(config-voiceport)# timeouts ringing 240 Router(config-voiceport)# timing hookflash-in 500
© 2008 Cisco Systems, Inc. All rights reserved.
CVOICE v6.0—2-25
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 is enabled. • Be sure that the PBX configuration is compatible with the voice port. • Check the physical installation of the hardware.
© 2008 Cisco Systems, Inc. All rights reserved.
CVOICE v6.0—2-26
show Commands Command show voice port show voice port x/y/z show voice port summary show voice busyout
Description Shows all voice port configurations in detail Shows one voice port configuration in detail Shows all voice port configurations in brief Shows all voice ports configured as busyout
show voice dsp
Shows all DSP statuses
show controller T1 | E1
Shows the operational state of the controller
© 2008 Cisco Systems, Inc. All rights reserved.
CVOICE v6.0—2-27
show voice port router# 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 dB Echo 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 © 2008 Cisco Systems, Inc. All rights reserved.
CVOICE v6.0—2-28
show voice port summary router# show voice port summary PORT ========= 0/0/0 0/0/1 50/0/11 50/0/11 50/0/12 50/0/12
CH SIG-TYPE ADMIN == ============ ===== -- fxs-ls up -- fxs-ls up 1 efxs up 2 efxs up 1 efxs up 2 efxs up
© 2008 Cisco Systems, Inc. All rights reserved.
OPER ==== dorm dorm dorm dorm dorm dorm
IN STATUS ======== on-hook on-hook on-hook on-hook on-hook on-hook
OUT STATUS ======== idle idle idle idle idle idle
EC == y y y y y y
CVOICE v6.0—2-29
show voice dsp router# show voice dsp DSP TYPE ==== edsp edsp edsp edsp
DSP NUM === 001 002 003 004
CH == 01 02 01 02
CODEC ======== g711ulaw g729r8 p g729r8 p g729r8 p
DSPWARE CURR BOOT PAK TX/RX VERSION STATE STATE RST AI VOICEPORT TS ABORT PACK COUNT ======= ===== ======= === == ========= == ===== ============ 0.1 IDLE 50/0/11.1 0.1 IDLE 50/0/11.2 0.1 IDLE 50/0/12.1 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
© 2008 Cisco Systems, Inc. All rights reserved.
CVOICE v6.0—2-30
test Commands Command
Description
test voice port <slot/subunit/port> detector {m-lead | battery-reversal | ring | tip-ground | ring-ground | ring-trip} {on | off | disable}
Used to test detector-related functions on 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 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> loopback {local | network | disable}
Used to perform loopback testing on a voice port. Use the <slot/port:ds0-group> variable for digital voice ports.
test voice port <slot/subunit/port> relay {elead | loop | ring-ground | battery-reversal | power-denial | ring | tip-ground} {on | off | 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> switch {fax | disable}
Used to force a voice port into fax mode. Use the <slot/port:ds0-group> variable for digital voice ports.
csim start XXXX
Used to initiate simulated calls to whichever real-world E.164 number is desired.
© 2008 Cisco Systems, Inc. All rights reserved.
CVOICE v6.0—2-31
Summary Voice ports on routers and access servers emulate physical telephony switch connections. Analog voice port interfaces connect routers in packet-based networks to analog two-wire or four-wire circuits in telephony networks. FXS, FXO, and E&M ports have several configuration parameters.
© 2008 Cisco Systems, Inc. All rights reserved.
CVOICE v6.0—2-32
Summary (Cont.) CAMA is used for 911 and E911 services. DID service enables callers to dial an extension directly on a PBX or packet voice system. You can set a number of timers and timing parameters for finetuning the voice port. The show, debug, and test commands are used for monitoring and troubleshooting voice functions in the network.
© 2008 Cisco Systems, Inc. All rights reserved.
CVOICE v6.0—2-33
© 2008 Cisco Systems, Inc. All rights reserved.
CVOICE v6.0—2-34