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-peer Doubt!

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

1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Silver

Re: Dial-peer Doubt!

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

2 REPLIES
Cisco Employee

Re: Dial-peer Doubt!

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

HTH

java

if this helps, please rate

HTH

java

if this helps, please rate

www.cisco.com/go/pdi
Hall of Fame Super Silver

Re: Dial-peer Doubt!

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

403
Views
9
Helpful
2
Replies