signalwire / freeswitch

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.
https://freeswitch.com/#getting-started
Other
3.46k stars 1.4k forks source link

mod_callcenter: If the last agent in "top-down" is unavailable, distribution will stop and not restart from the top #1216

Open olofssonanton opened 3 years ago

olofssonanton commented 3 years ago

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:

  1. In a queue with multiple agents and the strategy "top-down", set the last of the agents as "on-break".
  2. Call the queue and let it distribute all the way to the last agent.
  3. Distribution will halt after distributing to the last agent.

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.

gedixss commented 1 year ago

Hello, maybe this bug is fixed and released ?

olofssonanton commented 1 year ago

@gedixss Not yet, to my knowledge. But we've been running the fix from #1221 for over a year now and it's been working great.