Qualcomm interview question

Design a FSM to implement an answering machine.