Re: Dial-peer parameter

From: fwells12 (fwells12@xxxxxxxxxxx)
Date: Sun Nov 11 2001 - 22:00:55 GMT-3


   
Thanks Justin. If the . means one or more digits, why do people/examples
use more than one?

----- Original Message -----
From: "Menga, Justin" <Justin.Menga@Compaq.com>
To: "'fwells12'" <fwells12@hotmail.com>; <ccielab@groupstudy.com>
Sent: Sunday, November 11, 2001 1:14 PM
Subject: RE: Dial-peer parameter

> Hi,
>
> The . means one or more digits, therefore you could use
'destination-pattern
> .'
>
> Your num-exp is applied first (e.g. 12345 is expanded to whatever), and
then
> the expanded string is matched to the most specific dial peer.
>
> So you could have the following:
>
> dial-peer voice 1 voip
> destination-pattern 1.
>
> dial-peer voice 2 voip
> destination-pattern 2.
>
> num-exp 12345 15085461234
> num-exp 12346 2222222
>
> If you dial 12345, you'll match dial-peer 1 and if you dial 12346 you'll
> match dial-peer 2
>
> Regards
> Justin Menga CCIE#6640 CCDP CCNP+Voice+ATM MCSE+I CCSE
> Network Solutions Architect
> Wireless & E-Infrastructure
> Compaq Computer New Zealand
> DDI: +64-9-918-9381 Mobile: +64-21-349-599
> mailto: justin.menga@compaq.com
> web: http://www.compaq.co.nz
>
>
>
> -----Original Message-----
> From: fwells12 [mailto:fwells12@hotmail.com]
> Sent: Sunday, 11 November 2001 9:39 p.m.
> To: ccielab@groupstudy.com
> Subject: Dial-peer parameter
>
>
> Has anyone tried using the following command on a dial-peer to enable
> calling to any possible number at the remote location:
>
> destination-pattern ..........
>
> Suppose I wanted to be able to call the above remote location using the
full
> 10 digit dial number and I additionally wanted to use num-exp to
> conveniently reduce the dial number to 5 digits, what amount of dots would
I
> need to make
> this work -assuming it will... 10 or 5?
>
> num-exp 12345 1800nnnnnnn



This archive was generated by hypermail 2.1.4 : Fri Jun 21 2002 - 06:45:13 GMT-3