FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to a versatile software implementation that runs on any commodity hardware. From a Raspberry PI to a multi-core server, FreeSWITCH can unlock the telecommunications potential of any device.
Describe the bug
mod_callcenter will not restart agent distribution from the top if the last agent in a queue with the strategy "top-down" does not answer.
To Reproduce
Steps to reproduce the behavior:
In a queue with multiple agents and the strategy "top-down", set the last of the agents as "on-break".
Call the queue and let it distribute all the way to the last agent.
Distribution will halt after distributing to the last agent.
Expected behavior
Distribution should resume from the top again.
Describe the bug mod_callcenter will not restart agent distribution from the top if the last agent in a queue with the strategy "top-down" does not answer.
To Reproduce Steps to reproduce the behavior:
Expected behavior Distribution should resume from the top again.
Package version or git hash
I have traced this down to this check. This is set to true at the start of a distribution attempt, but if the agent is found to be unavailable, there is nothing setting this to false again.