Sunteți pe pagina 1din 28

VOICE PORTS

VoIP - JVM2012

Voice Ports
Telephone to WAN
Voice Port Voice Port

FXS (Analog)

T1 or E1 or ISDN (Digital) Voice Port

IP WAN or PSTN

Telephone to PSTN

Voice Port

FXS (Analog)

FXO (Analog)

PSTN

PBX to PBX over WAN


Voice Port Voice Port Voice Port Voice Port

E&M (Analog)

T1, E1, or ISDN (Digital)

IP WAN or PSTN

VoIP - JVM2012

T1, E1, or ISDN (Digital)

T1, E1, or ISDN QSIG (Digital)

Signaling Interfaces
Telephone to WAN
Voice Port Voice Port

FXS

T1 or E1 or ISDN Voice Port

WAN or PSTN

Telephone to PSTN

Voice Port

FXS

FXO

PSTN

PBX to PBX over WAN


Voice Port Serial or T1 Serial or T1 Voice Port

E&M
PBX

T1, E1, or ISDN

WAN

T1, E1, or ISDN

VoIP - JVM2012

T1, E1, or ISDN QSIG (Digital)

PBX
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


VoIP - JVM2012 4

Analog Signaling
Supervisory signaling
Loop-start Ground-start

Address signaling
Pulse DTMF (Dual-tone multi-frequency signaling)

Informational signaling
Call progress tones

VoIP - JVM2012

DTMF Frequencies
Frequencies 1209 1336 1477

697
770 852 941

1
4 7

2
5 8 0

3
6 9 #

Network Call Progress Tones


Tone Dial Busy Ringback, normal Ringback, PBX Congestion (Toll) Reorder (Local) Frequency (Hz) 350 + 440 480 + 620 440 + 480 440 + 480 480 + 620 480 + 620
1400 + 2060 + 2450 + 2600

On Continuous 0.5 2 1 0.2 0.3

Off

0.5 4 3 0.3 0.2

Receiver off-hook No such number

0.1

0.1

200 400

Continuous, FM = frequency modulation 1 HZ

Analog Voice Ports


FXS (Loop-Start Signaling, Ground-Start Signaling) FXO (Loop-Start Signaling, Ground-Start Signaling) E&M (Immediate-Start Signaling, Wink-Start Signaling, Delay-Start Signaling)

VoIP - JVM2012

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

VoIP - JVM2012

Timers and Timing Configuration


timeouts initial timeouts interdigit timeouts ringing timing digit timing interdigit timing hookflash-in and hookflash-out

VoIP - JVM2012

10

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

VoIP - JVM2012

11

Verifying Voice Ports


1. 2. 3. 4. 5. 6. 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.

VoIP - JVM2012

12

show Commands
Command show voice port show voice port x/y/z show voice port summary 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 busyout show voice dsp show controller T1 | E1

Shows all DSP statuses Shows the operational state of the controller

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

VoIP - JVM2012

14

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 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

VoIP - JVM2012

15

show voice dsp


router# show voice dsp DSP DSP DSPWARE CURR BOOT PAK TYPE NUM CH CODEC VERSION STATE STATE RST AI VOICEPORT TS ABORT 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.1 edsp 004 02 g729r8 p 0.1 IDLE 50/0/12.2 TX/RX PACK

----------------------------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

VoIP - JVM2012

16

test Commands
Command Description
test voice port <slot/subunit/port> detector {m- Used to test detector-related functions on a lead | battery-reversal | ring | tip-ground | voice port. ring-ground | ring-trip} {on | off | disable} 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} 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. 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}
test voice port <slot/subunit/port> switch {fax | disable} csim start XXXX

Used to test relay-related functions on a voice port. Use the <slot/port:ds0-group> variable for digital voice ports.
Used to force a voice port into fax mode. Use the <slot/port:ds0-group> variable for digital voice ports. Used to initiate simulated calls to whichever real-world E.164 number is desired.

Dial Peers

VoIP - JVM2012

18

Dial Peers and Call Legs


Source
Packet Network

Destination

Call Leg 1 (POTS dial peer)

Call Leg 2 (VoIP dial peer)

Call Leg 3 (VoIP dial peer)

Call Leg 4 (POTS dial peer)

VoIP - JVM2012

19

End-to-End Calls
Source
POTS Originating Gateway Call Leg 1 (POTS Dial Peer) R1 Inbound Call Leg 2 (Voice Network Dial Peer) R2 Outbound

R1
Packet Network

