From msc at freeswitch.org Wed Jan 2 20:15:39 2013 From: msc at freeswitch.org (Michael Collins) Date: Wed, 2 Jan 2013 09:15:39 -0800 Subject: [Freeswitch-dev] FreeSWITCH Community Conference Call Today Message-ID: Hello all! Welcome back from the holidays. We hope everyone enjoyed some time off. With the new year we are starting to get back into the swing of things. Today's conference call agenda is here: http://wiki.freeswitch.org/wiki/FS_weekly_2013_01_02 We are going to discuss some new utility scripts that have been submitted. If you have a utility script or an interesting hangup hook trick then by all means please share it. We will also be populating a new section of the wiki with those hangup hook tricks. Talk to you soon! -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20130102/69c32c41/attachment.html From eduardonunesp at gmail.com Thu Jan 3 16:04:18 2013 From: eduardonunesp at gmail.com (Eduardo Nunes Pereira) Date: Thu, 3 Jan 2013 11:04:18 -0200 Subject: [Freeswitch-dev] Can mod_event_socket hold about 1000 connections at same time Message-ID: I'm about to specify a project with FS and about 1000 connections at same time, that applications it's very specific, i'm already used mod_event_socket with other situations but not with so much connections at the same time. Somebody sees a problem ? -- Eduardo Nunes Pereira skype: eduardonunesp msn:eduardonunesp http://about.me/eduardonunesp -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20130103/48ae7231/attachment-0001.html From dave at 3c.co.uk Thu Jan 3 16:25:32 2013 From: dave at 3c.co.uk (David Knell) Date: Thu, 3 Jan 2013 13:25:32 -0000 Subject: [Freeswitch-dev] Can mod_event_socket hold about 1000 connections at same time In-Reply-To: References: Message-ID: <014301cde9b5$ceeaf730$6cc0e590$@co.uk> Nope - should be fine. One hint: use an inbound event_socket connection (so you've one connection between your app and the FS box down which everything goes) - this scales better than having one outbound socket connection per call. --Dave From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Eduardo Nunes Pereira Sent: 03 January 2013 13:04 To: freeswitch-dev at lists.freeswitch.org Subject: [Freeswitch-dev] Can mod_event_socket hold about 1000 connections at same time I'm about to specify a project with FS and about 1000 connections at same time, that applications it's very specific, i'm already used mod_event_socket with other situations but not with so much connections at the same time. Somebody sees a problem ? -- Eduardo Nunes Pereira skype: eduardonunesp msn:eduardonunesp http://about.me/eduardonunesp -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20130103/16d09029/attachment.html From tomp at tomp.co.uk Thu Jan 3 16:40:44 2013 From: tomp at tomp.co.uk (Tom Parrott) Date: Thu, 3 Jan 2013 13:40:44 -0000 Subject: [Freeswitch-dev] Ability to cancel leg_timeout when using group_confirm from b-leg (fund) Message-ID: <20ee560f86bc18c3d2f6f987ce89c3dc.squirrel@my.netvps.co.uk> Hi, The company I work for would like to sponsor the development of a feature to be able to cancel the leg_timeout during a bridge from a lua script that is run on the b-leg as part of the group_confirm functions. I have opened an improvement request here: http://jira.freeswitch.org/browse/FS-4955 The reason we would like this feature is so that we can provide a "press 1 to accept" feature to our callees, and when they press 1 proceed to play a series of call announcements to them. The caller should continue to hear ring tones until the announcements are finished, however the leg_timeout should be cancelled from the lua script, maybe by setting a channel variable, e.g. cancel_timeout = 1 Thanks Tom Parrott From kris at kriskinc.com Thu Jan 3 18:09:01 2013 From: kris at kriskinc.com (Kristian Kielhofner) Date: Thu, 3 Jan 2013 10:09:01 -0500 Subject: [Freeswitch-dev] Can mod_event_socket hold about 1000 connections at same time In-Reply-To: <014301cde9b5$ceeaf730$6cc0e590$@co.uk> References: <014301cde9b5$ceeaf730$6cc0e590$@co.uk> Message-ID: +1 (if you can pull it off). There is a significant call setup time, CPS, and general scale issue with opening and maintaining one socket connection per call. If you have to use outbound socket do what you need to do and close it ASAP. FreeSWITCH performance is excellent in all but the dumbest scenarios; it's just less excellent with outbound socket. On Thu, Jan 3, 2013 at 8:25 AM, David Knell wrote: > Nope - should be fine. > > > > One hint: use an inbound event_socket connection (so you've one connection > between your app and the FS box down which everything goes) - this scales > better than having one outbound socket connection per call. > > > > --Dave > > > > From: freeswitch-dev-bounces at lists.freeswitch.org > [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Eduardo > Nunes Pereira > Sent: 03 January 2013 13:04 > To: freeswitch-dev at lists.freeswitch.org > Subject: [Freeswitch-dev] Can mod_event_socket hold about 1000 connections > at same time > > > > I'm about to specify a project with FS and about 1000 connections at same > time, that applications it's very specific, i'm already used > mod_event_socket with other situations but not with so much connections at > the same time. Somebody sees a problem ? > > > > -- > Eduardo Nunes Pereira > > skype: eduardonunesp > > msn:eduardonunesp > http://about.me/eduardonunesp > > > > > _________________________________________________________________________ > 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 > -- Kristian Kielhofner From godson.g at gmail.com Thu Jan 3 19:04:03 2013 From: godson.g at gmail.com (Godson Gera) Date: Thu, 3 Jan 2013 21:34:03 +0530 Subject: [Freeswitch-dev] Can mod_event_socket hold about 1000 connections at same time In-Reply-To: References: Message-ID: FS can easily handle this volume of event socket connections. I have used it many applications. -- Godson Gera Telecom Consultant On Thu, Jan 3, 2013 at 6:34 PM, Eduardo Nunes Pereira < eduardonunesp at gmail.com> wrote: > I'm about to specify a project with FS and about 1000 connections at same > time, that applications it's very specific, i'm already used > mod_event_socket with other situations but not with so much connections at > the same time. Somebody sees a problem ? > > -- > Eduardo Nunes Pereira > skype: eduardonunesp > msn:eduardonunesp > http://about.me/eduardonunesp > > > _________________________________________________________________________ > 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 > > -- Thanks & Regards, Godson Gera -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20130103/9148ebb8/attachment.html From tomp at tomp.co.uk Sat Jan 5 02:54:37 2013 From: tomp at tomp.co.uk (Tom Parrott) Date: Fri, 04 Jan 2013 23:54:37 +0000 Subject: [Freeswitch-dev] Ability to cancel leg_timeout when using group_confirm from b-leg (fund) In-Reply-To: <20ee560f86bc18c3d2f6f987ce89c3dc.squirrel@my.netvps.co.uk> References: <20ee560f86bc18c3d2f6f987ce89c3dc.squirrel@my.netvps.co.uk> Message-ID: <50E76BBD.8090105@tomp.co.uk> Hi All, I have had a stab at fixing this myself. Attached is the diff, as I am a novice C programmer I would appreciate any feedback you have. It does seem to work well though! :) Thanks Tom On 01/03/2013 01:40 PM, Tom Parrott wrote: > Hi, > > The company I work for would like to sponsor the development of a feature > to be able to cancel the leg_timeout during a bridge from a lua script > that is run on the b-leg as part of the group_confirm functions. > > I have opened an improvement request here: > > http://jira.freeswitch.org/browse/FS-4955 > > The reason we would like this feature is so that we can provide a "press 1 > to accept" feature to our callees, and when they press 1 proceed to play a > series of call announcements to them. > > The caller should continue to hear ring tones until the announcements are > finished, however the leg_timeout should be cancelled from the lua script, > maybe by setting a channel variable, e.g. cancel_timeout = 1 > > Thanks > Tom Parrott -------------- next part -------------- A non-text attachment was scrubbed... Name: cancel_leg_timeout.diff Type: text/x-patch Size: 1164 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20130104/0408c34a/attachment.bin From marketing at cluecon.com Mon Jan 7 20:56:08 2013 From: marketing at cluecon.com (Michael Collins) Date: Mon, 7 Jan 2013 09:56:08 -0800 Subject: [Freeswitch-dev] FreeSWITCH Weekly News and Notes Message-ID: Welcome to 2013! Things are slowly returning to normal now that we're past the holidays. We did manage to have community conference callsover the past few weeks. We spent most of our time going over some handy tips and tricks . We also discussed the new nested conditionsfeature. This week we will be having a community scrum and will be going over the status of the latest FreeSWITCH release. We will also be discussing a few ideas from the mailing list on how we might be able to get more volunteers working on Jiras. We would like to take a moment to say thanks to those who have made international DIDs available for the FreeSWITCH public conference. We now have DIDs for Australia, Germany, Israel, Spain, UK, and USA. The DIDs are listed on each conference call agenda page and there is a note as to who provided each DID. Thanks to all who have lent a hand. If you are in a position to provide a DID for other countries please contact me off list. Now that 2013 has hit we will be gearing up for the next ClueCon. There's only 210 days until ClueCon 2013! We will be sending out an official request for speaking proposals as well as contacting prospective event sponsors. We are looking forward to another great event. Have a great week! -- Michael S Collins ClueCon Team http://www.cluecon.com 877-7-4ACLUE -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20130107/d2fef704/attachment-0001.html From wangd at alongtechnology.com.cn Wed Jan 9 05:12:11 2013 From: wangd at alongtechnology.com.cn (=?gb2312?B?zfW1zw==?=) Date: Wed, 9 Jan 2013 10:12:11 +0800 Subject: [Freeswitch-dev] How to pause and resume play an audio file in conference? Message-ID: <201301091012101511509@alongtechnology.com.cn> How to pause and resume play an audio file in conference? For example: I create a conference room with some members, and play an audio file to them. When someone start-talking, I pause the playing. When nobody talking, I resume play the audio file. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20130109/e9f1ca7b/attachment.html From msc at freeswitch.org Wed Jan 9 19:42:40 2013 From: msc at freeswitch.org (Michael Collins) Date: Wed, 9 Jan 2013 08:42:40 -0800 Subject: [Freeswitch-dev] How to pause and resume play an audio file in conference? In-Reply-To: <201301091012101511509@alongtechnology.com.cn> References: <201301091012101511509@alongtechnology.com.cn> Message-ID: As far as I know this can only be accomplished with an app that listens to events. In mod_conference you will see that there are start talk and stop talk events. If you monitor all conference members then you could pause/un-pause based on whether anyone was speaking. I recommend you read up on ESLand mod_conference on the wiki as a starting point. -MC On Tue, Jan 8, 2013 at 6:12 PM, ?? wrote: > ** > How to pause and resume play an audio file in conference? For example: I > create a conference room with some members, and play an audio file to them. > When someone start-talking, I pause the playing. When nobody talking, I > resume play the audio file. > > _________________________________________________________________________ > 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 > > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20130109/c204c292/attachment.html From msc at freeswitch.org Wed Jan 9 19:53:47 2013 From: msc at freeswitch.org (Michael Collins) Date: Wed, 9 Jan 2013 08:53:47 -0800 Subject: [Freeswitch-dev] FreeSWITCH Weekly Conference Call Message-ID: Hello all! Today's conference call agenda is here: http://wiki.freeswitch.org/wiki/FS_weekly_2013_01_09 We are going to be doing some community discussions on a few items such as the status of 1.2.6 and some ideas on how to assist with handling the load of Jira's. Talk to you shortly! -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20130109/5e63d0bc/attachment.html From msc at freeswitch.org Thu Jan 10 00:34:02 2013 From: msc at freeswitch.org (Michael Collins) Date: Wed, 9 Jan 2013 13:34:02 -0800 Subject: [Freeswitch-dev] New FreeSWITCH sound prompts Message-ID: Hello all! I'm preparing a new order for English sound prompts. If you any thoughts about what is missing please let me know. For those who may be new to the project, the sound files are all documented in $fs_src/docs/phrase/phrase_en.xml. There are other documents in there as well for the other languages. Feel free to translate our prompts into your favorite tongue! The order will go in Monday the 14th by end of the day. Thanks! -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20130109/392c58ca/attachment.html From v.kovalyshyn at gmail.com Fri Jan 11 10:03:24 2013 From: v.kovalyshyn at gmail.com (=?UTF-8?B?0JLRltGC0LDQu9GW0Lkg0JrQvtCy0LDQu9C40YjQuNC9?=) Date: Fri, 11 Jan 2013 09:03:24 +0200 Subject: [Freeswitch-dev] FreeSWITCH and native PostgreSQL in the core on Windows Message-ID: Hello All! Does FreeSWITCH support PostgreSQL in the core on Windows? Or it's only on Linux: http://wiki.freeswitch.org/wiki/PostgreSQL_in_the_core Thanks! -- Vitaly Kovalyshyn http://vk.it-sfera.com.ua/ http://wiki.webitel.com/ Twitter: @kovalyshyn -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20130111/fb0c714a/attachment.html From peter.olsson at visionutveckling.se Fri Jan 11 10:26:22 2013 From: peter.olsson at visionutveckling.se (Peter Olsson) Date: Fri, 11 Jan 2013 07:26:22 +0000 Subject: [Freeswitch-dev] FreeSWITCH and native PostgreSQL in the core on Windows Message-ID: <1FFF97C269757C458224B7C895F35F151FDE0C@cantor.std.visionutv.se> I believe this is only on Linux today. If you want it supported for Windows as well, please open a Jira ? that?s a good start. And if you have any development skills, a patch is very welcome! /Peter Fr?n: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] F?r ??????? ????????? Skickat: den 11 januari 2013 08:03 Till: freeswitch-dev at lists.freeswitch.org ?mne: [Freeswitch-dev] FreeSWITCH and native PostgreSQL in the core on Windows Hello All! Does FreeSWITCH support PostgreSQL in the core on Windows? Or it's only on Linux: http://wiki.freeswitch.org/wiki/PostgreSQL_in_the_core Thanks! -- Vitaly Kovalyshyn http://vk.it-sfera.com.ua/ http://wiki.webitel.com/ Twitter: @kovalyshyn !DSPAM:50efb61532764171914236! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20130111/82122058/attachment-0001.html From william.suffill at gmail.com Sun Jan 13 21:41:25 2013 From: william.suffill at gmail.com (William Suffill) Date: Sun, 13 Jan 2013 13:41:25 -0500 Subject: [Freeswitch-dev] GitHub Message-ID: Noticing issues being opened on GitHub instead of the project's JIRA. I just replied to the most recent one. "Freeswitch still doesn't actively used Github. Please open a ticket @ jira.freeswitch.org and then it will be reviewed by the core developers. Freeswitch was only added to Github as a mirror of the project's git.freeswitch.org repo's that have JIRA [jira.freeswitch.org] & Fisheye [ fisheye.freeswitch.org] for reporting issues and viewing code respectfully." https://github.com/FreeSWITCH/FreeSWITCH/pull/10 I'm wondering if it would be best to see how GitHub handles other open source projects that are only mirrors of repositories elsewhere. I mean we really don't need another place for issues to be open. I personally like to be able to follow what happens with FreeSWITCH on GitHub along with other projects I follow. I also know any issues shouldn't be reported there tho. Otherwise should we give someone access to reply to these requests like I did above and close them? Few Pull Requests open and a few issues. -- W -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20130113/f1ec7404/attachment.html From tomp at tomp.co.uk Mon Jan 14 23:32:14 2013 From: tomp at tomp.co.uk (Tom Parrott) Date: Mon, 14 Jan 2013 20:32:14 +0000 Subject: [Freeswitch-dev] Ability to cancel leg_timeout when using group_confirm from b-leg (fund) In-Reply-To: <50E76BBD.8090105@tomp.co.uk> References: <20ee560f86bc18c3d2f6f987ce89c3dc.squirrel@my.netvps.co.uk> <50E76BBD.8090105@tomp.co.uk> Message-ID: <50F46B4E.4010303@tomp.co.uk> Hi All, Is there anybody out there willing to supply feedback to my patch? I would love to start contributing to Freeswitch, but am finding it hard going to get any interaction with the project. I have opened an improvement issue in Jira with a patch. http://jira.freeswitch.org/browse/FS-4955 But it seems to have fallen by the way side. I realise that the core devs are very busy, I tried to make it as easy to assess by following the instructions on the wiki for creating a git patch. Just wondering if anybody else has had any luck getting patches assessed/merged, and how long the average wait is...maybe I am being impatient. Thanks Tom On 01/04/2013 11:54 PM, Tom Parrott wrote: > Hi All, > > I have had a stab at fixing this myself. > > Attached is the diff, as I am a novice C programmer I would appreciate > any feedback you have. > > It does seem to work well though! :) > > Thanks > Tom > > On 01/03/2013 01:40 PM, Tom Parrott wrote: >> Hi, >> >> The company I work for would like to sponsor the development of a >> feature >> to be able to cancel the leg_timeout during a bridge from a lua script >> that is run on the b-leg as part of the group_confirm functions. >> >> I have opened an improvement request here: >> >> http://jira.freeswitch.org/browse/FS-4955 >> >> The reason we would like this feature is so that we can provide a >> "press 1 >> to accept" feature to our callees, and when they press 1 proceed to >> play a >> series of call announcements to them. >> >> The caller should continue to hear ring tones until the announcements >> are >> finished, however the leg_timeout should be cancelled from the lua >> script, >> maybe by setting a channel variable, e.g. cancel_timeout = 1 >> >> Thanks >> Tom Parrott > From tomp at tomp.co.uk Tue Jan 15 00:43:01 2013 From: tomp at tomp.co.uk (Tom Parrott) Date: Mon, 14 Jan 2013 21:43:01 +0000 Subject: [Freeswitch-dev] Github tags Message-ID: <50F47BE5.4050302@tomp.co.uk> Hi, Is it possible to get the tag branches pushed to the github mirror as well? https://github.com/FreeSWITCH/FreeSWITCH Thanks Tom From msc at freeswitch.org Tue Jan 15 01:29:26 2013 From: msc at freeswitch.org (Michael Collins) Date: Mon, 14 Jan 2013 14:29:26 -0800 Subject: [Freeswitch-dev] FreeSWITCH Weekly News and Notes Message-ID: Greetings! It has been a light week when it comes to news items. However, the FreeSWITCH team has been working hard on bug fixes and various projects. More information on those will come out once the details are available. Last week we had a community discussion on the weekly conference call, mostly discussing the ways that we can all help out with getting Jira's handled. Although we did not formally adopt the "Jira karma" idea we decided that we (as a project and community) would do our best to reward those who help out with bug marshaling, verifying, documenting, etc. Every little bit helps. To that end this weekwe will be spending some time as a group going over a few selected bugs and as a group trying our best to figure what's going on. Ken and Brian will supply us with a few bugs to tackle. Oh, and if you use Cisco phones, please be very careful ! -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20130114/1681fbaf/attachment.html From rentmycoder at gmail.com Wed Jan 16 14:43:55 2013 From: rentmycoder at gmail.com (rentmycoder rentmycoder) Date: Wed, 16 Jan 2013 12:43:55 +0100 Subject: [Freeswitch-dev] limit memory usage of freeswitch Message-ID: *Hi All,****According to my experineces and some info found on FS lists it is the**normal behaviour that freeswitch eats up all of the available memory...**It's not a memory leak, but the standard behaviour of FS by design...**Correct me if I'm wrong...* *Is there any way to limit FS memory usage???*** *I need another services to run on the FS box...* * * *According to the answer on the users list, there is no built in way to limit the usage...* *I'm going to add this feature request to fs and add as an option to freeswitch.conf.xml* *Maybe I have to just modify the function where FS asks for available system memory...*** *** Can anyone advice me a direction, how to code it? **Thanks, **John* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20130116/c451aee0/attachment.html From krice at freeswitch.org Wed Jan 16 18:59:41 2013 From: krice at freeswitch.org (Ken Rice) Date: Wed, 16 Jan 2013 09:59:41 -0600 Subject: [Freeswitch-dev] limit memory usage of freeswitch In-Reply-To: Message-ID: FreeSWITCH doesn?t eat up all the memory... It just eats up what it needs and just doesn?t give it back.... The question is how many concurrent calls are you actually doing? Freeswitch will allocate as much ram as it needs to an upper limit based on max peak concurrent calls, then plateau there and not release that ram until you restart FreeSWITCH.... I have many boxes running high volumes of FreeSWITCH traffic w/ 4 to 8G of ram, and have secondary processes on those boxes that can use up to 2G of ram and don?t have ram issues.... K On 1/16/13 5:43 AM, "rentmycoder rentmycoder" wrote: > Hi All, > > According to my experineces and some info found on FS lists it is the > normal behaviour that freeswitch eats up all of the available memory... > It's not a memory leak, but the standard behaviour of FS by design... > Correct me if I'm wrong... > Is there any way to limit FS memory usage??? > I need another services to run on the FS box... > > According to the answer on the users list, there is no built in way to limit > the usage... > I'm going to add this feature request to fs and add as an option to > freeswitch.conf.xml > > Maybe I have to just modify the function where FS asks for available system > memory... > Can anyone advice me a direction, how to code it? > > Thanks, > John > > > _________________________________________________________________________ > 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 -- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20130116/8a066bd3/attachment.html From james at freedomnet.co.nz Wed Jan 16 19:04:05 2013 From: james at freedomnet.co.nz (james jones) Date: Wed, 16 Jan 2013 11:04:05 -0500 Subject: [Freeswitch-dev] limit memory usage of freeswitch In-Reply-To: References: Message-ID: I agree with Ken. That has been my similar experience. -James On Wed, Jan 16, 2013 at 10:59 AM, Ken Rice wrote: > FreeSWITCH doesn?t eat up all the memory... It just eats up what it > needs and just doesn?t give it back.... > > The question is how many concurrent calls are you actually doing? > Freeswitch will allocate as much ram as it needs to an upper limit based on > max peak concurrent calls, then plateau there and not release that ram > until you restart FreeSWITCH.... > > I have many boxes running high volumes of FreeSWITCH traffic w/ 4 to 8G of > ram, and have secondary processes on those boxes that can use up to 2G of > ram and don?t have ram issues.... > > K > > > > > On 1/16/13 5:43 AM, "rentmycoder rentmycoder" > wrote: > > *Hi All, > > According to my experineces and some info found on FS lists it is the > normal behaviour that freeswitch eats up all of the available memory... > It's not a memory leak, but the standard behaviour of FS by design... > Correct me if I'm wrong... > * > *Is there any way to limit FS memory usage??? > I need another services to run on the FS box... > > According to the answer on the users list, there is no built in way to > limit the usage... > I'm going to add this feature request to fs and add as an option to > freeswitch.conf.xml > * > > *Maybe I have to just modify the function where FS asks for available > system memory... > Can anyone advice me a direction, how to code it? > > Thanks, > John > * > ------------------------------ > _________________________________________________________________________ > 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 > > > -- > Ken > *http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org > *irc.freenode.net #freeswitch > > _________________________________________________________________________ > 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/20130116/06b9350c/attachment-0001.html From msc at freeswitch.org Wed Jan 16 20:45:37 2013 From: msc at freeswitch.org (Michael Collins) Date: Wed, 16 Jan 2013 09:45:37 -0800 Subject: [Freeswitch-dev] FreeSWITCH Community Conference Call Today Message-ID: Hello all! Today's conference call agenda is here: http://wiki.freeswitch.org/wiki/FS_weekly_2013_01_16 We have updates on FreeSWITCH 1.2.6, the new FreeSWITCH book, and ClueCon 2012 videos. We are also going to discuss some techniques for how to validate bugs and update Jira tickets with the information. Also, if anyone is familiar with git bisect we would like to invite you to spend a few minutes giving us some pointers as that is a very useful tool for locating the commit that "broke something." Talk to you shortly! -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20130116/326862ff/attachment.html From rentmycoder at gmail.com Thu Jan 17 00:32:49 2013 From: rentmycoder at gmail.com (rentmycoder rentmycoder) Date: Wed, 16 Jan 2013 22:32:49 +0100 Subject: [Freeswitch-dev] limit memory usage of freeswitch Message-ID: The question is how many concurrent calls are you actually doing? I'm using a test system, inteconnect two FS boxes via sip, and start 50 concurent calls... Average call duration is 45 sec, a random number between 30-60sec... The dialplan does not do nothing special, just a streamfile action... After a night FS 1.2.5.3 eats up all the 900Mb ram of the system... The same test using Asterisk 1.8 eats up 50Mb... Is this normal? This means I cant use FS on a small virtual mashine vith 1GB ram together with other services on the same VM for a small company handling 30 concurrent calls... This is normal, or a memeory leak, or I make some mistake during testing? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20130116/89f3893b/attachment.html From moises.silva at gmail.com Thu Jan 17 02:27:30 2013 From: moises.silva at gmail.com (Moises Silva) Date: Wed, 16 Jan 2013 18:27:30 -0500 Subject: [Freeswitch-dev] limit memory usage of freeswitch In-Reply-To: References: Message-ID: On Wed, Jan 16, 2013 at 10:59 AM, Ken Rice wrote: > FreeSWITCH doesn?t eat up all the memory... It just eats up what it > needs and just doesn?t give it back.... > On top of that, even giving it back via free() may not make much of a difference. For any Linux process, even after doing free() in a memory block, there is no guarantee that libc will return the memory to the operating system, and in most practical cases most likely does not, but rather keep it as a free chunk in their own pool for the next malloc request. For libc to return it it probably has to fulfill a bunch of requirements (full page 4k returned etc) which are rarely, if ever, met. *Moises Silva **Manager, Software Engineering*** msilva at sangoma.com Sangoma Technologies 100 Renfrew Drive, Suite 100, Markham, ON L3R 9R6 Canada t. +1 800 388 2475 (N. America) t. +1 905 474 1990 x128 f. +1 905 474 9223 ** Products | Solutions | Events | Contact | Wiki | Facebook | Twitter`| | YouTube -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20130116/130bf23e/attachment.html From anthony.minessale at gmail.com Thu Jan 17 04:03:12 2013 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 16 Jan 2013 19:03:12 -0600 Subject: [Freeswitch-dev] limit memory usage of freeswitch In-Reply-To: References: Message-ID: no its not normal. On Wed, Jan 16, 2013 at 3:32 PM, rentmycoder rentmycoder < rentmycoder at gmail.com> wrote: > The question is how many concurrent calls are you actually doing? > > I'm using a test system, inteconnect two FS boxes via sip, and start 50 > concurent calls... > Average call duration is 45 sec, a random number between 30-60sec... > The dialplan does not do nothing special, just a streamfile action... > > After a night FS 1.2.5.3 eats up all the 900Mb ram of the system... > The same test using Asterisk 1.8 eats up 50Mb... > > Is this normal? > This means I cant use FS on a small virtual mashine vith 1GB ram together > with other services on the same VM for a small company handling 30 > concurrent calls... > > This is normal, or a memeory leak, or I make some mistake during testing? > > > > > > > > _________________________________________________________________________ > 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 > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20130116/d5f5ca30/attachment.html From davidjbrazier at gmail.com Thu Jan 17 03:57:25 2013 From: davidjbrazier at gmail.com (David Brazier) Date: Thu, 17 Jan 2013 00:57:25 +0000 Subject: [Freeswitch-dev] transfer_history performance Message-ID: Hi Our application makes use of long-running calls with a lot of diaplan transfers to bridge them to other calls, put them on hold etc. We've noticed a slow down in performance (high CPU, audio dropped, delayed) after several hours. I can reproduce it with some dialplan that does 1000 transfers: and then originate user/1000 test_transfer XML blah On a Windows laptop (git head) it slows down to more than 1 sec per iteration after it gets past 800, on a bigger Linux server (FS 1.2.5.1) it gets a bit futher but not much. On a server with an old version (git-1086cba 2011-05-23 22-51-43 -0500) it zips through to the end with no slow down. If you put the info call in you can see that variable_transfer_history is growing, and I think this is the source of the problem - this variable is missing from the older version but the newer ones are apparently appending to it on each iteration which becomes a very expensive operation. I'll raise a Jira. Any suggestion for a workaround? (Apart from rewriting our dialplan!) David -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20130117/fc9b86b2/attachment-0001.html From krice at freeswitch.org Thu Jan 17 04:41:19 2013 From: krice at freeswitch.org (Ken Rice) Date: Wed, 16 Jan 2013 19:41:19 -0600 Subject: [Freeswitch-dev] limit memory usage of freeswitch In-Reply-To: Message-ID: Can you run FreeSWITCH doing the same test under valgrind then post the results? If you need help doing this find me (SwK) on the IRC channel On 1/16/13 7:03 PM, "Anthony Minessale" wrote: > no its not normal. > > > On Wed, Jan 16, 2013 at 3:32 PM, rentmycoder rentmycoder > wrote: >> The question is how many concurrent calls are you actually doing? >> I'm using a test system, inteconnect two FS boxes via sip, and start 50 >> concurent calls... >> Average call duration is 45 sec, a random number between 30-60sec...? >> The dialplan does not do nothing special, just a streamfile action... >> >> After a night FS 1.2.5.3 eats up all the 900Mb ram of the system... >> The same test using Asterisk 1.8 eats up 50Mb... >> >> Is this normal? >> This means I cant use FS on a small virtual mashine vith 1GB ram together >> with other services on the same VM for a small company handling 30 concurrent >> calls... >> >> This is normal, or a memeory leak, or I make some mistake during testing? >> >> >> >> >> >> >> >> _________________________________________________________________________ >> 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 >> > > -- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20130116/59f3d7a9/attachment.html From davidjbrazier at gmail.com Thu Jan 17 13:21:09 2013 From: davidjbrazier at gmail.com (David Brazier) Date: Thu, 17 Jan 2013 10:21:09 +0000 Subject: [Freeswitch-dev] Jira Login Message-ID: Very sorry, but I have forgotten my Jira password (username brazierd) and when I try to recover it, the email never arrives, not in spam/junk as far as I can see. I wanted to report the transfer_history problem. Could a kind admin reset it? Thanks David -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20130117/e0c068ad/attachment.html From davidjbrazier at gmail.com Thu Jan 17 13:48:37 2013 From: davidjbrazier at gmail.com (David Brazier) Date: Thu, 17 Jan 2013 10:48:37 +0000 Subject: [Freeswitch-dev] transfer_history performance In-Reply-To: References: Message-ID: Hi again A bit more information on reproducing it: each call using test_transfer will fully occupy one CPU, so on a 4 core machine you need to start 4 of these calls to tie it up, then audio on other calls is broken or completely stopped, CLI stops responding etc. As a workaround I have commented out from switch_ivr.c line 1808 near end of switch_ivr_session_transfer: /*switch_channel_add_variable_var_check(channel, SWITCH_TRANSFER_HISTORY_VARIABLE, new_profile->transfer_source, SWITCH_FALSE, SWITCH_STACK_PUSH);*/ Of course that means transfer_history is no longer populated, but it does remove the performance problem, the test_transfer calls now run through so fast I had to start the loop off at 9999 and although they do use a bit of CPU (it is a tight loop with no sleep/IO etc after all) 4 simultaneously do not tie up the server and other calls continue fine. I can think of a few more complete solutions: 1. Improve the performance of appending to variables with big values - I think this is ultimately done in switch_event_base_add_header in switch_event.c, though that looks like quite a complex function. In the end, repeated appending to long strings is never going to be efficient. 2. Maintain the transfer history as a stack/list/array structure and either render it to the variable string whenever it is changed (still expensive?) or generate the string only on demand - though I'm not sure how that would work with info, uuid_dump and verbose events in event sockets etc. 3. Allow channels to opt out of having transfer_history tracked, perhaps by setting it to "suppress" or "false", this could be checked before the line above. Would put the onus on the dialplan to know if it was going to do lots of transfers, but it would be backward-compatible with anyone who needs this variable. Out of interest why was it added? Once I have managed to log in to Jira I will raise all this there. Cheers David On Thu, Jan 17, 2013 at 12:57 AM, David Brazier wrote: > Hi > > Our application makes use of long-running calls with a lot of diaplan > transfers to bridge them to other calls, put them on hold etc. We've > noticed a slow down in performance (high CPU, audio dropped, delayed) after > several hours. I can reproduce it with some dialplan that does 1000 > transfers: > > > > > > > > > > > > > > > > > > > and then > > originate user/1000 test_transfer XML blah > > On a Windows laptop (git head) it slows down to more than 1 sec per > iteration after it gets past 800, on a bigger Linux server (FS 1.2.5.1) it > gets a bit futher but not much. On a server with an old version > (git-1086cba 2011-05-23 22-51-43 -0500) it zips through to the end with no > slow down. If you put the info call in you can see that > variable_transfer_history is growing, and I think this is the source of the > problem - this variable is missing from the older version but the newer > ones are apparently appending to it on each iteration which becomes a very > expensive operation. > > I'll raise a Jira. Any suggestion for a workaround? (Apart from rewriting > our dialplan!) > > David > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20130117/a47773cf/attachment.html From fdelawarde at wirelessmundi.com Thu Jan 17 14:25:12 2013 From: fdelawarde at wirelessmundi.com (=?ISO-8859-1?Q?Fran=E7ois?= Delawarde) Date: Thu, 17 Jan 2013 12:25:12 +0100 Subject: [Freeswitch-dev] transfer_history performance In-Reply-To: References: Message-ID: <1358421912.6955.73.camel@luna.madrid.commsmundi.com> Hi David, The "transfer" app is quite heavy to be chained 1000s of times as it does many things to keep track of what happened (handle max-fw, dup caller profile, history var, ...). You might end-up with other issues trying to scale, maybe disk bottleneck writing huge xml-cdr files, ... What about making your application use "execute_extension" instead? Note that I still vote yes for your optimization ideas! Fran?ois. On Thu, 2013-01-17 at 10:48 +0000, David Brazier wrote: > Hi again > > A bit more information on reproducing it: each call using > test_transfer will fully occupy one CPU, so on a 4 core machine you > need to start 4 of these calls to tie it up, then audio on other calls > is broken or completely stopped, CLI stops responding etc. As a > workaround I have commented out from switch_ivr.c line 1808 near end > of switch_ivr_session_transfer: > > /*switch_channel_add_variable_var_check(channel, > SWITCH_TRANSFER_HISTORY_VARIABLE, new_profile->transfer_source, > SWITCH_FALSE, SWITCH_STACK_PUSH);*/ > > Of course that means transfer_history is no longer populated, but it > does remove the performance problem, the test_transfer calls now run > through so fast I had to start the loop off at 9999 and although they > do use a bit of CPU (it is a tight loop with no sleep/IO etc after > all) 4 simultaneously do not tie up the server and other calls > continue fine. I can think of a few more complete solutions: > 1. Improve the performance of appending to variables with big > values - I think this is ultimately done in > switch_event_base_add_header in switch_event.c, though that > looks like quite a complex function. In the end, repeated > appending to long strings is never going to be efficient. > 2. Maintain the transfer history as a stack/list/array structure > and either render it to the variable string whenever it is > changed (still expensive?) or generate the string only on > demand - though I'm not sure how that would work with info, > uuid_dump and verbose events in event sockets etc. > 3. Allow channels to opt out of having transfer_history tracked, > perhaps by setting it to "suppress" or "false", this could be > checked before the line above. Would put the onus on the > dialplan to know if it was going to do lots of transfers, but > it would be backward-compatible with anyone who needs this > variable. Out of interest why was it added? > Once I have managed to log in to Jira I will raise all this there. > > Cheers > > David > > > On Thu, Jan 17, 2013 at 12:57 AM, David Brazier > wrote: > Hi > > Our application makes use of long-running calls with a lot of > diaplan transfers to bridge them to other calls, put them on > hold etc. We've noticed a slow down in performance (high CPU, > audio dropped, delayed) after several hours. I can reproduce > it with some dialplan that does 1000 transfers: > > > expression="^test_transfer$"> > > > > > > expression="^test_transfer_0$"> > > > > > expression="^test_transfer_(\d+)$"> > > > > > > and then > > originate user/1000 test_transfer XML blah > > On a Windows laptop (git head) it slows down to more than 1 > sec per iteration after it gets past 800, on a bigger Linux > server (FS 1.2.5.1) it gets a bit futher but not much. On a > server with an old version (git-1086cba 2011-05-23 22-51-43 > -0500) it zips through to the end with no slow down. If you > put the info call in you can see that > variable_transfer_history is growing, and I think this is the > source of the problem - this variable is missing from the > older version but the newer ones are apparently appending to > it on each iteration which becomes a very expensive > operation. > > I'll raise a Jira. Any suggestion for a workaround? (Apart > from rewriting our dialplan!) > > David > > > > > > > _________________________________________________________________________ > 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 From vipkilla at gmail.com Thu Jan 17 16:09:02 2013 From: vipkilla at gmail.com (Vik Killa) Date: Thu, 17 Jan 2013 08:09:02 -0500 Subject: [Freeswitch-dev] deliver_vm function in mod_voicemail.c does not pass all user's variables and parameters Message-ID: I'm experimenting with implementing a voicemail call page in mod_voicemail.c I have some semi-working test code, I'm stuck though, on the fact that the deliver_vm function does not get passed all of the mailbox user's domain variables and parameters. It only receives the specific user's variables and parameters. In my setup (and probably a lot of other setups) in order for a call to originate out a carrier you probably need some necessary directory variables (accountcode, default_areacode, etc...) I've been trying to hack a way to pass all the domain variables & parameters to deliver_vm (specifically in the voicemail_inject function) but I've gotten no where. I can see the parameters are passed using "switch_event_t *my_params" which apparently retrieves the data using 'switch_event_create(&my_params, SWITCH_EVENT_REQUEST_PARAMS);" I have no clue how this function works or if there is a way for SWITCH_EVENT_REQUEST_PARAMS to return ALL the user's (including the domain's) variables and parameters. Please help me so I can improve FreeSWITCH for everyone but adding this nice feature. Any tips or assistance would be greatly appreciated. Thank you again. Emmanuel From davidjbrazier at gmail.com Fri Jan 18 00:36:15 2013 From: davidjbrazier at gmail.com (David Brazier) Date: Thu, 17 Jan 2013 13:36:15 -0800 Subject: [Freeswitch-dev] transfer_history performance Message-ID: <-6926178561895596002@unknownmsgid> Fran?ois Thanks for the suggestion, will try re-working with execute_extension. David From: Fran?ois Delawarde Sent: 17/01/2013 11:26 To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] transfer_history performance Hi David, The "transfer" app is quite heavy to be chained 1000s of times as it does many things to keep track of what happened (handle max-fw, dup caller profile, history var, ...). You might end-up with other issues trying to scale, maybe disk bottleneck writing huge xml-cdr files, ... What about making your application use "execute_extension" instead? Note that I still vote yes for your optimization ideas! Fran?ois. On Thu, 2013-01-17 at 10:48 +0000, David Brazier wrote: > Hi again > > A bit more information on reproducing it: each call using > test_transfer will fully occupy one CPU, so on a 4 core machine you > need to start 4 of these calls to tie it up, then audio on other calls > is broken or completely stopped, CLI stops responding etc. As a > workaround I have commented out from switch_ivr.c line 1808 near end > of switch_ivr_session_transfer: > > /*switch_channel_add_variable_var_check(channel, > SWITCH_TRANSFER_HISTORY_VARIABLE, new_profile->transfer_source, > SWITCH_FALSE, SWITCH_STACK_PUSH);*/ > > Of course that means transfer_history is no longer populated, but it > does remove the performance problem, the test_transfer calls now run > through so fast I had to start the loop off at 9999 and although they > do use a bit of CPU (it is a tight loop with no sleep/IO etc after > all) 4 simultaneously do not tie up the server and other calls > continue fine. I can think of a few more complete solutions: > 1. Improve the performance of appending to variables with big > values - I think this is ultimately done in > switch_event_base_add_header in switch_event.c, though that > looks like quite a complex function. In the end, repeated > appending to long strings is never going to be efficient. > 2. Maintain the transfer history as a stack/list/array structure > and either render it to the variable string whenever it is > changed (still expensive?) or generate the string only on > demand - though I'm not sure how that would work with info, > uuid_dump and verbose events in event sockets etc. > 3. Allow channels to opt out of having transfer_history tracked, > perhaps by setting it to "suppress" or "false", this could be > checked before the line above. Would put the onus on the > dialplan to know if it was going to do lots of transfers, but > it would be backward-compatible with anyone who needs this > variable. Out of interest why was it added? > Once I have managed to log in to Jira I will raise all this there. > > Cheers > > David > > > On Thu, Jan 17, 2013 at 12:57 AM, David Brazier > wrote: > Hi > > Our application makes use of long-running calls with a lot of > diaplan transfers to bridge them to other calls, put them on > hold etc. We've noticed a slow down in performance (high CPU, > audio dropped, delayed) after several hours. I can reproduce > it with some dialplan that does 1000 transfers: > > > expression="^test_transfer$"> > > > > > > expression="^test_transfer_0$"> > > > > > expression="^test_transfer_(\d+)$"> > > > > > > and then > > originate user/1000 test_transfer XML blah > > On a Windows laptop (git head) it slows down to more than 1 > sec per iteration after it gets past 800, on a bigger Linux > server (FS 1.2.5.1) it gets a bit futher but not much. On a > server with an old version (git-1086cba 2011-05-23 22-51-43 > -0500) it zips through to the end with no slow down. If you > put the info call in you can see that > variable_transfer_history is growing, and I think this is the > source of the problem - this variable is missing from the > older version but the newer ones are apparently appending to > it on each iteration which becomes a very expensive > operation. > > I'll raise a Jira. Any suggestion for a workaround? (Apart > from rewriting our dialplan!) > > David > > > > > > > _________________________________________________________________________ > 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 From davidjbrazier at gmail.com Fri Jan 18 11:50:04 2013 From: davidjbrazier at gmail.com (David Brazier) Date: Fri, 18 Jan 2013 08:50:04 +0000 Subject: [Freeswitch-dev] transfer_history performance In-Reply-To: <-6926178561895596002@unknownmsgid> References: <-6926178561895596002@unknownmsgid> Message-ID: Raised http://jira.freeswitch.org/browse/FS-5036 - thanks - David On Thu, Jan 17, 2013 at 9:36 PM, David Brazier wrote: > Fran?ois > > Thanks for the suggestion, will try re-working with execute_extension. > > David > > > From: Fran?ois Delawarde > Sent: 17/01/2013 11:26 > To: freeswitch-dev at lists.freeswitch.org > Subject: Re: [Freeswitch-dev] transfer_history performance > Hi David, > > The "transfer" app is quite heavy to be chained 1000s of times as it > does many things to keep track of what happened (handle max-fw, dup > caller profile, history var, ...). You might end-up with other issues > trying to scale, maybe disk bottleneck writing huge xml-cdr files, ... > > What about making your application use "execute_extension" instead? Note > that I still vote yes for your optimization ideas! > > Fran?ois. > > > On Thu, 2013-01-17 at 10:48 +0000, David Brazier wrote: > > Hi again > > > > A bit more information on reproducing it: each call using > > test_transfer will fully occupy one CPU, so on a 4 core machine you > > need to start 4 of these calls to tie it up, then audio on other calls > > is broken or completely stopped, CLI stops responding etc. As a > > workaround I have commented out from switch_ivr.c line 1808 near end > > of switch_ivr_session_transfer: > > > > /*switch_channel_add_variable_var_check(channel, > > SWITCH_TRANSFER_HISTORY_VARIABLE, new_profile->transfer_source, > > SWITCH_FALSE, SWITCH_STACK_PUSH);*/ > > > > Of course that means transfer_history is no longer populated, but it > > does remove the performance problem, the test_transfer calls now run > > through so fast I had to start the loop off at 9999 and although they > > do use a bit of CPU (it is a tight loop with no sleep/IO etc after > > all) 4 simultaneously do not tie up the server and other calls > > continue fine. I can think of a few more complete solutions: > > 1. Improve the performance of appending to variables with big > > values - I think this is ultimately done in > > switch_event_base_add_header in switch_event.c, though that > > looks like quite a complex function. In the end, repeated > > appending to long strings is never going to be efficient. > > 2. Maintain the transfer history as a stack/list/array structure > > and either render it to the variable string whenever it is > > changed (still expensive?) or generate the string only on > > demand - though I'm not sure how that would work with info, > > uuid_dump and verbose events in event sockets etc. > > 3. Allow channels to opt out of having transfer_history tracked, > > perhaps by setting it to "suppress" or "false", this could be > > checked before the line above. Would put the onus on the > > dialplan to know if it was going to do lots of transfers, but > > it would be backward-compatible with anyone who needs this > > variable. Out of interest why was it added? > > Once I have managed to log in to Jira I will raise all this there. > > > > Cheers > > > > David > > > > > > On Thu, Jan 17, 2013 at 12:57 AM, David Brazier > > wrote: > > Hi > > > > Our application makes use of long-running calls with a lot of > > diaplan transfers to bridge them to other calls, put them on > > hold etc. We've noticed a slow down in performance (high CPU, > > audio dropped, delayed) after several hours. I can reproduce > > it with some dialplan that does 1000 transfers: > > > > > > > expression="^test_transfer$"> > > > > > > > > > > > > > expression="^test_transfer_0$"> > > > > > > > > > > > expression="^test_transfer_(\d+)$"> > > > > > > > > > > > > and then > > > > originate user/1000 test_transfer XML blah > > > > On a Windows laptop (git head) it slows down to more than 1 > > sec per iteration after it gets past 800, on a bigger Linux > > server (FS 1.2.5.1) it gets a bit futher but not much. On a > > server with an old version (git-1086cba 2011-05-23 22-51-43 > > -0500) it zips through to the end with no slow down. If you > > put the info call in you can see that > > variable_transfer_history is growing, and I think this is the > > source of the problem - this variable is missing from the > > older version but the newer ones are apparently appending to > > it on each iteration which becomes a very expensive > > operation. > > > > I'll raise a Jira. Any suggestion for a workaround? (Apart > > from rewriting our dialplan!) > > > > David > > > > > > > > > > > > > > _________________________________________________________________________ > > 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/20130118/5c0cb4fd/attachment.html From mbrancaleoni at voismart.it Mon Jan 21 12:40:23 2013 From: mbrancaleoni at voismart.it (Matteo) Date: Mon, 21 Jan 2013 10:40:23 +0100 (CET) Subject: [Freeswitch-dev] mod_spandsp load fails on raspbian (raspberry-pi) In-Reply-To: <149619874.6124.1358759984344.JavaMail.root@voismart.it> Message-ID: <804133720.6502.1358761222975.JavaMail.root@voismart.it> Hi, I've had some issue into loading mod_spandsp on Raspbian ( version 2012-12-16-wheezy-raspbian ) on a raspberry pi hw. freeswitch compiled fine, but when loading mod_spandsp failed with error: mod_spandsp.so: undefined symbol: lzma_stream_decoder** after some investigation the culprit seems the build process of fs shipped tiff lib, which includes the lzma libs (present on raspbian) but at load fails finding symbols. similar issue for jbig. So I manually reconfigured fs tiff lib adding the flags --disable-jbig --disable-lzma , then rebuilt mod_spandsp itself and everything started ok. don't know if something is wrong in lzma/jbig shipped libs on raspbian, or something wrong into the tiff linking process, that's why I'm posting here and not on jira (yet) Any idea / experience about that? my raspbian installed package list is here: http://pastebin.freeswitch.org/20474 regards, matteo. From manieq at wp.eu Mon Jan 21 19:02:55 2013 From: manieq at wp.eu (Mariusz Czulada) Date: Mon, 21 Jan 2013 17:02:55 +0100 Subject: [Freeswitch-dev] Odp: Re: Conference CDRs via http Message-ID: <50fd66afe0bac1.87509584@wp.pl> Hi, I just created an iisue (FS-5042) with a patch for CDR events from mod_conferences. Any feedback appreciated. Mariusz Dnia Wtorek, 4 Grudnia 2012 02:00 Anthony Minessale napisa?(a) > I have no had time to do it but if you want to start a patch I can work on getting it in. > > > On Mon, Dec 3, 2012 at 6:56 PM, Seven Du wrote: > > Any update on this? > > How about just fire a SWITCH_EVENT_CDR with raw event headers so mod like mod_cdr_pg_csv can listen to it and write to db without parsing back the XML? > > Thanks. > > -- Seven DuSent with Sparrow > > On Tuesday, June 12, 2012 at 10:31 AM, Anthony Minessale wrote: > > > B is the right choice. > > > The size of the body has no limit. > > > How bout, if a certian header exists in the event with a local file path, then the the mod opens the referenced file for delivery; Otherwise it uses the body if it exists. > > > > > > On Jun 11, 2012 8:39 PM, "Mariusz Czulada" wrote: > > > > Hi all, > > > > > > > > I was thinking about sending CDRs via HTTP in a same or similar way mod_xml_cdr does. I consider implementing this (unless someone else is working on it) but first wanted to discuss with you the best approach. > > > > > > > > > > > > A. All in mod_conference > > > > > > > > This would require to copy many fragments of code from mod_xml_cdr into mod_conference. Also same configuration parameters used in xml_cdr must be processed and used for sending data. The advantage for this solution is that everything related to this mechanism is included in this module. Drawback: if something in mod_xml_cdr requires fixing or extending, probably the same changes should by applied in related parts of mod_conference. > > > > > > > > > > > > B. mod_conference builds, mod_xml_cdr sends data > > > > > > > > For this solution I'll give more details. > > > > 1. New event type should be added (like SWITCH_EVENT_CDR) > > > > 2. When a module (in this case: mod_conference) wants to store CDR via HTTP it must fire an event of that type and: > > > > - "Event-Subclass" set (like "conference") > > > > - Only common headers are needed, plus... > > > > - "Content-Type" and "Content-Length" must be set > > > > - CDR data must be build as XML in a module and added as an event content. > > > > 3. mod_xml_cdr will listen to this event type. > > > > 4. For each event subclass which mod_xml_cdr must must react, configuration file will contain a set of params same as for generic channel CDRs. > > > > 5. If subclass matches configuration, mod_xml_cdr reads data from event content and sends them according to configuration. > > > > > > > > Changes in mod_conference: > > > > - one new parameter for each profile (like "cdr-via-event=yes|no") > > > > - if "yes" then xml must be build even if "cdr-log-dir" is unset > > > > - if "yes", then an event must be fired as described above > > > > > > > > Changes in mod_xml_cdr: > > > > - extra parameters from configuration to be parsed (like '....') > > > > - bind to SWITCH_EVENT_CDR > > > > - if 'Event-Subclass' matches configuration, a content of the event will be sent via HTTP (probably most of 'my_on_report' routine bellow 'try to post it to the web server' comment will be reused) > > > > > > > > A [small] drawback is that it makes an indirect module dependency, but we already have such situations (like mod_shout needed to record a conference in mp3). > > > > > > > > Advantages are: > > > > - one can create an external tool for handling this type of event (to store it directly in db or send it with other protocols) > > > > - this mechanism can be easily reused in other modules if needed; maybe in mod_callcenter, maybe in other components. No further changes in mod_xml_cdr should be needed. > > > > > > > > What is unknown to me is a maximum size of event content. Conference CDR XMLs can be quite big - will it be a problem to send it this way? > > > > > > > > > > > > I think the second solution is better and more universal but I'd like to hear your opinions about this case. > > > > > > > > Regards, > > > > > > > > Mariusz > > > > > > > > > > > > > > > > > > > > _________________________________________________________________________ > > > > 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 > > > > > > > > Join Us At ClueCon - Aug 7-9, 2012 > > > > > > > > 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.orghttp://www.freeswitchsolutions.com > > > > > > Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com > > > Join Us At ClueCon - Aug 7-9, 2012 > > > FreeSWITCH-dev mailing listFreeSWITCH-dev at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-devUNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-devhttp://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 > > > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > Twitter: http://twitter.com/FreeSWITCH_wire > > AIM: anthm > MSN:anthony_minessale at hotmail.com > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 From msc at freeswitch.org Mon Jan 21 22:42:42 2013 From: msc at freeswitch.org (Michael Collins) Date: Mon, 21 Jan 2013 11:42:42 -0800 Subject: [Freeswitch-dev] FreeSWITCH Weekly News and Notes Message-ID: Hello to our great OSS community! We are happy to report that the first ClueCon 2012 videos have been posted to our YouTube channel ! The first talks posted are: * I'm Living In The Wrong Future!- Dr. Moshe Yudkowsky * ClueCon 2012 Keynote Address - Anthony Minessale This week we will be posting a few more videos from day one of ClueCon 2012. Join this week's conference call or subscribe to our YouTube channel to find out which videos are uploaded next. Now that calendar year 2013 is in full swing we are making plans for ClueCon 2013, which will be held on August 6-8, 2013. Once again we'll be at the Hyatt Chicago Magnificent Mile . Stay tuned for more information about this year's event. The development team has been working hard on some cool new things which will be announced in due course. In the meantime Ken Rice is working very hard on getting FreeSWITCH 1.2.6 ready for final release. If you have a sandbox system that you can use to test the latest git HEAD please do so. Also, feel free to visit our bug tracker and see if there are any bugs that you can fix or verify as was discussed on last week's conference call. This week we will be having an open discussionon topics that are dear to you. Please bring your questions for discussion and any tips and tricks that you'd like to share with the community. Have a great week! -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20130121/8c06feb3/attachment.html From janvb at live.com Mon Jan 21 23:06:30 2013 From: janvb at live.com (Jan Berger) Date: Mon, 21 Jan 2013 21:06:30 +0100 Subject: [Freeswitch-dev] mod_spandsp load fails on raspbian (raspberry-pi) In-Reply-To: <804133720.6502.1358761222975.JavaMail.root@voismart.it> References: <149619874.6124.1358759984344.JavaMail.root@voismart.it>, <804133720.6502.1358761222975.JavaMail.root@voismart.it> Message-ID: Just curious - why would you use SpanDSP on Raspberry PI in the first place ? Do you have any line interface hardware on the PI? /j > Date: Mon, 21 Jan 2013 10:40:23 +0100 > From: mbrancaleoni at voismart.it > To: freeswitch-dev at lists.freeswitch.org > Subject: [Freeswitch-dev] mod_spandsp load fails on raspbian (raspberry-pi) > > Hi, > > I've had some issue into loading mod_spandsp on Raspbian > ( version 2012-12-16-wheezy-raspbian ) on a raspberry pi hw. > > freeswitch compiled fine, but when loading mod_spandsp failed with error: > > mod_spandsp.so: undefined symbol: lzma_stream_decoder** > > after some investigation the culprit seems the build process > of fs shipped tiff lib, which includes the lzma libs (present > on raspbian) but at load fails finding symbols. > > similar issue for jbig. > > So I manually reconfigured fs tiff lib adding the flags > --disable-jbig --disable-lzma , then rebuilt mod_spandsp itself > and everything started ok. > > don't know if something is wrong in lzma/jbig shipped libs > on raspbian, or something wrong into the tiff linking process, > that's why I'm posting here and not on jira (yet) > > Any idea / experience about that? > > my raspbian installed package list is here: > http://pastebin.freeswitch.org/20474 > > regards, > matteo. > > _________________________________________________________________________ > 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/20130121/a884620a/attachment.html From kris at kriskinc.com Tue Jan 22 01:32:34 2013 From: kris at kriskinc.com (Kristian Kielhofner) Date: Mon, 21 Jan 2013 17:32:34 -0500 Subject: [Freeswitch-dev] mod_spandsp load fails on raspbian (raspberry-pi) In-Reply-To: References: <149619874.6124.1358759984344.JavaMail.root@voismart.it> <804133720.6502.1358761222975.JavaMail.root@voismart.it> Message-ID: spandsp is used in many, many, many places that have nothing to do with line interface hardware. It's perfectly relavant for the Raspberry Pi. On Mon, Jan 21, 2013 at 3:06 PM, Jan Berger wrote: > Just curious - why would you use SpanDSP on Raspberry PI in the first place > ? Do you have any line interface hardware on the PI? > > /j >> Date: Mon, 21 Jan 2013 10:40:23 +0100 >> From: mbrancaleoni at voismart.it >> To: freeswitch-dev at lists.freeswitch.org >> Subject: [Freeswitch-dev] mod_spandsp load fails on raspbian >> (raspberry-pi) > >> >> Hi, >> >> I've had some issue into loading mod_spandsp on Raspbian >> ( version 2012-12-16-wheezy-raspbian ) on a raspberry pi hw. >> >> freeswitch compiled fine, but when loading mod_spandsp failed with error: >> >> mod_spandsp.so: undefined symbol: lzma_stream_decoder** >> >> after some investigation the culprit seems the build process >> of fs shipped tiff lib, which includes the lzma libs (present >> on raspbian) but at load fails finding symbols. >> >> similar issue for jbig. >> >> So I manually reconfigured fs tiff lib adding the flags >> --disable-jbig --disable-lzma , then rebuilt mod_spandsp itself >> and everything started ok. >> >> don't know if something is wrong in lzma/jbig shipped libs >> on raspbian, or something wrong into the tiff linking process, >> that's why I'm posting here and not on jira (yet) >> >> Any idea / experience about that? >> >> my raspbian installed package list is here: >> http://pastebin.freeswitch.org/20474 >> >> regards, >> matteo. >> >> _________________________________________________________________________ >> 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 > -- Kristian Kielhofner From mbrancaleoni at voismart.it Tue Jan 22 11:16:10 2013 From: mbrancaleoni at voismart.it (Matteo) Date: Tue, 22 Jan 2013 09:16:10 +0100 (CET) Subject: [Freeswitch-dev] mod_spandsp load fails on raspbian (raspberry-pi) In-Reply-To: Message-ID: <386413937.2934.1358842570702.JavaMail.root@voismart.it> Hi, ----- Messaggio originale ----- > > > Just curious - why would you use SpanDSP on Raspberry PI in the first > place ? Do you have any line interface hardware on the PI? > > /j for faxing :) a simple pbx for home where I can detect fax tones and switch to rxfax instead of ringing local extensions. using an external ata, of course. matteo From msc at freeswitch.org Wed Jan 23 20:16:04 2013 From: msc at freeswitch.org (Michael Collins) Date: Wed, 23 Jan 2013 09:16:04 -0800 Subject: [Freeswitch-dev] FreeSWITCH Community Conference Call Today Message-ID: Hello folks, On today's call we have a few news items to discuss, after which we will have an open forum for Q&A on FreeSWITCH topics. The agenda is here: http://wiki.freeswitch.org/wiki/FS_weekly_2013_01_23 Talk to you soon! -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20130123/93c37bf1/attachment.html From janvb at live.com Thu Jan 24 00:20:40 2013 From: janvb at live.com (Jan Berger) Date: Wed, 23 Jan 2013 22:20:40 +0100 Subject: [Freeswitch-dev] mod_spandsp load fails on raspbian (raspberry-pi) In-Reply-To: <386413937.2934.1358842570702.JavaMail.root@voismart.it> References: , <386413937.2934.1358842570702.JavaMail.root@voismart.it> Message-ID: http://www.ebay.com/itm/SpoTel-mini-ip-Asterisk-PBX-phone-system-16GB-Flash-SIP-server-WORLD-SMALLEST-/170923637881?pt=Phone_Switching_Systems&hash=item27cbd7bc79 You could buy that one :) Sorry for the spam - but 250.- for a Raspberry PI running Asterisk amused me :). /J > Date: Tue, 22 Jan 2013 09:16:10 +0100 > From: mbrancaleoni at voismart.it > To: freeswitch-dev at lists.freeswitch.org > Subject: Re: [Freeswitch-dev] mod_spandsp load fails on raspbian (raspberry-pi) > > Hi, > > ----- Messaggio originale ----- > > > > > > Just curious - why would you use SpanDSP on Raspberry PI in the first > > place ? Do you have any line interface hardware on the PI? > > > > /j > > for faxing :) > a simple pbx for home where I can detect fax tones and switch > to rxfax instead of ringing local extensions. > > using an external ata, of course. > > matteo > > _________________________________________________________________________ > 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/20130123/addb8668/attachment-0001.html From kris at kriskinc.com Thu Jan 24 06:51:14 2013 From: kris at kriskinc.com (Kristian Kielhofner) Date: Wed, 23 Jan 2013 22:51:14 -0500 Subject: [Freeswitch-dev] mod_spandsp load fails on raspbian (raspberry-pi) In-Reply-To: References: <386413937.2934.1358842570702.JavaMail.root@voismart.it> Message-ID: WORLDS SMALLEST IP PBX! Except that I had Asterisk running on a Gumstix. In 2005. http://www.linuxfordevices.com/c/a/News/Worlds-smallest-VoIP-PBX/ On Wed, Jan 23, 2013 at 4:20 PM, Jan Berger wrote: > http://www.ebay.com/itm/SpoTel-mini-ip-Asterisk-PBX-phone-system-16GB-Flash-SIP-server-WORLD-SMALLEST-/170923637881?pt=Phone_Switching_Systems&hash=item27cbd7bc79 > > You could buy that one :) > > Sorry for the spam - but 250.- for a Raspberry PI running Asterisk amused me > :). > > /J > >> Date: Tue, 22 Jan 2013 09:16:10 +0100 >> From: mbrancaleoni at voismart.it >> To: freeswitch-dev at lists.freeswitch.org >> Subject: Re: [Freeswitch-dev] mod_spandsp load fails on raspbian >> (raspberry-pi) > >> >> Hi, >> >> ----- Messaggio originale ----- >> > >> > >> > Just curious - why would you use SpanDSP on Raspberry PI in the first >> > place ? Do you have any line interface hardware on the PI? >> > >> > /j >> >> for faxing :) >> a simple pbx for home where I can detect fax tones and switch >> to rxfax instead of ringing local extensions. >> >> using an external ata, of course. >> >> matteo >> >> _________________________________________________________________________ >> 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 > -- Kristian Kielhofner From rhuddleston at gmail.com Thu Jan 24 17:36:34 2013 From: rhuddleston at gmail.com (Robert Huddleston) Date: Thu, 24 Jan 2013 09:36:34 -0500 Subject: [Freeswitch-dev] Commit 5542d04 broke build / make current Message-ID: <510146F2.4060805@gmail.com> Commit 5542d04 for mod_voicemail broke build / make current making all mod_voicemail make[5]: Entering directory `/usr/src/freeswitch/src/mod/applications/mod_voicemail' make[6]: Entering directory `/usr/src/freeswitch/src/mod/applications/mod_voicemail' Compiling /usr/src/freeswitch/src/mod/applications/mod_voicemail/mod_voicemail.c... quiet_libtool: compile: gcc -I/usr/src/freeswitch/libs/curl/include -I/usr/src/freeswitch/src/include -I/usr/src/freeswitch/src/include -I/usr/src/freeswitch/libs/libteletone/src -I/usr/src/freeswitch/libs/stfu -fPIC -Werror -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb -DHAVE_OPENSSL -g -O2 -Wall -std=c99 -pedantic -Wdeclaration-after-statement -D_GNU_SOURCE -DHAVE_CONFIG_H -c /usr/src/freeswitch/src/mod/applications/mod_voicemail/mod_voicemail.c -fPIC -DPIC -o .libs/mod_voicemail.o /usr/src/freeswitch/src/mod/applications/mod_voicemail/mod_voicemail.c: In function 'vm_fsdb_pref_greeting_get_function': /usr/src/freeswitch/src/mod/applications/mod_voicemail/mod_voicemail.c:4981:6: error: variable 'slot' set but not used [-Werror=unused-but-set-variable] cc1: all warnings being treated as errors make[6]: *** [mod_voicemail.lo] Error 1 make[6]: Leaving directory `/usr/src/freeswitch/src/mod/applications/mod_voicemail' make[5]: *** [all] Error 1 make[5]: Leaving directory `/usr/src/freeswitch/src/mod/applications/mod_voicemail' make[4]: *** [mod_voicemail-all] Error 1 make[4]: Leaving directory `/usr/src/freeswitch/src/mod' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/usr/src/freeswitch/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/freeswitch' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/src/freeswitch' make: *** [current] Error 2 root at ip-10-144-18-29:/usr/src/freeswitch# From shaheryarkh at gmail.com Sun Jan 27 20:43:41 2013 From: shaheryarkh at gmail.com (Muhammad Shahzad) Date: Sun, 27 Jan 2013 18:43:41 +0100 Subject: [Freeswitch-dev] FreeSWITCH website down Message-ID: Hi, It seems that http://freeswitch.org as well as http://wiki.freeswitch.orgare down or at least unaccessible. Is it a scheduled maintenance or yet another DDOS? Thank you. -- Muhammad Shahzad ----------------------------------- CISCO Rich Media Communication Specialist (CRMCS) CISCO Certified Network Associate (CCNA) Cell: +49 176 99 83 10 85 MSN: shari_786pk at hotmail.com Email: shaheryarkh at googlemail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20130127/bc89576f/attachment.html From daggelinckxmichel at gmail.com Mon Jan 28 02:53:43 2013 From: daggelinckxmichel at gmail.com (Michel Daggelinckx) Date: Mon, 28 Jan 2013 00:53:43 +0100 Subject: [Freeswitch-dev] FreeSWITCH website down In-Reply-To: References: Message-ID: <5105BE07.208@gmail.com> no problem from Belgium. Michel On 01/27/2013 06:43 PM, Muhammad Shahzad wrote: > Hi, > > > It seems that http://freeswitch.org as well as > http://wiki.freeswitch.org are down or at least unaccessible. Is it a > scheduled maintenance or yet another DDOS? > > Thank you. > > > -- > Muhammad Shahzad > ----------------------------------- > CISCO Rich Media Communication Specialist (CRMCS) > CISCO Certified Network Associate (CCNA) > Cell: +49 176 99 83 10 85 > MSN: shari_786pk at hotmail.com > Email: shaheryarkh at googlemail.com > > > _________________________________________________________________________ > 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/20130128/eaeb8bcf/attachment.html From mercutio.viz at gmail.com Mon Jan 28 01:55:14 2013 From: mercutio.viz at gmail.com (=?utf-8?B?bWVyY3V0aW8udml6QGdtYWlsLmNvbQ==?=) Date: Sun, 27 Jan 2013 14:55:14 -0800 Subject: [Freeswitch-dev] =?utf-8?q?FreeSWITCH_website_down?= Message-ID: <5105b052.c6ea440a.79fd.4a0f@mx.google.com> I just accessed them both, so possibly a temp outage. Sent from my HTC EVO 4G LTE exclusively from Sprint ----- Reply message ----- From: "Muhammad Shahzad" To: "FreeSWITCH Users Help" , Subject: [Freeswitch-dev] FreeSWITCH website down Date: Sun, Jan 27, 2013 9:43 AM Hi, It seems that http://freeswitch.org as well as http://wiki.freeswitch.org are down or at least unaccessible. Is it a scheduled maintenance or yet another DDOS? Thank you. -- Muhammad Shahzad ----------------------------------- CISCO Rich Media Communication Specialist (CRMCS) CISCO Certified Network Associate (CCNA) Cell:?+49 176 99 83 10 85 MSN:?shari_786pk at hotmail.com Email:?shaheryarkh at googlemail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20130127/903689c2/attachment-0001.html From freeswitch at nextbilling.com.br Mon Jan 28 03:52:40 2013 From: freeswitch at nextbilling.com.br (Fernando - NextBilling IP Solutions) Date: Sun, 27 Jan 2013 19:52:40 -0500 Subject: [Freeswitch-dev] FreeSWITCH website down In-Reply-To: <5105BE07.208@gmail.com> References: <5105BE07.208@gmail.com> Message-ID: <5105CBD8.9080500@nextbilling.com.br> Ok From Brazil and from Panama. > *De:* Michel Daggelinckx > *Data:* 27 de enero de 2013 18:53 > *Para:* freeswitch-dev at lists.freeswitch.org > *Assunto:* [Freeswitch-dev] FreeSWITCH website down > no problem from Belgium. > > Michel > > > > _________________________________________________________________________ > 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 > *De:* Muhammad Shahzad > *Data:* 27 de enero de 2013 12:43 > *Para:* FreeSWITCH Users Help , > freeswitch-dev at lists.freeswitch.org > *Assunto:* [Freeswitch-dev] FreeSWITCH website down > Hi, > > > It seems that http://freeswitch.org as well as > http://wiki.freeswitch.org are down or at least unaccessible. Is it a > scheduled maintenance or yet another DDOS? > > Thank you. > > > -- > Muhammad Shahzad > ----------------------------------- > CISCO Rich Media Communication Specialist (CRMCS) > CISCO Certified Network Associate (CCNA) > Cell: +49 176 99 83 10 85 > MSN: shari_786pk at hotmail.com > Email: shaheryarkh at googlemail.com > _________________________________________________________________________ > 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 Atenciosamente, Importante: Esta mensagem, incluindo todo seu conte?do, cont?m informa??es confidenciais, legalmente protegidas e destinadas a indiv?duo e prop?sito espec?ficos. Caso a tenha recebido por engano, lembramos do car?ter sigiloso e solicitamos a gentileza de desconsider?-la e comunicar-nos o mais breve poss?vel. As informa??es contidas nesta mensagem e em seu conte?do s?o de responsabilidade de seu autor, n?o representando necessariamente id?ias, opini?es, pensamentos ou qualquer forma de posicionamento por parte da NextBilling IP Solutions. P "Antes de imprimir pense em seu compromisso com o Meio Ambiente." -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20130127/cacac447/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: postbox-contact.jpg Type: image/jpeg Size: 1136 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20130127/cacac447/attachment-0003.jpg -------------- next part -------------- A non-text attachment was scrubbed... Name: compose-unknown-contact.jpg Type: image/jpeg Size: 770 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20130127/cacac447/attachment-0004.jpg -------------- next part -------------- A non-text attachment was scrubbed... Name: assinatura.jpg Type: image/jpeg Size: 18666 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20130127/cacac447/attachment-0005.jpg From shaheryarkh at gmail.com Mon Jan 28 03:52:59 2013 From: shaheryarkh at gmail.com (Muhammad Shahzad) Date: Mon, 28 Jan 2013 01:52:59 +0100 Subject: [Freeswitch-dev] How to auto save voicemail message? Message-ID: Hi, When a caller leaves a voicemail for callee using FS, an IVR is played to the caller to press e.g. 1 to save the message, press 2 to listen to it ... and so on. Is there any voicemail module parameter / variable we can set in dialplan to skip this prompt entirely, simply save the message and hangup if caller hasn't already hanged up. Typically if somebody calls me on my cell and i am not available to pickup the phone, call automatically sent to my voicemail box by my operator, where caller can record his message and just hangup, without having to wait for the IVR, give input to it and then hangup. Is the same behaviour possible in FS voicemail module? Please help. Thank you. -- Muhammad Shahzad ----------------------------------- CISCO Rich Media Communication Specialist (CRMCS) CISCO Certified Network Associate (CCNA) Cell: +49 176 99 83 10 85 MSN: shari_786pk at hotmail.com Email: shaheryarkh at googlemail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20130128/688aedff/attachment.html From marketing at cluecon.com Mon Jan 28 23:29:51 2013 From: marketing at cluecon.com (Michael Collins) Date: Mon, 28 Jan 2013 12:29:51 -0800 Subject: [Freeswitch-dev] FreeSWITCH Weekly News and Notes Message-ID: Hello all! I wanted to start off by giving you all some good news: Our friends at Newegg have successfully slain a Patent Troll named Soverain. This NPE (non-producing entity) acquired some questionable patents and started suing just about anybody with an online shopping cart on their website. To make a long story short: Newegg fought them in court instead of settling and in the process got all three patents invalidated! More details available at the Ars Technica article. In any event, those of us who do software for a living, especially in the US, are well aware of the dangerous patent situation we have. Hattip to Newegg for doing us all a favor. More good news! We have released a few more ClueCon 2012 videos: * Open Source is revamping telecom. You want in. Learn from our wins and misses.- Darren Schreiber * HOMER in the cloud. - Alexandr Dubovikov * OSTAG - Who we are, what we do, and why.- Raymond Chandler I will be uploading the slides for the talks shortly. In other ClueCon news we are gearing up for the 2013 event. We look forward to hearing from prospective speakers, sponsors, and attendees. As a reminder, we are at the same hotel this year and the event runs from August 6th through the 8th. Stay tuned for more information. We have an annual tradition that is coming up next week: buy the developers dinner! Quite simply, we invite the community to throw some money into the hat and then the developers use it to buy dinner. The easiest way to donate is to click the Donate button on the main FreeSWITCH website. (Right-hand side, under the ClueCon 2013 logo.) Do a Paypal transaction, mark it person (a gift is fine) and in the message to the recipient mention that the money is for the developer dinner. We appreciate the community doing this again for us this year. Thank you! We'll talk to you this Wednesday on our weekly conference call. Last week was an open discussion. This week I would will be doing an event socket and ESL review. More people are using these great tools and we are seeing some of the same questions being asked so we want to make sure that we get this information out there for everyone to use. Thanks again for being a great community and we will talk to you again next week. -- Michael S Collins ClueCon Team http://www.cluecon.com 877-7-4ACLUE -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20130128/ffa6d152/attachment.html From msc at freeswitch.org Wed Jan 30 20:09:52 2013 From: msc at freeswitch.org (Michael Collins) Date: Wed, 30 Jan 2013 09:09:52 -0800 Subject: [Freeswitch-dev] FreeSWITCH Community Conference Call Today Message-ID: Hello folks, Our conference call starts in less than an hour. The agenda is here: http://wiki.freeswitch.org/wiki/FS_weekly_2013_01_30 Today we are going to do a refresher on event socket and ESL, specifically on the commands you can do when controlling a phone call. We are finding more and more people are using event socket and ESL and some of the same questions are coming up so we thought it would be a good idea to review a few things when it comes to using the event socket. Talk to you soon! -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20130130/cac6e29a/attachment.html