leaving answering machine message if agent encounters it.

I know that you have to edit extensions.conf but I thought theres a disposition that should do just that.
or
just have the agent transfer the call to the said recording? wait for the beep tone and transfer?
or
just have the agent transfer the call to the said recording? wait for the beep tone and transfer?