cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
396
Views
0
Helpful
2
Replies

problem with Translate incoming A-number

tausiifexpert
Level 1
Level 1

hi,

i want to translate incoming A-number( calling number ).

my customer sending A-number like (+44****), i want to translate it as (0****) and strip +44.


my translation-profile is, but its giving me error at     rule 1 /^+


!
!
voice translation-profile stripplus
translate calling 2
!

voice translation-rule 2
rule 1 /^+44/ /0/
!
!

If some one could help me i will be really thankful.

regards

2 Replies 2

paolo bevilacqua
Hall of Fame
Hall of Fame

Translation rules do not support the + sign, so don't use it.

Hi,

Try this:

voice translation-rule 1

   rule 1 /^\+44\(....$\)/ /0\1/

router# #test voice translation-rule 1 +441234
Matched with rule 1
Original number: +441234        Translated number: 01234
Original number type: none      Translated number type: none
Original number plan: none      Translated number plan: none

Hope it helps, please rate if it does.

-- Adrian.