cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
249
Views
0
Helpful
4
Replies

Dial Peers Doubt

Hi

My customer have a configuration down. Why the numbers are match on dial-peer 1?

88132734050

82145963269

89256789541

And why the number are match on dial-peer 2?

40822000

35616978

64589696

I think that all the numbers are match in dial-peer 1 because it`s much specific, or because the voice translation, there is a change in choose of dial-peer

voice translation-rule 1

rule 1 /811/ //

rule 2 /800/ //

rule 3 /^812/ /02112/

rule 4 /^813/ /02113/

rule 5 /^814/ /02114/

rule 6 /^815/ /02115/

rule 7 /^816/ /02116/

rule 8 /^817/ /02117/

rule 9 /^818/ /02118/

rule 10 /^819/ /02119/

voice translation-profile local

translation-called 1

e1 0/0/0

trunkgroup 1

e1 0/0/1

trukgroup 1

dial-peer voice 1 pots

trunkgroup 1

destionation-pattern 8[2-9]T

direct-inward-dial

prefix 021

dial-peer voice 2 pots

trunkgroup 1

destination-pattern 8T

direct-inward-dial

4 Replies 4

Hello,

I believe dial-peers match dialed digits based on longest match..therefore for your first set of numbers, they match dial-peer 1 because the destination pattern 8[2-9]T matchs the first digit "8", and the second digit, which can be any number between 2 and 9, and then the "T", which can be any amount of digits to follow after that. So yes, you are correct in dial-peer 1 is a more specific match for the dialed numbers than dial peer 2.

Yes the 8 is secondary dialtone. So the numbers:

88132734050

82145963269

89256789541

Choosen the dial-peer 1 based on longest? There are any documentation about it? I thinked this numbers choose the dial-peer 2; more specific! The voice translation rule can change the choose of dial-peer?

you can issue this command:

show dialplan number

http://www.cisco.com/en/US/docs/ios/12_3/vvf_r/vrg_sh2_ps1839_TSD_Products_Command_Reference_Chapter.html#wp999333

dial-peer hunt command can be used to modify the way the numbers are matched against dial-peers

Dial Peer Configuration on Voice Gateway Routers

http://www.cisco.com/en/US/partner/docs/ios/12_3/vvf_c/dial_peer/dpeer_c.html

HTH

javalenc

if this helps, please rate

HTH

java

if this helps, please rate

Ayodeji Okanlawon
VIP Alumni
VIP Alumni

your config is missing the translation profile in the dila-p used for outgoing calls.

There are 3 steps to configure voice translation rule...

1. create the voice xlation rule

2. Configure the xlation profile

3. Apply the translation profile to a dail-p and choose the directiont o whihc it should be applied..

hence your config should look like this..

voice translation-rule 1

rule 1 /811/ //

rule 2 /800/ //

rule 3 /^812/ /02112/

rule 4 /^813/ /02113/

rule 5 /^814/ /02114/

rule 6 /^815/ /02115/

rule 7 /^816/ /02116/

rule 8 /^817/ /02117/

rule 9 /^818/ /02118/

rule 10 /^819/ /02119/

voice translation-profile local

translation-called 1

dial-peer voice 1 pots

trunkgroup 1

destionation-pattern 8[2-9]T

direct-inward-dial

traslation-profile outgoing local

prefix 021

dial-peer voice 2 pots

trunkgroup 1

destination-pattern 8T

direct-inward-dial

translation-profile outgoing local

Hence the translation-profile outgoing local

is missing in your config...

In essence no translation is ben used on your config right now, make the changes and see if it gives you what you want

Please rate all useful posts
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: