11-17-2016 06:37 AM - edited 03-14-2019 04:47 PM
Hi,
I'm looking for a SQL query to see UDP, Phone, UserID and DN on CUCM (CLI).
Thanks a lot for your help.
BR
Aubert
11-17-2016 06:53 AM
Hi,
Does this help?
run sql select eu.userid, d.name, d.description, n.dnorpattern as DN from device as d inner join devicenumplanmap as dnpm on dnpm.fkdevice = d.pkid inner join enduserdevicemap as eudm on eudm.fkdevice=d.pkid inner join enduser as eu on eudm.fkenduser=eu.pkid inner join numplan as n on dnpm.fknumplan = n.pkid and d.tkclass = 1
Aseem
11-18-2016 12:02 AM
Hi Aseem,
I would like to see all users connected with UDP, Phones, UserID and DN.
Do you have a SQL query to display the connected users list ?
Thanks a lot for your help.
BR
Aubert
11-06-2019 11:47 PM
Hi, hope it will be useful for you
SELECT userid, d.name AS device, d.description, n.dnorpattern AS DN FROM enduser LEFT JOIN enduserdevicemap eudm on enduser.pkid = eudm.fkenduser LEFT JOIN device d on eudm.fkdevice = d.pkid LEFT JOIN devicenumplanmap dnpm on dnpm.fkdevice = d.pkid LEFT JOIN numplan n on dnpm.fknumplan = n.pkid WHERE d.tkclass = '254' ORDER BY userid
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