[Freeswitch-dev] mod_callcenter - the configuration property "max-wait-time-with-no-agent" doesn't work

Alexander Haugg Alexander.Haugg at c4b.de
Sat Apr 25 15:32:54 UTC 2020


Hi,

The properties "max-wait-time" and "max-wait-time-with-no-agent" have no effect.

If the delay is reached, I get the correct debug logs but without an effect.
CLI output for the "max-wait-time-with-no-agent" time reached (every 500ms):
2020-04-25 16:29:40.907298 [DEBUG] mod_callcenter.c:2818 Member 170 <+4989840798170> in queue 'myQueue' reached max wait of 60 sec. with no agent plus join grace period of 5 sec.

Is it possible, we need the following condition in the 'cc_member_thread_run' function in the mod_callcenter.cs
if (switch_channel_test_flag(channel, CF_BREAK)) {
       switch_channel_clear_flag(channel, CF_BREAK);
       break;
}
At the moment, der CF_BREAK will set, but not tested.

my config is:

<queue name="myQueue">
  <param name="strategy" value="agent-with-least-talk-time" />
  <param name="max-wait-time" value="300" />
  <param name="max-wait-time-with-no-agent" value="60" />
  <param name="max-wait-time-with-no-agent-time-reached" value="5" />
  <param name="tier-rule-wait-second" value="300" />
  <param name="discard-abandoned-after" value="60" />
  <param name="announce-frequency" value="0" />
  <param name="announce-sound" value="" />
  <param name="moh-sound" value="local_stream://moh" />
  <param name="time-base-score" value="system" />
  <param name="tier-rules-apply" value="false" />
  <param name="tier-rule-wait-multiply-level" value="true" />
  <param name="tier-rule-no-agent-no-wait" value="false" />
  <param name="abandoned-resume-allowed" value="false" />
</queue>

If I'm right, I'll open a Jira ticket and add a possible solution.

Thanks a lot,
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20200425/28b706f6/attachment.html>


More information about the FreeSWITCH-dev mailing list