<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Courier;
panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:10.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
p.xmsonormal, li.xmsonormal, div.xmsonormal
{mso-style-name:x_msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-GB" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US">Thanks Tim, I’m not sure fully understand the precedence, still.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US">If I have to two dial-peers that both match a given inbound call, for example, and one is matching on ‘incoming uri’ and the other is matching on ‘incoming called-number’, for example,
will the ‘incoming uri’ dial-peer always match first, regardless of the order it appears in the running config, or the dial-peer number?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US">It’s the matches themselves that determine precedence in the matching order?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US">I note that you can put multiple matches within a dial-peer and only one needs to match, it’s a shame that compound matches can’t be built.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US">Gary<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span lang="EN-US" style="font-size:12.0pt;color:black">From:
</span></b><span lang="EN-US" style="font-size:12.0pt;color:black">Johnson, Tim <johns10t@cmich.edu><br>
<b>Date: </b>Friday, 11 November 2022 at 12:57<br>
<b>To: </b>Gary Parker <G.J.Parker@lboro.ac.uk>, voip puck <cisco-voip@puck.nether.net><br>
<b>Subject: </b>RE: [External] [cisco-voip] Voice Gateway Dial-Peer Precedence/Processing Order<o:p></o:p></span></p>
</div>
<div style="border:solid black 2.25pt;padding:0cm 0cm 0cm 0cm;margin-left:4.0pt;margin-top:4.0pt;margin-right:4.0pt;margin-bottom:4.0pt">
<p class="xmsonormal" align="center" style="text-align:center;line-height:12.0pt;background:#FFFFEE">
<span lang="EN-US" style="font-size:12.0pt;color:black">** THIS MESSAGE ORIGINATED OUTSIDE LOUGHBOROUGH UNIVERSITY **</span><span lang="EN-US" style="color:black">
</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="xmsonormal" align="center" style="text-align:center;line-height:12.0pt;background:#FFFFEE">
<span lang="EN-US" style="font-size:12.0pt;color:black">** Be wary of links or attachments, especially if the email is unsolicited or you don't recognise the sender's email address. **</span><span lang="EN-US" style="color:black">
</span><span lang="EN-US"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">I believe this is what you’re looking for. Order is based on how you have your DNIS/ANI pattern configured.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"><a href="https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/voice/cube/configuration/cube-book/cube-dp.html#concept_1ACF9AAF93C24BB988E4A2EE3734C8A6">https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/voice/cube/configuration/cube-book/cube-dp.html#concept_1ACF9AAF93C24BB988E4A2EE3734C8A6</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"> <o:p></o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt">From:</span></b><span lang="EN-US" style="font-size:11.0pt"> cisco-voip <cisco-voip-bounces@puck.nether.net>
<b>On Behalf Of </b>Gary Parker<br>
<b>Sent:</b> Friday, November 11, 2022 7:39 AM<br>
<b>To:</b> voip puck <cisco-voip@puck.nether.net><br>
<b>Subject:</b> [External] [cisco-voip] Voice Gateway Dial-Peer Precedence/Processing Order<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Hi folks, feel stupid asking what feels like a newbie question, but I can’t seem to find an answer online anywhere and I ‘ve never needed to worry about this in the past!<br>
<br>
In what order are dial-peers checked for a match for calls passing through a voice gateway? Is it simply the order they appear in the running-config, does the dial-peer number play any part, or is there something else influencing it?</span><span lang="EN-US" style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><span lang="EN-US" style="font-size:11.0pt"><o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Courier;color:black">-- </span><span lang="EN-US" style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Courier;color:black">Gary Parker</span><span lang="EN-US" style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Courier;color:black">Unified Communications Service Manager</span><span lang="EN-US" style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Courier;color:black">Loughborough University, IT Services</span><span lang="EN-US" style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"><a href="tel:+441509635635" title="tel:+441509635635"><span style="font-size:11.0pt;font-family:Courier">Phone - +441509635635</span></a></span><span lang="EN-US" style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"><a href="callto:g.j.parker@lboro.ac.uk" title="callto:g.j.parker@lboro.ac.uk"><span style="font-size:11.0pt;font-family:Courier">Teams - g.j.parker@lboro.ac.uk</span></a></span><span lang="EN-US" style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"><a href="https://www.osx.ninja/pubkey.txt" title="https://www.osx.ninja/pubkey.txt"><span style="font-size:11.0pt;font-family:Courier">https://www.osx.ninja/pubkey.txt</span></a></span><span lang="EN-US" style="font-size:11.0pt"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><span lang="EN-US" style="font-size:11.0pt"><o:p></o:p></span></p>
</div>
</div>
</body>
</html>