02-03-2017 03:26 PM - edited 03-17-2019 09:25 AM
We have a CM 10.6 and we are running into issues with identifying where a DN has been programmed onto another device as a busy lamp. It doesn't show up when looking at dependencies. Where can we find it without much work. Is it possible?
02-03-2017 10:19 PM
Hi.
The fastest way I've found is to login in ssh on the cucm and run the following query:
run sql ccm select device.name,device.description from blfspeeddial inner join device on blfspeeddial.fkdevice = device.pkid where blfdestination='<Extension you need>'
This should give you the information you need
name description
=============== =============
SEP123456789098 Some text
HTH
Regards
Carlo
02-14-2017 03:08 PM
Thank you Carlo! We tried and it and it works great. Do you know if we can search on multiple extensions without having to run the command for each individually? Is there a way to list out multiple numbers on same command?
02-14-2017 03:14 PM
Hi,
The above command without "where" statement, will return all configured busy lamps extension.
run sql ccm select device.name,device.description from blfspeeddial inner join device on blfspeeddial.fkdevice = device.pkid
HYH
Regards
Carlo
02-14-2017 03:33 PM
Hi Carlo
I think I may not have clarified what I need so I'll give it another try.
run sql ccm select device.name,device.description from blfspeeddial inner join device on blfspeeddial.fkdevice = device.pkid where blfdestination='<Extension you need>'
Where 'extension you need' is listed, can we list multiple extensions without removing the 'where' to list every single blf? Say we only wanted to look at two extensions or three, is there a way to list them out in some way? We've tried entering a comma, space or semicolon, but nothing works.
Carolyn
02-15-2017 01:04 AM
Hi Carolyn,
You can use "or" statement to query more than one extension.
Eg.
run sql ccm select device.name,device.description from blfspeeddial inner join device on blfspeeddial.fkdevice = device.pkid where blfdestination='<first Extension you need>' or
blfdestination='<second Extension you need>' or blfdestination='<third Extension you need>'
HTH
Regards
Carlo
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