<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Find a CUCM End User details using CLID Telephone Number presented into UCCX in Management</title>
    <link>https://community.cisco.com/t5/management/find-a-cucm-end-user-details-using-clid-telephone-number/m-p/4024841#M3301</link>
    <description>&lt;P&gt;Do you have any AXL Experience?&lt;BR /&gt;Do you have any SQL Experience?&lt;BR /&gt;&lt;BR /&gt;Well it would be easy to query your CUCM and "ask" which user has the following DN.&lt;/P&gt;&lt;P&gt;In the CUCM User Information is the Phone Number like in the format the calling Number is presented?&lt;BR /&gt;If yes you could just do the following:&lt;/P&gt;&lt;PRE&gt;select userid from enduser where telephonenumber = incoming_dn&lt;/PRE&gt;&lt;P&gt;You can try this and see the result if you login to CUCM CLI and run&lt;/P&gt;&lt;PRE&gt;run sql select userid from enduser where telephonenumber = incoming_dn&lt;/PRE&gt;&lt;P&gt;The "Problem" is who and how you add the AXL part to your Scipt&lt;/P&gt;</description>
    <pubDate>Thu, 06 Feb 2020 10:57:40 GMT</pubDate>
    <dc:creator>thedd</dc:creator>
    <dc:date>2020-02-06T10:57:40Z</dc:date>
    <item>
      <title>Find a CUCM End User details using CLID Telephone Number presented into UCCX</title>
      <link>https://community.cisco.com/t5/management/find-a-cucm-end-user-details-using-clid-telephone-number/m-p/4024030#M3296</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Does anyone know a way or point me in the right direction to achieve the following please:&lt;/P&gt;&lt;P&gt;Internal Call comes into UCCX IVR for a helpdesk and the Caller CLI is presented in E164 format&lt;/P&gt;&lt;P&gt;I would like to do a lookup in CUCM (or AD) using an API call from UCCX to extract the userid associated with the phone number.&lt;/P&gt;&lt;P&gt;Then populate end user info into fields that can be used within the script&lt;/P&gt;&lt;P&gt;Sounds possible to me but I am new to Developer stuff.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2020 12:26:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/find-a-cucm-end-user-details-using-clid-telephone-number/m-p/4024030#M3296</guid>
      <dc:creator>Lee Marson</dc:creator>
      <dc:date>2020-02-05T12:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: Find a CUCM End User details using CLID Telephone Number presented into UCCX</title>
      <link>https://community.cisco.com/t5/management/find-a-cucm-end-user-details-using-clid-telephone-number/m-p/4024243#M3298</link>
      <description>&lt;P&gt;You would certainly want to explore the CUCM AXL API for querying/retrieving CUCM data: &lt;A href="https://developer.cisco.com/site/axl/" target="_blank"&gt;https://developer.cisco.com/site/axl/&lt;/A&gt;, if needed.&lt;/P&gt;
&lt;P&gt;However, the initial consideration would be how is the incoming caller ID associated to the user, precisely, and in which system (CUCM/AD) is that relationship stored?&amp;nbsp; For example, it could simply be an E164 string in AD, it could be a CUCM DN associated to a phone device associated to a user, it could be a DN associated directly to a user via 'primary line' in CUCM, etc.&lt;/P&gt;
&lt;P&gt;If the 'source of truth' is AD, I would suggest using AD APIs to query/retrieve the data.&amp;nbsp; If it's in CUCM via some line/user/field then we can further help recommend the AXL query to use...&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2020 16:10:49 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/find-a-cucm-end-user-details-using-clid-telephone-number/m-p/4024243#M3298</guid>
      <dc:creator>dstaudt</dc:creator>
      <dc:date>2020-02-05T16:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: Find a CUCM End User details using CLID Telephone Number presented into UCCX</title>
      <link>https://community.cisco.com/t5/management/find-a-cucm-end-user-details-using-clid-telephone-number/m-p/4024786#M3300</link>
      <description>&lt;P&gt;Thanks for the swift response!&lt;/P&gt;&lt;P&gt;The source of truth is AD which populates the telephone Number field in CUCM via the ipPhone field in AD. I want to cross reference the telephone number and retrieve the associated userid (SAMAccountName), Firstname, Lastname and MailID.&lt;/P&gt;&lt;P&gt;So do you think that querying AD would be the best option via a UCCX Script?&lt;/P&gt;&lt;P&gt;I found some info on running an SQL Query via AXL on CUCM which might work.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2020 09:38:51 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/find-a-cucm-end-user-details-using-clid-telephone-number/m-p/4024786#M3300</guid>
      <dc:creator>Lee Marson</dc:creator>
      <dc:date>2020-02-06T09:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: Find a CUCM End User details using CLID Telephone Number presented into UCCX</title>
      <link>https://community.cisco.com/t5/management/find-a-cucm-end-user-details-using-clid-telephone-number/m-p/4024841#M3301</link>
      <description>&lt;P&gt;Do you have any AXL Experience?&lt;BR /&gt;Do you have any SQL Experience?&lt;BR /&gt;&lt;BR /&gt;Well it would be easy to query your CUCM and "ask" which user has the following DN.&lt;/P&gt;&lt;P&gt;In the CUCM User Information is the Phone Number like in the format the calling Number is presented?&lt;BR /&gt;If yes you could just do the following:&lt;/P&gt;&lt;PRE&gt;select userid from enduser where telephonenumber = incoming_dn&lt;/PRE&gt;&lt;P&gt;You can try this and see the result if you login to CUCM CLI and run&lt;/P&gt;&lt;PRE&gt;run sql select userid from enduser where telephonenumber = incoming_dn&lt;/PRE&gt;&lt;P&gt;The "Problem" is who and how you add the AXL part to your Scipt&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2020 10:57:40 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/find-a-cucm-end-user-details-using-clid-telephone-number/m-p/4024841#M3301</guid>
      <dc:creator>thedd</dc:creator>
      <dc:date>2020-02-06T10:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: Find a CUCM End User details using CLID Telephone Number presented into UCCX</title>
      <link>https://community.cisco.com/t5/management/find-a-cucm-end-user-details-using-clid-telephone-number/m-p/4025173#M3308</link>
      <description>&lt;P&gt;Good info, though keep in mind that this query likely involves a full, unindexed table scan of the user table in the CUCM DB, and may have a bigger performance impact than you might expect - would be worth some testing.&lt;/P&gt;
&lt;P&gt;If using Python, some samples here can help with executing a SQL query via AXL: &lt;A href="https://github.com/CiscoDevNet/axl-python-zeep-samples" target="_blank"&gt;https://github.com/CiscoDevNet/axl-python-zeep-samples&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2020 19:07:31 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/find-a-cucm-end-user-details-using-clid-telephone-number/m-p/4025173#M3308</guid>
      <dc:creator>dstaudt</dc:creator>
      <dc:date>2020-02-06T19:07:31Z</dc:date>
    </item>
  </channel>
</rss>

