<br><font size=2 face="sans-serif">Thanks for the clarification. I think
running the sh dialplan number command &nbsp;confirmed it for me as well.
&nbsp;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>&quot;Patrick Diener&quot;
&lt;patrick.diener@gmail.com&gt;</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 -&gt; 22345)<br>
<br>
Regards<br>
Patrick<br>
<br>
On 2/6/07, Ted Nugent &lt;tednugent69@yahoo.com&gt; wrote:<br>
&gt; CM ^ = excludes, [^2] means everything except 2<br>
&gt;<br>
&gt; IOS ^ = begins with, [^2] means everything beginning<br>
&gt; with 2<br>
&gt;<br>
&gt; http://www.cisco.com/en/US/partner/products/sw/iosswrel/ps5013/products_feature_guide09186a0080080e59.html#1050291<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --- Lelio Fulgenzi &lt;lelio@uoguelph.ca&gt; wrote:<br>
&gt;<br>
&gt; &gt; I think that pattern means different things in<br>
&gt; &gt; CallManager route patterns than it does IOS<br>
&gt; &gt; dial-peers.<br>
&gt; &gt; &nbsp; ----- Original Message -----<br>
&gt; &gt; &nbsp; From: Patrick Mowry<br>
&gt; &gt; &nbsp; To: cisco-voip@puck.nether.net<br>
&gt; &gt; &nbsp; Sent: Monday, February 05, 2007 6:13 PM<br>
&gt; &gt; &nbsp; Subject: Re: [cisco-voip] Destination Pattern<br>
&gt; &gt; Question<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &nbsp; Here is a quick confirmation from IOS ver<br>
&gt; &gt; 12.4(11)T. &nbsp;Looks like [^2]<br>
&gt; &gt; &nbsp; means anything but 2 and [^23] means anything but<br>
&gt; &gt; 2 or 3.<br>
&gt; &gt;<br>
&gt; &gt; &nbsp; Weird.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &nbsp; dial-peer voice 100 voip<br>
&gt; &gt; &nbsp; &nbsp;destination-pattern 2...<br>
&gt; &gt; &nbsp; &nbsp;session target ipv4:192.168.150.10<br>
&gt; &gt; &nbsp; &nbsp;codec g711ulaw<br>
&gt; &gt; &nbsp; !<br>
&gt; &gt; &nbsp; 2611_CCME#sh dialplan number 2999<br>
&gt; &gt; &nbsp; Macro Exp.: 2999<br>
&gt; &gt;<br>
&gt; &gt; &nbsp; VoiceOverIpPeer100<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; peer type = voice, system
default peer =<br>
&gt; &gt; FALSE, information type<br>
&gt; &gt; &nbsp; = voice,<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; description = `',<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tag = 100, destination-pattern
= `2...',<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; answer-address = `', preference=0,<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CLID Restriction = None<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CLID Network Number = `'<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CLID Second Number sent<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CLID Override RDNIS = disabled,<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; source carrier-id = `', target
carrier-id<br>
&gt; &gt; = `',<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; source trunk-group-label =
`', &nbsp;target<br>
&gt; &gt; trunk-group-label = `',<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; numbering Type = `unknown'<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; group = 100, Admin state is
up, Operation<br>
&gt; &gt; state is up,<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; incoming called-number = `',<br>
&gt; &gt; connections/maximum = 0/unlimited,<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DTMF Relay = disabled,<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; modem transport = system,<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; URI classes:<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Incoming (Called)
=<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Incoming (Calling)
=<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Destination
=<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; huntstop = disabled,<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; in bound application associated:
'DEFAULT'<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; out bound application associated:
''<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dnis-map =<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; permission :both<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; incoming COR list:maximum
capability<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; outgoing COR list:minimum
requirement<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Translation profile (Incoming):<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Translation profile (Outgoing):<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; incoming call blocking:<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; translation-profile = `'<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; disconnect-cause = `no-service'<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; advertise 0x40 capacity_update_timer
25<br>
&gt; &gt; addrFamily 4<br>
&gt; &gt; &nbsp; oldAddrFamily 4<br>
&gt; &gt;<br>
&gt; &gt; &nbsp; 2611_CCME#sh dialplan number 3999<br>
&gt; &gt; &nbsp; Macro Exp.: 3999<br>
&gt; &gt; &nbsp; No match, result=-1<br>
&gt; &gt;<br>
&gt; &gt; &nbsp; 2611_CCME#conf t<br>
&gt; &gt; &nbsp; Enter configuration commands, one per line. &nbsp;End<br>
&gt; &gt; with CNTL/Z.<br>
&gt; &gt; &nbsp; 2611_CCME(config)#dial-peer voice 100 voip<br>
&gt; &gt; &nbsp; 2611_CCME(config-dial-peer)#dest<br>
&gt; &gt; &nbsp; 2611_CCME(config-dial-peer)#destination-p<br>
&gt; &gt; &nbsp; 2611_CCME(config-dial-peer)#destination-pattern<br>
&gt; &gt; [^2]...<br>
&gt; &gt; &nbsp; 2611_CCME(config-dial-peer)#^Z<br>
&gt; &gt; &nbsp; 2611_CCME#sh dialplan number 3999<br>
&gt; &gt; &nbsp; Macro Exp.: 3999<br>
&gt; &gt;<br>
&gt; &gt; &nbsp; VoiceOverIpPeer100<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; peer type = voice, system
default peer =<br>
&gt; &gt; FALSE, information type<br>
&gt; &gt; &nbsp; = voice,<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; description = `',<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tag = 100, destination-pattern
=<br>
&gt; &gt; `[^2]...',<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; answer-address = `', preference=0,<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CLID Restriction = None<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CLID Network Number = `'<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CLID Second Number sent<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CLID Override RDNIS = disabled,<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; source carrier-id = `', target
carrier-id<br>
&gt; &gt; = `',<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; source trunk-group-label =
`', &nbsp;target<br>
&gt; &gt; trunk-group-label = `',<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; numbering Type = `unknown'<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; group = 100, Admin state is
up, Operation<br>
&gt; &gt; state is up,<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; incoming called-number = `',<br>
&gt; &gt; connections/maximum = 0/unlimited,<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DTMF Relay = disabled,<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; modem transport = system,<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; URI classes:<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Incoming (Called)
=<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Incoming (Calling)
=<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Destination
=<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; huntstop = disabled,<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; in bound application associated:
'DEFAULT'<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; out bound application associated:
''<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dnis-map =<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; permission :both<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; incoming COR list:maximum
capability<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; outgoing COR list:minimum
requirement<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Translation profile (Incoming):<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Translation profile (Outgoing):<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; incoming call blocking:<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; translation-profile = `'<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; disconnect-cause = `no-service'<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; advertise 0x40 capacity_update_timer
25<br>
&gt; &gt; addrFamily 4<br>
&gt; &gt; &nbsp; oldAddrFamily 4<br>
&gt; &gt;<br>
&gt; &gt; &nbsp; 2611_CCME#sh dialplan number 2999<br>
&gt; &gt; &nbsp; Macro Exp.: 2999<br>
&gt; &gt; &nbsp; No match, result=-1<br>
&gt; &gt;<br>
&gt; &gt; &nbsp; 2611_CCME#conf t<br>
&gt; &gt; &nbsp; Enter configuration commands, one per line. &nbsp;End<br>
&gt; &gt; with CNTL/Z.<br>
&gt; &gt; &nbsp; 2611_CCME(config)#dial-peer voice 100 voip<br>
&gt; &gt; &nbsp; 2611_CCME(config-dial-peer)#destination-pattern<br>
&gt; &gt; [^23]^Z.<br>
&gt; &gt; &nbsp; 2611_CCME#sh dialplan number 2999<br>
&gt; &gt; &nbsp; Macro Exp.: 2999<br>
&gt; &gt; &nbsp; No match, result=-1<br>
&gt; &gt;<br>
&gt; &gt; &nbsp; 2611_CCME#sh dialplan number 3999<br>
&gt; &gt; &nbsp; Macro Exp.: 3999<br>
&gt; &gt; &nbsp; No match, result=-1<br>
&gt; &gt;<br>
&gt; &gt; &nbsp; 2611_CCME#sh dialplan number 4999<br>
&gt; &gt; &nbsp; Macro Exp.: 4999<br>
&gt; &gt;<br>
&gt; &gt; &nbsp; VoiceOverIpPeer100<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; peer type = voice, system
default peer =<br>
&gt; &gt; FALSE, information type<br>
&gt; &gt; &nbsp; = voice,<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; description = `',<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tag = 100, destination-pattern
=<br>
&gt; &gt; `[^23]...',<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; answer-address = `', preference=0,<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CLID Restriction = None<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CLID Network Number = `'<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CLID Second Number sent<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CLID Override RDNIS = disabled,<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; source carrier-id = `', target
carrier-id<br>
&gt; &gt; = `',<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; source trunk-group-label =
`', &nbsp;target<br>
&gt; &gt; trunk-group-label = `',<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; numbering Type = `unknown'<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; group = 100, Admin state is
up, Operation<br>
&gt; &gt; state is up,<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; incoming called-number = `',<br>
&gt; &gt; connections/maximum = 0/unlimited,<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DTMF Relay = disabled,<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; modem transport = system,<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; URI classes:<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Incoming (Called)
=<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Incoming (Calling)
=<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Destination
=<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; huntstop = disabled,<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; in bound application associated:
'DEFAULT'<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; out bound application associated:
''<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dnis-map =<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; permission :both<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; incoming COR list:maximum
capability<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; outgoing COR list:minimum
requirement<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Translation profile (Incoming):<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Translation profile (Outgoing):<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; incoming call blocking:<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; translation-profile = `'<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; disconnect-cause = `no-service'<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; advertise 0x40 capacity_update_timer
25<br>
&gt; &gt; addrFamily 4<br>
&gt; &gt; &nbsp; oldAddrFamily 4<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; type = voip, session-target
=<br>
&gt; &gt; `ipv4:192.168.150.10',<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; technology prefix:<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; settle-call = disabled<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ip media DSCP = ef, ip signaling
DSCP =<br>
&gt; &gt; af31,<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ip video rsvp-none DSCP =
af41,ip video<br>
&gt; &gt; rsvp-pass DSCP = af41<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ip video rsvp-fail DSCP =
af41,<br>
&gt; &gt;<br>
&gt; === message truncated ===&gt;<br>
&gt; _______________________________________________<br>
&gt; &gt; cisco-voip mailing list<br>
&gt; &gt; cisco-voip@puck.nether.net<br>
&gt; &gt; https://puck.nether.net/mailman/listinfo/cisco-voip<br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; ____________________________________________________________________________________<br>
&gt; No need to miss a message. Get email on-the-go<br>
&gt; with Yahoo! Mail for Mobile. Get started.<br>
&gt; http://mobile.yahoo.com/mail<br>
&gt; _______________________________________________<br>
&gt; cisco-voip mailing list<br>
&gt; cisco-voip@puck.nether.net<br>
&gt; https://puck.nether.net/mailman/listinfo/cisco-voip<br>
&gt;<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>