<?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: CUCM SQL Query to pull RDP Name, Destination &amp;amp; Extension in Management</title>
    <link>https://community.cisco.com/t5/management/cucm-sql-query-to-pull-rdp-name-destination-amp-extension/m-p/5207076#M4227</link>
    <description>&lt;P&gt;This will give you&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;remotedestinationprofile line partiton remotedestination destination&lt;BR /&gt;======================== ==== ======== ================= =============&lt;BR /&gt;RDP-XXX&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1337 DID&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;RD-XXX&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; +123456789&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 11 Oct 2024 09:37:41 GMT</pubDate>
    <dc:creator>thedd</dc:creator>
    <dc:date>2024-10-11T09:37:41Z</dc:date>
    <item>
      <title>CUCM SQL Query to pull RDP Name, Destination &amp; Extension</title>
      <link>https://community.cisco.com/t5/management/cucm-sql-query-to-pull-rdp-name-destination-amp-extension/m-p/5004656#M4179</link>
      <description>&lt;P&gt;All -&amp;nbsp;&lt;BR /&gt;I'm trying to figure out a query that I can run which will dump a list of Remote Destination Name, Destination (Cell Number) and Extension tied to the Profile. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was able to get create a query that gives me the RDN and Destination, but can't seem to pull in the extension that is tied to it. &amp;nbsp;I'm not sure where to pull that data from. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is what I've come up with so far.&lt;/P&gt;
&lt;P&gt;run sql select &lt;A href="https://r.name" target="_blank"&gt;&lt;SPAN&gt;r.name&lt;/SPAN&gt;&lt;/A&gt;, rd.destination from remotedestinationdynamic rd inner join remotedestination r on rd.fkremotedestination=r.pkid&lt;/P&gt;
&lt;P&gt;Hopefully someone can help me pull in that last field. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2024 15:33:51 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/cucm-sql-query-to-pull-rdp-name-destination-amp-extension/m-p/5004656#M4179</guid>
      <dc:creator>kelvin.blair</dc:creator>
      <dc:date>2024-01-24T15:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: CUCM SQL Query to pull RDP Name, Destination &amp; Extension</title>
      <link>https://community.cisco.com/t5/management/cucm-sql-query-to-pull-rdp-name-destination-amp-extension/m-p/5207074#M4226</link>
      <description>&lt;P&gt;You can use this one:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;run sql select rdp.name as remotedestinationprofile, n.dNOrPattern as line, rp.name as Partiton, r.name as remotedestination, rd.destination from remotedestinationdynamic rd &lt;BR /&gt;inner join remotedestination r on rd.fkremotedestination=r.pkid &lt;BR /&gt;inner join device as rdp on rdp.pkid = r.fkdevice_remotedestinationtemplate &lt;BR /&gt;inner join DeviceNumPlanMap as dmap on dmap.fkDevice=rdp.pkid &lt;BR /&gt;inner join NumPlan as n on n.pkid=dmap.fkNumPlan &lt;BR /&gt;inner join Routepartition as rp on n.fkRoutePartition = rp.pkid &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2024 09:36:32 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/cucm-sql-query-to-pull-rdp-name-destination-amp-extension/m-p/5207074#M4226</guid>
      <dc:creator>thedd</dc:creator>
      <dc:date>2024-10-11T09:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: CUCM SQL Query to pull RDP Name, Destination &amp; Extension</title>
      <link>https://community.cisco.com/t5/management/cucm-sql-query-to-pull-rdp-name-destination-amp-extension/m-p/5207076#M4227</link>
      <description>&lt;P&gt;This will give you&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;remotedestinationprofile line partiton remotedestination destination&lt;BR /&gt;======================== ==== ======== ================= =============&lt;BR /&gt;RDP-XXX&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1337 DID&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;RD-XXX&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; +123456789&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2024 09:37:41 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/cucm-sql-query-to-pull-rdp-name-destination-amp-extension/m-p/5207076#M4227</guid>
      <dc:creator>thedd</dc:creator>
      <dc:date>2024-10-11T09:37:41Z</dc:date>
    </item>
  </channel>
</rss>

