Mod_conference with many participants. Question for experts
Hello, I am making a conference with 100 participants, on an 8-core server, 16 gigabytes of ram dedicated to my freeswitch. 98 participant are in mute mode and only two participant active. 8 times out of 10 the conference does not work. (very poor quality hatched audio) 2 times out of 10 the conference works for a few minutes then becomes unstable. (very poor quality hatched audio) A htop at that time shows that all the cores are used but not more than 30%. There is also plenty of memory available on the server. <profile name = "000"> <param name = "domain" value = "$$ {domain}" /> <param name = "rate" value = "8000" /> <param name = "interval" value = "20" /> <param name = "caller-controls" value = "none" /> <param name = "moderator-controls" value = "none" /> <param name = "moh-sound" value = "silence" /> <param name = "suppress-events" value = "start-talking, stop-talking" /> <! - Energy level required for audio to be sent to the other users -> <param name = "energy-level" value = "100" /> <param name = "comfort-noise" value = "0" /> <param name = "conference-flags" value = "audio-always" /> </profile> I have already found a solution, just put interval at 60. <param name = "interval" value = "60" /> With this the conference with 100 participants and only 2 active works. I have many qustions 1) It's strange, the conference with all the members in mute attribute, shouldn't it normally do nothing? Mute members should be transparent when it comes to mixing, is that just broadcast? ( conference data = 66123@000++flags{endconf|nomoh|mute} ) Did I make a mistake in my profile? Is it normal ? 2) Is there an easier way to broadcast? That is, a call that "talks" to 90 calls? My idea is to make a conference with 2 or 3 participants and to broadcast this conference to all the other participants since he is not speaking. many thanks to you for your advice and ideas. Gilles
You provided a lot of details but missed some important points. What OS? What version of FreeSWITCH? I have been running 600+ members across 5 servers even some with videos in one conference and not have any issue. Most members were muted. On Tue, Mar 31, 2020 at 4:25 AM Gilles SAUVAIRE <Gilles@sauvaire.com> wrote:
Hello,
I am making a conference with 100 participants, on an 8-core server, 16 gigabytes of ram dedicated to my freeswitch. 98 participant are in mute mode and only two participant active.
8 times out of 10 the conference does not work. (very poor quality hatched audio) 2 times out of 10 the conference works for a few minutes then becomes unstable. (very poor quality hatched audio)
A htop at that time shows that all the cores are used but not more than 30%. There is also plenty of memory available on the server.
<profile name = "000">
<param name = "domain" value = "$$ {domain}" /> <param name = "rate" value = "8000" /> <param name = "interval" value = "20" /> <param name = "caller-controls" value = "none" /> <param name = "moderator-controls" value = "none" /> <param name = "moh-sound" value = "silence" /> <param name = "suppress-events" value = "start-talking, stop-talking" />
<! - Energy level required for audio to be sent to the other users -> <param name = "energy-level" value = "100" /> <param name = "comfort-noise" value = "0" /> <param name = "conference-flags" value = "audio-always" />
</profile>
I have already found a solution, just put interval at 60. <param name = "interval" value = "60" /> With this the conference with 100 participants and only 2 active works.
I have many qustions
1) It's strange, the conference with all the members in mute attribute, shouldn't it normally do nothing? Mute members should be transparent when it comes to mixing, is that just broadcast? ( conference data = 66123@000++flags{endconf|nomoh|mute} ) Did I make a mistake in my profile? Is it normal ?
2) Is there an easier way to broadcast? That is, a call that "talks" to 90 calls? My idea is to make a conference with 2 or 3 participants and to broadcast this conference to all the other participants since he is not speaking.
many thanks to you for your advice and ideas.
Gilles
_________________________________________________________________________
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-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
-- About: http://about.me/dujinfang Blog: http://www.dujinfang.com Proj: http://www.freeswitch.org.cn
Hello, Sorry for my forgetfulness. My OS is : Debian 10.3 Linux xxxxx 4.19.0-8-amd64 #1 SMP Debian 4.19.98-1 (2020-01-26) x86_64 GNU/Linux My freeswitch version : freeswitch@xxxxx> version FreeSWITCH Version 1.10.2-release+git~20191231T140119Z~f7bdd3845a~64bit (git f7bdd38 2019-12-31 14:01:19Z 64bit) to do my tests I have a second freeswitch, I generate 96 calls to my conference freeswitch, with the first in normal conference and all the others in silent conference. the calls plays a voice message with a musical background. then I make a call with my phone. I hear the conference participant's plays message, but of very poor quality. on the other hand if I change <param name = "interval" value = "20" /> to 60 the same test works perfectly. I can recreate the malfunction if you need tests or parameters during the malfunction. I did a htop during the conference, but nothing special ... the server is not 100% what do you think of my conference profile ? is OK ? on the other hand with the interval at 60 it works and the quality does not seem to be less good ? what exactly does this interval setting change ? big thanks to you for your help. Gilles De : FreeSWITCH-users [mailto:freeswitch-users-bounces@lists.freeswitch.org] De la part de Seven Du Envoyé : lundi 6 avril 2020 02:50 À : FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Objet : Re: [Freeswitch-users] Mod_conference with many participants. Question for experts You provided a lot of details but missed some important points. What OS? What version of FreeSWITCH? I have been running 600+ members across 5 servers even some with videos in one conference and not have any issue. Most members were muted. On Tue, Mar 31, 2020 at 4:25 AM Gilles SAUVAIRE <mailto:Gilles@sauvaire.com> wrote: Hello, I am making a conference with 100 participants, on an 8-core server, 16 gigabytes of ram dedicated to my freeswitch. 98 participant are in mute mode and only two participant active. 8 times out of 10 the conference does not work. (very poor quality hatched audio) 2 times out of 10 the conference works for a few minutes then becomes unstable. (very poor quality hatched audio) A htop at that time shows that all the cores are used but not more than 30%. There is also plenty of memory available on the server. <profile name = "000"> <param name = "domain" value = "$$ {domain}" /> <param name = "rate" value = "8000" /> <param name = "interval" value = "20" /> <param name = "caller-controls" value = "none" /> <param name = "moderator-controls" value = "none" /> <param name = "moh-sound" value = "silence" /> <param name = "suppress-events" value = "start-talking, stop-talking" /> <! - Energy level required for audio to be sent to the other users -> <param name = "energy-level" value = "100" /> <param name = "comfort-noise" value = "0" /> <param name = "conference-flags" value = "audio-always" /> </profile> I have already found a solution, just put interval at 60. <param name = "interval" value = "60" /> With this the conference with 100 participants and only 2 active works. I have many qustions 1) It's strange, the conference with all the members in mute attribute, shouldn't it normally do nothing? Mute members should be transparent when it comes to mixing, is that just broadcast? ( conference data = 66123@000++flags{endconf|nomoh|mute} ) Did I make a mistake in my profile? Is it normal ? 2) Is there an easier way to broadcast? That is, a call that "talks" to 90 calls? My idea is to make a conference with 2 or 3 participants and to broadcast this conference to all the other participants since he is not speaking. many thanks to you for your advice and ideas. Gilles _________________________________________________________________________ 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 mailto:sales@freeswitch.com https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list mailto:FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com -- About: http://about.me/dujinfang Blog: http://www.dujinfang.com Proj: http://www.freeswitch.org.cn
Interval is the ptime, the shorter, the more packets are sent out. On Fri, 10 Apr 2020 at 02:17, Gilles SAUVAIRE <Gilles@sauvaire.com> wrote:
Hello,
Sorry for my forgetfulness.
My OS is : Debian 10.3 Linux xxxxx 4.19.0-8-amd64 #1 SMP Debian 4.19.98-1 (2020-01-26) x86_64 GNU/Linux
My freeswitch version : freeswitch@xxxxx> version FreeSWITCH Version 1.10.2-release+git~20191231T140119Z~f7bdd3845a~64bit (git f7bdd38 2019-12-31 14:01:19Z 64bit)
to do my tests I have a second freeswitch, I generate 96 calls to my conference freeswitch, with the first in normal conference and all the others in silent conference. the calls plays a voice message with a musical background.
then I make a call with my phone. I hear the conference participant's plays message, but of very poor quality.
on the other hand if I change <param name = "interval" value = "20" /> to 60 the same test works perfectly.
I can recreate the malfunction if you need tests or parameters during the malfunction.
I did a htop during the conference, but nothing special ... the server is not 100%
what do you think of my conference profile ? is OK ?
on the other hand with the interval at 60 it works and the quality does not seem to be less good ?
what exactly does this interval setting change ?
big thanks to you for your help.
Gilles
De : FreeSWITCH-users [mailto: freeswitch-users-bounces@lists.freeswitch.org] De la part de Seven Du Envoyé : lundi 6 avril 2020 02:50 À : FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Objet : Re: [Freeswitch-users] Mod_conference with many participants. Question for experts
You provided a lot of details but missed some important points. What OS? What version of FreeSWITCH?
I have been running 600+ members across 5 servers even some with videos in one conference and not have any issue. Most members were muted.
On Tue, Mar 31, 2020 at 4:25 AM Gilles SAUVAIRE <mailto: Gilles@sauvaire.com> wrote: Hello,
I am making a conference with 100 participants, on an 8-core server, 16 gigabytes of ram dedicated to my freeswitch. 98 participant are in mute mode and only two participant active.
8 times out of 10 the conference does not work. (very poor quality hatched audio) 2 times out of 10 the conference works for a few minutes then becomes unstable. (very poor quality hatched audio)
A htop at that time shows that all the cores are used but not more than 30%. There is also plenty of memory available on the server.
<profile name = "000">
<param name = "domain" value = "$$ {domain}" /> <param name = "rate" value = "8000" /> <param name = "interval" value = "20" /> <param name = "caller-controls" value = "none" /> <param name = "moderator-controls" value = "none" /> <param name = "moh-sound" value = "silence" /> <param name = "suppress-events" value = "start-talking, stop-talking" />
<! - Energy level required for audio to be sent to the other users -> <param name = "energy-level" value = "100" /> <param name = "comfort-noise" value = "0" /> <param name = "conference-flags" value = "audio-always" />
</profile>
I have already found a solution, just put interval at 60. <param name = "interval" value = "60" /> With this the conference with 100 participants and only 2 active works.
I have many qustions
1) It's strange, the conference with all the members in mute attribute, shouldn't it normally do nothing? Mute members should be transparent when it comes to mixing, is that just broadcast? ( conference data = 66123@000++flags{endconf|nomoh|mute} ) Did I make a mistake in my profile? Is it normal ?
2) Is there an easier way to broadcast? That is, a call that "talks" to 90 calls? My idea is to make a conference with 2 or 3 participants and to broadcast this conference to all the other participants since he is not speaking.
many thanks to you for your advice and ideas.
Gilles
_________________________________________________________________________
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 mailto:sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list mailto:FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
-- About: http://about.me/dujinfang Blog: http://www.dujinfang.com Proj: http://www.freeswitch.org.cn
_________________________________________________________________________
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-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
-- Regards, David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337
participants (3)
-
David Villasmil
-
Gilles SAUVAIRE
-
Seven Du