Re: VoIP digits !!

From: ccie2be (ccie2be@nyc.rr.com)
Date: Sun Jun 06 2004 - 19:08:13 GMT-3


Richard,

I think [8888,9999] actually means
8 or 9, 8 or 9, 8 or 9, 8 or 9

I'm not 100% sure, but maybe one of the voice guru's will chime in and set
the record straight.

HTH

----- Original Message -----
From: "Richard Dumoulin" <richard.dumoulin@vanco.es>
To: <swm@emanon.com>; <ccielab@groupstudy.com>
Sent: Sunday, June 06, 2004 4:48 PM
Subject: RE: VoIP digits !!

> Thanks for the explanation. I thought I had to put a comma to separate
> characters :(
>
> In a scenario the requirement was to have a dial-peer that match both
> strings: 4288888 and 4289999. I did find no way to do it even with the
> doc-cd so I looked at the solutions and surprise !?!?!? It was:
> Destination-pattern 428[8888,9999] !! Previously I thought it was not
> possible ...
>
> So this means, 8 or 8 or 8 or 8 or 9 or 9 or 9 or 9 ?
>
> Thanks,
>
> --Richard
>
> -----Original Message-----
> From: Scott Morris [mailto:swm@emanon.com]
> Sent: domingo, 06 de junio de 2004 22:38
> To: Richard Dumoulin; ccielab@groupstudy.com
> Subject: RE: VoIP digits !!
>
>
> Based on all the docs, and examples, the [] are used to contain a single
> digit. An implicit "or" exists between ANY character listed. (Called a
> 'character class' by the way)
>
> With the ranges you had:
>
> [11-12] means match '1' OR the range '1-1' OR '2' as the single character
> [11-102] means match '1' OR the range '1-1' OR '0' OR '2' as the single
> character [98-102] means match '9' OR the range '8-1' (which is invalid)
OR
> '0' OR '2' as the single character
>
> Hope that helps with things! But it really is just a single character
> match!!
>
>
> 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
> Richard Dumoulin
> Sent: Sunday, June 06, 2004 3:35 PM
> To: ccielab@groupstudy.com
> Subject: VoIP digits !!
>
> Funny, the doc says "Note <<...>> Only single-digit ranges are supported.
> For example, [98-102] is invalid" here
>
http://www.cisco.com/univercd/cc/td/doc/product/software/ios123/123cgcr/vvfa
> x_c/int_c/dpeer_c/dp_confg.htm#wp1067010
>
<http://www.cisco.com/univercd/cc/td/doc/product/software/ios123/123cgcr/vvf
> ax_c/int_c/dpeer_c/dp_confg.htm#wp1067010>
>
> But actually it works depending on the numbers entered !!?!?!? Anyone can
> clarify this ? Please see below:
>
> Rack1R5(config)#dial-peer voice 1 voip Rack1R5(config-dial-peer)#destina
> Rack1R5(config-dial-peer)#destination-pattern [98-102] % invalid []
> rangeIncorrect format for ^([98-102])$
>
> Rack1R5(config-dial-peer)#destination-pattern 1[98-102] % invalid []
> rangeIncorrect format for ^(1[98-102])$
>
> Rack1R5(config-dial-peer)#destination-pattern ^(1[98-102])$ % invalid []
> rangeIncorrect format for ^(^(1[98-102])$)$
>
> Rack1R5(config-dial-peer)#dest
Rack1R5(config-dial-peer)#destination-pattern
> 528[8888,9999] Rack1R5(config-dial-peer)#destination-pattern
528[9999-9999]
> Rack1R5(config-dial-peer)#destination-pattern 528[98-102]
> % invalid [] rangeIncorrect format for ^(528[98-102])$
>
> Rack1R5(config-dial-peer)#destination-pattern 528[9994-9999]
> Rack1R5(config-dial-peer)#destination-pattern 528[11-12]
> Rack1R5(config-dial-peer)#destination-pattern 528[11-121]
> Rack1R5(config-dial-peer)#destination-pattern 528[91-99]
> Rack1R5(config-dial-peer)# Rack1R5(config-dial-peer)#destination-pattern
> 528[91-102] Rack1R5(config-dial-peer)#destination-pattern 528[98-102] %
> invalid [] rangeIncorrect format for ^(528[98-102])$
>
> Rack1R5(config-dial-peer)#destination-pattern 528[98-103] % invalid []
> rangeIncorrect format for ^(528[98-103])$
>
> Rack1R5(config-dial-peer)#destination-pattern 528[98-99]
> Rack1R5(config-dial-peer)#
>
> _______________________________________________________________________
> 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:33 GMT-3