Re: VOIP num-exp or translate ?

From: Enrico Asproni (easproni@cisco.com)
Date: Wed Nov 12 2003 - 12:46:02 GMT-3


Jonathan,

I tested the translation rule in my lab setup and it works nicely also.

translation-rule 1
 Rule 0 ^5 6001

voice-port 1/0/0
 translate called 1

voice-port 1/0/1

dial-peer voice 10 pots
 destination-pattern 6000
 port 1/0/0

dial-peer voice 20 pots
 destination-pattern 6001
 port 1/0/1

When picking up the phone connected to fxs port 1/0/0 and dialing "5",
the phone connected to fxs port 1/0/0 rings. Therefore I admit that if
the requirement is the following :

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

Then I agree with Matijevic the solution provided above looks better
than using the global num-exp command (which is valid for any phone
connected to the box, not just the one connected to port 1/0/0).

Cheers,

Enrico

Jonathan V Hays wrote:
> As you say, the real question is whether the "translate" solution
> actually works. Since I don't have VOIP or phones in my home lab I am
> stuck with trying it via "csim start" in a remote lab. And unfortunately
> I can attest that "csim start" is very limited and does not seem to work
> for testing this configuration.

Jonathan V Hays wrote:
>
> 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?
>
> _______________________________________________________________________
> Please help support GroupStudy by purchasing your study materials from:
> http://shop.groupstudy.com
>
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html

-- 
Enrico Asproni                         ::            ::
Customer Support Engineer              ||            ||
TAC Brussels - Euro-Cats Team         ||||          ||||
Tel: +32 2 704 5970                 .||||||.      .||||||.
Fax: +32 2 704 5800              .:||||||||||:..:||||||||||:.
Email: easproni@cisco.com          C i s c o  S y s t e m s
---------------------------   Empowering the internet generation


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