[asterisk-bugs] [JIRA] (ASTERISK-28573) Missing event AgentComplete on AttendedTransfer

Martin Nyström (JIRA) noreply at issues.asterisk.org
Wed Oct 9 09:43:47 CDT 2019


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

Martin Nyström commented on ASTERISK-28573:
-------------------------------------------

I attached the asterisk CLI output from an attended transfer.

1. The specific steps or actions you took that caused you to encounter the problem.
Attended transfer between Queue A and Queue B, more specific call flow is in the original post

2. The behavior you expected and the location of documentation that led you to that expectation.
We expect an AgentComplete event to be sent both when the call leaves Queue A/Agent A and when call ends in Queue B/Agent B. 

As the app_queue.c says 
"Raised when a queue member has finished servicing a caller in the queue."

When performing attended transfers between two queues, the caller is served in two different queues, therefor there should be one AgentComplete in each as there is one agent in each queue managing the call.

3. The behavior you actually encountered.
AgentComplete is only sent when the first LEG ends. It is not sent when the second LEG ends. 

> Missing event AgentComplete on AttendedTransfer
> -----------------------------------------------
>
>                 Key: ASTERISK-28573
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28573
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_queue
>    Affects Versions: 13.24.0, 13.28.1
>         Environment: Centos 7
>            Reporter: Martin Nyström
>            Assignee: Unassigned
>            Severity: Minor
>         Attachments: messages.txt
>
>
> When performing an attended transfer, the event AgentComplete is not send when the second leg finishes the call.
> When I look at the app_queue.c I find this documented for the ManagerEvent AgentComplete
> "<synopsis>Raised when a queue member has finished servicing a caller in the queue.</synopsis>"
> This is simply not true for Attended Transfers. AgentComplete is only sent when the first leg finishes the call. 
> Call flow
> 1) Incoming call Z to Queue A
> 2) Call Z is put on hold
> 3) Agent in Queue A dials the Queue B
> 4) Agent in Queue B answers
> 5) Agent in Queue A performs the attended transfer
> The agentcomplete is sent when (5) is performed. It is not sent when Queue B ends the call with Z.
> Is this intended? If yes, what would be the work around to fetch the call data from the last leg of an attended transfer using events?



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



More information about the asterisk-bugs mailing list