{"id":203,"date":"2021-05-19T12:59:24","date_gmt":"2021-05-19T12:59:24","guid":{"rendered":"https:\/\/collabeer.com\/?p=203"},"modified":"2021-05-19T12:59:24","modified_gmt":"2021-05-19T12:59:24","slug":"useful-cucm-sql-queries","status":"publish","type":"post","link":"https:\/\/collabeer.com\/?p=203","title":{"rendered":"Useful CUCM SQL Queries"},"content":{"rendered":"\n<p>For Call Forward No Answer:<\/p>\n\n\n\n<p>run sql select d.name as device, n.dnorpattern, n.cfnadestination from device as d inner join devicenumplanmap as dmap on dmap.fkdevice=d.pkid inner join numplan as n on dmap.fknumplan=n.pkid where (n.cfnadestination!=&#8221;)<\/p>\n\n\n\n<p>For Call Forward Busy:<\/p>\n\n\n\n<p>run sql select d.name as device, n.dnorpattern, n.cfbdestination from device as d inner join devicenumplanmap as dmap on dmap.fkdevice=d.pkid inner join numplan as n on dmap.fknumplan=n.pkid where (n.cfbdestination!=&#8221;)<\/p>\n\n\n\n<p>For Call Forward Unregistered:<\/p>\n\n\n\n<p>run sql select d.name as device, n.dnorpattern, n.cfurdestination from device as d inner join devicenumplanmap as dmap on dmap.fkdevice=d.pkid inner join numplan as n on dmap.fknumplan=n.pkid where (n.cfurdestination!=&#8221;)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For Call Forward No Answer: run sql select d.name as device, n.dnorpattern, n.cfnadestination from device as d inner join devicenumplanmap as dmap on dmap.fkdevice=d.pkid inner join numplan as n on dmap.fknumplan=n.pkid where (n.cfnadestination!=&#8221;) For Call Forward Busy: run sql select d.name as device, n.dnorpattern, n.cfbdestination from device as d inner join devicenumplanmap as dmap on [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-203","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/collabeer.com\/index.php?rest_route=\/wp\/v2\/posts\/203","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/collabeer.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/collabeer.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/collabeer.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/collabeer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=203"}],"version-history":[{"count":1,"href":"https:\/\/collabeer.com\/index.php?rest_route=\/wp\/v2\/posts\/203\/revisions"}],"predecessor-version":[{"id":204,"href":"https:\/\/collabeer.com\/index.php?rest_route=\/wp\/v2\/posts\/203\/revisions\/204"}],"wp:attachment":[{"href":"https:\/\/collabeer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=203"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/collabeer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=203"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/collabeer.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=203"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}