02-16-2009 12:04 PM - edited 03-15-2019 04:15 PM
Hi People
A quick doubt!
What's difference between:
dial-peer voice 1 pots
destination-pattern 2001
and
dial-peer voice 1 pots
destination-pattern 2001$
Thanks
Solved! Go to Solution.
02-16-2009 01:49 PM
To disable variable-length matching for a dial peer, add the dollar sign ($) to the end of the destination pattern, as shown:
dial-peer voice 1 voip
destination-pattern 555$
session target ipv4:10.10.1.1
The $ character in the configuration prevents this dial peer from being matched for dial string 5551212 because the extra digits beyond 555 are considered in the matching.
With two-stage dialing, the router collects the dialed string digit by digit. It attempts to match a dial peer after each digit is received. As soon as it finds a match, it immediately routes the call. For example, given the following configurations, the router would immediately match dial string 5551212 to dial peer 1.
dial-peer voice 1 voip
destination-pattern 555
session target ipv4:10.10.1.1
dial-peer voice 2 voip
destination-pattern 5551212
session target ipv4:10.10.1.2
from
HTH,
Chris
02-16-2009 01:48 PM
Dollar sign ($)-Disables variable-length matching. It must be used at the end of the dial string.
HTH
java
if this helps, please rate
02-16-2009 01:49 PM
To disable variable-length matching for a dial peer, add the dollar sign ($) to the end of the destination pattern, as shown:
dial-peer voice 1 voip
destination-pattern 555$
session target ipv4:10.10.1.1
The $ character in the configuration prevents this dial peer from being matched for dial string 5551212 because the extra digits beyond 555 are considered in the matching.
With two-stage dialing, the router collects the dialed string digit by digit. It attempts to match a dial peer after each digit is received. As soon as it finds a match, it immediately routes the call. For example, given the following configurations, the router would immediately match dial string 5551212 to dial peer 1.
dial-peer voice 1 voip
destination-pattern 555
session target ipv4:10.10.1.1
dial-peer voice 2 voip
destination-pattern 5551212
session target ipv4:10.10.1.2
from
HTH,
Chris
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: