cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
198
Views
5
Helpful
1
Replies

Voice Translation Rule not allowed to be added

philmartin79
Level 1
Level 1

Hi,

 

I am trying to add the translation rules below. They are for Ireland freephone numbers which are 1800 and the calls are coming from CUCM to the GW as 901800....for example. So I need to drop the 0 between the 9 and 1. We cant manipulate CUCM without a lot of work and affecting local calls so I have tried to add the below rules but I'm getting an error:

rule 2 /^901800\(.*)/ /1800\1/
                                  ^
% unmatched ()                                      
% Invalid input detected at '^' marker.

 

So a call comes in as 901800287288 should be changed to 1800287288. Not sure why I am getting the messages below and why the 1 in my replace section is an invalid input character.

 

Any ideas appreciated!

 

Thanks

1 Reply 1

Vivek Batra
VIP Alumni
VIP Alumni

Change your rule to as follows and share the result;

rule 2 /^901800\(.*\)/ /1800\1/