03-11-2010 03:59 PM - edited 03-15-2019 09:44 PM
Dear all
Is ther any way to add "*" infront of a calling number in VG. for example, I am dialing from my four digit extension 4062 to another extension in another phone reguistered with remote VG.
I need to translate the calling number 4062 to 0*4062 from originating VG.
Please help.
Thank you
Siraj
03-11-2010 05:10 PM
I assume you are talking about a H.323 gateway or SIP gateway. You could try this:
voice translation-rule 10
rule 1 /\(....\)/ /0*\1/
!
voice translation-profile testtranslation
translate calling 10
!
You can test this rule out using the "test voice translation-rule" command, like so:
gateway#test voice translation-rule 10 4062
Matched with rule 1
Original number: 4062 Translated number: 0*4062
Original number type: none Translated number type: none
Original number plan: none Translated number plan: none
HTH.
Regards,
Bill
Please remember to rate helpful posts.
Please remember to rate helpful responses and identify
03-12-2010 10:10 AM
Thank you very much mate. I got the point.
03-11-2010 07:03 PM
Siraj,
Translation Profile will have to be applied to your VOIP dial peer depending upon which one you are using to send traffic over to the other VG. If you don't apply its not going to translate your number. Its similar to ACL they have to applied to interface ...
If you want to be more specific in translation rules, you can do something like this;
rule 1 /\(^4...$\)/ /0*\1/ [This way it will only translate numbers starting with "4" 4XXX.
Vikram
03-12-2010 10:10 AM
Thank you very much mate. I got the point.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: