<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello Duvid. Sorry for reply to you and not the list<br>
</p>
<p>I have similar issue, but want to emulate 2 way radio through
mod_conference, that means one people speak and broadcast to all
listeners or target to only one listeners. The same but for
listeners, when speak, is listen only for the main operator
(agent). Can you share with us the core of your ESL script to
handle your mod_conference behaviour?</p>
<p>Thank you</p>
<p>Regars</p>
Normando<br>
<br>
<div class="moz-cite-prefix">El 23/04/2018 a las 11:28 a.m., Duvid
Rottenberg escribió:<br>
</div>
<blockquote type="cite"
cite="mid:CAC4JBEAami6epx2hL4OjzguwsOdvnXSFDgnUOPHF9mEp1PRsbg@mail.gmail.com">
<div dir="ltr">I have a similar scenario, and my solution was to
create several conferences. I have one master conference, that
serves to connect all sub-conferences. So when a user calls in
to the conference I add him to a sub conference, then I do an
outdial to an extension that joins the sub conference to the
master conference (this connection should not be muted). Once
the sub conference has 250 participants, I create a new sub
conference. I control all of this via ESL, this also requires
some additional logic to handle conference commands, as I need
to make sure it propogates to all sub conferences.
<div><br>
</div>
<div>The advantage of this approach is that instead of having
one loop running on 1 CPU core looping through all listeners
we now have multiple conference loops running on different
cores. The issue with large conferences is that the conference
loop runs every 20 ms by default and the main conference loop
is not (and probably can't be) multi-threaded. <br>
<br>
</div>
<div>Since on any large conference, there will most likely be
only a handful of speakers, the best solution would probably
be to optimize mod_conference to have a separate list of
unmuted participants and only loop through those, but I was
afraid to undertake such a change myself.</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Apr 19, 2018 at 12:09 PM, Abaci
B <span dir="ltr"><<a href="mailto:abaci64@gmail.com"
target="_blank" moz-do-not-send="true">abaci64@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div>Hi,<br>
I'm trying to set up a large audio conference of over
1000 users where only 1 or 2 users are talking and the
rest are just listening, but after 600-700 users the CPU
usage gets too high and the audio gets choppy, I
understand that mod_conference is not optimized for my
use case but was wondering if someone has any
suggestions on what can be done to optimize for my use
case.<br>
I was also thinking that maybe there is a better
alternative for what I look for, such as having just the
talkers on the conference and the listeners should
listen to it via mod_local_stream or maybe use something
like eavesdrop for the listeners but not sure if and how
much performance I would gain.<br>
</div>
Thanks for any help or input<br>
<br>
</div>
<br>
______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org"
moz-do-not-send="true">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer"
target="_blank" moz-do-not-send="true">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer"
target="_blank" moz-do-not-send="true">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer"
target="_blank" moz-do-not-send="true">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org"
moz-do-not-send="true">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer"
target="_blank" moz-do-not-send="true">http://www.freeswitch.org</a><br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a></pre>
</blockquote>
<br>
</body>
</html>