07-04-2008 10:54 AM - edited 03-15-2019 11:44 AM
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
07-04-2008 11:04 AM
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.
07-04-2008 11:08 AM
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?
07-04-2008 11:40 AM
you can issue this command:
show dialplan number
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
07-05-2008 02:43 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide