AmtMitel uses exclusively the name that is linked to the extension.
If the name is changed at any given time (whether manually or by the Active Director), the values that is linked to the extension in Mitel is what Amtmitel will use on the recordings.