From: Barman, Partha (PBarman@necbns.com)
Date: Sun Jul 13 2003 - 13:01:26 GMT-3
Try this:
!
translation-rule 2
Rule 1 ^5 4444444
!
dial-peer voice 1 pots
destination-pattern 8888
port 1/0/0
!
dial-peer voice 2 voip
destination-pattern 4444444
session target ipv4:210.4.4.4
!
voice-port 1/0/0
translate called 2
-----Original Message-----
From: Jim Phillipo [mailto:jim.phillipo@guardent.com]
Sent: Sunday, July 13, 2003 10:02 AM
To: ccielab@groupstudy.com
Subject: Translation Rule Woes
I am trying to get the hang of translation rules.
I am trying to dial 5 on the directly attached phone and have it translated
to 4444444 and call the other phone on the next router.
What am I doing wrong here ?
!
translation-rule 2
Rule 1 ^5 4444444
!
dial-peer voice 1 pots
destination-pattern 8888
port 1/0/0
!
dial-peer voice 2 voip
destination-pattern 4444444
translate-outgoing calling 2
session target ipv4:210.4.4.4.
Jim Phillipo, CCNP, CCDP
Sr. Internetworking Engineer
W: 401.456.1821 F: 401.456.0599 M: 508.982.8923
90 Royal Little Drive, Providence, RI 02904
www.guardent.com
This archive was generated by hypermail 2.1.4 : Wed Aug 06 2003 - 06:52:38 GMT-3