<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><br>Yes you can do that, but it gets a bit more tricky, and since your dealing with a CCX trigger, you could probably script something in uccx just as easy. <br><br>If you want to do this in CCM though, put on a hard hat and lets get to it ...<br><br>Assuming you've already read and deployed the previous example ...<br><br>In the initial Partition that contains the <i>! </i>pattern that routes everything by calling party, you would create another translation in that same partition and the pattern would be the <b>called party </b>number. So the partition would contain a translation for <i>!</i> and a translation for the CCX trigger. Both translations would route to next hop by calling party. The translation that contains your CCX trigger would have to use a CSS that called a different partition than the <i>! </i>translation. <br><br>In the new partition there would be a <i>!</i> translation pattern that would call out with a CSS that can access the DN's partition and then a translation pattern that matches the<i> </i><b>called party<i> </i></b>and then either block the route or translate the calling party to your CTI Route Point that forwards to your VM account in Unity.<br><br>In the end, you end up with a scenario where the CCX trigger is called and routed to the next hop by calling party and once at the next hop, if the calling party matches the defined pattern, is blocked or routed. However, if that calling party called any other DN besides the CCX trigger, it would route to the next hop in the original filter partition and be allowed to call (provided I wasn't blocking that calling party in that partition).<br><br>The reason all this works is because of CCM's route matching matrix; wherein the most specific route match always wins routing decisions. A specified number pattern will always be more specific than <i>!</i> which essentially matches anything.<br><br>Let me know if you need addition help offline, this is sort of complicated in writing but when you see it in production you're like really, that's it?<br><br>Thanks,<br><br>Ryan Huff<br><br><br><div><hr id="stopSpelling">From: norm.nicholson@kitchener.ca<br>To: ryanhuff@outlook.com; cisco-voip@puck.nether.net<br>Subject: RE: [cisco-voip] Forwarding an inbound caller straight to Voicemail 8.0<br>Date: Tue, 10 Mar 2015 15:00:48 +0000<br><br>



<style><!--
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal {
font-size:12.0pt;
font-family:"Times New Roman","serif";
}

.ExternalClass a:link, .ExternalClass span.ecxMsoHyperlink {
color:blue;
text-decoration:underline;
}

.ExternalClass span.ecxMsoHyperlinkFollowed {
color:purple;
text-decoration:underline;
}

.ExternalClass p {
font-size:12.0pt;
font-family:"Times New Roman","serif";
}

.ExternalClass p.ecxMsoAcetate, .ExternalClass li.ecxMsoAcetate, .ExternalClass div.ecxMsoAcetate {
font-size:8.0pt;
font-family:"Tahoma","sans-serif";
}

.ExternalClass p.ecxmsonormal, .ExternalClass li.ecxmsonormal, .ExternalClass div.ecxmsonormal {
font-size:12.0pt;
font-family:"Times New Roman","serif";
}

.ExternalClass p.ecxmsoacetate, .ExternalClass li.ecxmsoacetate, .ExternalClass div.ecxmsoacetate {
font-size:12.0pt;
font-family:"Times New Roman","serif";
}

.ExternalClass p.ecxmsochpdefault, .ExternalClass li.ecxmsochpdefault, .ExternalClass div.ecxmsochpdefault {
font-size:12.0pt;
font-family:"Times New Roman","serif";
}

.ExternalClass p.ecxmsonormal1, .ExternalClass li.ecxmsonormal1, .ExternalClass div.ecxmsonormal1 {
font-size:12.0pt;
font-family:"Times New Roman","serif";
}

.ExternalClass p.ecxmsochpdefault1, .ExternalClass li.ecxmsochpdefault1, .ExternalClass div.ecxmsochpdefault1 {
font-size:12.0pt;
font-family:"Times New Roman","serif";
}

.ExternalClass span.ecxmsohyperlink {
}

.ExternalClass span.ecxmsohyperlinkfollowed {
}

.ExternalClass span.ecxmsohyperlink1 {
}

.ExternalClass span.ecxmsohyperlinkfollowed1 {
}

.ExternalClass span.ecxemailstyle171 {
}

.ExternalClass span.ecxballoontextchar {
}

.ExternalClass span.ecxemailstyle30 {
}

.ExternalClass p.ecxmsonormal2, .ExternalClass li.ecxmsonormal2, .ExternalClass div.ecxmsonormal2 {
font-size:12.0pt;
font-family:"Times New Roman","serif";
}

.ExternalClass span.ecxmsohyperlink2 {
color:blue;
text-decoration:underline;
}

.ExternalClass span.ecxmsohyperlinkfollowed2 {
color:purple;
text-decoration:underline;
}

.ExternalClass p.ecxmsoacetate1, .ExternalClass li.ecxmsoacetate1, .ExternalClass div.ecxmsoacetate1 {
font-size:8.0pt;
font-family:"Tahoma","sans-serif";
}

.ExternalClass p.ecxmsochpdefault2, .ExternalClass li.ecxmsochpdefault2, .ExternalClass div.ecxmsochpdefault2 {
font-size:12.0pt;
font-family:"Times New Roman","serif";
}

.ExternalClass p.ecxmsonormal11, .ExternalClass li.ecxmsonormal11, .ExternalClass div.ecxmsonormal11 {
font-size:11.0pt;
font-family:"Calibri","sans-serif";
}

.ExternalClass span.ecxmsohyperlink11 {
color:blue;
text-decoration:underline;
}

.ExternalClass span.ecxmsohyperlinkfollowed11 {
color:purple;
text-decoration:underline;
}

.ExternalClass span.ecxemailstyle1711 {
font-family:"Calibri","sans-serif";
color:windowtext;
}

.ExternalClass p.ecxmsochpdefault11, .ExternalClass li.ecxmsochpdefault11, .ExternalClass div.ecxmsochpdefault11 {
font-size:12.0pt;
font-family:"Calibri","sans-serif";
}

.ExternalClass span.ecxballoontextchar1 {
font-family:"Tahoma","sans-serif";
}

.ExternalClass span.ecxemailstyle301 {
font-family:"Calibri","sans-serif";
color:#1F497D;
}

.ExternalClass span.ecxBalloonTextChar {
font-family:"Tahoma","sans-serif";
}

.ExternalClass span.ecxEmailStyle44 {
font-family:"Calibri","sans-serif";
color:#1F497D;
}

.ExternalClass .ecxMsoChpDefault {
font-size:10.0pt;
}

.ExternalClass div.ecxWordSection1 {
}

--></style>


<div class="ecxWordSection1">
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;"> </span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;">Sorry the incoming phone number we want to route to a voicemail box, but only when it calls in on a specific CCX pilot # .  They should be allowed to call all
 other numbers and DID’s within our Call Manager.</span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;"> </span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;"> </span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;"> </span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;">Thanks</span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;"> </span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;"> </span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;"> </span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in;">
<p class="ecxMsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";"> Ryan Huff [mailto:ryanhuff@outlook.com]
<br>
<b>Sent:</b> Tuesday, March 10, 2015 10:45 AM<br>
<b>To:</b> Norm Nicholson; cisco-voip@puck.nether.net<br>
<b>Subject:</b> RE: [cisco-voip] Forwarding an inbound caller straight to Voicemail 8.0</span></p>
</div>
</div>
<p class="ecxMsoNormal"> </p>
<div>
<p class="ecxMsoNormal" style=""><span style="font-family:"Calibri","sans-serif";">I'm not sure I correctly understand your question. Are you asking if instead of routing the calling number directly to a VM account, route to a UCCX queue trigger?<br>
<br>
Thanks,<br>
<br>
Ryan <br>
<br>
</span></p>
<div>
<div class="ecxMsoNormal" style="text-align:center;" align="center"><span style="font-family:"Calibri","sans-serif";">
<hr id="ecxstopSpelling" align="center" size="2" width="100%">
</span></div>
<p class="ecxMsoNormal" style=""><span style="font-family:"Calibri","sans-serif";">From:
<a href="mailto:norm.nicholson@kitchener.ca">norm.nicholson@kitchener.ca</a><br>
To: <a href="mailto:ryanhuff@outlook.com">ryanhuff@outlook.com</a>; <a href="mailto:cisco-voip@puck.nether.net">
cisco-voip@puck.nether.net</a><br>
Subject: RE: [cisco-voip] Forwarding an inbound caller straight to Voicemail 8.0<br>
Date: Tue, 10 Mar 2015 14:06:21 +0000</span></p>
<div>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;">Great info and one more question….</span><span style="font-family:"Calibri","sans-serif";"></span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;"> </span><span style="font-family:"Calibri","sans-serif";"></span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;"> </span><span style="font-family:"Calibri","sans-serif";"></span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;">Can we do this on specific CCX pilot # s ( they are DID’s ) verses every call this number makes to our call manager?.
</span><span style="font-family:"Calibri","sans-serif";"></span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;"> </span><span style="font-family:"Calibri","sans-serif";"></span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;"> </span><span style="font-family:"Calibri","sans-serif";"></span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;"> </span><span style="font-family:"Calibri","sans-serif";"></span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;"> </span><span style="font-family:"Calibri","sans-serif";"></span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;"> </span><span style="font-family:"Calibri","sans-serif";"></span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;">Thanks</span><span style="font-family:"Calibri","sans-serif";"></span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;"> </span><span style="font-family:"Calibri","sans-serif";"></span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;"> </span><span style="font-family:"Calibri","sans-serif";"></span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;"> </span><span style="font-family:"Calibri","sans-serif";"></span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;"> </span><span style="font-family:"Calibri","sans-serif";"></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in;">
<p class="ecxMsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";"> Ryan Huff [<a href="mailto:ryanhuff@outlook.com">mailto:ryanhuff@outlook.com</a>]
<br>
<b>Sent:</b> Tuesday, March 10, 2015 9:26 AM<br>
<b>To:</b> Norm Nicholson; <a href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a><br>
<b>Subject:</b> RE: [cisco-voip] Forwarding an inbound caller straight to Voicemail 8.0</span><span style="font-family:"Calibri","sans-serif";"></span></p>
</div>
</div>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"> </span></p>
<div>
<div>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">If you have a modern CCM version (8.x or above), which I'm guessing you are indicating such by the subject line of the email, you can create a scenario where CCM can perform routing decisions
 based upon the calling party number.<br>
<br>
Please review this post: <a href="http://ryanthomashuff.com/2014/11/call-blocking-by-caller-id/" target="_blank">
http://ryanthomashuff.com/2014/11/call-blocking-by-caller-id/</a> and follow the steps.
<br>
<br>
The variation that you are going to need to do though is once CCM makes a match on the
<b>calling</b> party number you'll need to translate the <b>called</b> party number to a CTI Route Point or something that forwards into the Unity VM account that you want.<br>
<br>
Thanks,<br>
<br>
Ryan</span></p>
<div>
<div class="ecxMsoNormal" style="text-align:center;" align="center"><span style="font-family:"Calibri","sans-serif";">
<hr align="center" size="2" width="100%">
</span></div>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">From: <a href="mailto:ryanhuff@outlook.com">
ryanhuff@outlook.com</a><br>
To: <a href="mailto:norm.nicholson@kitchener.ca">norm.nicholson@kitchener.ca</a>;
<a href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a><br>
Date: Tue, 10 Mar 2015 08:57:27 -0400<br>
Subject: Re: [cisco-voip] Forwarding an inbound caller straight to Voicemail 8.0</span></p>
<div>
<p class="ecxMsoNormal" style=""><span style="font-family:"Calibri","sans-serif";">Could you tell me what version of CCM you are dealing with? If you go under Call Routing -> Translation Pattern and click "Add New", do you see "<i>Route Next
 Hop By Calling Party Number</i>"?<br>
<br>
Thanks,<br>
<br>
Ryan</span></p>
<div>
<div class="ecxMsoNormal" style="text-align:center;" align="center"><span style="font-family:"Calibri","sans-serif";">
<hr align="center" size="2" width="100%">
</span></div>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">From: <a href="mailto:norm.nicholson@kitchener.ca">
norm.nicholson@kitchener.ca</a><br>
To: <a href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a><br>
Date: Tue, 10 Mar 2015 12:43:04 +0000<br>
Subject: [cisco-voip] Forwarding an inbound caller straight to Voicemail 8.0</span></p>
<div>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"> </span></p>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">I have been asked to send an outside caller to a voicemail box so when the DNIS or ANI shows 519-XXX-XXXX I want that caller to go to a specific mailbox. Is this possible ?</span></p>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"> </span></p>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"> </span></p>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"> </span></p>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"> </span></p>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">Thanks</span></p>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"> </span></p>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"> </span></p>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"> </span></p>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"> </span></p>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"> </span></p>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"> </span></p>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"> </span></p>
<p class="ecxMsoNormal"><b><span style="font-family:"Calibri","sans-serif";color:#00B050;">Norm Nicholson</span></b><span style="font-family:"Calibri","sans-serif";"></span></p>
<p class="ecxMsoNormal"><b><span style="font-family:"Calibri","sans-serif";color:#00B050;">Telecom Analyst</span></b><span style="font-family:"Calibri","sans-serif";"></span></p>
<p class="ecxMsoNormal"><b><span style="font-family:"Calibri","sans-serif";color:#00B050;">City of Kitchener</span></b><span style="font-family:"Calibri","sans-serif";"></span></p>
<p class="ecxMsoNormal"><b><span style="font-family:"Calibri","sans-serif";color:#00B050;">(519) 741-2200 x 7000</span></b><span style="font-family:"Calibri","sans-serif";"></span></p>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"> </span></p>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"> </span></p>
</div>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"><br>
_______________________________________________ cisco-voip mailing list <a href="mailto:cisco-voip@puck.nether.net">
cisco-voip@puck.nether.net</a> <a href="https://puck.nether.net/mailman/listinfo/cisco-voip" target="_blank">
https://puck.nether.net/mailman/listinfo/cisco-voip</a></span></p>
</div>
</div>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"><br>
_______________________________________________ cisco-voip mailing list <a href="mailto:cisco-voip@puck.nether.net">
cisco-voip@puck.nether.net</a> <a href="https://puck.nether.net/mailman/listinfo/cisco-voip" target="_blank">
https://puck.nether.net/mailman/listinfo/cisco-voip</a></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div></div>                                          </div></body>
</html>