12-28-2023 12:29 PM
When I search contacts in Jabber using phone number, it does not resolve to their names even though the users I am searching are all CUCM users. I can search them from deskphone and number to name resolution works fine there. Is there anything I need to do to make it work for Jabber?
12-28-2023 12:33 PM - edited 12-29-2023 04:50 AM
Jabber does not normally use the data in CM to search for users, it uses the LDAP source that you have configured in CM under service profile(s).
12-29-2023 03:12 AM
Jabber is capable of using CUCM for contact resolution with UDS - but only does this by default over MRA. You would need to change the Service Profile to UDS if you want it to avoid LDAP while on-prem.
IP Phones do not perform number to name resolution however. The phone will display whatever calling/connected identity is conveyed to it by CUCM. For on-net calls that is the Alerting Name and Display Name attributes on the DN. Jabber will do this too if a UDS/LDAP match isn’t found but some features won’t work (eg contact photo, chat reply option in toast, etc.) The Corporate Directory XML Phone Service only searches by name.
Lastly, be mindful that the the calling/called number must match exactly with the phone number on the LDAP user or CUCM End User. You can use Application Dial Rules (outgoing calls) and Directory Lookup Rules (incoming calls), and/or the PhoneNumberMasks Jabber XML parameter to transform calling/called numbers on the fly. The first two options are cluster-wide so they work best when CUCM is either +E.164 or serving sites within a single national numbering plan.
01-02-2024 12:46 PM
Hi Jonathan, we use UDS in service profile but still Jabber cannot resolve number to names while I do the search.
01-02-2024 12:44 PM
Thanks for your response. We use UDS as source for contact resolution but I changed that to LDAP and still not working. I am asked by the management to make number to name resolution work and am struggling how to make it happen. We use Telephone number field in AD to sync with CUCM and numbers are in e.164 format.
01-10-2024 08:08 AM
Hi, is it also your goal that incoming calls will be shown with the name? So you have stored customers or any other external person saved in ldap or sql server? And if this person is calling somebody in your company, the name from the person and not only the number will be shown on ip phone and jabber?
01-02-2024 11:20 PM
Hi @KhanalZ ,
to allow jabber to resolve names from numbers, you need to enable indexing and ANR for AD telephoneNumber attribute and use an AD as LDAP source
https://techcommunity.microsoft.com/t5/microsoft-entra-blog/indexing-in-active-directory/ba-p/243119
HTH
Regards
Carlo
01-10-2024 11:34 AM - edited 01-10-2024 12:19 PM
Neither ANR or attribute indexing are relevant with UDS, only Active Directory/LDAP. ANR is only used for partial name search results, not telephone numbers. For example, ANR allows you to type "Smi" (as in Smith) in Jabber and see all users where the character string "smi" appears in their given, surname, or display name attributes. Attribute indexing is critically important with LDAP - Cisco declares it a prerequisite in the config guide - so you don't accidentally DDoS the Domain Controller. The LDAP query would return the same results even if the attribute(s) aren't indexed, just with a much higher load on the LDAP server. Load considerations on the LDAP server are important because every call Jabber receives/places triggers a query.
Back to the OP: why aren't user identities being mapped to calling/called numbers? Something doesn't line up. I'll provide a few illustrative examples but this list isn't exhaustive:
Same story for outbound calls but it's an Application Dial Rule instead of a Directory Lookup Rule.
01-10-2024 12:20 PM
Hi,
Here a similar post with a solution on how to resolve numbers to name while searching contacts on Jabber.
Regards
Carlo
01-10-2024 01:11 PM
Ok, that makes sense since they're typing a phone number into the search field. AFAIK the predictive search logic is not used for the number-to-contact resolution though - and I suspect for a very good reason: it's trying to find a single unique user record. Partial string matches are far more likely to return more than one match.
If @KhanalZ wants to type a partial phone number into the search box of Jabber and see results, then I agree they would have to use Active Directory specifically (OpenLDAP doesn't support ANR) and switch the Service Profile from UDS to CDI (LDAP). This won't work over MRA though since that's UDS only.
01-10-2024 11:49 AM
@Jonathan Schulenberg very good explanation. For me, the most important tip here is, if you want to have a correct resolved number, the phone numbers should be unique for each entry in your ldap/database.
For incoming calls we solved it with External Call Control Profile(ECCP). With our Solution EasyUC we have the option that you can build a phonebook from different sources (ldap, sql, csv, cucm enduser) which will be used to resolve incoming calls. So call comes in to CUCM, CUCM is sending it via ECCP to us, then in best case we find a name to the number and give back the number. The advantage is, if the user has a Jabber for Win, Jabber for iPhone and also an IP Phone, all 3 phones will show the same information for this incoming call.
For me this works really well. Also we can block individual numbers, for all users or maybe only for a single user. I really like the ECCP / CURRI API.
01-10-2024 12:18 PM
This seems a bit off-topic for the thread. That wouldn't resolve the calling/called number to another Jabber/IM&P user. That just overwrites the calling name information. For example, it wouldn't enable the chat reply option in the Jabber toast notification.
01-10-2024 12:25 PM
thats correct, thats only for external calls
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide