Cisco Voice Guru

CCIE Voice Study Resources for those who have forsaken free-time and sanity.

Archive for the ‘commands’ tag

IOS Dial-Peer Destination-Pattern Commands

without comments

Below are the following destination-pattern operators that can be used in IOS dial-peers for voice:

Standard Operators

  • Asterisk (*) and pound sign (#)—Keys that appear on standard touchtone dial pads.
  • Brackets ([ ])—Range of digits. Digits (0 to 9) are enclosed in brackets. Similar to a regular expression rule.
  • Parentheses (( ))—Define specific pattern. Same as the regular expression rule—for example, 408(555). Use parentheses in conjunction with symbols ? or %.
  • Period (.)—Match to any entered digit (used as a wildcard).
  • Comma (,)—Pause between digits.

“Repeating” Operators

  • Percent sign (%)—The previous digit or pattern zero or multiple times, similar to wildcard usage in the regular expression.
  • Question mark (?)—The previous digit occurred zero or one time.

Other Operators

  • Circumflex (^)—Match to the beginning of the string.
  • Dollar sign ($)—Match to the null string at the end of the input string.
  • Backslash (\)—Is followed by a single character matching that character or used with a single  character having no other significance (matching that character).
  • T—Control character indicating that the destination-pattern value is a variable-length dial string.

Written by Matthew Berry

February 11th, 2010 at 5:21 am