You should be able to view/export the information you are looking for by using CDR.
By default CDR should be enabled on CUCM. You can verify the service is running by accessing the Cisco Unified Serviceability Page on your CUCM Server. Once you are there, click on - Tools > Control Center > Feature Services > Look for CDR Services and make sure both of the following "Cisco SOAP" and "CAR" are started and activated.
You can navigate to CDR by following the following menu path - Tools > CDR Analysis and Reporting > Once the page has loaded, click on "CDR" at the top menu pane. > From here you can search CDR records or export them.