VOIP num-exp or translate ?

From: Jonathan V Hays (jhays@jtan.com)
Date: Wed Nov 12 2003 - 10:09:55 GMT-3


Requirement: When someone dials 5 on the phone connected to 1/0/0 the
number configured on 1/0/1 (6001) should be called.

My answer:

dial-peer voice 10 pots
 destination-pattern 6000
 port 1/0/0
 translate called 1
!
dial-peer voice 20 pots
 destination-pattern 6001
 port 1/0/1
!
translation-rule 1
 rule 0 ^5 6001

This was the wrong answer. Should I have configured "num-exp 5 6001"
instead?



This archive was generated by hypermail 2.1.4 : Fri Dec 12 2003 - 12:29:10 GMT-3