Voicemail message detail via AMI

Hi - I would like to create a script that accesses Astericks via AMI that can get the details of new messages in a user’s voicemail. Specifically, I would like to see how long an unheard message has been in the user’s voicemail.

Reading through the docs on AMI, I see where I can get information about how many new messages are there, but I have not found anything on getting details about the messages themselve.

Any pointers would be great!

Thanks,

Rich