[cisco-voip] Translation-rule

Allan T. Parreno allan.parreno at jblfmu.edu.ph
Tue May 12 12:40:16 EDT 2009


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20090513/76b0b287/attachment.html>


More information about the cisco-voip mailing list