Switch Announcement After Listening/Playing

Is there a way to switch an announcement or system recording after it has played? For example, a caller rings a DID, an announcement plays then hangs up. If a caller (old or new) were to ring the same DID it would play a different announcement.

Thanks for your time.
B.