01-31-2020 10:31 AM - edited 01-31-2020 10:45 AM
CUCM 12.5 and UCCX 11.6
I currently have a UCCX script that uses the CUCM publisher directory lookup URL to retrieve a calling contact's "<last>, <first>" name based on his/her caller ID (https://<CUCMpublisher>:8443/ccmcip/xmldirectorylist.jsp?n=<callingNumber>, then simple XML item lookup via "/descendant::CiscoIPPhoneDirectory/child::DirectoryEntry/child::Name"). Works great.
However, I would like to have user contact details derived from the CUCM's existing LDAP integration (first name, last name, email address, department, etc.) instead of from directory data ("last, first" only), which can be found at https://<CUCMpublisher>:8443/cucm-uds/users - I am running into several problems, though:
I'd like to get this done using existing data in CUCM rather than setting up and querying an external SQL server that has an additional LDAP synchronization with Active Directory going on - seems rather redundant to me if this data is already present in CUCM... I just need to find a way to get to it.
Any help would be greatly appreciated!
Matthias
Solved! Go to Solution.
02-02-2020 01:48 PM
Hi,
Rather than trying to retrieve all records just get the one that matches the calling number using the query below:
https://10.1.49.1:8443/cucm-uds/users?numberlast=+447539123456
02-02-2020 01:48 PM
Hi,
Rather than trying to retrieve all records just get the one that matches the calling number using the query below:
https://10.1.49.1:8443/cucm-uds/users?numberlast=+447539123456
02-02-2020 02:36 PM
Thank you so much!!! :-) This "numberlast" query filter did the job.
Cheers, Matthias
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