SlideShare a Scribd company logo
1 of 33
1
& www.uccollaborations.com
222
CCNP Collaboration Plus
Overview
Dial Plan and Call Routing
333
Dial Plan/Dial Peer
• Overview of Call Legs
• Dial Peer
–POT
–VOIP
444
FXS
2/0/1
VoIP
Y.Y.Y.YX.X.X.X
TOR UK
PSTN
Phone 4001 dials
a PSTN destination
Call Leg 1:
In on TOR
Call Leg 3:
In on UK
Call Leg 4:
Out on UK
Call Leg 2:
Out on TOR
Call Legs
555
Dial Peers
Dial Peer is like an end point addressing. For every end point you must create a dial peer. These are
logical connection that are used to establish end to end call.
– They establish logical connections, or call legs, to complete an
end-to-end call.
– You can use dial peers inbound, outbound, or both.
– Dial peers define the properties of the call leg:
•Codec
•QoS markings
•VAD
•Fax rate
– Cisco voice-enabled routers typically use two types of dial peers:
•POTS dial peers—connect to a traditional telephony network such as FXO, FXS, E&M,
BRI, PRI T1/E1, and CAS T1/E1
•VoIP dial peers—connect over an IP network using an IP address
666
Dial Peers (Cont.)
IP Network
Voice-Enabled
Router
Voice-Enabled
Router
Analog
Destination
POTS VoIP
You can create dial peers using the CLI or GUI.
Dial-peer voice 1 pots
destination-pattern 9T
port 0/1/1
Dial-peer voice 2 voip
destination-pattern 3…
session target ipv4: 135.1.1.1
codec g711r8
Default CODEC of Dial Peer in IOS Router is G.729r8
777
Destination Pattern Options
• Common destination pattern wildcards:
–Comma (,)
•Inserts a one-second pause
–Period (.)
•Specifies any one wildcard digit
–Square brackets
•Indicates a range of digits within the brackets
–T
•Indicates a variable-length pattern
–Asterisk (*) and pound sign (#)
•Not valid wildcards; are DTMF tones
888
Direct-Inward-Dial
• Enable the direct inward dialing (DID) call treatment for an
incoming called number
• The incoming call is treated as if the digits were received from
the DID trunk
• The called number is used to select the outgoing dial peer
• No dial tone is presented to the caller
dial peer voice 1 pots
incoming called-number .T
direct-inward-dial
999
Inbound Dial Peer Matching
• incoming called-number (dial peer)
–To specify a digit string that can be matched by an incoming call to
associate the call with a dial peer, use the incoming called-
number command in dial-peer configuration mode
–Use to match a call to a specific dial peer to apply codec or direct-
inward-dial to a call
dial peer voice 1 pots
incoming called-number .T
direct-inward-dial
dial peer voice 3 voip
incoming called-number 3…
codec g711ulaw
Any call arrive with
Extension 3… will match dial
peer 3 so we can apply codec
G.711 to the call
All Other call from PSTN or
T1/E1 will match dial-peer 1
So we can apply direct-
inward-dial to the call
101010
answer-address
• Used to identify the dial peer of an incoming call using Full
E.164 Number
• Identify the origin (or dial peer) of incoming calls from IP
Network
• For calls that come in from a plain old telephone service
(POTS) interface, the answer-address command is not used to
select an incoming dial peer
• The incoming POTS dial peer is selected on the basis of the
port configured for that dial peer
dial-peer voice 10 pots
answer-address +4168391717
111111
Matching Inbound Dial Peers
• Inbound matching behaviors:
1. Look for the incoming called-number command in a dial peer that
matches the called number or DNIS string of the inbound call leg.
2. Look for the answer-address command in a dial peer that matches the
calling number or ANI string of the inbound call leg.
3. Look for the destination-pattern command in a dial peer that matches the
calling number or ANI string of the inbound call leg.
4. Look for the POTS dial peer port command that matches the voice port
associated with the incoming call (POTS dial peers only).
5. If steps 1 through 4 fail to find a match, the system uses the default dial
peer 0 as a last resort.
121212
Dial Plan SOCCER Field
PBX
CME
IP Phone
Analog Phone
CME
SRST
H323
SIP
Num-exp
Voice-port 0/2/0:23
Inbound
Dialpeer
Dial-peer voice 1 pots
direct-inward-dial
incoming called-number .T Outbound
Dial peer
Dial-peer voice 2 voip
Destination-pattern 3…
Session target ipv4:135.1.1.1
Outbound Port
Ephone-dn
Port 0/2/0
Session target ipv4: 135.11.1.1.1
Process
Num-exp 14163013 3…
Inbound call to 14163013001 arrive on voice port 0/2/0:23
1
2
3
4
5
131313
Default Dial Peer 0
–You cannot delete, modify, or change dial peer 0.
–Dial peer 0 does not negotiate services and applications:
•DTMF relay
•DID
•TCL applications
–The dial peer 0 configuration for inbound VoIP calls contains the
following commands:
•any codec
•ip precedence 0
•vad enabled
•no rsvp support
•fax-rate voice
–The dial peer 0 configuration for inbound POTS calls contains the
command no ivr application.
141414
Example—Dial Peer 0
• If this is the only dial peer on R2 the following occurs:
1. Check for incoming called-number command that matches 5001
2. Check for answer-address command that matches 3001
3. Check for destination-pattern command that matches 3001
4. Check for a dial peer with the incoming port (does not apply to VoIP dial peers).
5. dial peer 0 will be used because no other inbound match exists.
FXS
1/0/1
VoIP
RxUK-RTR1 RxUK-RTR2 5001
Phone
3001 dials
5001
RxUK-RTR2(config)#dial-peer voice 30 pots
RxUK-RTR2(config-dialpeer)#destination-pattern 5001
RxUK-RTR2(config-dialpeer)#port 1/1/1
Matches dial
peer 0 inbound
Matches dial
peer 30 outbound
FXS
1/1/1
151515
Matching Outbound Dial Peers
& Preference
– Example 1: Dialed number 742-1234 will match dial peer 4.
– Example 2: Dialed number 742-1235 will match dial peer 3.
– Example 3: Dialed number 742-2000 will match dial peer 2.
– Example 4: Dialed number 551-1234 will match dial peer 1.
Destination pattern is matched based on longest number match.
dial-peer voice 1 voip
destination-pattern .T
session target ipv4:10.1.1.1
dial-peer voice 2 voip
destination-pattern 742[2-3]...
session target ipv4:10.2.2.2
dial-peer voice 3 voip
destination-pattern 7421...
session target ipv4:10.3.3.3
dial-peer voice 4 voip
destination-pattern 7421234
session target ipv4:10.4.4.4
dial-peer voice 5 pots
destination-pattern 7422...
preference 1
port 1/0/0
dial-peer voice 6 voip
destination-pattern 7422...
preference 0
session target ipv4:10.3.3.3
• The preference command defines the order of preference when multiple
dial peers have an equally good destination pattern defined.
• Preference values can be set from 0 to 10.
161616
Preference
dial-peer voice 5 pots
destination-pattern 7422...
preference 1
port 1/0/0
dial-peer voice 6 voip
destination-pattern 7422...
preference 0
session target ipv4:10.3.3.3
–The preference command defines the order of preference when multiple
dial peers have an equally good destination pattern defined.
–Preference values can be set from 0 to 10.
–Lower values are more preferred.
–The default preference on dial peers is 0.
17
PSTN Interface and Voice Dial Peer
Configuration
Understanding Call Setup and
Digit Manipulation
VoIP Fundamentals
181818
Digit Consumption and Forwarding
–By default, digit consumption and forwarding are handled differently for
POTS dial peers and VoIP dial peers.
–POTS dial peers:
•By default, the router strips off the left-justified digits that explicitly
match the destination pattern and forwards wildcard digits.
•Use the no digit-strip command to disable the automatic
digit-stripping function.
–VoIP dial peers:
•By default, the router forwards all digits collected.
Example 1—Dialed digits 7428989
Explicitly matched digits 742
are consumed and digits 1234 are
forwarded.
Example 2—Dialed digits 7428989
Digits 7428989 are forwarded.
dial-peer voice 1 pots
destination-pattern 742....
Port 1/0:1
dial-peer voice 1 pots
destination-pattern 742....
no digit-strip
port 1/0:1
191919
Digit Collection
–The router collects digits, one at a time, until it can match an
outbound dial peer.
–After a match is made, the router immediately places the call, and
no further digits are collected.
Example 1—Dialed digits 7428989
Dial peer 1 will match first.
Only the collected digits of
742 are forwarded.
Example 2—Dialed digits 7428989
Dial peer 2 will match first.
Collected digits of 7428989 are
forwarded.
dial-peer voice 1 voip
destination-pattern 742
session target ipv4:10.18.0.1
dial-peer voice 2 voip
destination-pattern 7428989
session target ipv4:10.18.0.2
dial-peer voice 1 voip
destination-pattern 742....
session target ipv4:10.18.0.1
dial-peer voice 2 voip
destination-pattern 7428989
session target ipv4:10.18.0.2
202020
Digit Manipulation Examples
• dial-peer voice 1 pots
• destination-pattern 742....
• prefix 742
• port 1/0/0
dial-peer voice 1 pots
destination-pattern 742....
forward-digits 7
port 1/0/0
num-expx 2... 7422...
dial-peer voice 1 pots
destination-pattern 7422...
port 1/1/0
prefix example
forward-digits
example
num-exp
example
212121
Configuring Voice Translation
Profiles
• Three steps:
1. Create voice translation rules and associated matching criteria.
2. Create a voice translation profile and add a voice translation rule to the
profile to affect the calling number, called number, or redirect number.
3. Apply the profile to one or more dial peers in either the inbound or
outbound direction.
voice translation-rule 1
rule 1 /444/ /742/
!
voice translation-profile PSTN-HQ
translate called 1
!
dial-peer voice 9 pots
description route-pattern-to-PSTN
translation-profile outgoing PSTN-HQ
destination-pattern 9T
direct-inward-dial
port 0/2:23
Search pattern
Search for 444 in
The number
Replacement Value
Replace with 742
222222
Translation Rule Example 1
voice translation-rule 1
rule 1 /416/ /1416/
Incoming number, search for 416 and replace it with 1416
HQ#test voice translation-rule 1 4168391717
Matched with rule 1
Original number: 4168391717 Translated number: 14168391717
Original number type: none Translated number type: none
Original number plan: none Translated number plan: none
Test voice translation-rule # is a test command from IOS
Router
232323
Translation Rule Example 2
voice translation-rule 1
rule 1 /.*/ /9&/
Match any number and Add 9 at the beginning of the
number
HQ#test voice translation-rule 1 4168391717
Matched with rule 1
Original number: 4168391717 Translated number: 94168391717
Original number type: none Translated number type: none
Original number plan: none Translated number plan: none
Test voice translation-rule # is a test command from IOS
Router
242424
Configuring Voice Translation
Profiles - Advanced
voice translation-rule 1
rule 1 /.(.)(.)(.)/ /888231/
1 2 3
If user dial 5756 then
Bucket 1 = 7
Bucket 2 = 5
Bucket 3 = 6
Final Result or Output
/888231/
2 = 5
3 = 6
1 = 7
Final = 888567
Bucket Number
252525
Translation Rule Example 3
voice translation-rule 1
rule 1 /.*(4...$)/ /1/
Match any number but only save last 4 digit ($) starting with
4. /1/ means only replace with what was matched in this
case last 4 digit
HQ#test voice translation-rule 1 85224014001
Matched with rule 1
Original number: 85224014001 Translated number: 4001
Original number type: none Translated number type: none
Original number plan: none Translated number plan: none
Test voice translation-rule # is a test command from IOS
Router
262626
Translation Rule Example 4
voice translation-rule 1
rule 1 /.*(4...$)/ /24010/
Match any number but only save last 4 digit ($) starting with
4. /1/ means only replace with what was matched in this
case last 4 digit
HQ#test voice translation-rule 1 4001
Matched with rule 1
Original number: 4001 Translated number: 24014001
Original number type: none Translated number type: none
Original number plan: none Translated number plan: none
HQ#test voice translation-rule 1 85224014001
Matched with rule 1
Original number: 85224014001 Translated number: 240185224014001
Original number type: none Translated number type: none
Original number plan: none Translated number plan: none
272727
Verifying Dial Plans
show dial-peer voice [number | summary]
router#
 Displays the configured dial peers and the
properties of the dial peers
Router#show dial-peer voice summary
dial-peer hunt 0
PASS
TAG TYPE ADMIN OPER PREFIX DEST-PATTERN PREF THRU SESS-TARGET PORT
100 pots up up 0
101 voip up up 7420112 0 syst ipv4:135.1.1.1
102 voip up up 7420134 0 syst ipv4:135.1.1.2
99 voip up down 0 syst
33 pots up down 0
282828
Verifying Dial Plans (Cont.)
debug voip dialpeer inout
router#
 Displays dial peer information
Router#debug voip dialpeer inout
*May 1 19:32:11.731: //-1/6372E2598012/DPM/dpAssociateIncomingPeerCore:
Result=Success(0) after DP_MATCH_INCOMING_DNIS; Incoming Dial-peer=100
*May 1 19:32:11.731: //-1/6372E2598012/DPM/dpAssociateIncomingPeerCore:
Calling Number=4163013000, Called Number=7600, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
*May 1 19:32:11.731: //-1/6372E2598012/DPM/dpAssociateIncomingPeerCore:
Result=Success(0) after DP_MATCH_INCOMING_DNIS; Incoming Dial-peer=100
...
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=27
2: Dial-peer Tag=3000
292929
Verifying Signaling for POTS Call
Legs
show controllers {t1 | e1} slot/port
router#
 Displays the T1 or E1 controller status and
function
Router#show controllers t1 1/0
T1 1/0 is up.
Applique type is Channelized T1
Cablelength is short 133
No alarms detected.
Framing is ESF, Line Code is B8ZS, Clock Source is Line Primary.
Data in current interval (6 seconds elapsed):
0 Line Code Violations, 0 Path Code Violations
0 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins
0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 0 Unavail Secs
303030
Verifying POTS Call Legs
show voice port summary
router#
 Displays the port state and signal type
router#show voice port summary
IN OUT ECHO
PORT SIG-TYPE ADMIN OPER IN-STATUS OUT-STATUS CODEC VAD GAIN ATTN CANCEL
1/1 fxs-ls up up on-hook idle 729a n 0 0 y
1/2 fxs-ls up up on-hook idle 729a n 0 0 y
1/3 e&m-wnk up up idle idle 729a n 0 0 y
1/4 e&m-wnk up up idle idle 729a n 0 0 y
1/5 fxo-ls up up idle on-hook 729a n 0 0 y
1/6 fxo-ls up up idle on-hook 729a n 0 0 y
313131
Verifying Digits Sent and Received
on a POTS Call Legs
show dialplan number digit_string
router#
 Shows which dial peer is used for the digit
string entered
Router#show dialplan number 1401
Dial string terminator: #
Macro Exp.: 1401
VoiceOverIpPeer2
information type = voice,
tag = 2, destination-pattern = `1401',
answer-address = `', preference=0,
group = 2, Admin state is up, Operation
state is up,
incoming called-number = `',
connections/maximum = 0/unlimited,
application associated:
type = voip, session-target =
`ipv4:142.1.1.1',
...
323232
DTMF
DTMF Tons are distored with most low-bandwidth codec such as
729 or G.723. On G.711 there is no DTMF issue.
DTMF Method
Cisco Proprietary
• DTMF signal carries in the same path as RTP
• in-band
H.245 Signal
• Out of Band
• DTMF carries on the signalling path
• Signal Tone Length
H.245 alphanumeric
• Out-of-band
• DTMF carries on the signaling path
• Tons are transported in H.245 User Input Indication message
• Does not send tone length
NTE
• RFC-based DTMF in RTP
• in-band
• Per call negotiation
None - No change to DTMF Thus carries within RTP
SIP DTMF Support
SIP Notify
• Out of Band
• Forward DTMF Tons using SIP
NOTIFY message
NTE
same as the previous one.
dial-peer voice 1 voip
destination-pattern 3...
session target ipv4:135.1.1.1
dtmf-relay h245-alphanumeric
333333
The End

More Related Content

What's hot

Session Initiation Protocol
Session Initiation ProtocolSession Initiation Protocol
Session Initiation ProtocolMatt Bynum
 
High Availability Asterisk and FreePBX on Microsoft Azure
High Availability Asterisk and FreePBX on Microsoft AzureHigh Availability Asterisk and FreePBX on Microsoft Azure
High Availability Asterisk and FreePBX on Microsoft AzureSanjay Willie
 
Mise en place de la telephonie ip avec Asterisk
Mise en place de la telephonie ip avec AsteriskMise en place de la telephonie ip avec Asterisk
Mise en place de la telephonie ip avec AsteriskPape Moussa SONKO
 
Como monitorear asterisk utilizando nrpe de nagios
Como monitorear asterisk utilizando nrpe de nagiosComo monitorear asterisk utilizando nrpe de nagios
Como monitorear asterisk utilizando nrpe de nagiosGuillermo Henriquez Gonzalez
 
Quest ce qu'un consultant retail ?
Quest ce qu'un consultant retail ?Quest ce qu'un consultant retail ?
Quest ce qu'un consultant retail ?GCX Conseil
 
Firewall Endian
Firewall EndianFirewall Endian
Firewall EndianFouad Root
 
Cours_Telephonie_26_pdf.pdf
Cours_Telephonie_26_pdf.pdfCours_Telephonie_26_pdf.pdf
Cours_Telephonie_26_pdf.pdflchtude
 
Comparaison entre les solutions IPBX et Centrex
Comparaison entre les solutions IPBX et CentrexComparaison entre les solutions IPBX et Centrex
Comparaison entre les solutions IPBX et CentrexPascal GUENOT
 
Using Kamailio for Scalability and Security
Using Kamailio for Scalability and SecurityUsing Kamailio for Scalability and Security
Using Kamailio for Scalability and SecurityFred Posner
 
Rapport fin de cours toip
Rapport fin de cours toip Rapport fin de cours toip
Rapport fin de cours toip assane fall
 
Tuto ToIP (Trunk SIP, IAX, Trunk CME - Asterisk)
Tuto ToIP (Trunk SIP, IAX, Trunk CME - Asterisk) Tuto ToIP (Trunk SIP, IAX, Trunk CME - Asterisk)
Tuto ToIP (Trunk SIP, IAX, Trunk CME - Asterisk) Dimitri LEMBOKOLO
 
Brochure maintien-dans-l-emploi - Presance
Brochure maintien-dans-l-emploi - PresanceBrochure maintien-dans-l-emploi - Presance
Brochure maintien-dans-l-emploi - PresanceAVIE
 
Examen principal - Algorithme & Structures de données
Examen principal - Algorithme & Structures de donnéesExamen principal - Algorithme & Structures de données
Examen principal - Algorithme & Structures de donnéesInes Ouaz
 

What's hot (20)

Session Initiation Protocol
Session Initiation ProtocolSession Initiation Protocol
Session Initiation Protocol
 
High Availability Asterisk and FreePBX on Microsoft Azure
High Availability Asterisk and FreePBX on Microsoft AzureHigh Availability Asterisk and FreePBX on Microsoft Azure
High Availability Asterisk and FreePBX on Microsoft Azure
 
Indroduction to SIP
Indroduction to SIPIndroduction to SIP
Indroduction to SIP
 
Le réseau IMS
Le réseau IMSLe réseau IMS
Le réseau IMS
 
Tp n 5 linux
Tp n 5 linuxTp n 5 linux
Tp n 5 linux
 
Mise en place de la telephonie ip avec Asterisk
Mise en place de la telephonie ip avec AsteriskMise en place de la telephonie ip avec Asterisk
Mise en place de la telephonie ip avec Asterisk
 
Cv francais
Cv francaisCv francais
Cv francais
 
Como monitorear asterisk utilizando nrpe de nagios
Como monitorear asterisk utilizando nrpe de nagiosComo monitorear asterisk utilizando nrpe de nagios
Como monitorear asterisk utilizando nrpe de nagios
 
Toip slide
Toip slideToip slide
Toip slide
 
Quest ce qu'un consultant retail ?
Quest ce qu'un consultant retail ?Quest ce qu'un consultant retail ?
Quest ce qu'un consultant retail ?
 
Firewall Endian
Firewall EndianFirewall Endian
Firewall Endian
 
Cours_Telephonie_26_pdf.pdf
Cours_Telephonie_26_pdf.pdfCours_Telephonie_26_pdf.pdf
Cours_Telephonie_26_pdf.pdf
 
Comparaison entre les solutions IPBX et Centrex
Comparaison entre les solutions IPBX et CentrexComparaison entre les solutions IPBX et Centrex
Comparaison entre les solutions IPBX et Centrex
 
Using Kamailio for Scalability and Security
Using Kamailio for Scalability and SecurityUsing Kamailio for Scalability and Security
Using Kamailio for Scalability and Security
 
Rapport fin de cours toip
Rapport fin de cours toip Rapport fin de cours toip
Rapport fin de cours toip
 
Tuto ToIP (Trunk SIP, IAX, Trunk CME - Asterisk)
Tuto ToIP (Trunk SIP, IAX, Trunk CME - Asterisk) Tuto ToIP (Trunk SIP, IAX, Trunk CME - Asterisk)
Tuto ToIP (Trunk SIP, IAX, Trunk CME - Asterisk)
 
Brochure maintien-dans-l-emploi - Presance
Brochure maintien-dans-l-emploi - PresanceBrochure maintien-dans-l-emploi - Presance
Brochure maintien-dans-l-emploi - Presance
 
Mininet demo
Mininet demoMininet demo
Mininet demo
 
Examen principal - Algorithme & Structures de données
Examen principal - Algorithme & Structures de donnéesExamen principal - Algorithme & Structures de données
Examen principal - Algorithme & Structures de données
 
Asterisk Complete Training
Asterisk Complete TrainingAsterisk Complete Training
Asterisk Complete Training
 

Similar to CCNP Collaboration Plus Dial Plan and Call Routing Overview

Ccnp collaboration plus module 1 chapter 5 cisco unified communication express
Ccnp collaboration plus module 1   chapter 5 cisco unified communication expressCcnp collaboration plus module 1   chapter 5 cisco unified communication express
Ccnp collaboration plus module 1 chapter 5 cisco unified communication expressFaisal Khan
 
Sip trunk webinar
Sip trunk webinarSip trunk webinar
Sip trunk webinarnexogy
 
Yeastar MyPBX-Basic configuration
Yeastar MyPBX-Basic configurationYeastar MyPBX-Basic configuration
Yeastar MyPBX-Basic configurationHossein Yavari
 
CCIE Collaboration Lecture Chapter 3.1 cucme phone registration sccp & sip
CCIE Collaboration Lecture Chapter 3.1 cucme phone registration sccp & sipCCIE Collaboration Lecture Chapter 3.1 cucme phone registration sccp & sip
CCIE Collaboration Lecture Chapter 3.1 cucme phone registration sccp & sipFaisal Khan
 
VoIP - Cisco CME & IP Communicator
VoIP - Cisco CME & IP CommunicatorVoIP - Cisco CME & IP Communicator
VoIP - Cisco CME & IP Communicatorchinmaypadhye1985
 
Matrix Telecom Solutions: SPARSH VP248 - Feature-rich SIP Phones
Matrix Telecom Solutions: SPARSH VP248 - Feature-rich SIP PhonesMatrix Telecom Solutions: SPARSH VP248 - Feature-rich SIP Phones
Matrix Telecom Solutions: SPARSH VP248 - Feature-rich SIP PhonesMatrix Comsec
 
telecom communication ppt
telecom communication ppttelecom communication ppt
telecom communication pptpavan kumar
 
Voice over internet protocol
Voice over internet protocolVoice over internet protocol
Voice over internet protocolJames Watt
 
Voice over internet protocol
Voice over internet protocolVoice over internet protocol
Voice over internet protocolJames Watt
 
Voice over internet protocol
Voice over internet protocolVoice over internet protocol
Voice over internet protocolJames Watt
 
VoIP and multimedia networking
VoIP and multimedia networkingVoIP and multimedia networking
VoIP and multimedia networkingsangusajjan
 
FreePBX Application Introduce
FreePBX Application IntroduceFreePBX Application Introduce
FreePBX Application IntroduceZack Chou
 
Clip presentation 97 2003
Clip presentation 97 2003Clip presentation 97 2003
Clip presentation 97 2003maheshghone
 
Hosted IP Telephony Presentation
Hosted IP Telephony PresentationHosted IP Telephony Presentation
Hosted IP Telephony PresentationDavid Jones
 
Alcatel easy (phone)
Alcatel easy (phone)Alcatel easy (phone)
Alcatel easy (phone)Mohd Shaizan
 
Matrix Telecom Solutions: SETU VFXTH - Fixed VoIP to FXO-FXS Gateways
Matrix Telecom Solutions: SETU VFXTH  - Fixed VoIP to FXO-FXS GatewaysMatrix Telecom Solutions: SETU VFXTH  - Fixed VoIP to FXO-FXS Gateways
Matrix Telecom Solutions: SETU VFXTH - Fixed VoIP to FXO-FXS GatewaysMatrix Comsec
 
3CX and Dinstart Configuration
3CX and Dinstart Configuration3CX and Dinstart Configuration
3CX and Dinstart ConfigurationĐạt Ngô
 

Similar to CCNP Collaboration Plus Dial Plan and Call Routing Overview (20)

Ccnp collaboration plus module 1 chapter 5 cisco unified communication express
Ccnp collaboration plus module 1   chapter 5 cisco unified communication expressCcnp collaboration plus module 1   chapter 5 cisco unified communication express
Ccnp collaboration plus module 1 chapter 5 cisco unified communication express
 
Sip trunk webinar
Sip trunk webinarSip trunk webinar
Sip trunk webinar
 
Yeastar MyPBX-Basic configuration
Yeastar MyPBX-Basic configurationYeastar MyPBX-Basic configuration
Yeastar MyPBX-Basic configuration
 
SETU VTEP March 2014
SETU VTEP March 2014SETU VTEP March 2014
SETU VTEP March 2014
 
CCIE Collaboration Lecture Chapter 3.1 cucme phone registration sccp & sip
CCIE Collaboration Lecture Chapter 3.1 cucme phone registration sccp & sipCCIE Collaboration Lecture Chapter 3.1 cucme phone registration sccp & sip
CCIE Collaboration Lecture Chapter 3.1 cucme phone registration sccp & sip
 
VoIP - Cisco CME & IP Communicator
VoIP - Cisco CME & IP CommunicatorVoIP - Cisco CME & IP Communicator
VoIP - Cisco CME & IP Communicator
 
Matrix Telecom Solutions: SPARSH VP248 - Feature-rich SIP Phones
Matrix Telecom Solutions: SPARSH VP248 - Feature-rich SIP PhonesMatrix Telecom Solutions: SPARSH VP248 - Feature-rich SIP Phones
Matrix Telecom Solutions: SPARSH VP248 - Feature-rich SIP Phones
 
telecom communication ppt
telecom communication ppttelecom communication ppt
telecom communication ppt
 
Voice over internet protocol
Voice over internet protocolVoice over internet protocol
Voice over internet protocol
 
Voice over internet protocol
Voice over internet protocolVoice over internet protocol
Voice over internet protocol
 
Voice over internet protocol
Voice over internet protocolVoice over internet protocol
Voice over internet protocol
 
VoIP and multimedia networking
VoIP and multimedia networkingVoIP and multimedia networking
VoIP and multimedia networking
 
FreePBX Application Introduce
FreePBX Application IntroduceFreePBX Application Introduce
FreePBX Application Introduce
 
Clip presentation 97 2003
Clip presentation 97 2003Clip presentation 97 2003
Clip presentation 97 2003
 
Hosted IP Telephony Presentation
Hosted IP Telephony PresentationHosted IP Telephony Presentation
Hosted IP Telephony Presentation
 
Alcatel easy (phone)
Alcatel easy (phone)Alcatel easy (phone)
Alcatel easy (phone)
 
VOIP services
VOIP servicesVOIP services
VOIP services
 
Matrix Telecom Solutions: SETU VFXTH - Fixed VoIP to FXO-FXS Gateways
Matrix Telecom Solutions: SETU VFXTH  - Fixed VoIP to FXO-FXS GatewaysMatrix Telecom Solutions: SETU VFXTH  - Fixed VoIP to FXO-FXS Gateways
Matrix Telecom Solutions: SETU VFXTH - Fixed VoIP to FXO-FXS Gateways
 
3CX and Dinstart Configuration
3CX and Dinstart Configuration3CX and Dinstart Configuration
3CX and Dinstart Configuration
 
Introduction To SIP
Introduction  To  SIPIntroduction  To  SIP
Introduction To SIP
 

Recently uploaded

call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitolTechU
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 

Recently uploaded (20)

call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 

CCNP Collaboration Plus Dial Plan and Call Routing Overview

  • 3. 333 Dial Plan/Dial Peer • Overview of Call Legs • Dial Peer –POT –VOIP
  • 4. 444 FXS 2/0/1 VoIP Y.Y.Y.YX.X.X.X TOR UK PSTN Phone 4001 dials a PSTN destination Call Leg 1: In on TOR Call Leg 3: In on UK Call Leg 4: Out on UK Call Leg 2: Out on TOR Call Legs
  • 5. 555 Dial Peers Dial Peer is like an end point addressing. For every end point you must create a dial peer. These are logical connection that are used to establish end to end call. – They establish logical connections, or call legs, to complete an end-to-end call. – You can use dial peers inbound, outbound, or both. – Dial peers define the properties of the call leg: •Codec •QoS markings •VAD •Fax rate – Cisco voice-enabled routers typically use two types of dial peers: •POTS dial peers—connect to a traditional telephony network such as FXO, FXS, E&M, BRI, PRI T1/E1, and CAS T1/E1 •VoIP dial peers—connect over an IP network using an IP address
  • 6. 666 Dial Peers (Cont.) IP Network Voice-Enabled Router Voice-Enabled Router Analog Destination POTS VoIP You can create dial peers using the CLI or GUI. Dial-peer voice 1 pots destination-pattern 9T port 0/1/1 Dial-peer voice 2 voip destination-pattern 3… session target ipv4: 135.1.1.1 codec g711r8 Default CODEC of Dial Peer in IOS Router is G.729r8
  • 7. 777 Destination Pattern Options • Common destination pattern wildcards: –Comma (,) •Inserts a one-second pause –Period (.) •Specifies any one wildcard digit –Square brackets •Indicates a range of digits within the brackets –T •Indicates a variable-length pattern –Asterisk (*) and pound sign (#) •Not valid wildcards; are DTMF tones
  • 8. 888 Direct-Inward-Dial • Enable the direct inward dialing (DID) call treatment for an incoming called number • The incoming call is treated as if the digits were received from the DID trunk • The called number is used to select the outgoing dial peer • No dial tone is presented to the caller dial peer voice 1 pots incoming called-number .T direct-inward-dial
  • 9. 999 Inbound Dial Peer Matching • incoming called-number (dial peer) –To specify a digit string that can be matched by an incoming call to associate the call with a dial peer, use the incoming called- number command in dial-peer configuration mode –Use to match a call to a specific dial peer to apply codec or direct- inward-dial to a call dial peer voice 1 pots incoming called-number .T direct-inward-dial dial peer voice 3 voip incoming called-number 3… codec g711ulaw Any call arrive with Extension 3… will match dial peer 3 so we can apply codec G.711 to the call All Other call from PSTN or T1/E1 will match dial-peer 1 So we can apply direct- inward-dial to the call
  • 10. 101010 answer-address • Used to identify the dial peer of an incoming call using Full E.164 Number • Identify the origin (or dial peer) of incoming calls from IP Network • For calls that come in from a plain old telephone service (POTS) interface, the answer-address command is not used to select an incoming dial peer • The incoming POTS dial peer is selected on the basis of the port configured for that dial peer dial-peer voice 10 pots answer-address +4168391717
  • 11. 111111 Matching Inbound Dial Peers • Inbound matching behaviors: 1. Look for the incoming called-number command in a dial peer that matches the called number or DNIS string of the inbound call leg. 2. Look for the answer-address command in a dial peer that matches the calling number or ANI string of the inbound call leg. 3. Look for the destination-pattern command in a dial peer that matches the calling number or ANI string of the inbound call leg. 4. Look for the POTS dial peer port command that matches the voice port associated with the incoming call (POTS dial peers only). 5. If steps 1 through 4 fail to find a match, the system uses the default dial peer 0 as a last resort.
  • 12. 121212 Dial Plan SOCCER Field PBX CME IP Phone Analog Phone CME SRST H323 SIP Num-exp Voice-port 0/2/0:23 Inbound Dialpeer Dial-peer voice 1 pots direct-inward-dial incoming called-number .T Outbound Dial peer Dial-peer voice 2 voip Destination-pattern 3… Session target ipv4:135.1.1.1 Outbound Port Ephone-dn Port 0/2/0 Session target ipv4: 135.11.1.1.1 Process Num-exp 14163013 3… Inbound call to 14163013001 arrive on voice port 0/2/0:23 1 2 3 4 5
  • 13. 131313 Default Dial Peer 0 –You cannot delete, modify, or change dial peer 0. –Dial peer 0 does not negotiate services and applications: •DTMF relay •DID •TCL applications –The dial peer 0 configuration for inbound VoIP calls contains the following commands: •any codec •ip precedence 0 •vad enabled •no rsvp support •fax-rate voice –The dial peer 0 configuration for inbound POTS calls contains the command no ivr application.
  • 14. 141414 Example—Dial Peer 0 • If this is the only dial peer on R2 the following occurs: 1. Check for incoming called-number command that matches 5001 2. Check for answer-address command that matches 3001 3. Check for destination-pattern command that matches 3001 4. Check for a dial peer with the incoming port (does not apply to VoIP dial peers). 5. dial peer 0 will be used because no other inbound match exists. FXS 1/0/1 VoIP RxUK-RTR1 RxUK-RTR2 5001 Phone 3001 dials 5001 RxUK-RTR2(config)#dial-peer voice 30 pots RxUK-RTR2(config-dialpeer)#destination-pattern 5001 RxUK-RTR2(config-dialpeer)#port 1/1/1 Matches dial peer 0 inbound Matches dial peer 30 outbound FXS 1/1/1
  • 15. 151515 Matching Outbound Dial Peers & Preference – Example 1: Dialed number 742-1234 will match dial peer 4. – Example 2: Dialed number 742-1235 will match dial peer 3. – Example 3: Dialed number 742-2000 will match dial peer 2. – Example 4: Dialed number 551-1234 will match dial peer 1. Destination pattern is matched based on longest number match. dial-peer voice 1 voip destination-pattern .T session target ipv4:10.1.1.1 dial-peer voice 2 voip destination-pattern 742[2-3]... session target ipv4:10.2.2.2 dial-peer voice 3 voip destination-pattern 7421... session target ipv4:10.3.3.3 dial-peer voice 4 voip destination-pattern 7421234 session target ipv4:10.4.4.4 dial-peer voice 5 pots destination-pattern 7422... preference 1 port 1/0/0 dial-peer voice 6 voip destination-pattern 7422... preference 0 session target ipv4:10.3.3.3 • The preference command defines the order of preference when multiple dial peers have an equally good destination pattern defined. • Preference values can be set from 0 to 10.
  • 16. 161616 Preference dial-peer voice 5 pots destination-pattern 7422... preference 1 port 1/0/0 dial-peer voice 6 voip destination-pattern 7422... preference 0 session target ipv4:10.3.3.3 –The preference command defines the order of preference when multiple dial peers have an equally good destination pattern defined. –Preference values can be set from 0 to 10. –Lower values are more preferred. –The default preference on dial peers is 0.
  • 17. 17 PSTN Interface and Voice Dial Peer Configuration Understanding Call Setup and Digit Manipulation VoIP Fundamentals
  • 18. 181818 Digit Consumption and Forwarding –By default, digit consumption and forwarding are handled differently for POTS dial peers and VoIP dial peers. –POTS dial peers: •By default, the router strips off the left-justified digits that explicitly match the destination pattern and forwards wildcard digits. •Use the no digit-strip command to disable the automatic digit-stripping function. –VoIP dial peers: •By default, the router forwards all digits collected. Example 1—Dialed digits 7428989 Explicitly matched digits 742 are consumed and digits 1234 are forwarded. Example 2—Dialed digits 7428989 Digits 7428989 are forwarded. dial-peer voice 1 pots destination-pattern 742.... Port 1/0:1 dial-peer voice 1 pots destination-pattern 742.... no digit-strip port 1/0:1
  • 19. 191919 Digit Collection –The router collects digits, one at a time, until it can match an outbound dial peer. –After a match is made, the router immediately places the call, and no further digits are collected. Example 1—Dialed digits 7428989 Dial peer 1 will match first. Only the collected digits of 742 are forwarded. Example 2—Dialed digits 7428989 Dial peer 2 will match first. Collected digits of 7428989 are forwarded. dial-peer voice 1 voip destination-pattern 742 session target ipv4:10.18.0.1 dial-peer voice 2 voip destination-pattern 7428989 session target ipv4:10.18.0.2 dial-peer voice 1 voip destination-pattern 742.... session target ipv4:10.18.0.1 dial-peer voice 2 voip destination-pattern 7428989 session target ipv4:10.18.0.2
  • 20. 202020 Digit Manipulation Examples • dial-peer voice 1 pots • destination-pattern 742.... • prefix 742 • port 1/0/0 dial-peer voice 1 pots destination-pattern 742.... forward-digits 7 port 1/0/0 num-expx 2... 7422... dial-peer voice 1 pots destination-pattern 7422... port 1/1/0 prefix example forward-digits example num-exp example
  • 21. 212121 Configuring Voice Translation Profiles • Three steps: 1. Create voice translation rules and associated matching criteria. 2. Create a voice translation profile and add a voice translation rule to the profile to affect the calling number, called number, or redirect number. 3. Apply the profile to one or more dial peers in either the inbound or outbound direction. voice translation-rule 1 rule 1 /444/ /742/ ! voice translation-profile PSTN-HQ translate called 1 ! dial-peer voice 9 pots description route-pattern-to-PSTN translation-profile outgoing PSTN-HQ destination-pattern 9T direct-inward-dial port 0/2:23 Search pattern Search for 444 in The number Replacement Value Replace with 742
  • 22. 222222 Translation Rule Example 1 voice translation-rule 1 rule 1 /416/ /1416/ Incoming number, search for 416 and replace it with 1416 HQ#test voice translation-rule 1 4168391717 Matched with rule 1 Original number: 4168391717 Translated number: 14168391717 Original number type: none Translated number type: none Original number plan: none Translated number plan: none Test voice translation-rule # is a test command from IOS Router
  • 23. 232323 Translation Rule Example 2 voice translation-rule 1 rule 1 /.*/ /9&/ Match any number and Add 9 at the beginning of the number HQ#test voice translation-rule 1 4168391717 Matched with rule 1 Original number: 4168391717 Translated number: 94168391717 Original number type: none Translated number type: none Original number plan: none Translated number plan: none Test voice translation-rule # is a test command from IOS Router
  • 24. 242424 Configuring Voice Translation Profiles - Advanced voice translation-rule 1 rule 1 /.(.)(.)(.)/ /888231/ 1 2 3 If user dial 5756 then Bucket 1 = 7 Bucket 2 = 5 Bucket 3 = 6 Final Result or Output /888231/ 2 = 5 3 = 6 1 = 7 Final = 888567 Bucket Number
  • 25. 252525 Translation Rule Example 3 voice translation-rule 1 rule 1 /.*(4...$)/ /1/ Match any number but only save last 4 digit ($) starting with 4. /1/ means only replace with what was matched in this case last 4 digit HQ#test voice translation-rule 1 85224014001 Matched with rule 1 Original number: 85224014001 Translated number: 4001 Original number type: none Translated number type: none Original number plan: none Translated number plan: none Test voice translation-rule # is a test command from IOS Router
  • 26. 262626 Translation Rule Example 4 voice translation-rule 1 rule 1 /.*(4...$)/ /24010/ Match any number but only save last 4 digit ($) starting with 4. /1/ means only replace with what was matched in this case last 4 digit HQ#test voice translation-rule 1 4001 Matched with rule 1 Original number: 4001 Translated number: 24014001 Original number type: none Translated number type: none Original number plan: none Translated number plan: none HQ#test voice translation-rule 1 85224014001 Matched with rule 1 Original number: 85224014001 Translated number: 240185224014001 Original number type: none Translated number type: none Original number plan: none Translated number plan: none
  • 27. 272727 Verifying Dial Plans show dial-peer voice [number | summary] router#  Displays the configured dial peers and the properties of the dial peers Router#show dial-peer voice summary dial-peer hunt 0 PASS TAG TYPE ADMIN OPER PREFIX DEST-PATTERN PREF THRU SESS-TARGET PORT 100 pots up up 0 101 voip up up 7420112 0 syst ipv4:135.1.1.1 102 voip up up 7420134 0 syst ipv4:135.1.1.2 99 voip up down 0 syst 33 pots up down 0
  • 28. 282828 Verifying Dial Plans (Cont.) debug voip dialpeer inout router#  Displays dial peer information Router#debug voip dialpeer inout *May 1 19:32:11.731: //-1/6372E2598012/DPM/dpAssociateIncomingPeerCore: Result=Success(0) after DP_MATCH_INCOMING_DNIS; Incoming Dial-peer=100 *May 1 19:32:11.731: //-1/6372E2598012/DPM/dpAssociateIncomingPeerCore: Calling Number=4163013000, Called Number=7600, Voice-Interface=0x0, Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE, Peer Info Type=DIALPEER_INFO_SPEECH *May 1 19:32:11.731: //-1/6372E2598012/DPM/dpAssociateIncomingPeerCore: Result=Success(0) after DP_MATCH_INCOMING_DNIS; Incoming Dial-peer=100 ... List of Matched Outgoing Dial-peer(s): 1: Dial-peer Tag=27 2: Dial-peer Tag=3000
  • 29. 292929 Verifying Signaling for POTS Call Legs show controllers {t1 | e1} slot/port router#  Displays the T1 or E1 controller status and function Router#show controllers t1 1/0 T1 1/0 is up. Applique type is Channelized T1 Cablelength is short 133 No alarms detected. Framing is ESF, Line Code is B8ZS, Clock Source is Line Primary. Data in current interval (6 seconds elapsed): 0 Line Code Violations, 0 Path Code Violations 0 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins 0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 0 Unavail Secs
  • 30. 303030 Verifying POTS Call Legs show voice port summary router#  Displays the port state and signal type router#show voice port summary IN OUT ECHO PORT SIG-TYPE ADMIN OPER IN-STATUS OUT-STATUS CODEC VAD GAIN ATTN CANCEL 1/1 fxs-ls up up on-hook idle 729a n 0 0 y 1/2 fxs-ls up up on-hook idle 729a n 0 0 y 1/3 e&m-wnk up up idle idle 729a n 0 0 y 1/4 e&m-wnk up up idle idle 729a n 0 0 y 1/5 fxo-ls up up idle on-hook 729a n 0 0 y 1/6 fxo-ls up up idle on-hook 729a n 0 0 y
  • 31. 313131 Verifying Digits Sent and Received on a POTS Call Legs show dialplan number digit_string router#  Shows which dial peer is used for the digit string entered Router#show dialplan number 1401 Dial string terminator: # Macro Exp.: 1401 VoiceOverIpPeer2 information type = voice, tag = 2, destination-pattern = `1401', answer-address = `', preference=0, group = 2, Admin state is up, Operation state is up, incoming called-number = `', connections/maximum = 0/unlimited, application associated: type = voip, session-target = `ipv4:142.1.1.1', ...
  • 32. 323232 DTMF DTMF Tons are distored with most low-bandwidth codec such as 729 or G.723. On G.711 there is no DTMF issue. DTMF Method Cisco Proprietary • DTMF signal carries in the same path as RTP • in-band H.245 Signal • Out of Band • DTMF carries on the signalling path • Signal Tone Length H.245 alphanumeric • Out-of-band • DTMF carries on the signaling path • Tons are transported in H.245 User Input Indication message • Does not send tone length NTE • RFC-based DTMF in RTP • in-band • Per call negotiation None - No change to DTMF Thus carries within RTP SIP DTMF Support SIP Notify • Out of Band • Forward DTMF Tons using SIP NOTIFY message NTE same as the previous one. dial-peer voice 1 voip destination-pattern 3... session target ipv4:135.1.1.1 dtmf-relay h245-alphanumeric