Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

Using wild card / regular expressions for CUCM application dial-rules

Unanswered Question
Mar 17th, 2012
User Badges:

Guys I have a few application dial-rules on CUCM that are working fine. But it can get really messy if i want to write a rule for every digit length that my users could be calling. Is there any I can user regular expression to for instance say the following:

  • •-          that any number beginning with a digit (9) should not have any number prefixed to it.
  • •-          And that the number can of any length.

Cheers guys

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Chris Deren Sat, 03/17/2012 - 07:50
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,
  • Cisco Designated VIP,

    2017 IP Telephony, Contact Center, Unified Communications

What are the rules your for?

Perhaps using called party transformations would be acceptable?


Sarg . Sun, 03/18/2012 - 13:42
User Badges:

i am using them for click-to-call. i have some users who have already added 9  to the telephone numbers that they saved on their outlook contact. Some users do not have a 9 as prefix for the number they have saved so the dial rule works fine for them . but for those that already have 9 as prefix, they now have 99 attached to their numbers. As per called party transformation, i am not sure that wold work with application dial-rules cos th rule is only triggerd when users dial via SOAP . I fear that transformation may affect too many people. whatever i do, i just want it to kick-in when make calls via clicl-to-call

Or is there something i dont understand?

Aaron Harrison Mon, 03/19/2012 - 06:48
User Badges:
  • Super Bronze, 10000 points or more
  • Community Spotlight Award,

    Member's Choice, May 2015


These rules are pretty basic and fall miles behind what Lync etc can do.

You are limited to providing lengths, but there should be minimal variation really. International standards (e164) dictates a max length of 15 digits. Hopefully you have a sensible domestic dial plan...

e.g. typically in the uK:

  • 4 digit internal extension
  • 10 or 11 digit dialling to most locations starting 01/02/08 etc.
  • Then international would be starting 00 or + followed by max 15 digits. For this I usually add rules for lengths of 11-15 digits, with 00 or + as the leading numbers.

Re: double-9s, you can specify 'starts with' to avoid adding 9s where 9 exists.

At the end of the day the rules aren't clever enough (i.e. no regular expressions etc) to be able to 'fix' all numbers that people might come up with. Personally I take the option of educating people that they should not prefix 9, and should use either normal domestic dialling format or +e164 format in their address books. With that configuration their address books will still be useful if synced to their mobile devices.


Sarg . Fri, 03/23/2012 - 05:27
User Badges:

Right now there seems to be so much talk about Lync. I wonder what the future holds. Some Cisco people are even panicking over recent developments


This Discussion