Dial-peer Doubt!

Answered Question
Feb 16th, 2009
User Badges:

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

Correct Answer by Chris Deren about 8 years 2 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
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    2011

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
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,
  • Cisco Designated VIP,

    2017 IP Telephony, Contact Center, Unified Communications

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