Page 545 - Asterisk™: The Future of Telephony
P. 545

doc/queues-with-callback-members.txt in the Asterisk source code for more informa-
               tion.


               AgentLogoff                                        Sets an agent as no longer logged in


               Logs off the specified agent for the queue system.
               Parameters

               Agent
                   [required] Agent ID of the agent to log off.
               Soft
                   [optional] Set to true to not hangup existing calls.
               ActionID
                   [optional] An identifier which can be used to identify the response to this action.

               Privilege
               agent, all
               Example
                   Action: AgentLogoff
                   Agent: 1001
                   Soft: true
                   ActionID: blahblahblah

                   Response: Success
                   Message: Agent logged out
                   ActionID: blahblahblah
                   Event: Agentcallbacklogoff
                   Privilege: agent,all
                   Agent: 1001
                   Reason: CommandLogoff
                   Loginchan: 201@Lab
                   Logintime: 5698


               Agents                                                  Lists agents and their status

               This action lists information about all configured agents.

               Privilege
               agent, all

               Example
                   Action: Agents
                   ActionID: mylistofagents

                                                                           AgentLogoff | 517
   540   541   542   543   544   545   546   547   548   549   550