You can't play it in court.  But you can create a declaration under penalty of perjury transcribing the contents of the voicemail.  Bring it to court anyway in case the judge wants to hear it, but they usually don't.