Extension Auto Answer

I am starting with asterrisk I need help to setting up all extensions to receive the incoming call with this way:
if an extension is available —> the agent in extension hears music on hold and hears a beep before call is started.
Thanks for your help

See AgentLogin.