cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
818
Views
9
Helpful
2
Replies

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

Chris Deren
Hall of Fame
Hall of Fame

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

View solution in original post

2 Replies 2

Jaime Valencia
Cisco Employee
Cisco Employee

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

Chris Deren
Hall of Fame
Hall of Fame

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

Getting Started

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: