Is there a dependency record or something that shows what phones a DN is programmed as a SD/BLF on? I can do this easily from an Ericsson MD110, however I haven't found an equivalency in CallManager for this.
as i mentioned, there is no easy way to try getting this information
you run qrys from CLI
run a qry on that table and see what info it contains, most probably it's the one and you will need to join it with the device table to get the info
if this helps, please rate