Dial-peer Doubt!

Answered Question
Feb 16th, 2009

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

I have this problem too.
0 votes
Correct Answer by Chris Deren about 7 years 9 months ago

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

http://www.cisco.com/en/US/docs/ios/voice/dialpeer/configuration/guide/vd_dp_feat_cfg_ps6350_TSD_Products_Configuration_Guide_Chapter.html

HTH,

Chris

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4.5 (3 ratings)
Loading.
Jaime Valencia Mon, 02/16/2009 - 13:48

Dollar sign ($)-Disables variable-length matching. It must be used at the end of the dial string.

HTH

java

if this helps, please rate

Correct Answer
Chris Deren Mon, 02/16/2009 - 13:49

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

http://www.cisco.com/en/US/docs/ios/voice/dialpeer/configuration/guide/vd_dp_feat_cfg_ps6350_TSD_Products_Configuration_Guide_Chapter.html

HTH,

Chris

Actions

This Discussion