translation pattern for stripping + and adding 011 on CCME

Unanswered Question
Jul 4th, 2007

Hello everybody,

I need help in creating a translation that will be strip off + and add 011 for international calls on CCME. The DNIS contains + and long distance number.

Thanks

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
thisisshanky Wed, 07/04/2007 - 20:19

+ is not a dialable character, so not sure where that comes from in your DNIS. May be you can be more clear by giving us the actual number you are dialing and what you want to add to it or remove.

Number slicing should be understood correct before attempting a translation rule.

\( specifies beginning of a number slice.

\) specifies end of a number slice.

Any number between \( and \) are preserved as such in the translation rule.

Some rules of thumb.

a. Always use back slash for a number slice.

b. Always use forward slash for indicating start and finish of a source or destination pattern.

c. There may be as many numebr slices in the source pattern as you want.

voice translation-rule 1

rule 1 /214542\(5979\)/ /\1/

In this the number slice is indicated in bold. This is the first and only number slice in the source pattern. This is preserved as such in the destination pattern. Everything else is discarded. The destination pattern is indicated by \1 which means replace the source pattern with the first number slice in the source pattern.

Hope this helps in what ever translation rule you are trying to achieve. This link may also additionally help.

http://www.cisco.com/en/US/tech/tk652/tk90/technologies_tech_note09186a0080325e8e.shtml

Sankar

PS: please remember to rate posts!

Actions

This Discussion