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

Benjamin Keith Ford (JIRA) noreply at issues.asterisk.org
Thu Oct 10 09:18:47 CDT 2019


     [ https://issues.asterisk.org/jira/browse/ASTERISK-28573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Keith Ford updated ASTERISK-28573:
-------------------------------------------

    Assignee: Martin Nyström  (was: Unassigned)
      Status: Waiting for Feedback  (was: Triage)

Thanks for posting the log. I do see 2 AgentComplete events in there (3 actually), but they are all back to back, which is odd. I've attached my telnet logs as well, which has 2 AgentComplete events in the areas I would expect them to be. Here's my setup, to eliminate any discrepancies between our tests:

* Two queues, with 1 agent each
* A phone calls the first queue
* Agent answers, then uses attended transfer feature (however it is configured in your features.conf) (both queues should have the 't' and 'T' options set for this)
* The agent dials the other queue
* Once the agent in the other queue answers, the agent in the first queue hangs up
* The caller is now connected with the agent in the second queue, and an AgentComplete event happens
* When the agent hangs up on the caller, another AgentComplete message occurs

Does this line up with what you are doing / what you would expect?

> 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.28.1
>         Environment: Centos 7
>            Reporter: Martin Nyström
>            Assignee: Martin Nyström
>            Severity: Minor
>         Attachments: messages_events.txt, messages_telnet.txt, 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