Is there any way to change Agent status to something else when he unregister?
For reference
You can do this on event. U have to write a process that will connect to freeswitch through ESL. There put a event handler for unregister event. based on that event you can change the status of any agent to anything you want