[asterisk-bugs] [JIRA] (ASTERISK-25187) Caller or member information missing from app_queue AgentComplete event
Etienne Lessard (JIRA)
noreply at issues.asterisk.org
Tue Jun 23 15:01:32 CDT 2015
Etienne Lessard created ASTERISK-25187:
------------------------------------------
Summary: Caller or member information missing from app_queue AgentComplete event
Key: ASTERISK-25187
URL: https://issues.asterisk.org/jira/browse/ASTERISK-25187
Project: Asterisk
Issue Type: Bug
Security Level: None
Components: Applications/app_queue
Affects Versions: 13.4.0
Reporter: Etienne Lessard
Severity: Minor
In Asterisk 13, the AgentComplete event (https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+ManagerEvent_AgentComplete) never contains information about the caller's channel (prefix "") and agent/member's channel (prefix "Dest") at the same time:
* if the caller hangs up, then you only have information about the agent/member's channel
* if the member hangs up, then you only have information about the caller's channel
For example, if Alice calls the queue, Bob answers and Alice hangs up, then I have the following event:
{noformat}
Event: AgentComplete
Privilege: agent,all
DestChannel: SIP/je5qtq-00000007
DestChannelState: 6
DestChannelStateDesc: Up
DestCallerIDNum: 1001
DestCallerIDName: Bob
DestConnectedLineNum: 1045
DestConnectedLineName: Alice
DestLanguage: fr_FR
DestAccountCode:
DestContext: default
DestExten:
DestPriority: 1
DestUniqueid: 1435089318.13
TalkTime: 1
HoldTime: 1
MemberName: Agent/1001
Interface: Local/id-1 at agentcallback
Queue: phyl1
WrapupTime: 0
Reason: caller
{noformat}
If Alice calls the queue, Bob answers and Bob hangs up, then I have the following event:
{noformat}
Event: AgentComplete
Privilege: agent,all
Channel: SIP/as2mkq-00000008
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: 1045
CallerIDName: Alice
ConnectedLineNum: 1001
ConnectedLineName: Bob
Language: fr_FR
AccountCode:
Context: queue
Exten: s
Priority: 29
Uniqueid: 1435089355.14
TalkTime: 1
HoldTime: 4
MemberName: Agent/1001
Interface: Local/id-1 at agentcallback
Queue: phyl1
WrapupTime: 0
Reason: agent
{noformat}
This makes the AgentComplete event not that interesting in my opinion, because the only information you'll have "for sure" is the Queue, MemberName, Interface, etc, but no information on the channels.
For the record, in asterisk 11, the member's channel information was always present.
Thank you
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list