SQL query that can be used at the command line to find all phones in an unregistered state and the last time it registered to the Call Manager

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2015 09:10 AM - edited 03-17-2019 03:17 AM
Hi
Could anyone share SQL query that can be used at the command line to find all phones in an unregistered state and the last time it registered to the Call Manager (MCS)
- Labels:
-
Other IP Telephony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2015 10:15 AM
Hi
You can use show risdb query phone.
Put the result on a csv file and filter for unreg state.
HTH
Regards
Carlo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2015 10:44 AM
Thanks a lot Carlo!!
Let me check it out.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2015 08:56 AM
Hi
Adding to what Carlo posted.
"show risdb query phone" will return the device count for that particulate node where you run it, if you have more then one mode you will have to run it individually on every.
HTH
JB
