Commits
Italo Rossi committed f87c335e8a4
Only waiting for agent channel to hangup. If the member do an attended transfer this loop stops and the agent is set to Available state again, when in fact he still busy with other channel. This was happening, for example, when a member calls support queue, then the support operator do an attended transfer to sales queue, while the sales operator is talking the member that was transferred, the sales queue will send calls to the operator, which is not expected.