<div dir="auto">This is the way to do it. I add filters all the time to add additional columns under the Device->Phone page.<div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 25, 2023, 2:37 PM <<a href="mailto:nateccie@gmail.com">nateccie@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word"><div class="m_1945287036189811820WordSection1"><p class="MsoNormal">Just add the filter on the device/phone page to include directory number and you’ll be good to go.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b>From:</b> Tim Reimers <<a href="mailto:treimers@ashevillenc.gov" target="_blank" rel="noreferrer">treimers@ashevillenc.gov</a>> <br><b>Sent:</b> Thursday, May 25, 2023 12:27 PM<br><b>To:</b> <a href="mailto:nateccie@gmail.com" target="_blank" rel="noreferrer">nateccie@gmail.com</a><br><b>Cc:</b> Ryan Ratliff (rratliff) <<a href="mailto:rratliff@cisco.com" target="_blank" rel="noreferrer">rratliff@cisco.com</a>>; Wes Sisk (wsisk) <<a href="mailto:wsisk@cisco.com" target="_blank" rel="noreferrer">wsisk@cisco.com</a>>; cisco-voip <<a href="mailto:cisco-voip@puck.nether.net" target="_blank" rel="noreferrer">cisco-voip@puck.nether.net</a>><br><b>Subject:</b> Re: [cisco-voip] Question about RISDB queries and ATA devices?<u></u><u></u></p></div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">Sorry, sent before being ready...<u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">What I was hoping for was a list of all the registered active ATAs that would INCLUDE the DN on them.<u></u><u></u></p></div><div><p class="MsoNormal">As it is -- if I simply use the admin website, as you said, I can get a list of all the devices that are registered.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">I've actually got the individual ATAs downloaded that way, and sorted by "Registered" in a Google Sheet.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">I cannot easily also match those up with the DNs.<u></u><u></u></p></div><div><p class="MsoNormal">I suppose one could probably then write some sort of SQL command that would specify a long-ish list of ATA device names to query for DN.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">It may be time to just ask an Intern to click on each ATA that's registered and collect the DN and description.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">I thought about asking one of our DB people to do that -- <u></u><u></u></p></div><div><p class="MsoNormal">But they'd want a project set up, and require a complete list of the table schema, the IP/TCP port and data connection, etc<u></u><u></u></p></div><div><p class="MsoNormal">to do things as they're used to, with a direct SQL connection to query against.<u></u><u></u></p></div><div><p class="MsoNormal">They're not used to having to operate the way Cisco does with CLI only access to SQL in a limited fashion. <u></u><u></u></p></div><div><p class="MsoNormal">And I get why Cisco does that... not arguing that point.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div></div><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal">On Thu, May 25, 2023 at 2:18 PM Tim Reimers <<a href="mailto:treimers@ashevillenc.gov" target="_blank" rel="noreferrer">treimers@ashevillenc.gov</a>> wrote:<u></u><u></u></p></div><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in"><div><p class="MsoNormal">Nate, I may have to do that.<u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">I just thought I was crazy that ATAs don't show up in <u></u><u></u></p></div><div><p class="MsoNormal">show risdb query phone<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">T<u></u><u></u></p></div></div><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal">On Thu, May 25, 2023 at 2:08 PM <<a href="mailto:nateccie@gmail.com" target="_blank" rel="noreferrer">nateccie@gmail.com</a>> wrote:<u></u><u></u></p></div><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in"><div><div><div><p class="MsoNormal">What is the goal? I usually get what I want from device/phone, copy it all into the clipboard and paste without formatting into excel and continue on. In older versions of CUCM you can change the rows per page, then edit the URL to make rows per page all of the devices on the system up to many thousands.<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><div><div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b>From:</b> cisco-voip <<a href="mailto:cisco-voip-bounces@puck.nether.net" target="_blank" rel="noreferrer">cisco-voip-bounces@puck.nether.net</a>> <b>On Behalf Of </b>Ryan Ratliff (rratliff)<br><b>Sent:</b> Thursday, May 25, 2023 10:46 AM<br><b>To:</b> Tim Reimers <<a href="mailto:treimers@ashevillenc.gov" target="_blank" rel="noreferrer">treimers@ashevillenc.gov</a>>; Wes Sisk (wsisk) <<a href="mailto:wsisk@cisco.com" target="_blank" rel="noreferrer">wsisk@cisco.com</a>><br><b>Cc:</b> cisco-voip <<a href="mailto:cisco-voip@puck.nether.net" target="_blank" rel="noreferrer">cisco-voip@puck.nether.net</a>><br><b>Subject:</b> Re: [cisco-voip] Question about RISDB queries and ATA devices?<u></u><u></u></p></div></div><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">I’m not surprised the “phone” filter only shows you SEP devices. I was expecting RTMT to give you a friendlier way to browse around and find the ATAs. <u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal" style="margin-bottom:12.0pt">Do any of the other risdb CLI filters give you those devices? <u></u><u></u></p><p class="MsoNormal">Interrogating the API directly is another option. <br><a href="https://developer.cisco.com/docs/sxml/#!risport70-api-reference/selectcmdevice" target="_blank" rel="noreferrer">https://developer.cisco.com/docs/sxml/#!risport70-api-reference/selectcmdevice</a><u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">-Ryan<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black">cisco-voip <<a href="mailto:cisco-voip-bounces@puck.nether.net" target="_blank" rel="noreferrer">cisco-voip-bounces@puck.nether.net</a>> on behalf of Tim Reimers <<a href="mailto:treimers@ashevillenc.gov" target="_blank" rel="noreferrer">treimers@ashevillenc.gov</a>><br><b>Date: </b>Thursday, May 25, 2023 at 12:06 PM<br><b>To: </b>Wes Sisk (wsisk) <<a href="mailto:wsisk@cisco.com" target="_blank" rel="noreferrer">wsisk@cisco.com</a>><br><b>Cc: </b>cisco-voip <<a href="mailto:cisco-voip@puck.nether.net" target="_blank" rel="noreferrer">cisco-voip@puck.nether.net</a>><br><b>Subject: </b>Re: [cisco-voip] Question about RISDB queries and ATA devices?</span><u></u><u></u></p></div><div><p class="MsoNormal">Hi Wes, Ryan, all<u></u><u></u></p><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">I'm not seeing any of the registered ATAs showing up in RTMT under a Device Search either -- only SEP devices.<u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">I gather that you are all expecting that 'show risdb query phone' as well as RTMT should be showing the ATAs registered and counted alongside the SEP devices<u></u><u></u></p></div><div><p class="MsoNormal">so long as the ATAs are running in SCCP mode and not something else...<u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">Thanks Tim<u></u><u></u></p></div></div><p class="MsoNormal"> <u></u><u></u></p><div><div><p class="MsoNormal">On Thu, May 25, 2023 at 10:17 AM Wes Sisk (wsisk) <<a href="mailto:wsisk@cisco.com" target="_blank" rel="noreferrer">wsisk@cisco.com</a>> wrote:<u></u><u></u></p></div><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt"><div><p class="MsoNormal">Yes, registration information is in RIS not in SQL(informix). I see some other mentions of this, but not clear resolution. <u></u><u></u></p><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">Note that ATA may follow different CM server resolution and 'show risdb' is per-node. Aka, have you checked all nodes with CM service activated where ATAs might be registered?<u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">Oh, and ATAs could be h.323 for a while, so are they registering as SCCP?<u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">-w<u></u><u></u></p><div><p class="MsoNormal"> <u></u><u></u></p><div><p class="MsoNormal">On May 25, 2023, at 9:50 AM, Tim Reimers <<a href="mailto:treimers@ashevillenc.gov" target="_blank" rel="noreferrer">treimers@ashevillenc.gov</a>> wrote:<u></u><u></u></p></div><p class="MsoNormal"> <u></u><u></u></p><div><div><p class="MsoNormal">Hi all - <u></u><u></u></p><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">I'm trying to find the ACTIVELY REGISTERED devices on my UCM 9.1 system.<u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">I need to find the list of actively registered ATA 186 devices and their DNs.<u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">* I'm using "show risdb query phones" command, as documented here among other sites<u></u><u></u></p></div><div><p class="MsoNormal"><a href="https://getpractical.co.uk/2021/10/11/cisco-cucm-reports-from-sql-show-risdb/" target="_blank" rel="noreferrer">https://getpractical.co.uk/2021/10/11/cisco-cucm-reports-from-sql-show-risdb/</a><u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">That seems to show only the SEPxxxxyyyyzzz devices, aka my 79XX SCCP phones.<u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">I don't see any ATAxxxxyyyyzzzz devices being returned.<u></u><u></u></p></div><div><p class="MsoNormal">Are they not in the "phone" table of the RISDB?<u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">Thanks, Tim<u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">* my understanding is that any variation on the "run sql select" is<u></u><u></u></p></div><div><p class="MsoNormal">simply querying the Oracle? database for _configured_ devices only, and isn't looking <u></u><u></u></p></div><div><p class="MsoNormal">at the memory table of the Callmanager process to see the _currently registered_ devices.<u></u><u></u></p></div><div><p class="MsoNormal">(I've seen a number of other forum posts where people suggested "run sql" commands to gather info, but that is statically configured, not necessarily "registered", so that does not seem appropriate for the info I want).<u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal"><br clear="all"><u></u><u></u></p><div><p class="MsoNormal"> <u></u><u></u></p></div><p class="MsoNormal">-- <u></u><u></u></p><div><div><div><div><p><b><i><span lang="EN" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:blue"><a href="https://en.wikipedia.org/wiki/Quis_custodiet_ipsos_custodes%3F" target="_blank" rel="noreferrer">Quis custodiet </a>ipsos</span></i></b><b><i><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:blue"> nexus</span></i></b><u></u><u></u></p><p>Tim Reimers<u></u><u></u></p><p>Network Administrator<u></u><u></u></p><p>I.T Services<u></u><u></u></p><p>City of Asheville <u></u><u></u></p><p><a href="mailto:treimers@ashevillenc.gov" target="_blank" rel="noreferrer">treimers@ashevillenc.gov</a><u></u><u></u></p><p>(desk) 828-259-5512<u></u><u></u></p><p>(cell) 828-552-1585<u></u><u></u></p><p>"<span style="font-family:"Helvetica Neue";color:#191919">That’s no ordinary <s>rabbit</s></span> <span style="font-family:"Helvetica Neue";color:#191919">packet! That’s the most foul, cruel, and bad tempered </span>badly framed<span style="font-family:"Helvetica Neue";color:#191919"> packet you ever set eyes on. Listen, that packet’s got a vicious streak a mile wide, he’s a killer</span><span style="font-size:13.5pt;font-family:"Helvetica Neue";color:#191919">.</span><span style="font-family:"Helvetica Neue";color:#191919">He’s got huge sharp MTU…eh, he can leap about and cross Vlans…. I warned you, I warned you but did you listen? No… ohhh no, it’s just a harmless little</span><span style="font-size:13.5pt;font-family:"Helvetica Neue";color:#191919"> </span><span style="font-family:"Helvetica Neue";color:#191919">packet on the network, isn’t it now...."</span><u></u><u></u></p></div></div></div></div></div></div><p class="MsoNormal">_______________________________________________<br>cisco-voip mailing list<br><a href="mailto:cisco-voip@puck.nether.net" target="_blank" rel="noreferrer">cisco-voip@puck.nether.net</a><br><a href="https://puck.nether.net/mailman/listinfo/cisco-voip" target="_blank" rel="noreferrer">https://puck.nether.net/mailman/listinfo/cisco-voip</a><u></u><u></u></p></div></div><p class="MsoNormal"> <u></u><u></u></p></div></div></blockquote></div><p class="MsoNormal"><br clear="all"><u></u><u></u></p><div><p class="MsoNormal"> <u></u><u></u></p></div><p class="MsoNormal">-- <u></u><u></u></p><div><div><div><div><p><b><i><span lang="EN" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:blue"><a href="https://en.wikipedia.org/wiki/Quis_custodiet_ipsos_custodes%3F" target="_blank" rel="noreferrer">Quis custodiet </a>ipsos</span></i></b><b><i><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:blue"> nexus</span></i></b><u></u><u></u></p><p>Tim Reimers<u></u><u></u></p><p>Network Administrator<u></u><u></u></p><p>I.T Services<u></u><u></u></p><p>City of Asheville <u></u><u></u></p><p><a href="mailto:treimers@ashevillenc.gov" target="_blank" rel="noreferrer">treimers@ashevillenc.gov</a><u></u><u></u></p><p>(desk) 828-259-5512<u></u><u></u></p><p>(cell) 828-552-1585<u></u><u></u></p><p>"<span style="font-family:"Helvetica Neue";color:#191919">That’s no ordinary <s>rabbit</s></span> <span style="font-family:"Helvetica Neue";color:#191919">packet! That’s the most foul, cruel, and bad tempered </span>badly framed<span style="font-family:"Helvetica Neue";color:#191919"> packet you ever set eyes on. Listen, that packet’s got a vicious streak a mile wide, he’s a killer</span><span style="font-size:13.5pt;font-family:"Helvetica Neue";color:#191919">.</span><span style="font-family:"Helvetica Neue";color:#191919">He’s got huge sharp MTU…eh, he can leap about and cross Vlans…. I warned you, I warned you but did you listen? No… ohhh no, it’s just a harmless little</span><span style="font-size:13.5pt;font-family:"Helvetica Neue";color:#191919"> </span><span style="font-family:"Helvetica Neue";color:#191919">packet on the network, isn’t it now...."</span><u></u><u></u></p></div></div></div></div></div></div></div></blockquote></div><p class="MsoNormal"><br clear="all"><u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><p class="MsoNormal">-- <u></u><u></u></p><div><div><div><div><p><b><i><span lang="EN" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:blue"><a href="https://en.wikipedia.org/wiki/Quis_custodiet_ipsos_custodes%3F" target="_blank" rel="noreferrer">Quis custodiet </a>ipsos</span></i></b><b><i><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:blue"> nexus</span></i></b><u></u><u></u></p><p>Tim Reimers<u></u><u></u></p><p>Network Administrator<u></u><u></u></p><p>I.T Services<u></u><u></u></p><p>City of Asheville <u></u><u></u></p><p><a href="mailto:treimers@ashevillenc.gov" target="_blank" rel="noreferrer">treimers@ashevillenc.gov</a><u></u><u></u></p><p>(desk) 828-259-5512<u></u><u></u></p><p>(cell) 828-552-1585<u></u><u></u></p><p>"<span style="font-family:"Helvetica Neue";color:#191919">That’s no ordinary <s>rabbit</s></span> <span style="font-family:"Helvetica Neue";color:#191919">packet! That’s the most foul, cruel, and bad tempered </span>badly framed<span style="font-family:"Helvetica Neue";color:#191919"> packet you ever set eyes on. Listen, that packet’s got a vicious streak a mile wide, he’s a killer</span><span style="font-size:13.5pt;font-family:"Helvetica Neue";color:#191919">.</span><span style="font-family:"Helvetica Neue";color:#191919">He’s got huge sharp MTU…eh, he can leap about and cross Vlans…. I warned you, I warned you but did you listen? No… ohhh no, it’s just a harmless little</span><span style="font-size:13.5pt;font-family:"Helvetica Neue";color:#191919"> </span><span style="font-family:"Helvetica Neue";color:#191919">packet on the network, isn’t it now...."</span><u></u><u></u></p></div></div></div></div></blockquote></div><p class="MsoNormal"><br clear="all"><u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><p class="MsoNormal"><span class="m_1945287036189811820gmailsignatureprefix">-- </span><u></u><u></u></p><div><div><div><div><p><b><i><span lang="EN" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:blue"><a href="https://en.wikipedia.org/wiki/Quis_custodiet_ipsos_custodes%3F" target="_blank" rel="noreferrer">Quis custodiet </a>ipsos</span></i></b><b><i><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:blue"> nexus</span></i></b><u></u><u></u></p><p>Tim Reimers<u></u><u></u></p><p>Network Administrator<u></u><u></u></p><p>I.T Services<u></u><u></u></p><p>City of Asheville <u></u><u></u></p><p><a href="mailto:treimers@ashevillenc.gov" target="_blank" rel="noreferrer">treimers@ashevillenc.gov</a><u></u><u></u></p><p>(desk) 828-259-5512<u></u><u></u></p><p>(cell) 828-552-1585<u></u><u></u></p><p>"<span style="font-family:"Helvetica Neue";color:#191919">That’s no ordinary <s>rabbit</s></span> <span style="font-family:"Helvetica Neue";color:#191919">packet! That’s the most foul, cruel, and bad tempered </span>badly framed<span style="font-family:"Helvetica Neue";color:#191919"> packet you ever set eyes on. Listen, that packet’s got a vicious streak a mile wide, he’s a killer</span><span style="font-size:13.5pt;font-family:"Helvetica Neue";color:#191919">.</span><span style="font-family:"Helvetica Neue";color:#191919">He’s got huge sharp MTU…eh, he can leap about and cross Vlans…. I warned you, I warned you but did you listen? No… ohhh no, it’s just a harmless little</span><span style="font-size:13.5pt;font-family:"Helvetica Neue";color:#191919"> </span><span style="font-family:"Helvetica Neue";color:#191919">packet on the network, isn’t it now...."</span><u></u><u></u></p></div></div></div></div></div></div>_______________________________________________<br>
cisco-voip mailing list<br>
<a href="mailto:cisco-voip@puck.nether.net" target="_blank" rel="noreferrer">cisco-voip@puck.nether.net</a><br>
<a href="https://puck.nether.net/mailman/listinfo/cisco-voip" rel="noreferrer noreferrer" target="_blank">https://puck.nether.net/mailman/listinfo/cisco-voip</a><br>
</blockquote></div>