×

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.

Help with translation Pattern

Unanswered Question
Feb 3rd, 2014
User Badges:

I am trying to configure a translation rule so that the last 4 digits on the incoming number are retained.


I have isdn presented with 6 digits coming in 545460- 545499, my extension numbers are 5461-5499 (5460 is AA-- tx to 3600).


I can’t get rule 2 to work




voice translation-rule 1


rule 1 /^545460/ /3600/


(cfg-translation-rule)#rule 2 /54546./ /546./

                                                      ^      

% Invalid input detected at '^' marker.


(cfg-translation-rule)#rule 2 /^5454..$/ /54../

                                                        ^    


% Invalid input detected at '^' marker.




(cfg-translation-rule)#rule 2 /^5454..$/ /..../

                                                       ^





Any ideas?


Thanks


Feisal

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
feisalb Mon, 02/03/2014 - 10:32
User Badges:

Think I got it


voice translation-rule 1

rule 1 /^545460/ /3600/

rule 2 /^54\(....\)/ /\1/

Chris Deren Mon, 02/03/2014 - 14:11
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,
  • Cisco Designated VIP,

    2017 IP Telephony, Contact Center, Unified Communications

This looks fine, "rule 2 /^54..../ /..../" should work as well



Chris

Actions

This Discussion