[asterisk-bugs] [JIRA] (ASTERISK-24737) When agent not logged in, agent status shows unavailable, queue status shows agent invalid

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Thu Jan 29 15:52:38 CST 2015


Richard Mudgett created ASTERISK-24737:
------------------------------------------

             Summary: When agent not logged in, agent status shows unavailable, queue status shows agent invalid
                 Key: ASTERISK-24737
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24737
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Applications/app_agent_pool
    Affects Versions: 13.1.1
            Reporter: Richard Mudgett


The initial status from {{app_agent_pool}} agents reported to other modules in the system after the initial module load is not correct.

# Define an {{app_agent_pool}} agent in {{agents.conf}}
{noformat}
[agent1]
{noformat}
# Define a queue agent from {{app_agent_pool}} in {{queues.conf:}}
{noformat}
[my_queue]
member => Local/agent1 at sip,0,May Flowers,Agent:agent1
joinempty=unavailable
{noformat}
# Start asterisk
# Notice the response from CLI "agent show <agentname>":
{noformat}
lab_controller*CLI> agent show agent1
Id: agent1
Name:
Beep: beep
MOH: default
RecordCalls: No
State: UNAVAILABLE
{noformat}
# Now, when I examine the agent status with CLI "queue show <queuename>":
{noformat}
lab_controller*CLI> queue show my_queue
my_queue has 0 calls (max unlimited) in 'ringall' strategy (0s holdtime, 0s talktime), W:0, C:0, A:0, SL:0.0% within 0s
   Members:
      May Flowers (Local/agent1 at sip from Agent:agent1) (ringinuse enabled) (Invalid) has taken no calls yet
{noformat}
agent status is {{Invalid}} and not the expected {{Unavailable}}.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list