Documente Academic
Documente Profesional
Documente Cultură
VoIP - JVM2012
Voice Ports
Telephone to WAN
Voice Port Voice Port
FXS (Analog)
IP WAN or PSTN
Telephone to PSTN
Voice Port
FXS (Analog)
FXO (Analog)
PSTN
E&M (Analog)
IP WAN or PSTN
VoIP - JVM2012
Signaling Interfaces
Telephone to WAN
Voice Port Voice Port
FXS
WAN or PSTN
Telephone to PSTN
Voice Port
FXS
FXO
PSTN
E&M
PBX
WAN
VoIP - JVM2012
PBX
3
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
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 #
Off
0.1
0.1
200 400
VoIP - JVM2012
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
VoIP - JVM2012
10
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
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
Shows all DSP statuses Shows the operational state of the controller
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
VoIP - JVM2012
15
----------------------------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
Destination
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
VoIP - JVM2012
21
Dial Peer
Voice-Enabled Router
Telephony Device
POTS Voice-Enabled Router
VoIP
Packet Network
VoIP - JVM2012
22
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
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
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
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
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
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