Unified Call manager digit matching:

  •     X - any single digit in range 0-9 (ex. 8000-8999)
  •     ! - single or more digits in range 0-9 (ex. 82! - 82999999999999)
  •     ? - 0 or more occurrences of the preceding digit
  •     + - 1 or more occurrences of the preceding digit
  •     [] - enclose a range of values
  •     . - used as a delimiter, separates CM access code from the DN

Call manager express digit matching:

  •     . - means a single digit.
  •     [0-9] - specifies a range
  •     .* - any digit followed by zero or more occurence, virtually any digit including null
  •     .+ - ny digit followed by one or more occurence, virtually any digit excluding null
  •     ^$ - no digits

CME examples:

/^123$/ /456/ - replaces only the number 123 as the source number with 456

/^123+/ /456/ - replaces any number that starts with 12 and has 1 or more occurence of 3 with 456

/.*/ /123/ - replaces any number with the number 123, including null

/^0\(.*\)/ /\1/ - remove zero in front of any number with variable length

CME advanced examples:

/^\(5..\)/ /1234\1/ - match numbers in 500-599 range and transform it in 1234500-1234599

/^0011\(.......\)/ /\1/ - removes 0011 from number so you can redial directly

Leave a reply