mod_callcenter - the configuration property "max-wait-time-with-no-agent" doesn't work
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
Is there a more active freeswitch list or forum or place where development is more often discussed. irc? slack? what? On Sat, Apr 25, 2020 at 9:09 AM Alexander Haugg <Alexander.Haugg@c4b.de> wrote:
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
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev https://freeswitch.com
-- Make Music, Not War Dave Täht CTO, TekLibre, LLC http://www.teklibre.com Tel: 1-831-435-0729
http://signalwire.community/ On Tue, Apr 28, 2020 at 4:22 AM Dave Taht <dave.taht@gmail.com> wrote:
Is there a more active freeswitch list or forum or place where development is more often discussed. irc? slack? what?
On Sat, Apr 25, 2020 at 9:09 AM Alexander Haugg <Alexander.Haugg@c4b.de> wrote:
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
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
services.
Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev https://freeswitch.com
-- Make Music, Not War
Dave Täht CTO, TekLibre, LLC http://www.teklibre.com Tel: 1-831-435-0729
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev https://freeswitch.com
-- About: http://about.me/dujinfang Blog: http://www.dujinfang.com Proj: http://www.freeswitch.org.cn
We are on the mailing list and on slack, but mod_callcenter wasn’t created by the core dev team and probably none of us have any special insight to that module so most likely none of us would respond to questions about it.
On Apr 28, 2020, at 2:17 AM, Seven Du <dujinfang@gmail.com> wrote:
http://signalwire.community/ <http://signalwire.community/>
On Tue, Apr 28, 2020 at 4:22 AM Dave Taht <dave.taht@gmail.com <mailto:dave.taht@gmail.com>> wrote: Is there a more active freeswitch list or forum or place where development is more often discussed. irc? slack? what?
On Sat, Apr 25, 2020 at 9:09 AM Alexander Haugg <Alexander.Haugg@c4b.de <mailto:Alexander.Haugg@c4b.de>> wrote:
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
OK, sorry, with a new build, this bug is fixed! Nice regards Alex Von: FreeSWITCH-dev <freeswitch-dev-bounces@lists.freeswitch.org> Im Auftrag von Alexander Haugg Gesendet: Samstag, 25. April 2020 17:33 An: freeswitch-dev@lists.freeswitch.org Betreff: [Freeswitch-dev] mod_callcenter - the configuration property "max-wait-time-with-no-agent" doesn't work 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
participants (4)
-
Alexander Haugg
-
Dave Taht
-
Mike Jerris
-
Seven Du