05-18-2011 03:53 AM - edited 03-16-2019 05:01 AM
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
05-18-2011 10:29 AM
Translation rules do not support the + sign, so don't use it.
05-18-2011 11:08 AM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide