Re: VOIP num-exp - DOC CD.

From: Ty (tycampbell@comcast.net)
Date: Sat Jun 26 2004 - 14:04:45 GMT-3


here is an example that I configured and tested. I did a debug so you could
see the results

hope that helps!

dial-peer voice 8111 pots
 destination-pattern 8111
 port 1/0/0
!
dial-peer voice 2111 voip
 destination-pattern 2111
 session target ipv4:100.0.0.2
!
num-exp 2 2111

r8#debug dialpeer
dialpeer detailed info debugging is on
r8#csim start 2
csim: called number = 2, loop count = 1 ping count = 0

*Mar 1 04:13:39.769: Inside dpMatchCore:
*Mar 1 04:13:39.769: destination pattn: 2 expanded string: 2111
*Mar 1 04:13:39.769: MatchNextPeer: Peer 2111 matched
csim: loop = 1, failed = 1
csim: call attempted = 1, setup failed = 1, tone failed = 0

r8#

call was successful using num-exp

----- Original Message -----
From: "Scott Morris" <swm@emanon.com>
To: "'Karim'" <karim_ccie@hotmail.com>; "'James Marinas'"
<jmarinas@hotmail.com>; <ccielab@groupstudy.com>
Sent: Saturday, June 26, 2004 10:47 AM
Subject: RE: VOIP num-exp - DOC CD.

> That would be correct... Num-exp is a macro that changes the number
BEFORE
> the dial-peer is matched. So apparantly that part of the CD is wrong,
> because your thinking there is correct.
>
> HTH,
>
>
> Scott Morris, CCIE4 (R&S/ISP-Dial/Security/Service Provider) #4713, CISSP,
> JNCIP, et al.
> IPExpert CCIE Program Manager
> IPExpert Sr. Technical Instructor
> swm@emanon.com/smorris@ipexpert.net
> http://www.ipexpert.net
>
>
>
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
> Karim
> Sent: Saturday, June 26, 2004 11:28 AM
> To: James Marinas; ccielab@groupstudy.com
> Subject: Re: VOIP num-exp - DOC CD.
>
> Thanks, this what I was thinking about. So the DOC. CD is wrong and
config.
> has to be:
> num-exp 2123 5556611
> !
> dial peer voice 1 pots
> destination pattern 5556611
>
> Not:
> num-exp 2123 5556611
> !
> dial peer voice 1 pots
> destination pattern 2123
>
>
>
> Karim.
>
> ----- Original Message -----
> From: James Marinas
> To: karim_ccie@hotmail.com ; ccielab@groupstudy.com
> Sent: Saturday, June 26, 2004 6:07 PM
> Subject: RE: VOIP num-exp - DOC CD.
>
>
> Sure looks wrong to me and I agree with you that it should be the other
> way around
>
>
>
>
>
> >From: "Karim" <karim_ccie@hotmail.com>
> >Reply-To: "Karim" <karim_ccie@hotmail.com>
> >To: <ccielab@groupstudy.com>
> >Subject: VOIP num-exp - DOC CD.
> >Date: Sat, 26 Jun 2004 14:55:45 +0300
> >
> >Hi all,
> >
> >I am confused regarding the config. of the num-exp and translation rule
> used
> >with viop peers. I thought that while configuring both, the destination
> >pattern will be the translated number. I found that for num-exp (in the
> DOC
> >CD) that the number used as the destination is the dialed number. Is it
> wrong
> >example ???
> >
> >num-exp 2123 5556611
> >dial peer voice 1 pots
> > destination pattern 2123
> >
> >
> >In this example, every time the device receives a call for extension
> 2123, the
> >dialed digits will be replaced with 555-6611 and the call will be
> forwarded to
> >that telephone.
> >
> >Thanks for any clarification,
> >
> >Karim.
> >
> >_______________________________________________________________________
> >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
>
> _______________________________________________________________________
> 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
>
> _______________________________________________________________________
> 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



This archive was generated by hypermail 2.1.4 : Sat Jul 03 2004 - 19:40:50 GMT-3