num-exp v/s translation rules

From: Cristian Henry H (chenry@reuna.cl)
Date: Wed Apr 16 2003 - 22:29:24 GMT-3


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