• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 444
  • Last Modified:

Cisco Call Manager Express voice translation-rule

Greetings,

I have a series of extensions ranging from 101 through 200.  In order to get to our voicemail system (hosted elsewhere via SIP), I need to prepend 999 to the extension

So instead of the sip header:  sip:101@mysipprovider I need to send: sip:999101@mysipprovider

I have tested a manual translation, which works fine, but I am limited to 15 rules which won't work.

(this works)
voice translation-rule 1
rule 1 /^101/ /999101/

So I need an expressed-based translation-rule that will make this happen for all the extensions.

Thanks!

0
chikagoh
Asked:
chikagoh
1 Solution
 
greg wardCommented:
http://www.cisco.com/en/US/tech/tk652/tk90/technologies_tech_note09186a0080325e8e.shtml
Example 4
voice translation-rule 5
 rule 1 /^0+/ /909/

So for your config
voice translation-rule 1
rule 1 /^1+/ /999/

Greg
0
 
hus1984Commented:
you can use the following:

rule 1 /\(^[1-2]..\)/ /999\1/

it will work for you i tested it myself.

Hussam
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now