Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

"Dial-dial XXXX VOIP" translation order

Hi,

I have a question say if two dial-peer commands(see below) configured on a voice-enabled router, when the router receives digits which order it will use? According to the order of dial-peer commands in the config or some other mechanism?

With this config if I dial "10001" will the first dial-peer translate the session target to RAS, instead of router with IP 1.2.3.4?

!

dial-peer voice 1 voip

destination-pattern 1....

session target ras

ip precedence 5

!

dial-peer voice 10 voip

destination-pattern 10001

session target ipv4: 1.2.3.4

req-qos controlled-load

ip precedence 5

!

Thanks in advance,

Goku

  • Other Collaboration Voice and Video Subjects
3 REPLIES
New Member

Re: "Dial-dial XXXX VOIP" translation order

Outbound dial peer matching is done on a digit-by-digit basis. The router checks for dial-peer matches after receiving each digit and then routes the call when a full match is made.

In you case, immediately after the rouer recievesthe digit "0" (after the first digit 1), it will match dial peer 10 and route the call to session target ipv4:1.2.3.4

Another words it looks for the closest match.

Hope this helps.

Afrim S.

Re: "Dial-dial XXXX VOIP" translation order

Afrim,

That's almost correct. If you think about what you said then what would happen if a user called 10002. According to your logic the call would route to 1.2.3.4 just because the second digit happened to match.

You are correct in stating closest match, therefore what should happen is the router will not make a routing decision until it can be sure that the destination can be decided, so it will wait until it has a minimum of 5 digits, then route accordingly, 10001 to 1.2.3.4 anything else to RAS

Paul

New Member

Re: "Dial-dial XXXX VOIP" translation order

Thanks for advice Guys!!

804
Views
0
Helpful
3
Replies
This widget could not be displayed.