Summary:ASTERISK-18707: QueueSummary event returns incorrect LoggedIn value
Reporter:Sam (sam)Labels:
Date Opened:2011-10-12 06:53:18Date Closed:2019-04-11 11:17:07
Versions: 13.18.4 Frequency of
Environment:Asterisk Realtime Queue Member logs in dynamically into QueueAttachments:
Description:Guide me if I am missing something as this is the first time I have been submitting a bug report.
I have been using realtime queue and making members logged into queue dynamically (AddQueueMember, RemoveQueueMember).
I dynamically added two members, 2 from location SIP/1112(X-lite) and 3 from location SIP/1111(X-lite), into Queue 1.
Now when I performed couple of actions for AMI, I found some inconsistency in information received in Responses.

Output of my test
[1] QueueStatus
action: queuestatus
queue: 1

Response: Success
Message: Queue status will follow

Event: QueueParams
Queue: 1
Max: 0
Strategy: ringall
Calls: 0
Holdtime: 2
TalkTime: 26
Completed: 20
Abandoned: 3
ServiceLevel: 0
ServicelevelPerf: 0.0
Weight: 0

Event: QueueMember
Queue: 1
Name: 2
Location: SIP/1112
Membership: dynamic
Penalty: 1
CallsTaken: 16
LastCall: 1318251310
Status: 1
Paused: 0

Event: QueueMember
Queue: 1
Name: 3
Location: SIP/1111
Membership: dynamic
Penalty: 2
CallsTaken: 0
LastCall: 0
Status: 5
Paused: 0

Event: QueueStatusComplete
action: queuesummary
queue: 1

Response: Success
Message: Queue summary will follow

Event: QueueSummary
Queue: 1
LoggedIn: 1
Available: 1
Callers: 0
HoldTime: 2
TalkTime: 26
LongestHoldTime: 0

Event: QueueSummaryComplete
[3]CLI: Queue Show

10:35:00DEMO*> queue show 1
1 has 0 calls (max unlimited) in 'ringall' strategy (2s holdtime, 26s
talktime), W:0, C:20, A:3, SL:0.0% within 0s
2 (SIP/1112) with penalty 1 (dynamic) (Not in use) has taken 16 calls (last
was 58190 secs ago)
3 (SIP/1111) with penalty 2 (dynamic) (Unavailable) has taken no calls yet
No Callers

Here Response for action 'Queuestatus' shows 2 members logged in(Event:
QueueMember) for Queue 1, whereas action 'Queuesummary' shows just 1(Event:
QueueSummary Queue: 1 LoggedIn: 1 ...)

When I had fired the actions on AMI, the system on which 3 (SIP/1111) was running was down.
Comments:By: Sam (sam) 2011-10-16 23:58:59.012-0500

Well, no response!
Is there anything I missed?

By: Leif Madsen (lmadsen) 2011-11-01 08:46:22.230-0500

This is not a support forum, so responses are not going to be immediate.

By: Leif Madsen (lmadsen) 2011-11-01 08:46:52.310-0500

Acknowledged issue. It does appear that the LoggedIn: value should probably be set to a value of '2'.

By: thiago fernandes (tfernandes) 2016-09-27 09:58:51.834-0500


By: Sean Bright (seanbright) 2019-04-11 11:17:07.744-0500

Members that are Unavailable or Invalid are not counted. This is intentional.