How to login to the agent console using phone

Hi Guys,
we have installed the call center addon on the elastix,usually the agent first have to login into the elastix interface then only he can login to the agent is all done through the GUI.
can it be done through phone itself through some AGI coding , logging upto the agent console?
ie,instead of going to the GUI ,agent should be logged in to the elastix and to the agent console by dialing some numbers as credentials.

Anyone Pls help