RE: num-exp v/s translation rules

From: Ian Stong (istong@stong.org)
Date: Thu Apr 17 2003 - 07:32:36 GMT-3


Just looks like two ways to achieve the same end result :)

Ian
www.ccie4u.com
Rack Rentals and Lab Scenarios

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Cristian Henry H
Sent: Wednesday, April 16, 2003 9:29 PM
To: ccielab@groupstudy.com
Subject: num-exp v/s translation rules

Hi everybody,

What is the difference between the following configuratios?

Configuration 1:

translation-rule 1
  rule 1 ^2.. 12
!
voice-port 1/0
   translate called 1
!
dial-peer voice 100 voip
 destination-pattern 1222
 session target ipv:10.1.2.2
!

Configuration 2:

num-exp 222 1222
!
voice-port 1/0
!
dial-peer voice 100 voip
 destination-pattern 1222
 session target ipv:10.1.2.2
!

In both cases I can dial 222 from telephone connected to voice-port 1/0,
and the router will convert the dial number to 1222 so it will send the
call to 10.1.2.2, right?

-- 
Cristian E. Henry
REUNA

E-mail: chenry@reuna.cl Fono: 56-2-3370336



This archive was generated by hypermail 2.1.4 : Thu May 01 2003 - 13:35:55 GMT-3