<br><font size=2 face="sans-serif">Thanks for the clarification. I think
running the sh dialplan number command confirmed it for me as well.
Hopefully this thread helped others as well.</font>
<br>
<br><font size=2 face="sans-serif">Carlos</font>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>"Patrick Diener"
<patrick.diener@gmail.com></b> </font>
<br><font size=1 face="sans-serif">Sent by: cisco-voip-bounces@puck.nether.net</font>
<p><font size=1 face="sans-serif">02/06/2007 01:48 AM</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">cisco-voip@puck.nether.net</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: [cisco-voip] Destination Pattern
Question</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>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 <tednugent69@yahoo.com> wrote:<br>
> CM ^ = excludes, [^2] means everything except 2<br>
><br>
> IOS ^ = begins with, [^2] means everything beginning<br>
> with 2<br>
><br>
> http://www.cisco.com/en/US/partner/products/sw/iosswrel/ps5013/products_feature_guide09186a0080080e59.html#1050291<br>
><br>
><br>
><br>
><br>
> --- Lelio Fulgenzi <lelio@uoguelph.ca> 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: cisco-voip@puck.nether.net<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>
> > cisco-voip@puck.nether.net<br>
> > https://puck.nether.net/mailman/listinfo/cisco-voip<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>
> http://mobile.yahoo.com/mail<br>
> _______________________________________________<br>
> cisco-voip mailing list<br>
> cisco-voip@puck.nether.net<br>
> https://puck.nether.net/mailman/listinfo/cisco-voip<br>
><br>
_______________________________________________<br>
cisco-voip mailing list<br>
cisco-voip@puck.nether.net<br>
https://puck.nether.net/mailman/listinfo/cisco-voip<br>
</tt></font>
<br>