Professional Documents
Culture Documents
Signaling
Caller ID information
Call progress tone
Dial-type
Ring number (rings before answering)
Router(config)#controller t1 1/0
Router(config-controller)#framing esf
Router(config-controller)#clock source line
NOTE: Better to use line clocking provided from PSTN or provider
Router(config-controller)#ds0-group 1 timeslots 1-24 type fxo-loop-start
Call Legs:
Any voice connection too or from a voice port or
connection or voice device
Call
Call
Call
Call
Leg
Leg
Leg
Leg
1:
2:
3:
4:
The
The
The
The
incoming
outgoing
incoming
outgoing
5+23
[14-6]555
55[59]12
[^1-7]..[135]
Digit Manipulation:
Used
Used
Used
Used
Used
for
for
for
for
for
7-digit dialing
10-digit dialing
11-digit dialing
service numbers
international dialing
Call Processing:
Most specific pattern wins
Once a match is found the call is processed
Router(config)#dial-peer voice 1 voip
Router(config-dial-peer)#destination-pattern 555[1-3]
Router(config-dial-peer)#session target ipv4:10.1.1.1
Router(config-dial-peer)#dial-peer voice 2 voip
Router(config-dial-peer)#destination-pattern 5551
Router(config-dial-peer)#session target ipv4:10.1.1.2
If a user dials 5551234 dial-peer 2 will be used because it is a more
specific match
Call Processing:
Most specific pattern wins
Once a match is found the call is processed
Router(config)#dial-peer voice 1 voip
Router(config-dial-peer)#destination-pattern 555[1-3]
Router(config-dial-peer)#session target ipv4:10.1.1.1
Router(config-dial-peer)#dial-peer voice 2 voip
Router(config-dial-peer)#destination-pattern 5551
Router(config-dial-peer)#session target ipv4:10.1.1.2
Router(config-dial-peer)#dial-peer voice 3 voip
Router(config-dial-peer)#destination-pattern 5551
Router(config-dial-peer)#session target ipv4:10.1.1.3
Call Leg 1:
1.(No Match) 2510 The dialed number does not match an incoming
called-number dial peer
2.(No Match) x1101 Caller ID information (ANI) does not match the
answer-address dial peer configuration on CME_A
3.(No Match) x1101 Caller ID information (ANI) does not match the
destination-pattern dial peer configuration on CME_A
4.(Match) x1101 comes in FXS port 1/0/0 which matches an incoming POTS
dial peer on CME_A by using the port dial peer configuration command
Call Leg 3:
1.(No Match) 2510 The dialed number does not match an incoming
called-number dial peer on ROUTER_B
2.(No Match) x1101 Caller ID information (ANI) does not match the
answer-address dial peer configuration on ROUTER_B
3.(Match) x1101 Caller ID information (ANI) does match the destinationpattern dial peer configuration command for the VoIP dial peer 1101 on
ROUTER_B
Call Leg 4:
1.(No Match) 2510 The called number does not match an incoming
called number
2.(No Match) x1101 Caller ID information (ANI) does not match the
answer-address dial peer configuration on ROUTER_B
3.(No Match) x1101 Caller ID information (ANI) does not match the
destination-pattern dial peer configuration
4.(No Match) x1101 did not come into a POTS interface (FXS, FXO, E&M,
Voice BRI/T1/E1 digital interface that could be matched using the port
command. It came via VoIP
5.(Match) Because ROUTER_B could not find a match it will use dial peer 0
Dial Peer 0:
Default Dial Peer
Uses any voice codec (Not hard coded)
No DTMF relay: DTMF relay sends dial tones outside of
the audio stream
IP Precedence 0: Strips all QoS markings. Calls will now
be sent as if they were normal data
Voice Activity Detection (VAD) enabled: Allows bandwidth
savings by not transmitting dead time
No Resource Reservation Protocol (RSVP) support: The
router will not reserve end-to-end bandwidth
Fax-rate voice: The router will limit fax bandwidth to
that of the VoIP codec. Can devastate fax calls
No application support: calls cannot be referred to outside
applications
No Direct Inward Dial (DID) support: Cannot use the DID
feature to forward calls to an internal device from an PSTN
source
Digit Manipulation:
prefix digits: Allows for digits to be added to be specified
forward-digits number: Allows for the number of digits that will
be forwarded
[no] digit-strip: Enables (default) or disables digit stripping
num-exp: Transforms any number dialed that matches pattern.
Example: num-exp 4 5
Call 4321 converted to 5321
Example: num-exp 0 5000
Call 0 converted to 5000
voice translation profile: Allows a translation profile of up to 15
rules to be transform the number
POTS Failover:
If the VoIP network fails, the phone system should
automatically switch to the POTS system
Translation Rule:
Define the rules that dictate how the router will transform
the number
Associate the rules to a profile
Associate the profile to a dial peer
Format: rule 1 /match/ /set/
Router(config)#voice translation-rule 1
Router(config-translation-rule)#rule 1 /6/ /5/
Match the number 6 and replace with a 5
Translation Profile:
Define the rules that dictate how the router will transform
the number
Associate the rules to a profile
Associate the profile to a dial peer
Translation Profile:
Translation Order:
Applied 1st
num-exp
Applied 2nd
Applied 3rd
Applied 4th
Prefix digits
Applied 5th
forward-digits
Cisco AutoQoS:
Automated system by Cisco
Easy to implement
Reduces the time of deployment
Provides configuration consistency
Reduces deployment cost
Allows for manual tuning
First establish a Trust Boundary
AutoQoS uses Cisco Discovery protocol (CDP) so do not disable
on connections that need it!
End of Chapter 6