[asterisk-bugs] [JIRA] (ASTERISK-28165) app_queue: QueueMemberStatus ami event duplication

Roman Pertsev (JIRA) noreply at issues.asterisk.org
Wed Nov 21 04:37:47 CST 2018


    [ https://issues.asterisk.org/jira/browse/ASTERISK-28165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=245521#comment-245521 ] 

Roman Pertsev commented on ASTERISK-28165:
------------------------------------------

Ok, guys. Try a simple example: 1 caller, 1 agent, 1 queue (I specifically reinstall the asterisk 13.23.1 on another server and got the same problem):
AMI output when agent is ringing. Double QueueMemberStatus event (only timestamp is different)

Event: QueueCallerJoin
Privilege: agent,all
Timestamp: 1542795809.868283
Channel: SIP/101-00000009
ChannelState: 4
ChannelStateDesc: Ring
CallerIDNum: 101
CallerIDName: Alexey K.
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: ru
AccountCode:
Context: from-internal
Exten: 600
Priority: 1
Uniqueid: 1542795809.9
Linkedid: 1542795809.9
Queue: 600
Position: 1
Count: 1

Event: QueueMemberStatus
Privilege: agent,all
Timestamp: 1542795809.870308
Queue: 600
MemberName: 100
Interface: SIP/100
StateInterface: SIP/100
Membership: dynamic
Penalty: 0
CallsTaken: 0
LastCall: 0
InCall: 0
Status: 6
Paused: 0
PausedReason:
Ringinuse: 0

Event: AgentCalled
Privilege: agent,all
Timestamp: 1542795809.870619
Channel: SIP/101-00000009
ChannelState: 4
ChannelStateDesc: Ring
CallerIDNum: 101
CallerIDName: Alexey K.
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: ru
AccountCode:
Context: from-internal
Exten: 600
Priority: 1
Uniqueid: 1542795809.9
Linkedid: 1542795809.9
DestChannel: SIP/100-0000000a
DestChannelState: 0
DestChannelStateDesc: Down
DestCallerIDNum: 100
DestCallerIDName: Roman P.
DestConnectedLineNum: 101
DestConnectedLineName: Alexey K.
DestLanguage: ru
DestAccountCode:
DestContext: from-internal
DestExten: 600
DestPriority: 1
DestUniqueid: 1542795809.10
DestLinkedid: 1542795809.9
Queue: 600
Interface: SIP/100
MemberName: 100

Event: QueueMemberStatus
Privilege: agent,all
Timestamp: 1542795809.966464
Queue: 600
MemberName: 100
Interface: SIP/100
StateInterface: SIP/100
Membership: dynamic
Penalty: 0
CallsTaken: 0
LastCall: 0
InCall: 0
Status: 6
Paused: 0
PausedReason:
Ringinuse: 0



>  app_queue: QueueMemberStatus ami event duplication
> ---------------------------------------------------
>
>                 Key: ASTERISK-28165
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28165
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_queue, Core/PBX
>    Affects Versions: 13.21.1, 13.23.1
>         Environment: Centos 6.9
>            Reporter: Roman Pertsev
>            Assignee: Roman Pertsev
>              Labels: AMI, QueueMemberStatus, Queues
>         Attachments: ami-output-when-inbound-call.txt, queuememberstatus.txt, queues.conf, queue-show.png, queue-show-when-inbound-call.png
>
>
> Hello. If member of queue works at 2+ queues, then AMI event QueueMemberStatus duplicate and more.
> Example:
> Member 100 in queue 600
> AMI output for 100:
> QueueMemberStatus
> Example:
> Member 100 in queues 600 and 601
> AMI output for 100:
> QueueMemberStatus
> QueueMemberStatus
> QueueMemberStatus
> QueueMemberStatus
> Example:
> Member 100 in queues 600 and 601 and 602
> AMI output for 100:
> QueueMemberStatus
> QueueMemberStatus
> QueueMemberStatus
> QueueMemberStatus
> QueueMemberStatus
> QueueMemberStatus
> QueueMemberStatus
> QueueMemberStatus
> QueueMemberStatus



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



More information about the asterisk-bugs mailing list