05-18-2009 06:03 PM
hello,
I have this translation-rule configuration in my AS5350 router, I want to pair 12199999991 as calling party and 1258102211123 as called party, 16199999992 as calling party and 1230092343121 as called party, 13199998891 as calling party and 1009223456354 called party.
My DID provider was not sending a prefix 1 in called party number, that is why I need to translate it in translation-rule 1
translation-rule 1
Rule 1 any 12199999991
Rule 2 any 16199999992
Rule 1 any 13199998891
translation-rule 2
Rule 1 any 1258102211123
translation-rule 3
Rule 1 any 1230092343121
translation-rule 4
Rule 1 any 1009223456354
dial-peer voice 1 pots
application session
destination-pattern 2199999991
translate-outgoing calling 1
translate-outgoing called 2
no digit-strip
direct-inward-dial
port 3/0:D
forward-digits all
!
dial-peer voice 2 pots
application session
destination-pattern 6199999992
translate-outgoing calling 1
translate-outgoing called 3
no digit-strip
direct-inward-dial
port 3/0:D
forward-digits all
!
dial-peer voice 3 pots
application session
destination-pattern 3199998891
translate-outgoing calling 1
translate-outgoing called 4
no digit-strip
direct-inward-dial
port 3/0:D
forward-digits all
!
Thank you in advance.
05-18-2009 07:11 PM
Sorry, can you explain in different words what is that you want to do ?
Also, please use "voice translation-profile' and "voice translation-rule", as other means are now obsoleted.
05-18-2009 11:08 PM
Based on my previuos post, if I will going to call 2199999991, it will use the translation-rule 1, rule 1 any 12199999991 and translation-rule 2, Rule 1 any 1258102211123 as calling and called number, same with other following rules.
Thanks
05-19-2009 09:54 AM
Sorry, it is impossible to understand what you're saying. Perhaps make an example or ask a friend that speaks english or write in spanish if you speak it.
05-19-2009 08:55 PM
Hi,
I think he wants to try something like this (in terms of voice translation rules would be):
voice translation-rule 1
rule 1 /.*/ /12199999991/
voice translation-rule 2
rule 1 /2199999991/ /1258102211123/
voice translation-profile MyProfile
translate calling 1
translate called 2
dial-peer voice 1 pots
translation-profile outgoing MyProfile
Regards,
- Adrián.
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