From John.Nowlin at tresta.com Thu Sep 1 18:01:34 2016 From: John.Nowlin at tresta.com (John.Nowlin at tresta.com) Date: Thu, 1 Sep 2016 10:01:34 -0400 Subject: [Freeswitch-dev] Audio message to ring group losers Message-ID: I have been asked to send an audio announcement to members of a ring group who lose the race to pick up the call. I have not found anything obvious in the documentation showing a hook or method to play such a message prior to hanging up on the b-leg losing members. I have tried a lua script capturing the onHangup event but it appears to happen after the hangup and the media does not play. My attempts at using transfer_after_bridge like wise did not appear to allow me to play a media file. So far my attempts at using the api_hangup_hook have been totally unsuccessful. I will admit to oldness concerning development and extreme noobness concerning freeswitch. Any assistance / examples would be appreciated. john nowlin Senior Software Developer Tresta office: 850.383.7756 mobile: 850.294.5635 www.tresta.com - A Better Phone Experience -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20160901/92aa3103/attachment.html From matrix-1990 at wp.pl Fri Sep 2 14:39:40 2016 From: matrix-1990 at wp.pl (Maciej Koman) Date: Fri, 02 Sep 2016 12:39:40 +0200 Subject: [Freeswitch-dev] H.264 / RTSP Message-ID: <57c956ec9e25d8.23138892@wp.pl> I'm also interesting of RTSP support. Could you provide more information how adjust configuration file to enable RTSP client without patching anything? Maciej From vmancic at ooma.com Wed Sep 7 15:31:01 2016 From: vmancic at ooma.com (Vladimir Mancic) Date: Wed, 7 Sep 2016 11:31:01 +0000 Subject: [Freeswitch-dev] Static analysis tool Cppcheck discovered many errors in FreeSWITCH code In-Reply-To: References: , , <384701d202e4$c4a173c0$4de45b40$@freeswitch.org>, Message-ID: I run cppcheck for freeswitch 1.6.10, result is also in attached file, but in short: - memleak (62 occurances) - memleakOnRealloc (9 occurances) - resourceLeak (24 occurances) - doubleFree (more than 100 occurances) Regards, Vladimir ________________________________ Od: freeswitch-dev-bounces at lists.freeswitch.org [freeswitch-dev-bounces at lists.freeswitch.org] u ime korisnika Vladimir Mancic [vmancic at ooma.com] Poslato: 31. avgust 2016 11:02 Za: freeswitch-dev at lists.freeswitch.org Tema: Re: [Freeswitch-dev] Static analysis tool Cppcheck discovered many errors in FreeSWITCH code Thanks! ________________________________ Od: freeswitch-dev-bounces at lists.freeswitch.org [freeswitch-dev-bounces at lists.freeswitch.org] u ime korisnika Ken Rice [krice at freeswitch.org] Poslato: 30. avgust 2016 19:34 Za: freeswitch-dev at lists.freeswitch.org Tema: Re: [Freeswitch-dev] Static analysis tool Cppcheck discovered many errors in FreeSWITCH code Easiest way is via git? see https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse (we use stash which is bitbucket or sorta like github) From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Vladimir Mancic Sent: Tuesday, August 30, 2016 12:19 PM To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] Static analysis tool Cppcheck discovered many errors in FreeSWITCH code Thank you. And how to get the latest master branch? Vladimir ________________________________ Od: freeswitch-dev-bounces at lists.freeswitch.org [freeswitch-dev-bounces at lists.freeswitch.org] u ime korisnika Michael Jerris [mike at jerris.com] Poslato: 30. avgust 2016 16:05 Za: freeswitch-dev at lists.freeswitch.org Tema: Re: [Freeswitch-dev] Static analysis tool Cppcheck discovered many errors in FreeSWITCH code The correct way to do this would be to run this on the latest master branch of freeswitch and file and potential issues as security issues in Jira. Yes, many hundreds of issues have been fixed since 1.4 (1.4 is now eol) and we make use of static analysis tools. Static analysis tools in general have very high false positive rate, we do our best to address issues found with them, but they require much more than running a tool and getting a report. Every single one of those reports needs to be investigated, confirmed if its actually valid (typically 80%+ are not), reported. On Aug 30, 2016, at 9:07 AM, Vladimir Mancic > wrote: Hi, Static analysis tool Cppcheck discovered many errors in FreeSWITCH v1.4 code (memory leaks, resource leaks, double frees,...): - memleak (76 occurances) - memleakOnRealloc (12 occurances) - resourceLeak (21 occurances) - doubleFree (more than 100 occurances) Is this known to the FreeSWITCH community, and has there been any work on it in more recent versions of FreeSWITCH? Thanks, Vladimir _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-dev mailing list FreeSWITCH-dev at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20160907/f24f407e/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: freeswitch_1_6_10_cppcheck_results.xml Type: text/xml Size: 217254 bytes Desc: freeswitch_1_6_10_cppcheck_results.xml Url : http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20160907/f24f407e/attachment-0001.xml From mike at jerris.com Thu Sep 8 18:22:48 2016 From: mike at jerris.com (Michael Jerris) Date: Thu, 8 Sep 2016 10:22:48 -0400 Subject: [Freeswitch-dev] Static analysis tool Cppcheck discovered many errors in FreeSWITCH code In-Reply-To: References: <384701d202e4$c4a173c0$4de45b40$@freeswitch.org> Message-ID: <279035CA-197C-446B-AAFC-13A5A8702F35@jerris.com> Please see previous responses on the list about how to handle these issues. Please stop sending big lists of completely unvetted possible vulnerabilities to the list. If you are going to actually do the hard work of researching these and determining which are real, we welcome that work and will review the bug reports in lira when they are filed. > On Sep 7, 2016, at 7:31 AM, Vladimir Mancic wrote: > > I run cppcheck for freeswitch 1.6.10, result is also in attached file, but in short: > - memleak (62 occurances) > - memleakOnRealloc (9 occurances) > - resourceLeak (24 occurances) > - doubleFree (more than 100 occurances) > > Regards, > Vladimir > > Od: freeswitch-dev-bounces at lists.freeswitch.org [freeswitch-dev-bounces at lists.freeswitch.org ] u ime korisnika Vladimir Mancic [vmancic at ooma.com ] > Poslato: 31. avgust 2016 11:02 > Za: freeswitch-dev at lists.freeswitch.org > Tema: Re: [Freeswitch-dev] Static analysis tool Cppcheck discovered many errors in FreeSWITCH code > > Thanks! > > Od: freeswitch-dev-bounces at lists.freeswitch.org [freeswitch-dev-bounces at lists.freeswitch.org] u ime korisnika Ken Rice [krice at freeswitch.org] > Poslato: 30. avgust 2016 19:34 > Za: freeswitch-dev at lists.freeswitch.org > Tema: Re: [Freeswitch-dev] Static analysis tool Cppcheck discovered many errors in FreeSWITCH code > > Easiest way is via git? see https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse (we use stash which is bitbucket or sorta like github) > > From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org]On Behalf Of Vladimir Mancic > Sent: Tuesday, August 30, 2016 12:19 PM > To: freeswitch-dev at lists.freeswitch.org > Subject: Re: [Freeswitch-dev] Static analysis tool Cppcheck discovered many errors in FreeSWITCH code > > Thank you. > > And how to get the latest master branch? > > Vladimir > > Od: freeswitch-dev-bounces at lists.freeswitch.org [freeswitch-dev-bounces at lists.freeswitch.org] u ime korisnika Michael Jerris [mike at jerris.com] > Poslato: 30. avgust 2016 16:05 > Za: freeswitch-dev at lists.freeswitch.org > Tema: Re: [Freeswitch-dev] Static analysis tool Cppcheck discovered many errors in FreeSWITCH code > > The correct way to do this would be to run this on the latest master branch of freeswitch and file and potential issues as security issues in Jira. Yes, many hundreds of issues have been fixed since 1.4 (1.4 is now eol) and we make use of static analysis tools. Static analysis tools in general have very high false positive rate, we do our best to address issues found with them, but they require much more than running a tool and getting a report. Every single one of those reports needs to be investigated, confirmed if its actually valid (typically 80%+ are not), reported. > > > On Aug 30, 2016, at 9:07 AM, Vladimir Mancic > wrote: > > Hi, > > Static analysis tool Cppcheck discovered many errors in FreeSWITCH v1.4 code (memory leaks, resource leaks, double frees,...): > > - memleak (76 occurances) > - memleakOnRealloc (12 occurances) > - resourceLeak (21 occurances) > - doubleFree (more than 100 occurances) > > Is this known to the FreeSWITCH community, and has there been any work on it in more recent versions of FreeSWITCH? > > > Thanks, > Vladimir > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://wiki.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://wiki.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20160908/5cb37824/attachment-0001.html From chad at apartmentlines.com Fri Sep 30 07:18:57 2016 From: chad at apartmentlines.com (Chad Phillips) Date: Thu, 29 Sep 2016 20:18:57 -0700 Subject: [Freeswitch-dev] FreeSWITCH/Verto kicking ass, 61 simultaneous feeds Message-ID: Just finished a test where I got 61 simultaneous users into a FreeSWITCH videoconference via Chrome/mod_verto. Here?s a link to a youtube video of a portion of the test: https://www.youtube.com/watch?v=c0kgb1zNxMU Some stats for those interested: FreeSWITCH box: 61 simultaneous WebRTC video feeds via Chrome/Verto Conference configured to minimize outbound encoding 32 core Xeon E5-2650, 32GB RAM Load average seemed to peak around 16 Test users: 10 Headless Ubuntu test servers, 20 cores / 8GB RAM each Each box running 6 Chrome instances via Selenium The video quality was a tad blurry, not sure if that was something on my end or the muxing end of things. Also, I had to put the users in 12 at a time, as I?ve found that too many joining at once is causing websocket disconnects, not sure what the deal is there yet. Curious if anyone else is trying crazy stuff like this, or if I?ve just set some sort of record. :P -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20160929/8661cbc1/attachment.html From mike at jerris.com Fri Sep 30 08:04:02 2016 From: mike at jerris.com (Michael Jerris) Date: Fri, 30 Sep 2016 00:04:02 -0400 Subject: [Freeswitch-dev] FreeSWITCH/Verto kicking ass, 61 simultaneous feeds In-Reply-To: References: Message-ID: <8C00F00B-E9FD-4F7A-BA3F-4A13BC0EAA1B@jerris.com> Thats about the number we maxed out on, but it wasn?t that formal of a test, and whats using webrtc, was just a stress test on conference to find breaking points. I?d like to see more info on the verto web socket breaking points if you could switch it to just audio and see if you can still see that break? > On Sep 29, 2016, at 11:18 PM, Chad Phillips wrote: > > Just finished a test where I got 61 simultaneous users into a FreeSWITCH videoconference via Chrome/mod_verto. > > Here?s a link to a youtube video of a portion of the test: https://www.youtube.com/watch?v=c0kgb1zNxMU > > Some stats for those interested: > > FreeSWITCH box: > 61 simultaneous WebRTC video feeds via Chrome/Verto > Conference configured to minimize outbound encoding > 32 core Xeon E5-2650, 32GB RAM > Load average seemed to peak around 16 > > Test users: > 10 Headless Ubuntu test servers, 20 cores / 8GB RAM each > Each box running 6 Chrome instances via Selenium > > The video quality was a tad blurry, not sure if that was something on my end or the muxing end of things. Also, I had to put the users in 12 at a time, as I?ve found that too many joining at once is causing websocket disconnects, not sure what the deal is there yet. > > Curious if anyone else is trying crazy stuff like this, or if I?ve just set some sort of record. :P -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20160930/75a2527d/attachment.html