RE: Interesting voice question.

From: Morris, Josh (Josh.Morris@xxxxxxxxxxxxx)
Date: Fri Jun 07 2002 - 13:12:19 GMT-3


   
Gents,
        This is what I found on CCO search but could not find it on the CD. I
have tested and the question and it works.

Both my documentation and CCO explanation is below.

===================================================
(10.1.7.7) R7 -------ATM---- R4 (10.1.4.4)

R4
dial-peer voice 1001 pots
 destination-pattern 1001
 port 1/0/1

R7
translation-rule 1
 Rule 0 ^1.% 1001

dial-peer voice 1000 voip
 destination-pattern 1000
 voice-class codec 99
 session target ipv4:10.1.4.4

dial-peer voice 10011 voip
 destination-pattern 1T
 translate-outgoing called 1
 session target ipv4:10.1.4.4
=======================================

Below is from: http://www.cisco.com/univercd/cc/td/doc/cisintwk/intsolns/voip
sol/dp3_isd.htm#58792
The GW uses the Cisco IOS translation rules to accomplish digit manipulation. T
ranslation rules can be configured on the GW physical port or on a VoIP dial pe
er, as shown in the following example:

translation-rule 1
 Rule 0 ^0111.% 1
 Rule 1 ^0112.% 2
 Rule 2 ^0113.% 3
 Rule 3 ^0114.% 4
 Rule 4 ^0115.% 5
 Rule 5 ^0116.% 6
 Rule 6 ^0117.% 7
 Rule 7 ^0118.% 8
 Rule 8 ^0119.% 9
!
dial-peer voice 1 voip
 destination-pattern 011T
 translate-outgoing called 1
 session target ras
!
The preceding translation rule matches digit patterns that begin with 0111 thro
ugh 0119 and translates this 4-digit pattern into a single digit from 1 to 9, w
hile preserving the remaining digits included in the digit pattern. This proces
s effectively strips the 011 (a common international access code) and sends the
 remaining digits to the VoIP gatekeeper for call routing.

-----Original Message-----
From: Michael Popovich [mailto:m.popovich@mchsi.com]
Sent: Friday, June 07, 2002 9:28 AM
To: Paul; Young Brown
Cc: ccielab@groupstudy.com
Subject: Re: Interesting voice question.

Isn't "num exp" used for this?

MP
----- Original Message -----
From: "Paul" <p_chopin@yahoo.com>
To: "Young Brown" <lybrown@cisco.com>
Cc: <ccielab@groupstudy.com>
Sent: Friday, June 07, 2002 12:05 AM
Subject: RE: Interesting voice question.

> I too believe that command must be applied to voice
> port itself not to dial peer.But question is which
> command? Is it translation rule? How would you do
> that.
> Paul
> --- Young Brown <lybrown@cisco.com> wrote:
> > Hi Paul,
> > My study partner and I just went over this and
> > believe what you're looking
> > for is translation-rule (in global config) and apply
> > it to the voice port.
> >
> >
> > -----Original Message-----
> > From: nobody@groupstudy.com
> > [mailto:nobody@groupstudy.com]On Behalf Of
> > Paul
> > Sent: Thursday, June 06, 2002 3:49 PM
> > To: Emmanuel Oppong
> > Cc: ccielab@groupstudy.com
> > Subject: RE: Interesting voice question.
> >
> >
> > I guess I wasn't specific enough on my question.We
> > are
> > calling from the router with 2 FXS interfaces (phone
> > #
> > 4001,4002)to remote phone # 4000.Only phone #4001
> > should make a call to 4000 by dialing 4.
> > Paul
> > --- Emmanuel Oppong <e-oppong@attbi.com> wrote:
> > > Paul, you also have to configure "preference".
> > Give
> > > the call to 4001 a
> > > preference of 1 and call to 4002 a preference of
> > say
> > > 10, under dial-peer
> > > voice x voip command. Then it will always call
> > > 4001, unless 4001 id down
> > > for whatever reason. Lower preference is
> > preferred.
> > >
> > > -----Original Message-----
> > > From: nobody@groupstudy.com
> > > [mailto:nobody@groupstudy.com]On Behalf Of
> > > Paul
> > > Sent: Thursday, June 06, 2002 12:53 PM
> > > To: ccielab@groupstudy.com
> > > Subject: Interesting voice question.
> > >
> > >
> > > Guys,
> > > I have a router with 2 FXS ports. Lets say
> > assigned
> > > #
> > > are 4001 & 4002. On the other end of WAN link
> > there
> > > is
> > > router with attached phone #4000.On my router I
> > have
> > > voip dial-peers pointing to the remote . Now, is
> > > there
> > >
> > > a way to connect to the remot using only phone #
> > > 4001
> > > just by dialing 4. I've tried num-exp but it works
> > > for both phones 4001 & 4002.
> > > Thanks in advance .
> > > Paul
> > >



This archive was generated by hypermail 2.1.4 : Tue Jul 02 2002 - 08:12:28 GMT-3