[asterisk-bugs] [JIRA] (ASTERISK-29195) AMI QueueMemberStatus event property "InCall" not updated
Kevin Harwell (JIRA)
noreply at issues.asterisk.org
Mon Dec 7 15:48:16 CST 2020
[ https://issues.asterisk.org/jira/browse/ASTERISK-29195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=252969#comment-252969 ]
Kevin Harwell commented on ASTERISK-29195:
------------------------------------------
Could you please post the full AMI trace from when the agent is rung to answer to when the QueueMemberStatus event is output.
Also if you change the agent status after answering does is it still zero? For instance, if you put them on hold.
> AMI QueueMemberStatus event property "InCall" not updated
> ---------------------------------------------------------
>
> Key: ASTERISK-29195
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-29195
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Applications/app_queue
> Affects Versions: 16.15.0
> Environment: Debian 10, x64 Asterisk 16.15.0
> Reporter: Flamur Dervishi
> Assignee: Flamur Dervishi
> Severity: Minor
>
> We are building a web interface for displaying queues and their members. In order to track the current status of a member we are listening for the event "QueueMemberStatus".
> https://wiki.asterisk.org/wiki/display/AST/Asterisk+16+ManagerEvent_QueueMemberStatus
> This event has a property called "InCall" which according to the documentation tells if a member is currently in call or not.
> InCall - Set to 1 if member is in call. Set to 0 after LastCall time is updated.
> When a call is received in this queue, asterisk generates a QueueMemberStatus event, but eventhough the member now is in call, the event property "InCall" is still 0.
> Event: QueueMemberStatus
> Privilege: agent,all
> Timestamp: 1607091943.951917
> Queue: Support
> MemberName: PJSIP/1004
> Interface: PJSIP/1004
> StateInterface: PJSIP/1004
> Membership: dynamic
> Penalty: 0
> CallsTaken: 3
> LastCall: 1607086469
> LastPause: 1607086441
> InCall: 0
> Status: 2
> Paused: 0
> PausedReason:
> Ringinuse: 0
> Wrapuptime: 0
>
> I can confirm that the member is indeed in call also by looking at the Status property of this event: Status: 2 , meaning IN_USE.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list