<span style="font-family: Arial;">Hey Dan,<br><br>I'm a tad confused on your follow up question.<br><br>Could you elaborate on what the issue is??<br><br>I have a feeling what you are after is not possible but what you could do is maybe do multiple phone masks so that it can also match internal 5 digit numbers as well?? Only thing is that it'll probably show as the full number rather than the internal number in the missed call list. <br><br>Another option which will require rearchitecture would be to have full E164 in your AD, then use a calling party transform mask on incoming calls to transform to E164. Then have translation patterns to keep internal numbers as 5 digits. I think this is the preferred method normally when building a new system.  But obviously a big ask for existing setups.<br><br><br>Although if I've read your question incorrectly I could be on a completely incorrect tangent :D<br><br>Karen<br><br><br><div id="htc_header" style="">----- Reply message -----<br>From: "Daniel" <dan.voip@danofive.id.au><br>To: "kaz.cheng@gmail.com" <kaz.cheng@gmail.com><br>Cc: "cisco-voip@puck.nether.net" <cisco-voip@puck.nether.net><br>Subject: [cisco-voip] JFW Phone Number Masks<br>Date: Mon, May 13, 2013 3:43 PM<br><br></div></span><br><div dir="ltr"><div style="font-family:verdana,sans-serif;font-size:small" class="gmail_default">thanks Karen that worked a treat .</div><div style="font-family:verdana,sans-serif;font-size:small" class="gmail_default"> </div>
<div style="font-family:verdana,sans-serif;font-size:small" class="gmail_default"><font color="#000000" size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 0pt"><span style="font-family:"Arial","sans-serif";font-size:10pt"><font color="#000000">Now
when a call comes into J4W the prefix of 0 is gone and it matches homePhone, mobile,
or otherTelephone in LDAP as the secondary lookup and works great if the number is
in AD it replaces the number with the name.</font></span></p><font color="#000000" size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 0pt"><span style="font-family:"Arial","sans-serif";font-size:10pt"><font color="#000000"> </font></span></p><font color="#000000" size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 0pt"><span style="font-family:"Arial","sans-serif";font-size:10pt"><font color="#000000">BUT
because we substitute telephoneNumber for ipPhone when the call comes in and
the primary search is done it searches ipPhone instead of telephone number.</font></span></p><p style="margin:0cm 0cm 0pt"><span style="font-family:"Arial","sans-serif";font-size:10pt"><font color="#000000"></font></span> </p>
<p style="margin:0cm 0cm 0pt"><span style="font-family:"Arial","sans-serif";font-size:10pt"><font color="#000000">Anyone know a way to keep the substitution but search telephoneNumber? We want the substitution so that internal users on Jabber are forced to dial internal numbers for internal users.  But we want to be able to search telephoneNumber for contact resolution.</font></span></p>
<font color="#000000" size="3" face="Times New Roman">

</font></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 13, 2013 at 2:23 PM, <a href="mailto:kaz.cheng@gmail.com">kaz.cheng@gmail.com</a> <span dir="ltr"><<a href="mailto:kaz.cheng@gmail.com" target="_blank">kaz.cheng@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span style="font-family:Arial">Or I think in the jabber-config.xml I think you can put in phone masks for directory search.<br>
<br>Karen<br><br><div><div class="im">----- Reply message -----<br>From: "<a href="mailto:kaz.cheng@gmail.com" target="_blank">kaz.cheng@gmail.com</a>" <<a href="mailto:kaz.cheng@gmail.com" target="_blank">kaz.cheng@gmail.com</a>><br>
To: "Daniel" <<a href="mailto:dan.voip@danofive.id.au" target="_blank">dan.voip@danofive.id.au</a>>, "<a href="mailto:cisco-voip@puck.nether.net" target="_blank">cisco-voip@puck.nether.net</a>" <<a href="mailto:cisco-voip@puck.nether.net" target="_blank">cisco-voip@puck.nether.net</a>><br>
Subject: [cisco-voip] JFW Phone Number Masks<br></div><div><div class="h5">Date: Mon, May 13, 2013 2:03 PM<br><br></div></div></div></span><div class="HOEnZb"><div class="h5"><br><span style="font-family:Arial">Hey Dan,<br>
<br>What about using Directory Lookup Rules on CUCM?<br><br>Regards<br>Karen<br><br><br><br><div>----- Reply message -----<br>From: "Daniel" <<a href="mailto:dan.voip@danofive.id.au" target="_blank">dan.voip@danofive.id.au</a>><br>
To: "<a href="mailto:cisco-voip@puck.nether.net" target="_blank">cisco-voip@puck.nether.net</a>" <<a href="mailto:cisco-voip@puck.nether.net" target="_blank">cisco-voip@puck.nether.net</a>><br>Subject: [cisco-voip] JFW Phone Number Masks<br>
Date: Mon, May 13, 2013 1:50 PM<br><br></div></span><br><div dir="ltr"><div style="font-family:verdana,sans-serif;font-size:small" class="gmail_default"><font color="#000000" size="3" face="Times New Roman">

