<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3020" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>To beat a dead horse, I'm pretty sure that [^2347] is not the
same as [^2^3^4^7]. There was a similar example in the link I sent
off.</FONT></DIV>
<DIV> </DIV>
<DIV>--------------------------------------------------------------------------------<BR>Lelio
Fulgenzi, B.A.<BR>Senior Analyst (CCS) * University of Guelph * Guelph, Ontario
N1G 2W1<BR>(519) 824-4120 x56354 (519) 767-1060 FAX
(JNHN)<BR>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<BR>...there's no such thing as a bad timbit...<BR></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=patrick.diener@gmail.com
href="mailto:patrick.diener@gmail.com">Patrick Diener</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=cisco-voip@puck.nether.net
href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, February 06, 2007 1:48
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [cisco-voip] Destination
Pattern Question</DIV>
<DIV><BR></DIV>hmmm a lot of confusion about just one character
;-)<BR><BR>just to clarify<BR><BR>^ on CM AND IOS when used in either a route
pattern or<BR>destination-pattern specifys an EXCLUSION or EXCLUSION RANGE so
[^2]<BR>== everything except 2 AND [^2347] == everything except 2, 3, 4 or
7<BR><BR>^ on IOS when used in translation-rules or voice
translation-rules<BR>means that the following digit will only match if found
at the start<BR>of a string so rule /^1/ /2/ will replace the digit 1 with the
digit 2<BR>if 1 is found at the start of a string (e.g. 12345 ->
22345)<BR><BR>Regards<BR>Patrick<BR><BR>On 2/6/07, Ted Nugent <<A
href="mailto:tednugent69@yahoo.com">tednugent69@yahoo.com</A>>
wrote:<BR>> CM ^ = excludes, [^2] means everything except 2<BR>><BR>>
IOS ^ = begins with, [^2] means everything beginning<BR>> with
2<BR>><BR>> <A
href="http://www.cisco.com/en/US/partner/products/sw/iosswrel/ps5013/products_feature_guide09186a0080080e59.html#1050291">http://www.cisco.com/en/US/partner/products/sw/iosswrel/ps5013/products_feature_guide09186a0080080e59.html#1050291</A><BR>><BR>><BR>><BR>><BR>>
--- Lelio Fulgenzi <<A
href="mailto:lelio@uoguelph.ca">lelio@uoguelph.ca</A>>
wrote:<BR>><BR>> > I think that pattern means different things
in<BR>> > CallManager route patterns than it does IOS<BR>> >
dial-peers.<BR>> > ----- Original Message -----<BR>>
> From: Patrick Mowry<BR>> > To: <A
href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</A><BR>>
> Sent: Monday, February 05, 2007 6:13 PM<BR>>
> Subject: Re: [cisco-voip] Destination Pattern<BR>> >
Question<BR>> ><BR>> ><BR>> > Here is a quick
confirmation from IOS ver<BR>> > 12.4(11)T. Looks like
[^2]<BR>> > means anything but 2 and [^23] means anything
but<BR>> > 2 or 3.<BR>> ><BR>> > Weird.<BR>>
><BR>> ><BR>> ><BR>> > dial-peer voice 100
voip<BR>> > destination-pattern 2...<BR>>
> session target ipv4:192.168.150.10<BR>>
> codec g711ulaw<BR>> > !<BR>>
> 2611_CCME#sh dialplan number 2999<BR>> >
Macro Exp.: 2999<BR>> ><BR>> >
VoiceOverIpPeer100<BR>>
> peer type =
voice, system default peer =<BR>> > FALSE, information type<BR>>
> = voice,<BR>>
> description =
`',<BR>> >
tag = 100, destination-pattern = `2...',<BR>>
>
answer-address = `', preference=0,<BR>>
> CLID
Restriction = None<BR>>
> CLID Network
Number = `'<BR>>
> CLID Second
Number sent<BR>>
> CLID Override
RDNIS = disabled,<BR>>
> source
carrier-id = `', target carrier-id<BR>> > = `',<BR>>
> source
trunk-group-label = `', target<BR>> > trunk-group-label =
`',<BR>> >
numbering Type = `unknown'<BR>>
> group = 100,
Admin state is up, Operation<BR>> > state is up,<BR>>
> incoming
called-number = `',<BR>> > connections/maximum = 0/unlimited,<BR>>
> DTMF Relay =
disabled,<BR>>
> modem
transport = system,<BR>>
> URI
classes:<BR>>
>
Incoming (Called) =<BR>>
>
Incoming (Calling) =<BR>>
>
Destination =<BR>>
> huntstop =
disabled,<BR>>
> in bound
application associated: 'DEFAULT'<BR>>
> out bound
application associated: ''<BR>>
> dnis-map
=<BR>> >
permission :both<BR>>
> incoming COR
list:maximum capability<BR>>
> outgoing COR
list:minimum requirement<BR>>
> Translation
profile (Incoming):<BR>>
> Translation
profile (Outgoing):<BR>>
> incoming call
blocking:<BR>>
>
translation-profile = `'<BR>>
>
disconnect-cause = `no-service'<BR>>
> advertise
0x40 capacity_update_timer 25<BR>> > addrFamily 4<BR>>
> oldAddrFamily 4<BR>> ><BR>> >
2611_CCME#sh dialplan number 3999<BR>> > Macro Exp.:
3999<BR>> > No match, result=-1<BR>> ><BR>>
> 2611_CCME#conf t<BR>> > Enter configuration
commands, one per line. End<BR>> > with CNTL/Z.<BR>>
> 2611_CCME(config)#dial-peer voice 100 voip<BR>>
> 2611_CCME(config-dial-peer)#dest<BR>> >
2611_CCME(config-dial-peer)#destination-p<BR>> >
2611_CCME(config-dial-peer)#destination-pattern<BR>> > [^2]...<BR>>
> 2611_CCME(config-dial-peer)#^Z<BR>> >
2611_CCME#sh dialplan number 3999<BR>> > Macro Exp.:
3999<BR>> ><BR>> > VoiceOverIpPeer100<BR>>
> peer type =
voice, system default peer =<BR>> > FALSE, information type<BR>>
> = voice,<BR>>
> description =
`',<BR>> >
tag = 100, destination-pattern =<BR>> > `[^2]...',<BR>>
>
answer-address = `', preference=0,<BR>>
> CLID
Restriction = None<BR>>
> CLID Network
Number = `'<BR>>
> CLID Second
Number sent<BR>>
> CLID Override
RDNIS = disabled,<BR>>
> source
carrier-id = `', target carrier-id<BR>> > = `',<BR>>
> source
trunk-group-label = `', target<BR>> > trunk-group-label =
`',<BR>> >
numbering Type = `unknown'<BR>>
> group = 100,
Admin state is up, Operation<BR>> > state is up,<BR>>
> incoming
called-number = `',<BR>> > connections/maximum = 0/unlimited,<BR>>
> DTMF Relay =
disabled,<BR>>
> modem
transport = system,<BR>>
> URI
classes:<BR>>
>
Incoming (Called) =<BR>>
>
Incoming (Calling) =<BR>>
>
Destination =<BR>>
> huntstop =
disabled,<BR>>
> in bound
application associated: 'DEFAULT'<BR>>
> out bound
application associated: ''<BR>>
> dnis-map
=<BR>> >
permission :both<BR>>
> incoming COR
list:maximum capability<BR>>
> outgoing COR
list:minimum requirement<BR>>
> Translation
profile (Incoming):<BR>>
> Translation
profile (Outgoing):<BR>>
> incoming call
blocking:<BR>>
>
translation-profile = `'<BR>>
>
disconnect-cause = `no-service'<BR>>
> advertise
0x40 capacity_update_timer 25<BR>> > addrFamily 4<BR>>
> oldAddrFamily 4<BR>> ><BR>> >
2611_CCME#sh dialplan number 2999<BR>> > Macro Exp.:
2999<BR>> > No match, result=-1<BR>> ><BR>>
> 2611_CCME#conf t<BR>> > Enter configuration
commands, one per line. End<BR>> > with CNTL/Z.<BR>>
> 2611_CCME(config)#dial-peer voice 100 voip<BR>>
> 2611_CCME(config-dial-peer)#destination-pattern<BR>> >
[^23]^Z.<BR>> > 2611_CCME#sh dialplan number 2999<BR>>
> Macro Exp.: 2999<BR>> > No match,
result=-1<BR>> ><BR>> > 2611_CCME#sh dialplan number
3999<BR>> > Macro Exp.: 3999<BR>> > No
match, result=-1<BR>> ><BR>> > 2611_CCME#sh dialplan
number 4999<BR>> > Macro Exp.: 4999<BR>> ><BR>>
> VoiceOverIpPeer100<BR>>
> peer type =
voice, system default peer =<BR>> > FALSE, information type<BR>>
> = voice,<BR>>
> description =
`',<BR>> >
tag = 100, destination-pattern =<BR>> > `[^23]...',<BR>>
>
answer-address = `', preference=0,<BR>>
> CLID
Restriction = None<BR>>
> CLID Network
Number = `'<BR>>
> CLID Second
Number sent<BR>>
> CLID Override
RDNIS = disabled,<BR>>
> source
carrier-id = `', target carrier-id<BR>> > = `',<BR>>
> source
trunk-group-label = `', target<BR>> > trunk-group-label =
`',<BR>> >
numbering Type = `unknown'<BR>>
> group = 100,
Admin state is up, Operation<BR>> > state is up,<BR>>
> incoming
called-number = `',<BR>> > connections/maximum = 0/unlimited,<BR>>
> DTMF Relay =
disabled,<BR>>
> modem
transport = system,<BR>>
> URI
classes:<BR>>
>
Incoming (Called) =<BR>>
>
Incoming (Calling) =<BR>>
>
Destination =<BR>>
> huntstop =
disabled,<BR>>
> in bound
application associated: 'DEFAULT'<BR>>
> out bound
application associated: ''<BR>>
> dnis-map
=<BR>> >
permission :both<BR>>
> incoming COR
list:maximum capability<BR>>
> outgoing COR
list:minimum requirement<BR>>
> Translation
profile (Incoming):<BR>>
> Translation
profile (Outgoing):<BR>>
> incoming call
blocking:<BR>>
>
translation-profile = `'<BR>>
>
disconnect-cause = `no-service'<BR>>
> advertise
0x40 capacity_update_timer 25<BR>> > addrFamily 4<BR>>
> oldAddrFamily 4<BR>>
> type = voip,
session-target =<BR>> > `ipv4:192.168.150.10',<BR>>
> technology
prefix:<BR>>
> settle-call =
disabled<BR>>
> ip media DSCP
= ef, ip signaling DSCP =<BR>> > af31,<BR>>
> ip video
rsvp-none DSCP = af41,ip video<BR>> > rsvp-pass DSCP = af41<BR>>
> ip video
rsvp-fail DSCP = af41,<BR>> ><BR>> === message truncated
===><BR>> _______________________________________________<BR>> >
cisco-voip mailing list<BR>> > <A
href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</A><BR>>
> <A
href="https://puck.nether.net/mailman/listinfo/cisco-voip">https://puck.nether.net/mailman/listinfo/cisco-voip</A><BR>>
><BR>><BR>><BR>><BR>><BR>>
____________________________________________________________________________________<BR>>
No need to miss a message. Get email on-the-go<BR>> with Yahoo! Mail for
Mobile. Get started.<BR>> <A
href="http://mobile.yahoo.com/mail">http://mobile.yahoo.com/mail</A><BR>>
_______________________________________________<BR>> cisco-voip mailing
list<BR>> <A
href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</A><BR>>
<A
href="https://puck.nether.net/mailman/listinfo/cisco-voip">https://puck.nether.net/mailman/listinfo/cisco-voip</A><BR>><BR>_______________________________________________<BR>cisco-voip
mailing list<BR><A
href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</A><BR><A
href="https://puck.nether.net/mailman/listinfo/cisco-voip">https://puck.nether.net/mailman/listinfo/cisco-voip</A><BR></BLOCKQUOTE></BODY></HTML>