<div dir="ltr"><div>You're right about CUC being able to manipulate the data it pulls from AD. That's a pretty good feature of CUC, though, I've never seen it used before. But, still nice to have options like that.<br><br></div>For a while now, I have been proposing +E164 directories, so that numbers are dialable from any device, any acquisition, any merger, etc. Maybe you can just get AD updated to +E164 and add that functionality into the dial plan? You could relatively easily script the update into AD so that your change is bulk in nature.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 22, 2015 at 4:37 PM, John Snow <span dir="ltr"><<a href="mailto:John.Snow@cnrl.com" target="_blank">John.Snow@cnrl.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Yeah what happened here is an AD migration took place to consolidate two domains with two CM clusters (A=4 digits, B=10 digits). The ipPhone field on ClusterA
was being entered as 10digits so the business wanted me to write a script to strip it down to 4 – not my recommendation so I was hoping this was not possible
</span><span style="font-size:11.0pt;font-family:Wingdings;color:#1f497d">J</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I thought based on the default filter ipphone=* , that * in itself was a regular expression and it would be possible to write something more elaborate similar
to what UCXN can do.<u></u><u></u></span></p><span class="">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Tahoma","sans-serif";color:#1f497d">Regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Tahoma","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Tahoma","sans-serif";color:#1f497d">John Snow<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Tahoma","sans-serif";color:#1f497d">Senior VoIP Analyst<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Tahoma","sans-serif";color:#1f497d">Canadian Natural Resources Limited<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Tahoma","sans-serif";color:#1f497d">Suite 1800, 324 – 8th Ave SW<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Tahoma","sans-serif";color:#1f497d">Calgary AB, T2P 2Z2<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Tahoma","sans-serif";color:#1f497d">T: <a href="tel:403%20517%207238" value="+14035177238" target="_blank">403 517 7238</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Tahoma","sans-serif";color:#1f497d">C: <a href="tel:587%20585%202924" value="+15875852924" target="_blank">587 585 2924</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Tahoma","sans-serif";color:#1f497d">Email:
<a href="mailto:john.snow@cnrl.com" target="_blank">john.snow@cnrl.com</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
</span><p class="MsoNormal"><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""> <a href="mailto:avholloway@gmail.com" target="_blank">avholloway@gmail.com</a> [mailto:<a href="mailto:avholloway@gmail.com" target="_blank">avholloway@gmail.com</a>]
<b>On Behalf Of </b>Anthony Holloway<br>
<b>Sent:</b> Thursday, October 22, 2015 3:07 PM<br>
<b>To:</b> John Snow<br>
<b>Cc:</b> <a href="mailto:cisco-voip@puck.nether.net" target="_blank">cisco-voip@puck.nether.net</a><br>
<b>Subject:</b> Re: [cisco-voip] LDAP custom filter for ipPhone field<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Just so you know the LDAP filters do not manipulate data synced in from LDAP. They simply filter which records will be synced. If you already have the ipPhone field filled in, within LDAP, as the last 4 of the phone, then you're probably
only missing the mapping in the LDAP directory. It looks like this:<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><img src="cid:image001.png@01D10CDF.7D360E70" alt="Inline image 1" height="213" border="0" width="536"><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I believe in 9.1(2) you cannot change this field on the fly. Instead, you have to delete the integration and then re-add it with that field set. In CUCM 10x you can just change it whenever you want.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I hope that helps.<u></u><u></u></p>
</div>
</div>
</div></div><div>
<p class="MsoNormal"><u></u> <u></u></p>
<div><div><div class="h5">
<p class="MsoNormal">On Thu, Oct 22, 2015 at 3:33 PM, John Snow <<a href="mailto:John.Snow@cnrl.com" target="_blank">John.Snow@cnrl.com</a>> wrote:<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">I am searching for a regular expression(s) syntax to import the last 4 digits from the ipPhone field attribute. Anyone know if this can be accomplished in CUCM 9.1.2 ?<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Tahoma","sans-serif""> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Tahoma","sans-serif"">Regards,</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Tahoma","sans-serif""> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Tahoma","sans-serif"">John Snow</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Tahoma","sans-serif"">Senior VoIP Analyst</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Tahoma","sans-serif"">Canadian Natural Resources Limited</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Tahoma","sans-serif"">Suite 1800, 324 – 8th Ave SW</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Tahoma","sans-serif"">Calgary AB, T2P 2Z2</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Tahoma","sans-serif"">T:
<a href="tel:403%20517%207238" target="_blank">403 517 7238</a></span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Tahoma","sans-serif"">C:
<a href="tel:587%20585%202924" target="_blank">587 585 2924</a></span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Tahoma","sans-serif"">Email:
<a href="mailto:john.snow@cnrl.com" target="_blank">john.snow@cnrl.com</a></span><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
</div></div><p class="MsoNormal" style="margin-bottom:12.0pt"></p><div><div class="h5"><br>
_______________________________________________<br>
cisco-voip mailing list<br>
<a href="mailto:cisco-voip@puck.nether.net" target="_blank">cisco-voip@puck.nether.net</a><br>
</div></div><a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__puck.nether.net_mailman_listinfo_cisco-2Dvoip&d=CwMFaQ&c=aCXjXS7ZZ-mOR1xNksNgTg&r=0dwR7MgCdcKS3L4tuPBDuwL8G7meAwcyDgMIephsLj8&m=XCQaqLO7tgU5cE4sY2wA9IQLz2nFhh0lZFZghE705oc&s=MA1OO6ZEC29yb4Y0C0D6j6guwbMAF8_ulwT3zwRcKAE&e=" target="_blank">https://puck.nether.net/mailman/listinfo/cisco-voip[puck.nether.net]</a><u></u><u></u><p></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
</blockquote></div><br></div>