[asterisk-bugs] [JIRA] (ASTERISK-22669) AMI/CLI Agent Logoff with soft logs out agent on subsequent logins

John Bigelow (JIRA) noreply at issues.asterisk.org
Tue Oct 8 13:47:04 CDT 2013


John Bigelow created ASTERISK-22669:
---------------------------------------

             Summary: AMI/CLI Agent Logoff with soft logs out agent on subsequent logins
                 Key: ASTERISK-22669
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22669
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Applications/General, PBX/General
    Affects Versions: 12.0.0-alpha1
         Environment: Asterisk 12 branch r400672
            Reporter: John Bigelow
         Attachments: full-agentlogoff.txt

With an agent logged in and the AMI action AgentLogoff with 'soft: true' specified or the equivalent CLI command 'agent logoff <agent> soft' is used, then upon subsequent logins the agent is logged off almost immediately (after about 3 seconds).

Steps taken:
* Login agent
* Issue AMI action or CLI command with specifying 'soft' (no need for the agent to be bridged with another channel to reproduce)
* Login agent again. MOH will briefly be heard and then the agent is logged off.

I believe this message is a good indicated of whats going on. This occurs when logging in an agent after it was logged off using 'soft'. It appears the deferred logoff is never cleared from the agent.
{code}
[Oct  8 13:17:30] DEBUG[18225][C-00000001] app_agent_pool.c: Agent 1002: Deferred logoff.
{code}

The full log is attached.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list