</font></div><p style="margin:0cm 0cm 0pt;font-family:verdana,sans-serif;font-size:small"><span style="font-family:"Arial","sans-serif";font-size:10pt"><font color="#000000">Hi All,</font></span></p><div style="font-family:verdana,sans-serif;font-size:small" class="gmail_default">

<font color="#000000" size="3" face="Times New Roman">

</font></div><p style="margin:0cm 0cm 0pt;font-family:verdana,sans-serif;font-size:small"><span style="font-family:"Arial","sans-serif";font-size:10pt"><font color="#000000">I’ve got a question on how the phone mask
options in JFW works.</font></span></p><div style="font-family:verdana,sans-serif;font-size:small" class="gmail_default"><font color="#000000" size="3" face="Times New Roman">
</font></div><p style="margin:0cm 0cm 0pt;font-family:verdana,sans-serif;font-size:small"><span style="font-family:"Arial","sans-serif";font-size:10pt"><font color="#000000">How I read it is. If a caller calls in on a
number <a href="tel:0732121234" target="_blank" value="+61732121234">0732121234</a> that number is searched for within LDAP to resolve
to a contact name and displayed in Jabber?</font></span></p><div style="font-family:verdana,sans-serif;font-size:small" class="gmail_default"><font color="#000000" size="3" face="Times New Roman">

</font></div><p style="margin:0cm 0cm 0pt;font-family:verdana,sans-serif;font-size:small"><span style="font-family:"Arial","sans-serif";font-size:10pt"><font color="#000000">In our environment we have a 0 prefixed to the
number on the inbound so that users can dial back that user from their phones
history.</font></span></p><div style="font-family:verdana,sans-serif;font-size:small" class="gmail_default"><font color="#000000" size="3" face="Times New Roman">

</font></div><p style="margin:0cm 0cm 0pt;font-family:verdana,sans-serif;font-size:small"><span style="font-family:"Arial","sans-serif";font-size:10pt"><font color="#000000">Is there a way to use the phone number mask to
match with the prefix of 00732121234 </font></span><span style="font-family:"Arial","sans-serif";font-size:10pt"><font color="#000000">so I could change it to <a href="tel:%2807%29%203212%201234" target="_blank" value="+61732121234">(07) 3212 1234</a> to match our LDAP directory? </font> </span></p>

<p style="margin:0cm 0cm 0pt;font-family:verdana,sans-serif;font-size:small"><span style="font-family:"Arial","sans-serif";font-size:10pt"><font color="#000000"></font></span> </p><div style="font-family:verdana,sans-serif;font-size:small" class="gmail_default">

<font color="#000000" size="3" face="Times New Roman"></font> </div><p style="margin:0cm 0cm 0pt;font-family:verdana,sans-serif;font-size:small"><span style="font-family:"Arial","sans-serif";font-size:10pt"><font color="#000000">Thanks,</font></span><a name="13e9c212fa190488__MailAutoSig"><span><font size="3"><font color="#000000"><font face="Calibri"> </font></font></font></span></a></p>

<div style="font-family:verdana,sans-serif;font-size:small" class="gmail_default"><font color="#000000" size="3" face="Times New Roman">

</font></div><div style="font-family:verdana,sans-serif;font-size:small" class="gmail_default"><font color="#000000" size="3" face="Times New Roman">Dan</font></div></div>
</div></div></blockquote></div><br></div>