R2

Destination
POTS

Terminating Gateway Call Leg 3 (Voice Network Dial Peer) R2 Inbound Call Leg 4 (POTS Dial Peer) R2 Outbound

VoIP - JVM2012

20

Types of Dial Peers


A dial peer is an addressable call endpoint. Dial peers establish logical connections, called call legs, to complete an end-to-end call. Cisco voice-enabled routers support two types of dial peers:
POTS dial peers: Define the characteristics of a traditional telephony network connection VoIP dial peers: Define the characteristics of a packet network connection

VoIP - JVM2012

21

Dial Peer
Voice-Enabled Router

Telephony Device
POTS Voice-Enabled Router

VoIP

Packet Network

VoIP - JVM2012

22

POTS Dial Peers


Dial Peer 1

Voice Port 1/0/0

Router 1

Extention 7777
Configuration for Dial Peer 1 on Router 1:
Router# configure terminal Router(config)# dial-peer voice 1 pots Router(config-dialpeer)# destination-pattern 7777 Router(config-dialpeer)# port 1/0/0 Router(config-Dialpeer)# end

VoIP - JVM2012

23

VoIP Dial Peers


R2(config)# dial-peer voice 2 pots R2(config-dial-peer)# destination pattern 8 R2(config-dial-peer)# forward-digits all R2(config-dial-peer)# port 1/0/0

Extension 7777 is calling 8888

R1
IP Cloud Extension 7777
R1(config)# dial-peer voice 2 voip R1 (config-dial-peer)# destination pattern 8 R1(config-dial-peer)# session target ipv4:10.18.0.1

R2
1/0/0

L0: 10.18.0.1

PBX

Extension 8888

VoIP - JVM2012

24

Common Destination-Pattern Options


+
(Optional) Character indicating an E.164 standard number.

string

Series of digits that specify a pattern for the E.164 or private dialing plan telephone number. Valid entries are the digits 0 through 9, the letters A through D, and the following special characters: The asterisk (*) and pound sign (#) that appear on standard touch-tone dial pads. Comma (,), which inserts a pause between digits. Period (.), which matches any entered digit (this character is used as a wildcard). Percent sign (%), which indicates that the preceding digit occurred zero or more times; similar to the wildcard usage. Plus sign (+), which indicates that the preceding digit occurred one or more times. Circumflex (^), which indicates a match to the beginning of the string. Dollar sign ($), which matches the null string at the end of the input string. Backslash symbol (\), which is followed by a single character, and matches that character. Can be used with a single character with no other significance (matching that character). Question mark (?), which indicates that the preceding digit occurred either zero times or one time. Brackets ([ ]) indicate a range. Parentheses (( )), which indicate a pattern. (Optional) Control character indicating that the value is a variable-length dial string. Using this control character enables the router to wait until all digits are received before routing the call. VoIP - JVM2012

25

Matching Inbound Dial Peers


Configurable parameters used for matching inbound dial peers:
incoming called-number: Defines the called number or DNIS string answer-address: Defines the originating calling number or ANI string destination-pattern: Uses the calling number (originating or ANI string) to match the incoming call leg to an inbound dial peer Port: Attempts to match the configured dial-peer port to the voice port that is associated with the incoming call (POTS dial peers only)
VoIP - JVM2012 26

Default Dial Peer 0


Dial Peer 1 1/0/0 R1 Dial Peer 2

10.18.0.2
IP Cloud R2 1/1/0

Extension 7777

Extension 8888

dial-peer voice 1 pots destination 7777 port 1/0/0 dial-peer voice 2 voip destination-pattern 8888 session target ipv4:10.18.0.2

dial-peer voice 3 pots destination 8888 port 1/1/0

When extension 7777 calls extension 8888, there is no dial peer on router 2 with destination pattern 7777 to match the incoming call leg. Router 2 matches the default dial peer 0.
VoIP - JVM2012

27

Default Dial Peer 0


Dial Peer 1 10.18.0.1 1/0/0 R1 Dial Peer 2

10.18.0.2
IP Cloud R2 1/1/0

Extension 7777

Extension 8888

dial-peer voice 1 pots destination 7777 port 1/0/0 dial-peer voice 2 voip destination-pattern 8888 session target ipv4:10.18.0.2

dial-peer voice 3 pots destination 8888 port 1/1/0 dial-peer voice 4 voip destination-pattern 7777 session target ipv4:10.18.0.1

VoIP - JVM2012

28

S-ar putea să vă placă și