You have two options:
One is using the Contact Center Suite software. If the system is using a MAS, the software is installed on that server. If not, you would have to obtain the 4.2 package, called the Dashboard, and install it on a stand alone pc. You will also need to purchase the OAI licensing for the 5200. This is the best package for tracking calls.
Another option is to purchase Micro Call, which only tracks the SMDR stream. It's not as detailed as CCS, but the software still costs close to a grand. OAI licensing is not required for this type of tracking.
Built into the software of the Mitel Administration and Diagnostics package is an SMDR window, but it only looks at the most recent calls in the system, and it does not save this information for reports.
I hope this helps!