From mrene_lists at avgs.ca Sun Mar 1 21:00:44 2009 From: mrene_lists at avgs.ca (Mathieu Rene) Date: Mon, 2 Mar 2009 00:00:44 -0500 Subject: [Freeswitch-dev] Qt portaudio interface Message-ID: <3A65F8B6-96B4-45EE-80E9-A30AFEED0BB3@avgs.ca> Hi all, Anyone interested in contributing to a Qt interface in order to make a decent softphone using FS please reply to this thread. (also give your availability so we can have a conference call to decide stuff) Thanks, Math From sshen at oa.com.au Mon Mar 2 16:34:17 2009 From: sshen at oa.com.au (Scott Shen) Date: Tue, 3 Mar 2009 11:34:17 +1100 Subject: [Freeswitch-dev] Lua session:execute did not return on conference In-Reply-To: <3A65F8B6-96B4-45EE-80E9-A30AFEED0BB3@avgs.ca> Message-ID: <4462DF002246D44CB823FA4F985539940E05AE6A32@oa-exchange1.oa.com.au> Had a try following the example found at http://wiki.freeswitch.org/wiki/Simple_conference.lua However, the session:execute seems wont return until the caller hangs up Following is my test script session:answer() session:setAutoHangup(false) session:sleep(200) session:execute("conference", "12345 at default") freeswitch.consoleLog("notice", "testing conference\n") The freeswitch.consoleLog wont be execute unless the caller hangs up What's wrong with it? Regards Scott From msc at freeswitch.org Mon Mar 2 16:56:21 2009 From: msc at freeswitch.org (Michael Collins) Date: Mon, 2 Mar 2009 16:56:21 -0800 Subject: [Freeswitch-dev] Lua session:execute did not return on conference In-Reply-To: <4462DF002246D44CB823FA4F985539940E05AE6A32@oa-exchange1.oa.com.au> References: <3A65F8B6-96B4-45EE-80E9-A30AFEED0BB3@avgs.ca> <4462DF002246D44CB823FA4F985539940E05AE6A32@oa-exchange1.oa.com.au> Message-ID: <87f2f3b90903021656j3032ad48vaca310a7f6708888@mail.gmail.com> > session:answer() > session:setAutoHangup(false) > session:sleep(200) > > session:execute("conference", "12345 at default") > > freeswitch.consoleLog("notice", "testing conference\n") > > > The freeswitch.consoleLog wont be execute unless the caller hangs up I think the call to "conference" is blocking. If you had a non-blocking call what would your script be doing while the session was in conference? Just curious. -MC From mrene_lists at avgs.ca Mon Mar 2 16:57:45 2009 From: mrene_lists at avgs.ca (Mathieu Rene) Date: Mon, 2 Mar 2009 19:57:45 -0500 Subject: [Freeswitch-dev] Lua session:execute did not return on conference In-Reply-To: <4462DF002246D44CB823FA4F985539940E05AE6A32@oa-exchange1.oa.com.au> References: <4462DF002246D44CB823FA4F985539940E05AE6A32@oa-exchange1.oa.com.au> Message-ID: <4EFC4D7F-82AB-46A5-898B-8AA529E1690A@avgs.ca> Thats the way its supposed to be. Math On 2-Mar-09, at 7:34 PM, Scott Shen wrote: > > Had a try following the example found at > > http://wiki.freeswitch.org/wiki/Simple_conference.lua > > > However, the session:execute seems wont return until the caller > hangs up > > Following is my test script > > > session:answer() > session:setAutoHangup(false) > session:sleep(200) > > session:execute("conference", "12345 at default") > > freeswitch.consoleLog("notice", "testing conference\n") > > > The freeswitch.consoleLog wont be execute unless the caller hangs up > > > What's wrong with it? > > Regards > Scott > > > _______________________________________________ > 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 sshen at oa.com.au Mon Mar 2 17:10:05 2009 From: sshen at oa.com.au (Scott Shen) Date: Tue, 3 Mar 2009 12:10:05 +1100 Subject: [Freeswitch-dev] Lua session:execute did not return on conference In-Reply-To: <87f2f3b90903021656j3032ad48vaca310a7f6708888@mail.gmail.com> Message-ID: <4462DF002246D44CB823FA4F985539940E05AE6A3B@oa-exchange1.oa.com.au> In non-blocking mode, I think the script can invite some other parties -----Original Message----- From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Michael Collins Sent: Tuesday, 3 March 2009 11:56 AM To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] Lua session:execute did not return on conference > session:answer() > session:setAutoHangup(false) > session:sleep(200) > > session:execute("conference", "12345 at default") > > freeswitch.consoleLog("notice", "testing conference\n") > > > The freeswitch.consoleLog wont be execute unless the caller hangs up I think the call to "conference" is blocking. If you had a non-blocking call what would your script be doing while the session was in conference? Just curious. -MC _______________________________________________ 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 sshen at oa.com.au Mon Mar 2 17:11:55 2009 From: sshen at oa.com.au (Scott Shen) Date: Tue, 3 Mar 2009 12:11:55 +1100 Subject: [Freeswitch-dev] Lua session:execute did not return on conference In-Reply-To: <4EFC4D7F-82AB-46A5-898B-8AA529E1690A@avgs.ca> Message-ID: <4462DF002246D44CB823FA4F985539940E05AE6A3C@oa-exchange1.oa.com.au> Then, how can I drop a session into a conference via lua script? or is it not possible? -----Original Message----- From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Mathieu Rene Sent: Tuesday, 3 March 2009 11:58 AM To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] Lua session:execute did not return on conference Thats the way its supposed to be. Math On 2-Mar-09, at 7:34 PM, Scott Shen wrote: > > Had a try following the example found at > > http://wiki.freeswitch.org/wiki/Simple_conference.lua > > > However, the session:execute seems wont return until the caller > hangs up > > Following is my test script > > > session:answer() > session:setAutoHangup(false) > session:sleep(200) > > session:execute("conference", "12345 at default") > > freeswitch.consoleLog("notice", "testing conference\n") > > > The freeswitch.consoleLog wont be execute unless the caller hangs up > > > What's wrong with it? > > Regards > Scott > > > _______________________________________________ > 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 _______________________________________________ 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 msc at freeswitch.org Mon Mar 2 19:55:21 2009 From: msc at freeswitch.org (Michael S Collins) Date: Mon, 2 Mar 2009 19:55:21 -0800 Subject: [Freeswitch-dev] Lua session:execute did not return on conference In-Reply-To: <4462DF002246D44CB823FA4F985539940E05AE6A3C@oa-exchange1.oa.com.au> References: <4462DF002246D44CB823FA4F985539940E05AE6A3C@oa-exchange1.oa.com.au> Message-ID: <51D7435F-15B4-439E-A8BF-DDFC06512F38@freeswitch.org> Sent from my iPhone On Mar 2, 2009, at 5:11 PM, Scott Shen wrote: > Then, how can I drop a session into a conference via lua script? or > is it not possible? > It depends. What is the big picture? What is the actual application that you are creating? It sounds like you need to control multiple sessions. If so, you probably shouldn't be doing that from a single Lua script that is called from the dp. However, when you tell us a bit more about your application we can give you more intelligent answers. -MC >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> From jaugenstine at gmail.com Mon Mar 2 20:14:38 2009 From: jaugenstine at gmail.com (jonathan augenstine) Date: Mon, 2 Mar 2009 20:14:38 -0800 Subject: [Freeswitch-dev] Lua session:execute did not return on conference In-Reply-To: <51D7435F-15B4-439E-A8BF-DDFC06512F38@freeswitch.org> References: <4462DF002246D44CB823FA4F985539940E05AE6A3C@oa-exchange1.oa.com.au> <51D7435F-15B4-439E-A8BF-DDFC06512F38@freeswitch.org> Message-ID: <207e7a5e0903022014s1ab1e7t7711e26a9a5a03ad@mail.gmail.com> I encountered a similar situation and I created an extension that I transferred the session to. In that extension is where I drop the call into the conference. It allows the script to continue on, create new sessions, and connect them to the conference by transferring the session to the conference extension. Jonathan On Mon, Mar 2, 2009 at 7:55 PM, Michael S Collins wrote: > Sent from my iPhone > > On Mar 2, 2009, at 5:11 PM, Scott Shen wrote: > > > Then, how can I drop a session into a conference via lua script? or > > is it not possible? > > > > It depends. What is the big picture? What is the actual application > that you are creating? It sounds like you need to control multiple > sessions. If so, you probably shouldn't be doing that from a single > Lua script that is called from the dp. However, when you tell us a bit > more about your application we can give you more intelligent answers. > > -MC > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > > _______________________________________________ > 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/20090302/fa759c8d/attachment.html From sshen at oa.com.au Mon Mar 2 20:32:35 2009 From: sshen at oa.com.au (Scott Shen) Date: Tue, 3 Mar 2009 15:32:35 +1100 Subject: [Freeswitch-dev] Lua session:execute did not return on conference In-Reply-To: <207e7a5e0903022014s1ab1e7t7711e26a9a5a03ad@mail.gmail.com> Message-ID: <4462DF002246D44CB823FA4F985539940E05AE6A42@oa-exchange1.oa.com.au> Thanks, I actually tried the same way after some readings of the source code, I think it's now working as expected. -----Original Message----- From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of jonathan augenstine Sent: Tuesday, 3 March 2009 3:15 PM To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] Lua session:execute did not return on conference I encountered a similar situation and I created an extension that I transferred the session to. In that extension is where I drop the call into the conference. It allows the script to continue on, create new sessions, and connect them to the conference by transferring the session to the conference extension. Jonathan On Mon, Mar 2, 2009 at 7:55 PM, Michael S Collins > wrote: Sent from my iPhone On Mar 2, 2009, at 5:11 PM, Scott Shen > wrote: > Then, how can I drop a session into a conference via lua script? or > is it not possible? > It depends. What is the big picture? What is the actual application that you are creating? It sounds like you need to control multiple sessions. If so, you probably shouldn't be doing that from a single Lua script that is called from the dp. However, when you tell us a bit more about your application we can give you more intelligent answers. -MC >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> _______________________________________________ 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/20090303/e6c25492/attachment.html From jgarland at jasongarland.com Tue Mar 3 20:12:45 2009 From: jgarland at jasongarland.com (Jason Garland) Date: Tue, 3 Mar 2009 23:12:45 -0500 Subject: [Freeswitch-dev] Qt portaudio interface In-Reply-To: <3A65F8B6-96B4-45EE-80E9-A30AFEED0BB3@avgs.ca> References: <3A65F8B6-96B4-45EE-80E9-A30AFEED0BB3@avgs.ca> Message-ID: I still think a web based interface would work well and be more cross platform. The web app could be served from within FS. http://127.0.0.1:8080/myfancysoftphone/ Sent from my iPhone On Mar 2, 2009, at 12:00 AM, Mathieu Rene wrote: > Hi all, > > Anyone interested in contributing to a Qt interface in order to make a > decent softphone using FS please reply to this thread. > (also give your availability so we can have a conference call to > decide stuff) > > Thanks, > Math > > _______________________________________________ > 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 congxin.zhao at gmail.com Thu Mar 5 00:56:05 2009 From: congxin.zhao at gmail.com (congxin zhao) Date: Thu, 5 Mar 2009 16:56:05 +0800 Subject: [Freeswitch-dev] confuse about the session Message-ID: Hi I am a new guy, and the session confuses me. It uses switch_core_session_set_uuid to allocate the session, but where free the session memory? Thanks & regards, -Congxin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090305/4d794e4c/attachment.html From mrene_lists at avgs.ca Thu Mar 5 05:59:06 2009 From: mrene_lists at avgs.ca (Mathieu Rene) Date: Thu, 5 Mar 2009 08:59:06 -0500 Subject: [Freeswitch-dev] confuse about the session In-Reply-To: References: Message-ID: <9F2066FC-2DD4-4E0E-9F6F-4A9307418E4F@avgs.ca> sessions are using memory pools, memory allocated on them is automatically free'd when the call hangs up Math On 5-Mar-09, at 3:56 AM, congxin zhao wrote: > switch_core_session_set_uuid From edpimentl at gmail.com Thu Mar 5 07:24:21 2009 From: edpimentl at gmail.com (EdPimentl) Date: Thu, 5 Mar 2009 10:24:21 -0500 Subject: [Freeswitch-dev] Is there an Opp for FS here in the future? Message-ID: <9dc4a1670903050724p3e150beasae3f4eeef75487ba@mail.gmail.com> FYI ------- by I lazaar ..Feb 27, 2009 Back in October of 2007 I authored a column for *Business Communications Review* that looked at Microsoft's entry into the VOIP market and asked whether Microsoft had entered the market after most enterprise organizations had already moved forward with alternate vendors for their VOIP plans, meaning Microsoft was too late to gain significant VOIP market share. At the time of writing, Nemertes Research indicated that 99% of organizations we had interviewed that year had already selected a VOIP vendor and were moving forward with at least a limited pilot, meaning that for Microsoft to succeed in the VOIP arena, it would have to convince potential customers to call a halt to existing plans and switch to Microsoft's Office Communications Server as a VOIP platform. Microsoft made this pitch by promising that it could cut the cost of VOIP in half when compared to its competitors. The customers for the most part didn't listen. The overwhelming majority of participants in our 2008 research interviews said that the only impact of Microsoft's entry into the VOIP space was to pay more attention to the ability to integrate their existing or planned voice systems with the Microsoft Office Communications server and client, enabling features such as "click-to-call" and presence awareness for desktop and Windows Mobile users. Now, about a year and a half later, Microsoft is stepping up its game with the release of OCS Release 2, adding a number of VOIP related features including single-number reachability and dial-in audio conferencing. Perhaps most importantly, OCS R2 adds support for SIP trunking; already Microsoft has announced a number of partnerships with service providers to bring SIP trunks to OCS installations. So with R2 is Microsoft back in the VOIP game? Not yet. Microsoft still faces some of the same issues we heard about in 2007. There's still no good option for remote site survivability nor is there an E-911 capability just yet. Integrating Microsoft into existing voice systems will typically require a mediation server (or multiple servers). Choices for stand-alone desktop phones are limited and most IT architects still don't trust software-based phones running on Windows as their primary means of communication. But maybe we're asking the wrong question? Sure, Microsoft is happy to offer OCS as a phone system replacement to those whose requirements fit Microsoft's capabilities. But perhaps more importantly, OCS is the trojan horse. Today, it offers desktop and mobile device control over communications services, Microsoft's and partners, along with a robust set of collaboration features such as instant messaging, persistent chat, audio, video, and web conferencing, and so on. It integrates presence into the full suite of Microsoft office products including Exchange/Outlook and Office. Web-based clients enable non-Windows users to become part of the Microsoft eco-system. And maybe, just maybe, as OCS's phone feature list grows, and as OCS deployments grow, perhaps with R3 Microsoft will begin to convince a growing number of its customers that they really don't need that old IP-PBX anymore when employees are already using OCS to make the majority of their calls. As we conduct our 2009 round of interviews we're continuing to gather data on the role of Microsoft in VOIP/UC planning. Stay tuned... -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090305/f46ec8e9/attachment.html From jaugenstine at gmail.com Thu Mar 5 09:21:48 2009 From: jaugenstine at gmail.com (jonathan augenstine) Date: Thu, 5 Mar 2009 09:21:48 -0800 Subject: [Freeswitch-dev] CCXML/VXML module Message-ID: <207e7a5e0903050921n6dbff809r98b1c31ca8653241@mail.gmail.com> I have a project that has a requirement for CCXML/VXML. I know this topic has popped up periodically on this list. My first question is, does anyone know of any development going on in this area on Freeswitch? I am considering writing a CCXML/VXML module, but I do not want to reinvent the wheel. If there is no current development going on, then I have some additional questions. I am looking at developing a module. I am familiar with the architecture of Freeswitch, but have not been in the core code a lot. I was considering using the XML-RPC module as a template for a CCMXL/VXML module, and I was considering using expat for XML parsing. Any comments or thoughts? Jonathan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090305/c3b12ba9/attachment.html From mrene_lists at avgs.ca Thu Mar 5 09:24:31 2009 From: mrene_lists at avgs.ca (Mathieu Rene) Date: Thu, 5 Mar 2009 12:24:31 -0500 Subject: [Freeswitch-dev] CCXML/VXML module In-Reply-To: <207e7a5e0903050921n6dbff809r98b1c31ca8653241@mail.gmail.com> References: <207e7a5e0903050921n6dbff809r98b1c31ca8653241@mail.gmail.com> Message-ID: <61659C49-B688-462B-80A5-085E8CF9703E@avgs.ca> Hi, I am not aware of active projects for CCXML/VXML but maybe someone else can orientate you on that level. As for the XML, if you make a freeswitch module there is already an API for parsing XML that everything else uses. Come on IRC I'll be more than happy to give you some pointers. Math On 5-Mar-09, at 12:21 PM, jonathan augenstine wrote: > I have a project that has a requirement for CCXML/VXML. I know this > topic has popped up periodically on this list. My first question > is, does anyone know of any development going on in this area on > Freeswitch? I am considering writing a CCXML/VXML module, but I do > not want to reinvent the wheel. If there is no current development > going on, then I have some additional questions. > > I am looking at developing a module. I am familiar with the > architecture of Freeswitch, but have not been in the core code a > lot. I was considering using the XML-RPC module as a template for a > CCMXL/VXML module, and I was considering using expat for XML > parsing. Any comments or thoughts? > > Jonathan > > _______________________________________________ > 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 janvb at live.com Thu Mar 5 15:12:53 2009 From: janvb at live.com (Jan Berger) Date: Fri, 6 Mar 2009 00:12:53 +0100 Subject: [Freeswitch-dev] CCXML/VXML module In-Reply-To: <207e7a5e0903050921n6dbff809r98b1c31ca8653241@mail.gmail.com> References: <207e7a5e0903050921n6dbff809r98b1c31ca8653241@mail.gmail.com> Message-ID: We have talked about it, but it's not on the priority list as far as I know. vxml as a scripting language is very slow + complex as you also need JavaScript. It does however exist open source that can be used. OpenVXL - this exist in 2 versions. The newest is GPL, but it was previously published under a different license that is compatible with FreeSwitch. This is only VXML, but I suggest you start with that. Jan Date: Thu, 5 Mar 2009 09:21:48 -0800 From: jaugenstine at gmail.com To: freeswitch-dev at lists.freeswitch.org Subject: [Freeswitch-dev] CCXML/VXML module I have a project that has a requirement for CCXML/VXML. I know this topic has popped up periodically on this list. My first question is, does anyone know of any development going on in this area on Freeswitch? I am considering writing a CCXML/VXML module, but I do not want to reinvent the wheel. If there is no current development going on, then I have some additional questions. I am looking at developing a module. I am familiar with the architecture of Freeswitch, but have not been in the core code a lot. I was considering using the XML-RPC module as a template for a CCMXL/VXML module, and I was considering using expat for XML parsing. Any comments or thoughts? Jonathan _________________________________________________________________ Drag n? drop?Get easy photo sharing with Windows Live? Photos. http://www.microsoft.com/windows/windowslive/products/photos.aspx -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090306/f6dcb43e/attachment.html From jaugenstine at gmail.com Thu Mar 5 19:45:34 2009 From: jaugenstine at gmail.com (jonathan augenstine) Date: Thu, 5 Mar 2009 19:45:34 -0800 Subject: [Freeswitch-dev] CCXML/VXML module In-Reply-To: References: <207e7a5e0903050921n6dbff809r98b1c31ca8653241@mail.gmail.com> Message-ID: <207e7a5e0903051945u4b3295dhef73f0bcae66b96e@mail.gmail.com> Jan, I have been looking over the VXML and CCXML specifications. I only see very peripheral references to JavaScript. Can you elaborate on why JavaScript would be needed? I do not see the connection, based on what I see in the specification. While I am no big XML fan, I do not see any inherent reason VXML should be any slower than other scripting or XML based protocols. I could see where a particular implementation, such as OpenVMXL, might have programming issues that could create bottlenecks; but is the particular issue with VXML specification or the implemetation? Can you elaborate? If I can explain the issues with VXML relative to alternatives they might consider alternatives in the design. Jonathan On Thu, Mar 5, 2009 at 3:12 PM, Jan Berger wrote: > We have talked about it, but it's not on the priority list as far as I > know. > > vxml as a scripting language is very slow + complex as you also need > JavaScript. > > It does however exist open source that can be used. OpenVXL - this exist in > 2 versions. The newest is GPL, but it was previously published under a > different license that is compatible with FreeSwitch. This is only VXML, but > I suggest you start with that. > > Jan > > ------------------------------ > Date: Thu, 5 Mar 2009 09:21:48 -0800 > From: jaugenstine at gmail.com > To: freeswitch-dev at lists.freeswitch.org > Subject: [Freeswitch-dev] CCXML/VXML module > > I have a project that has a requirement for CCXML/VXML. I know this topic > has popped up periodically on this list. My first question is, does anyone > know of any development going on in this area on Freeswitch? I am > considering writing a CCXML/VXML module, but I do not want to reinvent the > wheel. If there is no current development going on, then I have some > additional questions. > > I am looking at developing a module. I am familiar with the architecture > of Freeswitch, but have not been in the core code a lot. I was considering > using the XML-RPC module as a template for a CCMXL/VXML module, and I was > considering using expat for XML parsing. Any comments or thoughts? > > Jonathan > > > ------------------------------ > What can you do with the new Windows Live? Find out > > _______________________________________________ > 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/20090305/e66b9bf1/attachment.html From mrene_lists at avgs.ca Thu Mar 5 19:47:36 2009 From: mrene_lists at avgs.ca (Mathieu Rene) Date: Thu, 5 Mar 2009 22:47:36 -0500 Subject: [Freeswitch-dev] CCXML/VXML module In-Reply-To: <207e7a5e0903051945u4b3295dhef73f0bcae66b96e@mail.gmail.com> References: <207e7a5e0903050921n6dbff809r98b1c31ca8653241@mail.gmail.com> <207e7a5e0903051945u4b3295dhef73f0bcae66b96e@mail.gmail.com> Message-ID: besides, FS also supports javascript... look at mod_spidermonkey. So all the libs required to do JS are already shipped in libs/ Math On 5-Mar-09, at 10:45 PM, jonathan augenstine wrote: > Jan, > > I have been looking over the VXML and CCXML specifications. I only > see very peripheral references to JavaScript. Can you elaborate on > why JavaScript would be needed? I do not see the connection, based > on what I see in the specification. > > While I am no big XML fan, I do not see any inherent reason VXML > should be any slower than other scripting or XML based protocols. I > could see where a particular implementation, such as OpenVMXL, might > have programming issues that could create bottlenecks; but is the > particular issue with VXML specification or the implemetation? Can > you elaborate? > > If I can explain the issues with VXML relative to alternatives they > might consider alternatives in the design. > > Jonathan > > On Thu, Mar 5, 2009 at 3:12 PM, Jan Berger wrote: > We have talked about it, but it's not on the priority list as far as > I know. > > vxml as a scripting language is very slow + complex as you also need > JavaScript. > > It does however exist open source that can be used. OpenVXL - this > exist in 2 versions. The newest is GPL, but it was previously > published under a different license that is compatible with > FreeSwitch. This is only VXML, but I suggest you start with that. > > Jan > > Date: Thu, 5 Mar 2009 09:21:48 -0800 > From: jaugenstine at gmail.com > > To: freeswitch-dev at lists.freeswitch.org > Subject: [Freeswitch-dev] CCXML/VXML module > > > I have a project that has a requirement for CCXML/VXML. I know this > topic has popped up periodically on this list. My first question > is, does anyone know of any development going on in this area on > Freeswitch? I am considering writing a CCXML/VXML module, but I do > not want to reinvent the wheel. If there is no current development > going on, then I have some additional questions. > > I am looking at developing a module. I am familiar with the > architecture of Freeswitch, but have not been in the core code a > lot. I was considering using the XML-RPC module as a template for a > CCMXL/VXML module, and I was considering using expat for XML > parsing. Any comments or thoughts? > > Jonathan > > > What can you do with the new Windows Live? Find out > > _______________________________________________ > 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 > > > _______________________________________________ > 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/20090305/4c7fcac8/attachment-0001.html From brian at freeswitch.org Thu Mar 5 20:16:04 2009 From: brian at freeswitch.org (Brian West) Date: Thu, 5 Mar 2009 22:16:04 -0600 Subject: [Freeswitch-dev] CCXML/VXML module In-Reply-To: <207e7a5e0903051945u4b3295dhef73f0bcae66b96e@mail.gmail.com> References: <207e7a5e0903050921n6dbff809r98b1c31ca8653241@mail.gmail.com> <207e7a5e0903051945u4b3295dhef73f0bcae66b96e@mail.gmail.com> Message-ID: <71D9B28F-6D55-489A-A6A3-28B8E7B64B14@freeswitch.org> Because the VXML is going to be converted to javascript on the underside... so skip a step. /b On Mar 5, 2009, at 9:45 PM, jonathan augenstine wrote: > I have been looking over the VXML and CCXML specifications. I only > see very peripheral references to JavaScript. Can you elaborate on > why JavaScript would be needed? I do not see the connection, based > on what I see in the specification. From mszlazak at aol.com Thu Mar 5 22:50:04 2009 From: mszlazak at aol.com (mszlazak at aol.com) Date: Fri, 06 Mar 2009 01:50:04 -0500 Subject: [Freeswitch-dev] CCXML/VXML module In-Reply-To: <71D9B28F-6D55-489A-A6A3-28B8E7B64B14@freeswitch.org> References: <207e7a5e0903050921n6dbff809r98b1c31ca8653241@mail.gmail.com><207e7a5e0903051945u4b3295dhef73f0bcae66b96e@mail.gmail.com> <71D9B28F-6D55-489A-A6A3-28B8E7B64B14@freeswitch.org> Message-ID: <8CB6C3EE9DF0B08-DEC-2698@webmail-da18.sysops.aol.com> Yup, one thing you start noticing rather quickly when writing up a VXML application is how much inline javascript is being used in the tags. The nature of script and the nature of the xml gets blurred. Where can I read up on VXML being converted to Javascript. Mark. -----Original Message----- From: Brian West To: freeswitch-dev at lists.freeswitch.org Sent: Thu, 5 Mar 2009 8:16 pm Subject: Re: [Freeswitch-dev] CCXML/VXML module Because the VXML is going to be converted to javascript on the underside... so skip a step. /b On Mar 5, 2009, at 9:45 PM, jonathan augenstine wrote: > I have been looking over the VXML and CCXML specifications. I only > see very peripheral references to JavaScript. Can you elaborate on > why JavaScript would be needed? I do not see the connection, based > on what I see in the specification. _______________________________________________ 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/20090306/f607fd92/attachment.html From mporter at voice3g.com Thu Mar 5 22:56:46 2009 From: mporter at voice3g.com (Matt Porter) Date: Fri, 6 Mar 2009 00:56:46 -0600 Subject: [Freeswitch-dev] CCXML/VXML module In-Reply-To: <71D9B28F-6D55-489A-A6A3-28B8E7B64B14@freeswitch.org> References: <207e7a5e0903050921n6dbff809r98b1c31ca8653241@mail.gmail.com> <207e7a5e0903051945u4b3295dhef73f0bcae66b96e@mail.gmail.com> <71D9B28F-6D55-489A-A6A3-28B8E7B64B14@freeswitch.org> Message-ID: Im usually a lurker, but ill chime in here.. just to stir the pot a bit. "speed" is being loosely thrown around here.... speed of the script interpreter is usually not an issue. A voice dialog based application spends 90++% of the time in a waiting or "collect" stage, and the speed of the interpreter is basically moot. Consumers will not be able to tell the difference is your script takes 50ms or 200ms to process what it collected. contention inside the interperter is usually the problem, not because its XML or javascript or whatever. for example, thats the problem with your mod_spidermonkey. BladewareVXML will run 1000 channels at a time, and process the script in less than 100ms, and on modern hardware will take less than 20% CPU doing so. compile it 64bit, and you can exceed 2000 channels and use around 30% CPU usage with a basic script. we had to modify spidermonkey to have no global contention to acheive this.. it takes hardly anytime to populate the vars necessary for VoiceXML. VoiceXML itself is not slow.. is it faster than raw JS? of course not.. but from a consumer perspective they dont know the difference. Pot stirred ;) On Thu, Mar 5, 2009 at 10:16 PM, Brian West wrote: > Because the VXML is going to be converted to javascript on the > underside... so skip a step. > > /b > > On Mar 5, 2009, at 9:45 PM, jonathan augenstine wrote: > > > I have been looking over the VXML and CCXML specifications. I only > > see very peripheral references to JavaScript. Can you elaborate on > > why JavaScript would be needed? I do not see the connection, based > > on what I see in the specification. > > > _______________________________________________ > 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/20090306/f6fbebcb/attachment.html From janvb at live.com Fri Mar 6 02:37:30 2009 From: janvb at live.com (Jan Berger) Date: Fri, 6 Mar 2009 11:37:30 +0100 Subject: [Freeswitch-dev] CCXML/VXML module In-Reply-To: <207e7a5e0903051945u4b3295dhef73f0bcae66b96e@mail.gmail.com> References: <207e7a5e0903050921n6dbff809r98b1c31ca8653241@mail.gmail.com> <207e7a5e0903051945u4b3295dhef73f0bcae66b96e@mail.gmail.com> Message-ID: vxml is often used to create IVR services, and do have some popularity in companies that like to think that they can exchange the box if needed. Most of us know that there are not a single vxml interpreter that don't have some proprietary parts, but it still means that with vxml you have an application where 95% ++ can be re-used if you as an example want to replace FreeSWITCH with another IVR engine. The reason I mention IVR is because it is hardly worth using vxml (and speech recognition) unless you have an application of some complexity. These applications need to interface to host interfaces, databases etc. The easiest way of dong that is through a web based service that is exported out as a wsdl, in which case you generate Java code. The second reason you need javascript/java capability is because vxml itself is hard to use for logic - we are not talking hello world apps here. Jan Date: Thu, 5 Mar 2009 19:45:34 -0800 From: jaugenstine at gmail.com To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] CCXML/VXML module Jan, I have been looking over the VXML and CCXML specifications. I only see very peripheral references to JavaScript. Can you elaborate on why JavaScript would be needed? I do not see the connection, based on what I see in the specification. While I am no big XML fan, I do not see any inherent reason VXML should be any slower than other scripting or XML based protocols. I could see where a particular implementation, such as OpenVMXL, might have programming issues that could create bottlenecks; but is the particular issue with VXML specification or the implemetation? Can you elaborate? If I can explain the issues with VXML relative to alternatives they might consider alternatives in the design. Jonathan On Thu, Mar 5, 2009 at 3:12 PM, Jan Berger wrote: We have talked about it, but it's not on the priority list as far as I know. vxml as a scripting language is very slow + complex as you also need JavaScript. It does however exist open source that can be used. OpenVXL - this exist in 2 versions. The newest is GPL, but it was previously published under a different license that is compatible with FreeSwitch. This is only VXML, but I suggest you start with that. Jan Date: Thu, 5 Mar 2009 09:21:48 -0800 From: jaugenstine at gmail.com To: freeswitch-dev at lists.freeswitch.org Subject: [Freeswitch-dev] CCXML/VXML module I have a project that has a requirement for CCXML/VXML. I know this topic has popped up periodically on this list. My first question is, does anyone know of any development going on in this area on Freeswitch? I am considering writing a CCXML/VXML module, but I do not want to reinvent the wheel. If there is no current development going on, then I have some additional questions. I am looking at developing a module. I am familiar with the architecture of Freeswitch, but have not been in the core code a lot. I was considering using the XML-RPC module as a template for a CCMXL/VXML module, and I was considering using expat for XML parsing. Any comments or thoughts? Jonathan What can you do with the new Windows Live? Find out _______________________________________________ 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 _________________________________________________________________ News, entertainment and everything you care about at Live.com. Get it now! http://www.live.com/getstarted.aspx -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090306/0c213e7d/attachment.html From edpimentl at gmail.com Fri Mar 6 04:07:53 2009 From: edpimentl at gmail.com (EdPimentl) Date: Fri, 6 Mar 2009 07:07:53 -0500 Subject: [Freeswitch-dev] CCXML/VXML module In-Reply-To: References: <207e7a5e0903050921n6dbff809r98b1c31ca8653241@mail.gmail.com> <207e7a5e0903051945u4b3295dhef73f0bcae66b96e@mail.gmail.com> Message-ID: <9dc4a1670903060407q5fe824c1i55e5526f2e7c5a3@mail.gmail.com> Here are a number of links to open source ccxml/voicexml links to help make an informed decision. http://www.unimrcp.org/ - http://www.cstr.ed.ac.uk/projects/festival/ - http://sourceforge.net/projects/cmusphinx/ -- http://www.speech.cs.cmu.edu/openvxi/index.html - http://www.voiceglue.org/ --------------------- http://simon-listens.org/index.php?id=122&L=1 NEW http://voxforge.org/ http://htk.eng.cam.ac.uk/ --------------------- http://vcm.sourceforge.net/ --------------------- tut http://www.vxml.org/ Best , E http://Gpro.ws http://AskTwiTR.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090306/b550ab7f/attachment-0001.html From anthony.minessale at gmail.com Fri Mar 6 08:07:01 2009 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Fri, 6 Mar 2009 10:07:01 -0600 Subject: [Freeswitch-dev] CCXML/VXML module In-Reply-To: <9dc4a1670903060407q5fe824c1i55e5526f2e7c5a3@mail.gmail.com> References: <207e7a5e0903050921n6dbff809r98b1c31ca8653241@mail.gmail.com> <207e7a5e0903051945u4b3295dhef73f0bcae66b96e@mail.gmail.com> <9dc4a1670903060407q5fe824c1i55e5526f2e7c5a3@mail.gmail.com> Message-ID: <191c3a030903060807m157684a2lb53203ffaddcc537@mail.gmail.com> Also consider: ESL (BSD) Can be used as a glue layer to FS over Event Socket thus negating any pesky cross-open-source license drama. We do have all the resources to make a VXML engine but nobody has really expressed an interest as of late, but we are open to the idea. On Fri, Mar 6, 2009 at 6:07 AM, EdPimentl wrote: > Here are a number of links to open source ccxml/voicexml links to help make > an informed decision. > > http://www.unimrcp.org/ > - > http://www.cstr.ed.ac.uk/projects/festival/ > - > http://sourceforge.net/projects/cmusphinx/ > -- > http://www.speech.cs.cmu.edu/openvxi/index.html > - > http://www.voiceglue.org/ > --------------------- > http://simon-listens.org/index.php?id=122&L=1 NEW > http://voxforge.org/ > http://htk.eng.cam.ac.uk/ > --------------------- > http://vcm.sourceforge.net/ > --------------------- > tut > http://www.vxml.org/ > > > Best , > E > http://Gpro.ws > http://AskTwiTR.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/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:213-799-1400 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090306/51b54692/attachment.html From anthony.minessale at gmail.com Fri Mar 6 08:06:21 2009 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Fri, 6 Mar 2009 10:06:21 -0600 Subject: [Freeswitch-dev] CCXML/VXML module In-Reply-To: <9dc4a1670903060407q5fe824c1i55e5526f2e7c5a3@mail.gmail.com> References: <207e7a5e0903050921n6dbff809r98b1c31ca8653241@mail.gmail.com> <207e7a5e0903051945u4b3295dhef73f0bcae66b96e@mail.gmail.com> <9dc4a1670903060407q5fe824c1i55e5526f2e7c5a3@mail.gmail.com> Message-ID: <191c3a030903060806w5b07cba1hfa77e5f1d1f3a455@mail.gmail.com> Also consider: ESL (BSD) Can be used as a glue layer to FS over Event Socket thus negating any pesky cross-open-source license drama. We do have all the resources to make a VXML engine but nobody has really expressed an interest as of late, but we are open to the idea. On Fri, Mar 6, 2009 at 6:07 AM, EdPimentl wrote: > Here are a number of links to open source ccxml/voicexml links to help make > an informed decision. > > http://www.unimrcp.org/ > - > http://www.cstr.ed.ac.uk/projects/festival/ > - > http://sourceforge.net/projects/cmusphinx/ > -- > http://www.speech.cs.cmu.edu/openvxi/index.html > - > http://www.voiceglue.org/ > --------------------- > http://simon-listens.org/index.php?id=122&L=1 NEW > http://voxforge.org/ > http://htk.eng.cam.ac.uk/ > --------------------- > http://vcm.sourceforge.net/ > --------------------- > tut > http://www.vxml.org/ > > > Best , > E > http://Gpro.ws > http://AskTwiTR.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/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:213-799-1400 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090306/1a82ba41/attachment.html From janvb at live.com Fri Mar 6 09:16:06 2009 From: janvb at live.com (Jan Berger) Date: Fri, 6 Mar 2009 18:16:06 +0100 Subject: [Freeswitch-dev] CCXML/VXML module In-Reply-To: <191c3a030903060807m157684a2lb53203ffaddcc537@mail.gmail.com> References: <207e7a5e0903050921n6dbff809r98b1c31ca8653241@mail.gmail.com> <207e7a5e0903051945u4b3295dhef73f0bcae66b96e@mail.gmail.com> <9dc4a1670903060407q5fe824c1i55e5526f2e7c5a3@mail.gmail.com> <191c3a030903060807m157684a2lb53203ffaddcc537@mail.gmail.com> Message-ID: VXML has some poularity in the Enterprise marked where the idea that they can use it to protect software investments has some legality. Keep in mind that a tradiotional 2 x E1 project probably has a cost of 100K USD on hardware and something like 0.5 - 1M USD on customized software - and that assumes you have a running engine to start with. It exist a large base of vxml software around, so it will catch interest if it is enabled, but you will also need to sort out the speech engine in the same process. As for ccxml - have noe idea. Date: Fri, 6 Mar 2009 10:07:01 -0600 From: anthony.minessale at gmail.com To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] CCXML/VXML module Also consider: ESL (BSD) Can be used as a glue layer to FS over Event Socket thus negating any pesky cross-open-source license drama. We do have all the resources to make a VXML engine but nobody has really expressed an interest as of late, but we are open to the idea. On Fri, Mar 6, 2009 at 6:07 AM, EdPimentl wrote: Here are a number of links to open source ccxml/voicexml links to help make an informed decision. http://www.unimrcp.org/ - http://www.cstr.ed.ac.uk/projects/festival/ - http://sourceforge.net/projects/cmusphinx/ -- http://www.speech.cs.cmu.edu/openvxi/index.html - http://www.voiceglue.org/ --------------------- http://simon-listens.org/index.php?id=122&L=1 NEW http://voxforge.org/ http://htk.eng.cam.ac.uk/ --------------------- http://vcm.sourceforge.net/ --------------------- tut http://www.vxml.org/ Best , E http://Gpro.ws http://AskTwiTR.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/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:213-799-1400 _________________________________________________________________ News, entertainment and everything you care about at Live.com. Get it now! http://www.live.com/getstarted.aspx -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090306/812c25e5/attachment.html From jaugenstine at gmail.com Fri Mar 6 09:16:41 2009 From: jaugenstine at gmail.com (jonathan augenstine) Date: Fri, 6 Mar 2009 09:16:41 -0800 Subject: [Freeswitch-dev] CCXML/VXML module In-Reply-To: <191c3a030903060807m157684a2lb53203ffaddcc537@mail.gmail.com> References: <207e7a5e0903050921n6dbff809r98b1c31ca8653241@mail.gmail.com> <207e7a5e0903051945u4b3295dhef73f0bcae66b96e@mail.gmail.com> <9dc4a1670903060407q5fe824c1i55e5526f2e7c5a3@mail.gmail.com> <191c3a030903060807m157684a2lb53203ffaddcc537@mail.gmail.com> Message-ID: <207e7a5e0903060916s842a3x32e81f7072b945f9@mail.gmail.com> Maybe I have not made my question/deliberation clear, but what I am exploring is, does VXML/CCXML bring value to Freeswitch and does it make sense in the design of the project I am working on? There is zero interest in finding a VXML/CCXML parser from another source. There is no interest in wanting to deal with the licensing issues. The target solution consideration is Freeswitch/VXML or no VXML at all and it is back to the drawing board. If the questions above are answered with a yes, then the approach would be to develop a VXML engine from scratch using the spec as a guide, not using some other parser lib or source. The only question would be whether it makes sense to develop it as a module, similar to XML-RPC, or as an application using ESL to communicate with FS. With the goal of contributing the engine to the FS project. Jonathan On Fri, Mar 6, 2009 at 8:07 AM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > Also consider: > > ESL (BSD) Can be used as a glue layer to FS over Event Socket thus negating > any pesky cross-open-source license drama. > > We do have all the resources to make a VXML engine but nobody has really > expressed an interest as of late, but we are open to the idea. > > > > > On Fri, Mar 6, 2009 at 6:07 AM, EdPimentl wrote: > >> Here are a number of links to open source ccxml/voicexml links to help >> make an informed decision. >> >> http://www.unimrcp.org/ >> - >> http://www.cstr.ed.ac.uk/projects/festival/ >> - >> http://sourceforge.net/projects/cmusphinx/ >> -- >> http://www.speech.cs.cmu.edu/openvxi/index.html >> - >> http://www.voiceglue.org/ >> --------------------- >> http://simon-listens.org/index.php?id=122&L=1 NEW >> http://voxforge.org/ >> http://htk.eng.cam.ac.uk/ >> --------------------- >> http://vcm.sourceforge.net/ >> --------------------- >> tut >> http://www.vxml.org/ >> >> >> Best , >> E >> http://Gpro.ws >> http://AskTwiTR.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/ > > 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:213-799-1400 > > _______________________________________________ > 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/20090306/9ec89e52/attachment-0001.html From brian at freeswitch.org Fri Mar 6 09:39:45 2009 From: brian at freeswitch.org (Brian West) Date: Fri, 6 Mar 2009 11:39:45 -0600 Subject: [Freeswitch-dev] CCXML/VXML module In-Reply-To: <207e7a5e0903060916s842a3x32e81f7072b945f9@mail.gmail.com> References: <207e7a5e0903050921n6dbff809r98b1c31ca8653241@mail.gmail.com> <207e7a5e0903051945u4b3295dhef73f0bcae66b96e@mail.gmail.com> <9dc4a1670903060407q5fe824c1i55e5526f2e7c5a3@mail.gmail.com> <191c3a030903060807m157684a2lb53203ffaddcc537@mail.gmail.com> <207e7a5e0903060916s842a3x32e81f7072b945f9@mail.gmail.com> Message-ID: http://www.speech.cs.cmu.edu/openvxi/ no license issues... then... wait for it.... Someone took it.. converted it to GPL, patched it... but now OpenVXI can't use any of the patches. /b On Mar 6, 2009, at 11:16 AM, jonathan augenstine wrote: > Maybe I have not made my question/deliberation clear, but what I am > exploring is, does VXML/CCXML bring value to Freeswitch and does it > make sense in the design of the project I am working on? There is > zero interest in finding a VXML/CCXML parser from another source. > There is no interest in wanting to deal with the licensing issues. > The target solution consideration is Freeswitch/VXML or no VXML at > all and it is back to the drawing board. > > If the questions above are answered with a yes, then the approach > would be to develop a VXML engine from scratch using the spec as a > guide, not using some other parser lib or source. The only question > would be whether it makes sense to develop it as a module, similar > to XML-RPC, or as an application using ESL to communicate with FS. > With the goal of contributing the engine to the FS project. > > Jonathan From imthiyazg at gmail.com Fri Mar 6 10:08:36 2009 From: imthiyazg at gmail.com (Imthiyaz Ahmed) Date: Fri, 6 Mar 2009 23:38:36 +0530 Subject: [Freeswitch-dev] CCXML/VXML module In-Reply-To: References: <207e7a5e0903050921n6dbff809r98b1c31ca8653241@mail.gmail.com> <207e7a5e0903051945u4b3295dhef73f0bcae66b96e@mail.gmail.com> <9dc4a1670903060407q5fe824c1i55e5526f2e7c5a3@mail.gmail.com> <191c3a030903060807m157684a2lb53203ffaddcc537@mail.gmail.com> <207e7a5e0903060916s842a3x32e81f7072b945f9@mail.gmail.com> Message-ID: <8595daf70903061008n648f8eaat6cc6349b1e5c1b66@mail.gmail.com> Java vxml interpreter , it is opensource http://sourceforge.net/projects/jvoicexml Imthiyaz On Fri, Mar 6, 2009 at 11:09 PM, Brian West wrote: > http://www.speech.cs.cmu.edu/openvxi/ > > no license issues... > > then... wait for it.... > > Someone took it.. converted it to GPL, patched it... but now OpenVXI > can't use any of the patches. > > /b > > On Mar 6, 2009, at 11:16 AM, jonathan augenstine wrote: > >> Maybe I have not made my question/deliberation clear, but what I am >> exploring is, does VXML/CCXML bring value to Freeswitch and does it >> make sense in the design of the project I am working on? ?There is >> zero interest in finding a VXML/CCXML parser from another source. >> There is no interest in wanting to deal with the licensing issues. >> The target solution consideration is Freeswitch/VXML or no VXML at >> all and it is back to the drawing board. >> >> If the questions above are answered with a yes, then the approach >> would be to develop a VXML engine from scratch using the spec as a >> guide, not using some other parser lib or source. ?The only question >> would be whether it makes sense to develop it as a module, similar >> to XML-RPC, or as an application using ESL to communicate with FS. >> With the goal of contributing the engine to the FS project. >> >> Jonathan > > > _______________________________________________ > 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 > -- Best Regards G.Imthiyaz Ahmed PeopleTech systems (P) ltd http://peopletech.co.in http://opensourcepbx.tmcnet.com/topics/applications/articles/31434-sangomas-mtp2-support-empowers-ss7.htm From mporter at voice3g.com Fri Mar 6 11:16:41 2009 From: mporter at voice3g.com (Matt Porter) Date: Fri, 6 Mar 2009 13:16:41 -0600 Subject: [Freeswitch-dev] CCXML/VXML module In-Reply-To: <207e7a5e0903060916s842a3x32e81f7072b945f9@mail.gmail.com> References: <207e7a5e0903050921n6dbff809r98b1c31ca8653241@mail.gmail.com> <207e7a5e0903051945u4b3295dhef73f0bcae66b96e@mail.gmail.com> <9dc4a1670903060407q5fe824c1i55e5526f2e7c5a3@mail.gmail.com> <191c3a030903060807m157684a2lb53203ffaddcc537@mail.gmail.com> <207e7a5e0903060916s842a3x32e81f7072b945f9@mail.gmail.com> Message-ID: what makes you think you "need" voicexml, I wouldnt suggest flooding the market with yet another half done voicexml interpreter... if you try to implement one from scratch, you will quickly realize that finishing the last 10% is more than 90% of the work. Then its in the state as all the other opensource voicexml interpreters out there. what you end up with just kinda smells like voicexml, and isnt terribly portable.. then you might be asking yourself why didnt i just use some other scripting language in FS and save myself all that time. VoiceXML from my experience is an all or nothing thing. People either want it, or they dont. They dont want a half-baked interperter that cant pass the IR compliance suite. I dont know how we can offer if it makes sense in the "design of the project you are working on".. you havent offered much detail there. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090306/b1f3529e/attachment.html From janvb at live.com Fri Mar 6 11:48:58 2009 From: janvb at live.com (Jan Berger) Date: Fri, 6 Mar 2009 20:48:58 +0100 Subject: [Freeswitch-dev] CCXML/VXML module In-Reply-To: References: <207e7a5e0903050921n6dbff809r98b1c31ca8653241@mail.gmail.com> <207e7a5e0903051945u4b3295dhef73f0bcae66b96e@mail.gmail.com> <9dc4a1670903060407q5fe824c1i55e5526f2e7c5a3@mail.gmail.com> <191c3a030903060807m157684a2lb53203ffaddcc537@mail.gmail.com> <207e7a5e0903060916s842a3x32e81f7072b945f9@mail.gmail.com> Message-ID: This was originally developed by some students and later acquired by a company that wanted to make business on it. What is less known is that this vxml engine has been used by several fab's as a starting point, including companies like Avaya and Nortel. > From: brian at freeswitch.org > To: freeswitch-dev at lists.freeswitch.org > Date: Fri, 6 Mar 2009 11:39:45 -0600 > Subject: Re: [Freeswitch-dev] CCXML/VXML module > > http://www.speech.cs.cmu.edu/openvxi/ > > no license issues... > > then... wait for it.... > > Someone took it.. converted it to GPL, patched it... but now OpenVXI > can't use any of the patches. > > /b > > On Mar 6, 2009, at 11:16 AM, jonathan augenstine wrote: > > > Maybe I have not made my question/deliberation clear, but what I am > > exploring is, does VXML/CCXML bring value to Freeswitch and does it > > make sense in the design of the project I am working on? There is > > zero interest in finding a VXML/CCXML parser from another source. > > There is no interest in wanting to deal with the licensing issues. > > The target solution consideration is Freeswitch/VXML or no VXML at > > all and it is back to the drawing board. > > > > If the questions above are answered with a yes, then the approach > > would be to develop a VXML engine from scratch using the spec as a > > guide, not using some other parser lib or source. The only question > > would be whether it makes sense to develop it as a module, similar > > to XML-RPC, or as an application using ESL to communicate with FS. > > With the goal of contributing the engine to the FS project. > > > > Jonathan > > > _______________________________________________ > 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 _________________________________________________________________ Show them the way! Add maps and directions to your party invites. http://www.microsoft.com/windows/windowslive/products/events.aspx -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090306/11323452/attachment.html From jaugenstine at gmail.com Fri Mar 6 12:33:56 2009 From: jaugenstine at gmail.com (jonathan augenstine) Date: Fri, 6 Mar 2009 12:33:56 -0800 Subject: [Freeswitch-dev] CCXML/VXML module In-Reply-To: References: <207e7a5e0903050921n6dbff809r98b1c31ca8653241@mail.gmail.com> <207e7a5e0903051945u4b3295dhef73f0bcae66b96e@mail.gmail.com> <9dc4a1670903060407q5fe824c1i55e5526f2e7c5a3@mail.gmail.com> <191c3a030903060807m157684a2lb53203ffaddcc537@mail.gmail.com> <207e7a5e0903060916s842a3x32e81f7072b945f9@mail.gmail.com> Message-ID: <207e7a5e0903061233n3cb04710t747a7a2e142c4fed@mail.gmail.com> I think your points are well taken and I certainly do not want to start down a road that is a dead end. What makes me think I "need" VXML is that is what my client is requesting. That is usually a pretty good determination in my book. That being said I am not beyond pushing another solution if I think it will be to their benefit. I am not looking for input on the project design. I am trying to determine if there would be benefit to Freeswitch of having a built in VXML interpreter. That is my only real question. If not, I will push much harder on the client to reconsider their request and consider other alternatives. Jonathan On Fri, Mar 6, 2009 at 11:16 AM, Matt Porter wrote: > what makes you think you "need" voicexml, > > I wouldnt suggest flooding the market with yet another half done voicexml > interpreter... > if you try to implement one from scratch, you will quickly realize that > finishing the last 10% is more than 90% of the work. Then its in the state > as all the other opensource voicexml interpreters out there. > > what you end up with just kinda smells like voicexml, and isnt terribly > portable.. then you might be asking yourself why didnt i just use some other > scripting language in FS and save myself all that time. > > VoiceXML from my experience is an all or nothing thing. People either > want it, or they dont. > They dont want a half-baked interperter that cant pass the IR compliance > suite. > > > I dont know how we can offer if it makes sense in the "design of the > project you are working on".. you havent offered much detail there. > > > > _______________________________________________ > 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/20090306/d22fd354/attachment.html From msc at freeswitch.org Fri Mar 6 12:41:53 2009 From: msc at freeswitch.org (Michael Collins) Date: Fri, 6 Mar 2009 12:41:53 -0800 Subject: [Freeswitch-dev] CCXML/VXML module In-Reply-To: <207e7a5e0903061233n3cb04710t747a7a2e142c4fed@mail.gmail.com> References: <207e7a5e0903050921n6dbff809r98b1c31ca8653241@mail.gmail.com> <207e7a5e0903051945u4b3295dhef73f0bcae66b96e@mail.gmail.com> <9dc4a1670903060407q5fe824c1i55e5526f2e7c5a3@mail.gmail.com> <191c3a030903060807m157684a2lb53203ffaddcc537@mail.gmail.com> <207e7a5e0903060916s842a3x32e81f7072b945f9@mail.gmail.com> <207e7a5e0903061233n3cb04710t747a7a2e142c4fed@mail.gmail.com> Message-ID: <87f2f3b90903061241u11ee9abck9590744849ac6eca@mail.gmail.com> On Fri, Mar 6, 2009 at 12:33 PM, jonathan augenstine wrote: > I think your points are well taken and I certainly do not want to start down > a road that is a dead end. ?What makes me think I "need" VXML is that is > what my client is requesting. ?That is usually a pretty good determination > in my book. ?That being said I am not beyond pushing another solution if I > think it will be to their benefit. ?I am not looking for input on the > project design. ?I am trying to determine if there would be benefit to > Freeswitch of having a built in VXML interpreter. That is my only real > question. ?If not, I will push much harder on the client to reconsider their > request and consider other alternatives. > Jonathan I think FS *would* benefit from a VXML interpreter if was done correctly and lived up to the standards of the rest of the project. -MC From congxin.zhao at gmail.com Mon Mar 9 02:20:40 2009 From: congxin.zhao at gmail.com (congxin zhao) Date: Mon, 9 Mar 2009 17:20:40 +0800 Subject: [Freeswitch-dev] Why does Freeswitch send Bye to sipp(uac and uas) when doing performance test? Message-ID: Hi, I use sipp to performance test on freeswitch. The test environment is as following, sipp(uac 10.51.50.5 ) <->(10.51.50.4) freeswitch(10.51.51.4) <-> sipp(uas10.51.51.5 ) But when the new call rate reaches 150 new call per second, after a little while the sipp uas shows the following error. Is there something wrong with my test case? In what environment the freeswitch will send Bye to sipp(uac and uas) ? Thanks -Congxin =============================================================================================================== [czhao at congxin trunk]$ sudo sipp -sn uac -i 10.51.50.5 10.51.50.4 -trace_err -d 100000 -r 200 Resolving remote host '10.51.50.4'... Done. ------------------------------ Scenario Screen -------- [1-9]: Change Screen -- Call-rate(length) Port Total-time Total-calls Remote-host 200.0(100000 ms)/1.000s 5060 51.40 s 10281 10.51.50.4:5060 (UDP) 75 new calls during 0.375 s period 1 ms scheduler resolution 9769 calls (limit 60000) Peak was 9769 calls, after 51 s 0 Running, 9769 Paused, 49 Woken up 0 dead call msg (discarded) 3227 out-of-call msg (discarded) 3 open sockets Messages Retrans Timeout Unexpected-Msg INVITE ----------> 10281 655 0 100 <---------- 10167 214 0 0 180 <---------- 169 0 0 0 183 <---------- 0 0 0 0 200 <---------- E-RTD1 1668 68 0 0 ACK ----------> 1668 0 Pause [ 1:40] 1668 512 BYE ----------> 0 0 0 200 <---------- 0 0 0 0 ------------------------------ Test Terminated -------------------------------- ----------------------------- Statistics Screen ------- [1-9]: Change Screen -- Start Time | 2009-03-09 13:13:49:196 1236575629.196965 Last Reset Time | 2009-03-09 13:14:40:234 1236575680.234329 Current Time | 2009-03-09 13:14:40:609 1236575680.609605 -------------------------+---------------------------+-------------------------- Counter Name | Periodic value | Cumulative value -------------------------+---------------------------+-------------------------- Elapsed Time | 00:00:00:375 | 00:00:51:412 Call Rate | 200.000 cps | 199.973 cps -------------------------+---------------------------+-------------------------- Incoming call created | 0 | 0 OutGoing call created | 75 | 10281 Total Call created | | 10281 Current Call | 9769 | -------------------------+---------------------------+-------------------------- Successful call | 0 | 0 Failed call | 11 | 512 -------------------------+---------------------------+-------------------------- Response Time 1 | 00:00:42:741 | 00:00:18:963 Call Length | 00:00:45:415 | 00:00:31:336 ------------------------------ Test Terminated -------------------------------- 2009-03-09 13:14:40:331 1236575680.331543: Discarding message which can't be mapped to a known SIPp call: INVITE sip:sipp at 10.51.50.5:5060 SIP/2.0 Via: SIP/2.0/UDP 10.51.50.4;rport;branch=z9hG4bKa4g2UNXNrty8N Max-Forwards: 70 From: sut ;tag=Ktmc91a3N33rQ To: sipp ;tag=7557SIPpTag00106 Call-ID: 106-7557 at 10.51.50.5 CSeq: 112169493 INVITE Contact: User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-11580M Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO Supported: timer, precondition, path, replaces Session-Expires: 120 Min-SE: 120 Content-Type: application/sdp Content-Disposition: session Content-Length: 153 v=0 o=user1 6853881552441804661 3123293097102204886 IN IP4 10.67.7.177 s=- c=IN IP4 10.51.50.4 t=0 0 m=audio 18182 RTP/AVP 0 a=rtpmap:0 PCMU/8000 -------------------------------------------------------------------------------------------------------------------------------------------------- [czhao at congxin trunk]$ sudo sipp -sn uac -i 10.51.50.5 10.51.50.4 -trace_err -d 100000 -r 200 [sudo] password for czhao: Resolving remote host '10.51.50.4'... Done. ------------------------------ Scenario Screen -------- [1-9]: Change Screen -- Call-rate(length) Port Total-time Total-calls Remote-host 200.0(100000 ms)/1.000s 5060 36.35 s 7270 10.51.50.4:5060 (UDP) 66 new calls during 0.326 s period 1 ms scheduler resolution 6915 calls (limit 60000) Peak was 6915 calls, after 36 s 0 Running, 6915 Paused, 0 Woken up 0 dead call msg (discarded) 553 out-of-call msg (discarded) 3 open sockets Messages Retrans Timeout Unexpected-Msg INVITE ----------> 7270 364 0 100 <---------- 7270 123 0 0 180 <---------- 153 0 0 0 183 <---------- 0 0 0 0 200 <---------- E-RTD1 1227 56 0 0 ACK ----------> 1227 0 Pause [ 1:40] 1227 355 BYE ----------> 0 0 0 200 <---------- 0 0 0 0 ------------------------------ Test Terminated -------------------------------- ----------------------------- Statistics Screen ------- [1-9]: Change Screen -- Start Time | 2009-03-09 13:29:10:948 1236576550.948498 Last Reset Time | 2009-03-09 13:29:46:977 1236576586.977287 Current Time | 2009-03-09 13:29:47:307 1236576587.307007 -------------------------+---------------------------+-------------------------- Counter Name | Periodic value | Cumulative value -------------------------+---------------------------+-------------------------- Elapsed Time | 00:00:00:329 | 00:00:36:358 Call Rate | 200.608 cps | 199.956 cps -------------------------+---------------------------+-------------------------- Incoming call created | 0 | 0 OutGoing call created | 66 | 7270 Total Call created | | 7270 Current Call | 6915 | -------------------------+---------------------------+-------------------------- Successful call | 0 | 0 Failed call | 1 | 355 -------------------------+---------------------------+-------------------------- Response Time 1 | 00:00:30:102 | 00:00:13:578 Call Length | 00:00:32:687 | 00:00:23:473 ------------------------------ Test Terminated -------------------------------- 2009-03-09 13:29:47:004 1236576587.004757: Aborting call on an unexpected BYE for call: 673-21803 at 10.51.50.5. sipp: There were more errors, see 'uac_21803_errors.log' file -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090309/ccd7a8d8/attachment-0001.html From mike at jerris.com Mon Mar 9 03:43:33 2009 From: mike at jerris.com (Michael Jerris) Date: Mon, 9 Mar 2009 06:43:33 -0400 Subject: [Freeswitch-dev] Why does Freeswitch send Bye to sipp(uac and uas) when doing performance test? In-Reply-To: References: Message-ID: <4711C828-99CB-43F3-963F-5DCA23E785F6@jerris.com> On Mar 9, 2009, at 5:20 AM, congxin zhao wrote: > Hi, > > I use sipp to performance test on freeswitch. The test environment > is as following, > > sipp(uac 10.51.50.5 ) <->(10.51.50.4) freeswitch(10.51.51.4) <-> > sipp(uas10.51.51.5 ) > > But when the new call rate reaches 150 new call per second, after a > little while the sipp uas shows the following error. Is there > something wrong with my test case? Maybe, what is your test case? Call limits? > In what environment the freeswitch will send Bye to sipp(uac and > uas) ? End of call? The other side hung up?? Mike p.s. There is a little more info at: http://wiki.freeswitch.org/wiki/Load_testing From congxin.zhao at gmail.com Mon Mar 9 20:42:46 2009 From: congxin.zhao at gmail.com (congxin zhao) Date: Tue, 10 Mar 2009 11:42:46 +0800 Subject: [Freeswitch-dev] Why does Freeswitch send Bye to sipp(uac and uas) when doing performance test? In-Reply-To: <4711C828-99CB-43F3-963F-5DCA23E785F6@jerris.com> References: <4711C828-99CB-43F3-963F-5DCA23E785F6@jerris.com> Message-ID: Thanks Make's response. The test case is that, set up new calls from sipp uac with high call rate(200 Call Attempts per Second). After the call has been set up successfully, sipp uac pauses about 1:40 minute and then sends bye to sipp uas. When running the test case, after a little while, the sipp uas runs normally, but the sipp uac shows the types of errors as the following, 2009-03-09 13:14:40:331 1236575680.331543: Discarding message which can't be mapped to a known SIPp call: 2009-03-09 13:29:47:004 1236576587.004757: Aborting call on an unexpected BYE for call: 673-21803 at 10.51.50.5. It looks that when the new call rate is high, the freeswitch will send some sipp uac unknown INVITE message and bye message. Should I forward this email to freeswitch user? -Congxin 2009/3/9 Michael Jerris > > On Mar 9, 2009, at 5:20 AM, congxin zhao wrote: > > > Hi, > > > > I use sipp to performance test on freeswitch. The test environment > > is as following, > > > > sipp(uac 10.51.50.5 ) <->(10.51.50.4) freeswitch(10.51.51.4) <-> > > sipp(uas10.51.51.5 ) > > > > But when the new call rate reaches 150 new call per second, after a > > little while the sipp uas shows the following error. Is there > > something wrong with my test case? > > Maybe, what is your test case? Call limits? > > > In what environment the freeswitch will send Bye to sipp(uac and > > uas) ? > > End of call? The other side hung up?? > > Mike > > p.s. There is a little more info at: > http://wiki.freeswitch.org/wiki/Load_testing > > _______________________________________________ > 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/20090310/49543769/attachment.html From brian at freeswitch.org Mon Mar 9 22:22:20 2009 From: brian at freeswitch.org (Brian West) Date: Tue, 10 Mar 2009 00:22:20 -0500 Subject: [Freeswitch-dev] Why does Freeswitch send Bye to sipp(uac and uas) when doing performance test? In-Reply-To: References: <4711C828-99CB-43F3-963F-5DCA23E785F6@jerris.com> Message-ID: <7EBD62DC-C5C3-4B24-81B3-CE4FCBA7D687@freeswitch.org> This is normal depending on which side hung up the call and if the scenario file accounts for it... sipp is a tool that takes time to master and understand fully and isn't something I would consider EASY. :P /b On Mar 9, 2009, at 10:42 PM, congxin zhao wrote: > Thanks Make's response. > > The test case is that, set up new calls from sipp uac with high call > rate(200 Call Attempts per Second). After the call has been set up > successfully, sipp uac pauses about 1:40 minute and then sends bye > to sipp uas. > When running the test case, after a little while, the sipp uas runs > normally, but the sipp uac shows the types of errors as the following, > 2009-03-09 13:14:40:331 1236575680.331543: Discarding message > which can't be mapped to a known SIPp call: > 2009-03-09 13:29:47:004 1236576587.004757: Aborting call on an > unexpected BYE for call: 673-21803 at 10.51.50.5. > > It looks that when the new call rate is high, the freeswitch will > send some sipp uac unknown INVITE message and bye message. > > Should I forward this email to freeswitch user? > > -Congxin > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090310/e10aaf7c/attachment.html From chris at maxpowersoft.com Wed Mar 11 09:20:54 2009 From: chris at maxpowersoft.com (Chris Danielson) Date: Wed, 11 Mar 2009 09:20:54 -0700 Subject: [Freeswitch-dev] C API session and channels questions] Message-ID: <49B7E4E6.6050103@maxpowersoft.com> **this is a repost from the freeswitch-users group. Just wanted to work it out in the dev group. Hello Guys, I have a question regarding how I can do the following within the FS C API. What API can I use to list the current channels and sessions? What I have already in place is a generic FS module capable of serializing any sort of C data and storing it onto another device or caching server. I then have the ability to deserialize and operate on these generic objects already in my module. What I anticipate doing is finding a path to load up the FreeSWITCH (session and channel) objects and deserialize them into a freshly started FreeSWITCH instance. Any ideas on what switch_core_session.c methods, etc. I should use and any pitfalls? My primary focus for my company is conference calling, but I'd like to make this a means to work with everything that I possibly can. As soon as I get my basic testing and instances working I'll offer up the code to bkw, mikej and anthm for review. As-is, I'm not even sure if what I'm asking is even feasible, but I think having a module like this would be a good start to fill my needs and perhaps those of the community. So again, my two questions are as follows: 1) What API can I use to enumerate through the current channels and sessions initialized and running in memory? (I'm looking to clone and serialize them and store them on a separate server). 2) Any helper methods or ways that I can re-construct the channels and sessions into memory on a freshly started instance of FreeSWITCH? Kind Regards, Chris Danielson (aka. danchris) From tharpgc at gmail.com Wed Mar 11 10:01:47 2009 From: tharpgc at gmail.com (Chuck Tharp) Date: Wed, 11 Mar 2009 13:01:47 -0400 Subject: [Freeswitch-dev] Initial build of source on VS 2008 Message-ID: <9095f6b80903111001v73104cd9t19e1dfca6207fc1e@mail.gmail.com> Hello, I'm new to FS and trying to build from the source tarball using VS 2008 Express on Windows Vista. Most of the FreeSwitch solution builds successfully, except for some of the sofia support modules. There are many errors, which leads me to believe that I have a missing compiler switch or some other setting. I started by opening the solution file Freeswitch.express.2008.sln. The first few errors are related to the MSG_HEADER_CLASS macro, being called from the sip_basic.c file: ..\..\sofia-sip\libsofia-sip-ua\sip\sip_basic.c(121) : error C2065: 'sip_request_hash' : undeclared identifier ..\..\sofia-sip\libsofia-sip-ua\sip\sip_basic.c(121) : error C2099: initializer is not a constant ..\..\sofia-sip\libsofia-sip-ua\sip\sip_basic.c(121) : error C2065: 'sip_request_d' : undeclared identifier ..\..\sofia-sip\libsofia-sip-ua\sip\sip_basic.c(121) : error C2099: initializer is not a constant ..\..\sofia-sip\libsofia-sip-ua\sip\sip_basic.c(121) : error C2065: 'sip_request_e' : undeclared identifier ..\..\sofia-sip\libsofia-sip-ua\sip\sip_basic.c(121) : error C2099: initializer is not a constant There are many other errors from different source files, but I would guess that they are all related to some setting that I am missing. Thanks, and sorry for the newbie question. Chuck From mike at jerris.com Wed Mar 11 12:21:36 2009 From: mike at jerris.com (Michael Jerris) Date: Wed, 11 Mar 2009 15:21:36 -0400 Subject: [Freeswitch-dev] Initial build of source on VS 2008 In-Reply-To: <9095f6b80903111001v73104cd9t19e1dfca6207fc1e@mail.gmail.com> References: <9095f6b80903111001v73104cd9t19e1dfca6207fc1e@mail.gmail.com> Message-ID: This looks like the same issue as http://jira.freeswitch.org/browse/FSBUILD-111 . If you are able to provide me remote access to your box, I would be interested in taking a look. Mike On Mar 11, 2009, at 1:01 PM, Chuck Tharp wrote: > Hello, > I'm new to FS and trying to build from the source tarball using VS > 2008 Express on Windows Vista. Most of the FreeSwitch solution builds > successfully, except for some of the sofia support modules. > > There are many errors, which leads me to believe that I have a missing > compiler switch or some other setting. I started by opening the > solution file Freeswitch.express.2008.sln. > > The first few errors are related to the MSG_HEADER_CLASS macro, being > called from the sip_basic.c file: > > ..\..\sofia-sip\libsofia-sip-ua\sip\sip_basic.c(121) : error C2065: > 'sip_request_hash' : undeclared identifier > ..\..\sofia-sip\libsofia-sip-ua\sip\sip_basic.c(121) : error C2099: > initializer is not a constant > ..\..\sofia-sip\libsofia-sip-ua\sip\sip_basic.c(121) : error C2065: > 'sip_request_d' : undeclared identifier > ..\..\sofia-sip\libsofia-sip-ua\sip\sip_basic.c(121) : error C2099: > initializer is not a constant > ..\..\sofia-sip\libsofia-sip-ua\sip\sip_basic.c(121) : error C2065: > 'sip_request_e' : undeclared identifier > ..\..\sofia-sip\libsofia-sip-ua\sip\sip_basic.c(121) : error C2099: > initializer is not a constant > > > There are many other errors from different source files, but I would > guess that they are all related to some setting that I am missing. > > Thanks, and sorry for the newbie question. > Chuck > > _______________________________________________ > 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 sshen at oa.com.au Wed Mar 11 17:27:02 2009 From: sshen at oa.com.au (Scott Shen) Date: Thu, 12 Mar 2009 11:27:02 +1100 Subject: [Freeswitch-dev] uuid_broadcast leaking problem? In-Reply-To: Message-ID: <4462DF002246D44CB823FA4F985539940EADF4BEB3@oa-exchange1.oa.com.au> Tried a simple test scenario Dialplan in public context Used a sipphone to dial into 9999, no problem, heard the FS playing music Now, in FS console, do show channels -- get the uuid uuid_broadcast '/tmp/test.wav' aleg The test.wav is played, but however seeing following errors in console [CRIT] mod_local_stream.c:237 read_stream_thread() Leaking stream handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:891] This error message disappear when the playback of test.wav is completed. From brian at freeswitch.org Wed Mar 11 17:32:31 2009 From: brian at freeswitch.org (Brian West) Date: Wed, 11 Mar 2009 19:32:31 -0500 Subject: [Freeswitch-dev] uuid_broadcast leaking problem? In-Reply-To: <4462DF002246D44CB823FA4F985539940EADF4BEB3@oa-exchange1.oa.com.au> References: <4462DF002246D44CB823FA4F985539940EADF4BEB3@oa-exchange1.oa.com.au> Message-ID: This is normal because you're broadcasting to a leg that is listening to a local_stream so nothing is reading from the stream so we dump the data and tell you about it.... Its not a major issue just letting you know that you're doing it... you might wanna use uuid_displace instead in this situation. /b On Mar 11, 2009, at 7:27 PM, Scott Shen wrote: > > Tried a simple test scenario > > Dialplan in public context > > > expression="^9999$"> > > > > > > Used a sipphone to dial into 9999, no problem, heard the FS playing > music > > Now, in FS console, do > > show channels -- get the uuid > uuid_broadcast '/tmp/test.wav' aleg > > The test.wav is played, but however seeing following errors in console > > [CRIT] mod_local_stream.c:237 read_stream_thread() Leaking stream > handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:891] > > > This error message disappear when the playback of test.wav is > completed. > From sshen at oa.com.au Wed Mar 11 17:40:20 2009 From: sshen at oa.com.au (Scott Shen) Date: Thu, 12 Mar 2009 11:40:20 +1100 Subject: [Freeswitch-dev] conference kick all coredump Message-ID: <4462DF002246D44CB823FA4F985539940EADF4BEB4@oa-exchange1.oa.com.au> Dial into a conference, heard announcement 'you are currently the only person in this conference' blah blah Now, in FS console, type conference kick all FS cored immediately. Is that the 'kick all' command shouldn't be used in this way? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090312/c86ef7f4/attachment.html From brian at freeswitch.org Wed Mar 11 17:51:53 2009 From: brian at freeswitch.org (Brian West) Date: Wed, 11 Mar 2009 19:51:53 -0500 Subject: [Freeswitch-dev] conference kick all coredump In-Reply-To: <4462DF002246D44CB823FA4F985539940EADF4BEB4@oa-exchange1.oa.com.au> References: <4462DF002246D44CB823FA4F985539940EADF4BEB4@oa-exchange1.oa.com.au> Message-ID: <220A7A59-3FC8-4A84-BD6F-594E898F2961@freeswitch.org> It works fine what I would like to know is what the backtrace says... http://wiki.freeswitch.org/wiki/Reporting_Bugs What SVN Rev, What OS, What compiler? /b On Mar 11, 2009, at 7:40 PM, Scott Shen wrote: > Dial into a conference, heard announcement ?you are currently the > only person in this conference? blah blah > > Now, in FS console, type > > conference kick all > > FS cored immediately. > > Is that the ?kick all? command shouldn?t be used in this way? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090311/cf3ba093/attachment.html From sshen at oa.com.au Wed Mar 11 20:06:12 2009 From: sshen at oa.com.au (Scott Shen) Date: Thu, 12 Mar 2009 14:06:12 +1100 Subject: [Freeswitch-dev] conference kick all coredump In-Reply-To: <220A7A59-3FC8-4A84-BD6F-594E898F2961@freeswitch.org> Message-ID: <4462DF002246D44CB823FA4F985539940EADF4BEB8@oa-exchange1.oa.com.au> I will post the backstrace, meanwhile, how about you try set 'auto-record' to an ICECAST server? -----Original Message----- From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Brian West Sent: Thursday, 12 March 2009 11:52 AM To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] conference kick all coredump It works fine what I would like to know is what the backtrace says... http://wiki.freeswitch.org/wiki/Reporting_Bugs What SVN Rev, What OS, What compiler? /b On Mar 11, 2009, at 7:40 PM, Scott Shen wrote: Dial into a conference, heard announcement 'you are currently the only person in this conference' blah blah Now, in FS console, type conference kick all FS cored immediately. Is that the 'kick all' command shouldn't be used in this way? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090312/461ca6f5/attachment.html From brian at freeswitch.org Wed Mar 11 20:14:04 2009 From: brian at freeswitch.org (Brian West) Date: Wed, 11 Mar 2009 22:14:04 -0500 Subject: [Freeswitch-dev] conference kick all coredump In-Reply-To: <4462DF002246D44CB823FA4F985539940EADF4BEB8@oa-exchange1.oa.com.au> References: <4462DF002246D44CB823FA4F985539940EADF4BEB8@oa-exchange1.oa.com.au> Message-ID: What SVN rev? what OS? you still didn't answer that. /b On Mar 11, 2009, at 10:06 PM, Scott Shen wrote: > I will post the backstrace, meanwhile, how about you try set ?auto- > record? to an ICECAST server? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090311/ab4b144d/attachment-0001.html From sshen at oa.com.au Wed Mar 11 20:39:45 2009 From: sshen at oa.com.au (Scott Shen) Date: Thu, 12 Mar 2009 14:39:45 +1100 Subject: [Freeswitch-dev] conference kick all coredump In-Reply-To: Message-ID: <4462DF002246D44CB823FA4F985539940EADF4BEBB@oa-exchange1.oa.com.au> FreeSwitch Version 1.0.trunk (11580M) Linux localhost.localdomain 2.6.27.19-170.2.35.fc10.i686 (Fedora 10) gcc version 4.3.2 20081105 (Red Hat 4.3.2-7) (GCC) -----Original Message----- From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Brian West Sent: Thursday, 12 March 2009 2:14 PM To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] conference kick all coredump What SVN rev? what OS? you still didn't answer that. /b On Mar 11, 2009, at 10:06 PM, Scott Shen wrote: I will post the backstrace, meanwhile, how about you try set 'auto-record' to an ICECAST server? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090312/c5b2e437/attachment.html From brian at freeswitch.org Wed Mar 11 20:44:36 2009 From: brian at freeswitch.org (Brian West) Date: Wed, 11 Mar 2009 22:44:36 -0500 Subject: [Freeswitch-dev] conference kick all coredump In-Reply-To: <4462DF002246D44CB823FA4F985539940EADF4BEBB@oa-exchange1.oa.com.au> References: <4462DF002246D44CB823FA4F985539940EADF4BEBB@oa-exchange1.oa.com.au> Message-ID: I would highly recommend you update. Also what local mods do you have? /b On Mar 11, 2009, at 10:39 PM, Scott Shen wrote: > FreeSwitch Version 1.0.trunk (11580M) > Linux localhost.localdomain 2.6.27.19-170.2.35.fc10.i686 (Fedora 10) > gcc version 4.3.2 20081105 (Red Hat 4.3.2-7) (GCC) > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090311/691d2b16/attachment.html From chris at maxpowersoft.com Wed Mar 11 20:56:06 2009 From: chris at maxpowersoft.com (Chris Danielson) Date: Wed, 11 Mar 2009 20:56:06 -0700 Subject: [Freeswitch-dev] conference kick all coredump In-Reply-To: <4462DF002246D44CB823FA4F985539940EADF4BEBB@oa-exchange1.oa.com.au> References: <4462DF002246D44CB823FA4F985539940EADF4BEBB@oa-exchange1.oa.com.au> Message-ID: <5A071292-1980-4BD7-BA7E-361333D063CA@maxpowersoft.com> This actually is a bug. I put the auto-record feature into fs. And about 2 months ago I noticed the same issue. When a conference kick all executes it neglects stopping the audio recording and when the conference goes out of scope a null pointer causes the seg fault. (bear with me here going from memory on the scope issue). Regards, Chris On Mar 11, 2009, at 8:39 PM, Scott Shen wrote: > FreeSwitch Version 1.0.trunk (11580M) > > Linux localhost.localdomain 2.6.27.19-170.2.35.fc10.i686 (Fedora 10) > > gcc version 4.3.2 20081105 (Red Hat 4.3.2-7) (GCC) > > > > > > -----Original Message----- > From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org > ] On Behalf Of Brian West > Sent: Thursday, 12 March 2009 2:14 PM > To: freeswitch-dev at lists.freeswitch.org > Subject: Re: [Freeswitch-dev] conference kick all coredump > > > > What SVN rev? what OS? you still didn't answer that. > > > > > > /b > > > > On Mar 11, 2009, at 10:06 PM, Scott Shen wrote: > > > > > I will post the backstrace, meanwhile, how about you try set ?auto-r > ecord? to an ICECAST server? > > > > _______________________________________________ > 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/20090311/ed699403/attachment.html From brian at freeswitch.org Wed Mar 11 20:59:14 2009 From: brian at freeswitch.org (Brian West) Date: Wed, 11 Mar 2009 22:59:14 -0500 Subject: [Freeswitch-dev] conference kick all coredump In-Reply-To: <5A071292-1980-4BD7-BA7E-361333D063CA@maxpowersoft.com> References: <4462DF002246D44CB823FA4F985539940EADF4BEBB@oa-exchange1.oa.com.au> <5A071292-1980-4BD7-BA7E-361333D063CA@maxpowersoft.com> Message-ID: <132BABEC-125B-4470-9FD7-52509D9B55A5@freeswitch.org> Time to open a jira! /b On Mar 11, 2009, at 10:56 PM, Chris Danielson wrote: > This actually is a bug. I put the auto-record feature into fs. And > about 2 months ago I noticed the same issue. When a conference kick > all executes it neglects stopping the audio recording and when the > conference goes out of scope a null pointer causes the seg fault. > (bear with me here going from memory on the scope issue). > > Regards, > Chris From sshen at oa.com.au Wed Mar 11 23:23:21 2009 From: sshen at oa.com.au (Scott Shen) Date: Thu, 12 Mar 2009 17:23:21 +1100 Subject: [Freeswitch-dev] conference kick all coredump In-Reply-To: <5A071292-1980-4BD7-BA7E-361333D063CA@maxpowersoft.com> Message-ID: <4462DF002246D44CB823FA4F985539940EADF4BEC7@oa-exchange1.oa.com.au> Thanks for the info, if you would like me to open a jira, I am happy to do it. BTW, I think this issue is applicable to other sub-commands as well, for example "mute all", is it the same cause? Regards Scott -----Original Message----- From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Chris Danielson Sent: Thursday, 12 March 2009 2:56 PM To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] conference kick all coredump This actually is a bug. I put the auto-record feature into fs. And about 2 months ago I noticed the same issue. When a conference kick all executes it neglects stopping the audio recording and when the conference goes out of scope a null pointer causes the seg fault. (bear with me here going from memory on the scope issue). Regards, Chris On Mar 11, 2009, at 8:39 PM, Scott Shen > wrote: FreeSwitch Version 1.0.trunk (11580M) Linux localhost.localdomain 2.6.27.19-170.2.35.fc10.i686 (Fedora 10) gcc version 4.3.2 20081105 (Red Hat 4.3.2-7) (GCC) -----Original Message----- From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Brian West Sent: Thursday, 12 March 2009 2:14 PM To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] conference kick all coredump What SVN rev? what OS? you still didn't answer that. /b On Mar 11, 2009, at 10:06 PM, Scott Shen wrote: I will post the backstrace, meanwhile, how about you try set 'auto-record' to an ICECAST server? _______________________________________________ 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/20090312/9dd6e46d/attachment.html From frank at impactfax.com Thu Mar 12 06:57:28 2009 From: frank at impactfax.com (Frank @ Impact) Date: Thu, 12 Mar 2009 09:57:28 -0400 Subject: [Freeswitch-dev] iptables and traffic control/shaping Message-ID: <675b01c9a31a$7b4c6090$33014c0a@ws4> Can anyone point me to any freelancers to do some work on traffic shaping on our linux firewall so we can get our FS voip traffic to flow properly and not compete with our email/web traffic? I have been banging my head and have followed all the details I can find on the FS wiki on this (and about every other web page how to I can find). Still I cannot seem to get it done correctly. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090312/830a9d08/attachment.html From chris at maxpowersoft.com Thu Mar 12 07:08:59 2009 From: chris at maxpowersoft.com (Chris Danielson) Date: Thu, 12 Mar 2009 07:08:59 -0700 Subject: [Freeswitch-dev] conference kick all coredump In-Reply-To: <4462DF002246D44CB823FA4F985539940EADF4BEC7@oa-exchange1.oa.com.au> References: <4462DF002246D44CB823FA4F985539940EADF4BEC7@oa-exchange1.oa.com.au> Message-ID: <49B9177B.6070905@maxpowersoft.com> http://jira.freeswitch.org/browse/MODAPP-233 After my contract today I'll see if I can find a way in the kick (conf_api_sub_kick method) to run an auto-record check. Then if the auto-record feature is turned on, attempt to stop the recording process first, then pull the plug on the conference call. Regards, Chris Scott Shen wrote: > > Thanks for the info, if you would like me to open a jira, I am happy > to do it. > > > > BTW, I think this issue is applicable to other sub-commands as well, > for example "mute all", is it the same cause? > > > > Regards > > Scott > > > > > > > > > > > > -----Original Message----- > *From:* freeswitch-dev-bounces at lists.freeswitch.org > [mailto:freeswitch-dev-bounces at lists.freeswitch.org] *On Behalf Of > *Chris Danielson > *Sent:* Thursday, 12 March 2009 2:56 PM > *To:* freeswitch-dev at lists.freeswitch.org > *Subject:* Re: [Freeswitch-dev] conference kick all coredump > > > > This actually is a bug. I put the auto-record feature into fs. And > about 2 months ago I noticed the same issue. When a conference kick > all executes it neglects stopping the audio recording and when the > conference goes out of scope a null pointer causes the seg fault. > (bear with me here going from memory on the scope issue). > > > > Regards, > > Chris > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090312/4a8a0cc0/attachment-0001.html From tristan at telemaque.fr Thu Mar 12 04:45:17 2009 From: tristan at telemaque.fr (Tristan) Date: Thu, 12 Mar 2009 12:45:17 +0100 Subject: [Freeswitch-dev] uuid_broadcast leaking problem? In-Reply-To: References: <4462DF002246D44CB823FA4F985539940EADF4BEB3@oa-exchange1.oa.com.au> Message-ID: <49B8F5CD.7090704@telemaque.fr> Hi Brian, Using uuid_displace with mux parameter I still get those CRIT msg, testing without mux right now, will keep you posted, Regards, Gled Brian West a ?crit : > This is normal because you're broadcasting to a leg that is listening > to a local_stream so nothing is reading from the stream so we dump the > data and tell you about it.... > > Its not a major issue just letting you know that you're doing it... > you might wanna use uuid_displace instead in this situation. > > /b > > On Mar 11, 2009, at 7:27 PM, Scott Shen wrote: > > >> Tried a simple test scenario >> >> Dialplan in public context >> >> >> > expression="^9999$"> >> >> >> >> >> >> Used a sipphone to dial into 9999, no problem, heard the FS playing >> music >> >> Now, in FS console, do >> >> show channels -- get the uuid >> uuid_broadcast '/tmp/test.wav' aleg >> >> The test.wav is played, but however seeing following errors in console >> >> [CRIT] mod_local_stream.c:237 read_stream_thread() Leaking stream >> handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:891] >> >> >> This error message disappear when the playback of test.wav is >> completed. >> >> > > > _______________________________________________ > 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/20090312/329edc53/attachment.html From solko at gcdf.pl Thu Mar 12 01:30:25 2009 From: solko at gcdf.pl (Szymon Olko) Date: Thu, 12 Mar 2009 09:30:25 +0100 Subject: [Freeswitch-dev] conference kick all coredump In-Reply-To: <4462DF002246D44CB823FA4F985539940EADF4BEBB@oa-exchange1.oa.com.au> References: <4462DF002246D44CB823FA4F985539940EADF4BEBB@oa-exchange1.oa.com.au> Message-ID: <49B8C821.4020703@gcdf.pl> Scott Shen pisze: > FreeSwitch Version 1.0.trunk (11580M) > > Linux localhost.localdomain 2.6.27.19-170.2.35.fc10.i686 (Fedora 10) > > gcc version 4.3.2 20081105 (Red Hat 4.3.2-7) (GCC) > > Isn't this that bug? http://jira.freeswitch.org/browse/MODAPP-209 > > -----Original Message----- > *From:* freeswitch-dev-bounces at lists.freeswitch.org > [mailto:freeswitch-dev-bounces at lists.freeswitch.org] *On Behalf Of > *Brian West > *Sent:* Thursday, 12 March 2009 2:14 PM > *To:* freeswitch-dev at lists.freeswitch.org > *Subject:* Re: [Freeswitch-dev] conference kick all coredump > > > > What SVN rev? what OS? you still didn't answer that. > > > > > > /b > > > > On Mar 11, 2009, at 10:06 PM, Scott Shen wrote: > > > > I will post the backstrace, meanwhile, how about you try set > ?auto-record? to an ICECAST server? > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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 solko at gcdf.pl Thu Mar 12 06:29:55 2009 From: solko at gcdf.pl (Szymon Olko) Date: Thu, 12 Mar 2009 14:29:55 +0100 Subject: [Freeswitch-dev] Possible bugs, Message-ID: <49B90E53.7040501@gcdf.pl> Hello, Before I open new ticket I want to ask if I should. It happend in svn revision 12293. First occured on kicking member from conference, backtrace is as fallows: #0 switch_core_session_get_channel (session=0x1a) at src/switch_core_session.c:797 #1 0x001bf2e7 in conference_add_event_member_data (member=0x833f1e14, event=0x94ebcc8) at mod_conference.c:417 #2 0x001c81c1 in conf_api_sub_kick (member=0x833f1e14, stream=0xa9b309b8, data=0x0) at mod_conference.c:2936 #3 0x001c253a in conf_api_dispatch (conference=0x9875ad8, stream=0xa9b309b8, argc=3, argv=0xa9b304d8, cmdline=0x8b6eddf7 "agent#385 kick 40441", argn=1) at mod_conference.c:3921 #4 0x001ca4ef in conf_api_main (cmd=0x8b6eddf7 "agent#385 kick 40441", session=0x0, stream=0xa9b309b8) at mod_conference.c:4007 #5 0x0048aa7d in switch_api_execute (cmd=0x8b6eddec "CONFERENCE", arg=0x8b6eddf7 "agent#385 kick 40441", session=0x0, stream=0xa9b309b8) at src/switch_loadable_module.c:1532 #6 0x00a156d2 in api_exec (thread=0x0, obj=0xa9b30a4c) at mod_event_socket.c:1269 #7 0x00a16547 in parse_command (listener=0x93ce980, event=0xa9b31390, reply=0xa9b31123 "", reply_len=512) at mod_event_socket.c:1635 #8 0x00a18283 in listener_run (thread=0xa9bf6b68, obj=0x93ce980) at mod_event_socket.c:2034 #9 0x004e5806 in dummy_worker (opaque=0xa9bf6b68) at threadproc/unix/thread.c:138 #10 0x0037745b in start_thread () from /lib/libpthread.so.0 #11 0x002dde5e in clone () from /lib/libc.so.6 Second was invoked by me when I had zombie conference, conference which has 0 members. I transfered there other member and then called kick all on that conference. backtrace is this: #0 0x0024e3d1 in switch_core_session_perform_kill_channel (session=0x0, file=0x19e7f8 "mod_conference.c", func=0x1a0ac9 "conf_api_sub_kick", line=2929, sig=SWITCH_SIG_BREAK) at src/switch_core_io.c:1048 #1 0x0019813d in conf_api_sub_kick (member=0x67af40bc, stream=0x9f6fb9b8, data=0x0) at mod_conference.c:2929 #2 0x00192654 in conf_api_dispatch (conference=0xa98e73f0, stream=0x9f6fb9b8, argc=3, argv=0x9f6fb4d8, cmdline=0xb297b1ef "agent#341 kick all", argn=1) at mod_conference.c:2731 #3 0x0019a4ef in conf_api_main (cmd=0xb297b1ef "agent#341 kick all", session=0x0, stream=0x9f6fb9b8) at mod_conference.c:4007 #4 0x00258a7d in switch_api_execute (cmd=0xb297b1e4 "conference", arg=0xb297b1ef "agent#341 kick all", session=0x0, stream=0x9f6fb9b8) at src/switch_loadable_module.c:1532 #5 0x00ea46d2 in api_exec (thread=0x0, obj=0x9f6fba4c) at mod_event_socket.c:1269 #6 0x00ea5547 in parse_command (listener=0x9433b80, event=0x9f6fc390, reply=0x9f6fc123 "", reply_len=512) at mod_event_socket.c:1635 #7 0x00ea7283 in listener_run (thread=0xa9161b68, obj=0x9433b80) at mod_event_socket.c:2034 #8 0x002b3806 in dummy_worker (opaque=0xa9161b68) at threadproc/unix/thread.c:138 #9 0x0037745b in start_thread () from /lib/libpthread.so.0 #10 0x005bee5e in clone () from /lib/libc.so.6 I upgrade to trunk SVN of course, but I don't know how to reproduce it so I have to wait. Does anybody recognize similar things? From anthony.minessale at gmail.com Thu Mar 12 08:12:20 2009 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 12 Mar 2009 10:12:20 -0500 Subject: [Freeswitch-dev] Possible bugs, In-Reply-To: <49B90E53.7040501@gcdf.pl> References: <49B90E53.7040501@gcdf.pl> Message-ID: <191c3a030903120812r224c8efan81aee199e5a3e1e@mail.gmail.com> Fixed in r12582 please update again. On Thu, Mar 12, 2009 at 8:29 AM, Szymon Olko wrote: > Hello, > > Before I open new ticket I want to ask if I should. > > It happend in svn revision 12293. > > First occured on kicking member from conference, backtrace is as fallows: > #0 switch_core_session_get_channel (session=0x1a) at > src/switch_core_session.c:797 > #1 0x001bf2e7 in conference_add_event_member_data (member=0x833f1e14, > event=0x94ebcc8) at mod_conference.c:417 > #2 0x001c81c1 in conf_api_sub_kick (member=0x833f1e14, stream=0xa9b309b8, > data=0x0) at mod_conference.c:2936 > #3 0x001c253a in conf_api_dispatch (conference=0x9875ad8, > stream=0xa9b309b8, argc=3, argv=0xa9b304d8, > cmdline=0x8b6eddf7 "agent#385 kick 40441", argn=1) at > mod_conference.c:3921 > #4 0x001ca4ef in conf_api_main (cmd=0x8b6eddf7 "agent#385 kick 40441", > session=0x0, stream=0xa9b309b8) at mod_conference.c:4007 > #5 0x0048aa7d in switch_api_execute (cmd=0x8b6eddec "CONFERENCE", > arg=0x8b6eddf7 "agent#385 kick 40441", session=0x0, > stream=0xa9b309b8) > at src/switch_loadable_module.c:1532 > #6 0x00a156d2 in api_exec (thread=0x0, obj=0xa9b30a4c) at > mod_event_socket.c:1269 > #7 0x00a16547 in parse_command (listener=0x93ce980, event=0xa9b31390, > reply=0xa9b31123 "", reply_len=512) at mod_event_socket.c:1635 > #8 0x00a18283 in listener_run (thread=0xa9bf6b68, obj=0x93ce980) at > mod_event_socket.c:2034 > #9 0x004e5806 in dummy_worker (opaque=0xa9bf6b68) at > threadproc/unix/thread.c:138 > #10 0x0037745b in start_thread () from /lib/libpthread.so.0 > #11 0x002dde5e in clone () from /lib/libc.so.6 > > Second was invoked by me when I had zombie conference, conference which has > 0 members. I transfered there other member and then > called kick all on that conference. backtrace is this: > #0 0x0024e3d1 in switch_core_session_perform_kill_channel (session=0x0, > file=0x19e7f8 "mod_conference.c", func=0x1a0ac9 > "conf_api_sub_kick", line=2929, > sig=SWITCH_SIG_BREAK) at src/switch_core_io.c:1048 > #1 0x0019813d in conf_api_sub_kick (member=0x67af40bc, stream=0x9f6fb9b8, > data=0x0) at mod_conference.c:2929 > #2 0x00192654 in conf_api_dispatch (conference=0xa98e73f0, > stream=0x9f6fb9b8, argc=3, argv=0x9f6fb4d8, cmdline=0xb297b1ef > "agent#341 kick all", argn=1) > at mod_conference.c:2731 > #3 0x0019a4ef in conf_api_main (cmd=0xb297b1ef "agent#341 kick all", > session=0x0, stream=0x9f6fb9b8) at mod_conference.c:4007 > #4 0x00258a7d in switch_api_execute (cmd=0xb297b1e4 "conference", > arg=0xb297b1ef "agent#341 kick all", session=0x0, > stream=0x9f6fb9b8) > at src/switch_loadable_module.c:1532 > #5 0x00ea46d2 in api_exec (thread=0x0, obj=0x9f6fba4c) at > mod_event_socket.c:1269 > #6 0x00ea5547 in parse_command (listener=0x9433b80, event=0x9f6fc390, > reply=0x9f6fc123 "", reply_len=512) at mod_event_socket.c:1635 > #7 0x00ea7283 in listener_run (thread=0xa9161b68, obj=0x9433b80) at > mod_event_socket.c:2034 > #8 0x002b3806 in dummy_worker (opaque=0xa9161b68) at > threadproc/unix/thread.c:138 > #9 0x0037745b in start_thread () from /lib/libpthread.so.0 > #10 0x005bee5e in clone () from /lib/libc.so.6 > > I upgrade to trunk SVN of course, but I don't know how to reproduce it so I > have to wait. > > Does anybody recognize similar things? > > _______________________________________________ > 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/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:213-799-1400 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090312/b058c865/attachment.html From anthony.minessale at gmail.com Thu Mar 12 08:15:59 2009 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 12 Mar 2009 10:15:59 -0500 Subject: [Freeswitch-dev] uuid_broadcast leaking problem? In-Reply-To: <49B8F5CD.7090704@telemaque.fr> References: <4462DF002246D44CB823FA4F985539940EADF4BEB3@oa-exchange1.oa.com.au> <49B8F5CD.7090704@telemaque.fr> Message-ID: <191c3a030903120815x7e8f5544x9efe2ea1010b2fb8@mail.gmail.com> local_stream is a buffering audio stream. if you were playing a normal file it would simply wait for you to continue reading since this is in motion it would be constantly buffering the audio for however long you were paused and eventually eat up all your ram. Each time you see that message, it means that the buffer was cleared out and started over to avoid flooding. The main intent of that warning is if you open a local_stream handle then forget to close it, we use that as a warning system so if you see it repeatedly when there are no calls then it's the only time to worry about it. We may downgrade it to a DEBUG message. On Thu, Mar 12, 2009 at 6:45 AM, Tristan wrote: > Hi Brian, > > Using uuid_displace with mux parameter I still get those CRIT msg, > > testing without mux right now, will keep you posted, > > Regards, > > Gled > > Brian West a ?crit : > > This is normal because you're broadcasting to a leg that is listening > to a local_stream so nothing is reading from the stream so we dump the > data and tell you about it.... > > Its not a major issue just letting you know that you're doing it... > you might wanna use uuid_displace instead in this situation. > > /b > > On Mar 11, 2009, at 7:27 PM, Scott Shen wrote: > > > > Tried a simple test scenario > > Dialplan in public context > > > expression="^9999$"> > > > > > > Used a sipphone to dial into 9999, no problem, heard the FS playing > music > > Now, in FS console, do > > show channels -- get the uuid > uuid_broadcast '/tmp/test.wav' aleg > > The test.wav is played, but however seeing following errors in console > > [CRIT] mod_local_stream.c:237 read_stream_thread() Leaking stream > handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:891] > > > This error message disappear when the playback of test.wav is > completed. > > > > _______________________________________________ > Freeswitch-dev mailing listFreeswitch-dev at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-devhttp://www.freeswitch.org > > > _______________________________________________ > 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/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:213-799-1400 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090312/c6bd707e/attachment-0001.html From mike at jerris.com Thu Mar 12 08:15:48 2009 From: mike at jerris.com (Michael Jerris) Date: Thu, 12 Mar 2009 11:15:48 -0400 Subject: [Freeswitch-dev] Possible bugs, In-Reply-To: <49B90E53.7040501@gcdf.pl> References: <49B90E53.7040501@gcdf.pl> Message-ID: <0817C3AD-B3E0-4C15-A4F0-CAC584CBA269@jerris.com> I think this is fixed in svn r12582. Could you please confirm, and if not, please post a bug. Mike On Mar 12, 2009, at 9:29 AM, Szymon Olko wrote: > Hello, > > Before I open new ticket I want to ask if I should. > > It happend in svn revision 12293. > > First occured on kicking member from conference, backtrace is as > fallows: > #0 switch_core_session_get_channel (session=0x1a) at src/ > switch_core_session.c:797 > #1 0x001bf2e7 in conference_add_event_member_data > (member=0x833f1e14, event=0x94ebcc8) at mod_conference.c:417 > #2 0x001c81c1 in conf_api_sub_kick (member=0x833f1e14, > stream=0xa9b309b8, data=0x0) at mod_conference.c:2936 > #3 0x001c253a in conf_api_dispatch (conference=0x9875ad8, > stream=0xa9b309b8, argc=3, argv=0xa9b304d8, > cmdline=0x8b6eddf7 "agent#385 kick 40441", argn=1) at > mod_conference.c:3921 > #4 0x001ca4ef in conf_api_main (cmd=0x8b6eddf7 "agent#385 kick > 40441", session=0x0, stream=0xa9b309b8) at mod_conference.c:4007 > #5 0x0048aa7d in switch_api_execute (cmd=0x8b6eddec "CONFERENCE", > arg=0x8b6eddf7 "agent#385 kick 40441", session=0x0, > stream=0xa9b309b8) > at src/switch_loadable_module.c:1532 > #6 0x00a156d2 in api_exec (thread=0x0, obj=0xa9b30a4c) at > mod_event_socket.c:1269 > #7 0x00a16547 in parse_command (listener=0x93ce980, > event=0xa9b31390, reply=0xa9b31123 "", reply_len=512) at > mod_event_socket.c:1635 > #8 0x00a18283 in listener_run (thread=0xa9bf6b68, obj=0x93ce980) at > mod_event_socket.c:2034 > #9 0x004e5806 in dummy_worker (opaque=0xa9bf6b68) at threadproc/ > unix/thread.c:138 > #10 0x0037745b in start_thread () from /lib/libpthread.so.0 > #11 0x002dde5e in clone () from /lib/libc.so.6 > > Second was invoked by me when I had zombie conference, conference > which has 0 members. I transfered there other member and then > called kick all on that conference. backtrace is this: > #0 0x0024e3d1 in switch_core_session_perform_kill_channel > (session=0x0, file=0x19e7f8 "mod_conference.c", func=0x1a0ac9 > "conf_api_sub_kick", line=2929, > sig=SWITCH_SIG_BREAK) at src/switch_core_io.c:1048 > #1 0x0019813d in conf_api_sub_kick (member=0x67af40bc, > stream=0x9f6fb9b8, data=0x0) at mod_conference.c:2929 > #2 0x00192654 in conf_api_dispatch (conference=0xa98e73f0, > stream=0x9f6fb9b8, argc=3, argv=0x9f6fb4d8, cmdline=0xb297b1ef > "agent#341 kick all", argn=1) > at mod_conference.c:2731 > #3 0x0019a4ef in conf_api_main (cmd=0xb297b1ef "agent#341 kick > all", session=0x0, stream=0x9f6fb9b8) at mod_conference.c:4007 > #4 0x00258a7d in switch_api_execute (cmd=0xb297b1e4 "conference", > arg=0xb297b1ef "agent#341 kick all", session=0x0, > stream=0x9f6fb9b8) > at src/switch_loadable_module.c:1532 > #5 0x00ea46d2 in api_exec (thread=0x0, obj=0x9f6fba4c) at > mod_event_socket.c:1269 > #6 0x00ea5547 in parse_command (listener=0x9433b80, > event=0x9f6fc390, reply=0x9f6fc123 "", reply_len=512) at > mod_event_socket.c:1635 > #7 0x00ea7283 in listener_run (thread=0xa9161b68, obj=0x9433b80) at > mod_event_socket.c:2034 > #8 0x002b3806 in dummy_worker (opaque=0xa9161b68) at threadproc/ > unix/thread.c:138 > #9 0x0037745b in start_thread () from /lib/libpthread.so.0 > #10 0x005bee5e in clone () from /lib/libc.so.6 > > I upgrade to trunk SVN of course, but I don't know how to reproduce > it so I have to wait. > > Does anybody recognize similar things? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090312/41d20d38/attachment.html From intralanman at freeswitch.org Thu Mar 12 08:28:19 2009 From: intralanman at freeswitch.org (Raymond Chandler) Date: Thu, 12 Mar 2009 11:28:19 -0400 Subject: [Freeswitch-dev] uuid_broadcast leaking problem? In-Reply-To: <191c3a030903120815x7e8f5544x9efe2ea1010b2fb8@mail.gmail.com> References: <4462DF002246D44CB823FA4F985539940EADF4BEB3@oa-exchange1.oa.com.au> <49B8F5CD.7090704@telemaque.fr> <191c3a030903120815x7e8f5544x9efe2ea1010b2fb8@mail.gmail.com> Message-ID: <49B92A13.6090800@freeswitch.org> > We may downgrade it to a DEBUG message. maybe warn? or at least info? this is the kind of thing i'd like to know about... even if others wouldn't -Ray From kristian.kielhofner at gmail.com Thu Mar 12 09:20:23 2009 From: kristian.kielhofner at gmail.com (Kristian Kielhofner) Date: Thu, 12 Mar 2009 12:20:23 -0400 Subject: [Freeswitch-dev] iptables and traffic control/shaping In-Reply-To: <675b01c9a31a$7b4c6090$33014c0a@ws4> References: <675b01c9a31a$7b4c6090$33014c0a@ws4> Message-ID: <2d9149cd0903120920l10c1fc7ufe90d2d6364901d@mail.gmail.com> Frank, Some people have had success with my astshape script (sorry about the name): http://astlinux.svn.sourceforge.net/viewvc/astlinux/trunk/package/iproute2/astshape?revision=1767 On Thu, Mar 12, 2009 at 9:57 AM, Frank @ Impact wrote: > Can anyone point me to any freelancers to do some work on traffic shaping on > our linux firewall so we can get our FS voip traffic to flow properly and > not compete with our email/web traffic? ?I have been banging my head and > have followed all the details I can find on the FS wiki on this (and about > every other web page how to I can find).? Still I cannot seem to get it done > correctly. > > > > Thanks > > > > _______________________________________________ > 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 http://blog.krisk.org http://www.submityoursip.com http://www.astlinux.org http://www.star2star.com From msc at freeswitch.org Thu Mar 12 09:35:33 2009 From: msc at freeswitch.org (Michael Collins) Date: Thu, 12 Mar 2009 09:35:33 -0700 Subject: [Freeswitch-dev] uuid_broadcast leaking problem? In-Reply-To: <49B92A13.6090800@freeswitch.org> References: <4462DF002246D44CB823FA4F985539940EADF4BEB3@oa-exchange1.oa.com.au> <49B8F5CD.7090704@telemaque.fr> <191c3a030903120815x7e8f5544x9efe2ea1010b2fb8@mail.gmail.com> <49B92A13.6090800@freeswitch.org> Message-ID: <87f2f3b90903120935m4f362ee7ye06d44ecfab90d@mail.gmail.com> >> We may downgrade it to a DEBUG message. > maybe warn? or at least info? this is the kind of thing i'd like to know > about... even if others wouldn't I think Ray is correct. WARNING is probably the best place to put something like this. People see a red message and immediately thing their system is doing something wrong. Purple is less intimidating. :) -MC From tristan at telemaque.fr Fri Mar 13 02:14:50 2009 From: tristan at telemaque.fr (Tristan) Date: Fri, 13 Mar 2009 10:14:50 +0100 Subject: [Freeswitch-dev] uuid_broadcast leaking problem? In-Reply-To: <191c3a030903120815x7e8f5544x9efe2ea1010b2fb8@mail.gmail.com> References: <4462DF002246D44CB823FA4F985539940EADF4BEB3@oa-exchange1.oa.com.au> <49B8F5CD.7090704@telemaque.fr> <191c3a030903120815x7e8f5544x9efe2ea1010b2fb8@mail.gmail.com> Message-ID: <49BA240A.2050308@telemaque.fr> Hi, Thanks for the explanation Anthony, For those wondering, it happens also without the mux parameter, but as explained by Anthony, it's not critical. Downgrading the message is a good idea ;) Regards, Gled Anthony Minessale a ?crit : > local_stream is a buffering audio stream. > if you were playing a normal file it would simply wait for you to > continue reading since this is in motion it would be constantly > buffering the audio for however long you were paused and eventually > eat up all your ram. Each time you see that message, it means that > the buffer was cleared out and started over to avoid flooding. The > main intent of that warning is if you open a local_stream handle then > forget to close it, we use that as a warning system so if you see it > repeatedly when there are no calls then it's the only time to worry > about it. > > We may downgrade it to a DEBUG message. > > > On Thu, Mar 12, 2009 at 6:45 AM, Tristan > wrote: > > Hi Brian, > > Using uuid_displace with mux parameter I still get those CRIT msg, > > testing without mux right now, will keep you posted, > > Regards, > > Gled > > Brian West a ?crit : >> This is normal because you're broadcasting to a leg that is listening >> to a local_stream so nothing is reading from the stream so we dump the >> data and tell you about it.... >> >> Its not a major issue just letting you know that you're doing it... >> you might wanna use uuid_displace instead in this situation. >> >> /b >> >> On Mar 11, 2009, at 7:27 PM, Scott Shen wrote: >> >> >>> Tried a simple test scenario >>> >>> Dialplan in public context >>> >>> >>> >> expression="^9999$"> >>> >>> >>> >>> >>> >>> Used a sipphone to dial into 9999, no problem, heard the FS playing >>> music >>> >>> Now, in FS console, do >>> >>> show channels -- get the uuid >>> uuid_broadcast '/tmp/test.wav' aleg >>> >>> The test.wav is played, but however seeing following errors in console >>> >>> [CRIT] mod_local_stream.c:237 read_stream_thread() Leaking stream >>> handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:891] >>> >>> >>> This error message disappear when the playback of test.wav is >>> completed. >>> >>> >> _______________________________________________ >> 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 >> >> > > _______________________________________________ > 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/ > > 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 > > iax:guest at conference.freeswitch.org/888 > > googletalk:conf+888 at conference.freeswitch.org > > pstn:213-799-1400 > ------------------------------------------------------------------------ > > _______________________________________________ > 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/20090313/ae922ab2/attachment-0001.html From wasim at convergence.pk Fri Mar 13 07:25:22 2009 From: wasim at convergence.pk (Wasim Baig) Date: Fri, 13 Mar 2009 19:25:22 +0500 Subject: [Freeswitch-dev] GSOC09 Message-ID: Any efforts made to get Freeswitch into the Google Summer of Code 2009? -- wasim h. baig | principal consultant | convergence pk | +92 300 8508070 | peace be upon you ... -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090313/be6f8dd7/attachment.html From brian at freeswitch.org Fri Mar 13 07:32:32 2009 From: brian at freeswitch.org (Brian West) Date: Fri, 13 Mar 2009 09:32:32 -0500 Subject: [Freeswitch-dev] GSOC09 In-Reply-To: References: Message-ID: <65E7FAD4-1DD8-4399-A46F-ABAC36E5CAFE@freeswitch.org> we would love too. When do submissions open up? I have tried to keep an eye out for it but seems its hard to catch on any of the geek news sites till its closed for submissions. /b On Mar 13, 2009, at 9:25 AM, Wasim Baig wrote: > Any efforts made to get Freeswitch into the Google Summer of Code > 2009? From sprice at gmail.com Fri Mar 13 07:42:27 2009 From: sprice at gmail.com (SP) Date: Fri, 13 Mar 2009 09:42:27 -0500 Subject: [Freeswitch-dev] GSOC09 In-Reply-To: <65E7FAD4-1DD8-4399-A46F-ABAC36E5CAFE@freeswitch.org> References: <65E7FAD4-1DD8-4399-A46F-ABAC36E5CAFE@freeswitch.org> Message-ID: <7e2ac3270903130742k4946e93ep5ade3677a48e269c@mail.gmail.com> http://code.google.com/soc/ We are currently accepting applications from open source projects that would like to act as mentoring organizations for Google Summer of Code? 2009. We will begin accepting student applications on March 23rd. For a detailed timeline and further information about the program, review our Frequently Asked Questions. On Fri, Mar 13, 2009 at 09:32, Brian West wrote: > we would love too. ?When do submissions open up? ?I have tried to keep > an eye out for it but seems its hard to catch on any of the geek news > sites till its closed for submissions. > > /b > > On Mar 13, 2009, at 9:25 AM, Wasim Baig wrote: > >> Any efforts made to get Freeswitch into the Google Summer of Code >> 2009? > > > _______________________________________________ > 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 > -- Shannon From herman at hermangriffin.com Sun Mar 15 17:23:11 2009 From: herman at hermangriffin.com (Herman Griffin) Date: Sun, 15 Mar 2009 17:23:11 -0700 Subject: [Freeswitch-dev] Make waiting around an option for consumer callbacks in mod_fifo [patch] Message-ID: <851dfc360903151723n3529f796t98be804cc30c9fb6@mail.gmail.com> The consumer callback that has been added to mod_fifo is great. I've been looking for this feature for a long time. However, in it's current state it still has the problem that I was trying to avoid in the first place; I don't want agents to just be sitting around waiting for callers with their phone off the hook. I made a slight modification mod_fifo.c that makes the "waiting around" an option. If you set the channel following channel variable in the originate string for agents in fifo.conf.xml, then the consumers phone will either hangup or stay off hook when they answer a queue calls: member_wait = wait|nowait nowait: agents phone hangs up wait: agents wait around I'm including a patched for mod_fifo.c and fifo.conf.xml. li53-164:~/fstrunk# svn diff src/mod/applications/mod_fifo/mod_fifo.c conf/autoload_configs/fifo.conf.xml Index: src/mod/applications/mod_fifo/mod_fifo.c =================================================================== --- src/mod/applications/mod_fifo/mod_fifo.c (revision 12607) +++ src/mod/applications/mod_fifo/mod_fifo.c (working copy) @@ -462,10 +462,23 @@ channel = switch_core_session_get_channel(session); + + /*Add option to wait on not wait*/ + const char *member_wait = NULL; + member_wait = switch_channel_get_variable(channel, "member_wait"); + + /*if the member_wait channel variable is NULL or not set to "wait" or 'nowait" + then default to "wait" + */ + if( NULL == member_wait || !( !strcasecmp(member_wait, "wait") || !strcasecmp(member_wait, "nowait") ) ) + { + member_wait = "wait"; + } + switch_channel_set_variable(channel, "fifo_outbound_uuid", h->uuid); switch_core_event_hook_add_state_change(session, hanguphook); app_name = "fifo"; - arg = switch_core_session_sprintf(session, "%s out wait", h->node_name); + arg = switch_core_session_sprintf(session, "%s out %s", h->node_name, member_wait); /*Add option to wait or not wait*/ extension = switch_caller_extension_new(session, app_name, arg); switch_caller_extension_add_application(session, extension, app_name, arg); switch_channel_set_caller_extension(channel, extension); Index: conf/autoload_configs/fifo.conf.xml =================================================================== --- conf/autoload_configs/fifo.conf.xml (revision 12607) +++ conf/autoload_configs/fifo.conf.xml (working copy) @@ -1,7 +1,7 @@ - + An alternate approach is to make the 'member_wait" option an attribute in the member tag, which would be more elegant. However is would require changes to funtions and the fifo_outbound table. I'm sure I could whip that up pretty quickly too. However, I don't want to spend my time doing it without feedback from you all? Please provide some input to the usefulness of this option and and ideas that you have. ./herman freenode: frek310 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090315/abe6780b/attachment.html From anthony.minessale at gmail.com Sun Mar 15 18:25:24 2009 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Sun, 15 Mar 2009 20:25:24 -0500 Subject: [Freeswitch-dev] Make waiting around an option for consumer callbacks in mod_fifo [patch] In-Reply-To: <851dfc360903151723n3529f796t98be804cc30c9fb6@mail.gmail.com> References: <851dfc360903151723n3529f796t98be804cc30c9fb6@mail.gmail.com> Message-ID: <191c3a030903151825q98fee1dq63e246317fae6d23@mail.gmail.com> The variable way is ok since you can set it in the dial string you set in the config anyway so you have the best of both worlds. Can you submit the patch via jira please http://jira.freeswitch.org, patches in email tend to get broken by whitespace changes etc. On Sun, Mar 15, 2009 at 7:23 PM, Herman Griffin wrote: > The consumer callback that has been added to mod_fifo is great. I've been > looking for this feature for a long time. > However, in it's current state it still has the problem that I was trying > to avoid in the first place; I don't want agents > to just be sitting around waiting for callers with their phone off the > hook. > > I made a slight modification mod_fifo.c that makes the "waiting around" an > option. If you set the channel following channel > variable in the originate string for agents in fifo.conf.xml, then the > consumers phone will either hangup or stay off hook when > they answer a queue calls: > > member_wait = wait|nowait > > nowait: agents phone hangs up > wait: agents wait around > > > I'm including a patched for mod_fifo.c and fifo.conf.xml. > > li53-164:~/fstrunk# svn diff src/mod/applications/mod_fifo/mod_fifo.c > conf/autoload_configs/fifo.conf.xml > Index: src/mod/applications/mod_fifo/mod_fifo.c > =================================================================== > --- src/mod/applications/mod_fifo/mod_fifo.c (revision 12607) > +++ src/mod/applications/mod_fifo/mod_fifo.c (working copy) > @@ -462,10 +462,23 @@ > > > channel = switch_core_session_get_channel(session); > + > + /*Add option to wait on not wait*/ > + const char *member_wait = NULL; > + member_wait = switch_channel_get_variable(channel, "member_wait"); > + > + /*if the member_wait channel variable is NULL or not set to "wait" > or 'nowait" > + then default to "wait" > + */ > + if( NULL == member_wait || !( !strcasecmp(member_wait, "wait") || > !strcasecmp(member_wait, "nowait") ) ) > + { > + member_wait = "wait"; > + } > + > switch_channel_set_variable(channel, "fifo_outbound_uuid", > h->uuid); > switch_core_event_hook_add_state_change(session, hanguphook); > app_name = "fifo"; > - arg = switch_core_session_sprintf(session, "%s out wait", > h->node_name); > + arg = switch_core_session_sprintf(session, "%s out %s", > h->node_name, member_wait); /*Add option to wait or not wait*/ > extension = switch_caller_extension_new(session, app_name, arg); > switch_caller_extension_add_application(session, extension, > app_name, arg); > switch_channel_set_caller_extension(channel, extension); > Index: conf/autoload_configs/fifo.conf.xml > =================================================================== > --- conf/autoload_configs/fifo.conf.xml (revision 12607) > +++ conf/autoload_configs/fifo.conf.xml (working copy) > @@ -1,7 +1,7 @@ > > > > - > + > > > > > > An alternate approach is to make the 'member_wait" option an attribute in > the member tag, which would be more elegant. > However is would require changes to funtions and the fifo_outbound table. > I'm sure I could whip that up pretty quickly too. > > However, I don't want to spend my time doing it without feedback from you > all? Please provide some input to the usefulness > of this option and and ideas that you have. > > ./herman > freenode: frek310 > > > _______________________________________________ > 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/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:213-799-1400 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090315/3c7ed23a/attachment-0001.html From solko at gcdf.pl Mon Mar 16 02:45:31 2009 From: solko at gcdf.pl (Szymon Olko) Date: Mon, 16 Mar 2009 10:45:31 +0100 Subject: [Freeswitch-dev] Debug fs Message-ID: <49BE1FBB.6070809@gcdf.pl> Hi, Today I could do nothing in conference. When I opend fs_cli I could run 'status', and other commands, but when I input 'conference list' I did not receive any response. It happed also via event_socket. On fs_cli I saw such logs afters 'fsctl shutdown asap' freeswitch at internal> 2009-03-16 11:29:14 [DEBUG] mod_conference.c:5663 mod_conference_shutdown() Waiting for 3 threads 2009-03-16 11:29:14 [DEBUG] mod_conference.c:5663 mod_conference_shutdown() Waiting for 3 threads 2009-03-16 11:29:14 [DEBUG] mod_conference.c:5663 mod_conference_shutdown() Waiting for 3 threads 2009-03-16 11:29:14 [DEBUG] mod_conference.c:5663 mod_conference_shutdown() Waiting for 3 threads 2009-03-16 11:29:14 [DEBUG] mod_conference.c:5663 mod_conference_shutdown() Waiting for 3 threads 2009-03-16 11:29:15 [DEBUG] mod_conference.c:5663 mod_conference_shutdown() Waiting for 3 threads 2009-03-16 11:29:15 [DEBUG] mod_conference.c:5663 mod_conference_shutdown() Waiting for 3 threads 2009-03-16 11:29:15 [DEBUG] mod_conference.c:5663 mod_conference_shutdown() Waiting for 3 threads 2009-03-16 11:29:15 [DEBUG] mod_conference.c:5663 mod_conference_shutdown() Waiting for 3 threads 2009-03-16 11:29:15 [DEBUG] mod_conference.c:5663 mod_conference_shutdown() Waiting for 3 threads 2009-03-16 11:29:15 [DEBUG] mod_conference.c:5663 mod_conference_shutdown() Waiting for 3 threads 2009-03-16 11:29:15 [DEBUG] mod_conference.c:5663 mod_conference_shutdown() Waiting for 3 threads 2009-03-16 11:29:15 [DEBUG] mod_conference.c:5663 mod_conference_shutdown() Waiting for 3 threads 2009-03-16 11:29:15 [DEBUG] mod_conference.c:5663 mod_conference_shutdown() Waiting for 3 threads 2009-03-16 11:29:15 [DEBUG] mod_conference.c:5663 mod_conference_shutdown() Waiting for 3 threads 2009-03-16 11:29:16 [DEBUG] mod_conference.c:5663 mod_conference_shutdown() Waiting for 3 threads 2009-03-16 11:29:16 [DEBUG] mod_conference.c:5663 mod_conference_shutdown() Waiting for 3 threads How can I debug such situations to open usable ticket? From anthony.minessale at gmail.com Mon Mar 16 07:27:16 2009 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 16 Mar 2009 09:27:16 -0500 Subject: [Freeswitch-dev] Debug fs In-Reply-To: <49BE1FBB.6070809@gcdf.pl> References: <49BE1FBB.6070809@gcdf.pl> Message-ID: <191c3a030903160727s7f25dd3dx7328f2eeffe95b35@mail.gmail.com> if you can reproduce the steps to get it in that state, go into another console on the same box and do the following: 1) cd to the FS source dir 2) sh scripts/freeswitch-gcore > core.trace 3) attach core.trace to a jira ticket http://jira.freeswitch.org On Mon, Mar 16, 2009 at 4:45 AM, Szymon Olko wrote: > Hi, > > Today I could do nothing in conference. When I opend fs_cli I could run > 'status', and other commands, but when I input > 'conference list' I did not receive any response. It happed also via > event_socket. On fs_cli I saw such logs afters 'fsctl > shutdown asap' > > freeswitch at internal> 2009-03-16 11:29:14 [DEBUG] mod_conference.c:5663 > mod_conference_shutdown() Waiting for 3 threads > 2009-03-16 11:29:14 [DEBUG] mod_conference.c:5663 mod_conference_shutdown() > Waiting for 3 threads > 2009-03-16 11:29:14 [DEBUG] mod_conference.c:5663 mod_conference_shutdown() > Waiting for 3 threads > 2009-03-16 11:29:14 [DEBUG] mod_conference.c:5663 mod_conference_shutdown() > Waiting for 3 threads > 2009-03-16 11:29:14 [DEBUG] mod_conference.c:5663 mod_conference_shutdown() > Waiting for 3 threads > 2009-03-16 11:29:15 [DEBUG] mod_conference.c:5663 mod_conference_shutdown() > Waiting for 3 threads > 2009-03-16 11:29:15 [DEBUG] mod_conference.c:5663 mod_conference_shutdown() > Waiting for 3 threads > 2009-03-16 11:29:15 [DEBUG] mod_conference.c:5663 mod_conference_shutdown() > Waiting for 3 threads > 2009-03-16 11:29:15 [DEBUG] mod_conference.c:5663 mod_conference_shutdown() > Waiting for 3 threads > 2009-03-16 11:29:15 [DEBUG] mod_conference.c:5663 mod_conference_shutdown() > Waiting for 3 threads > 2009-03-16 11:29:15 [DEBUG] mod_conference.c:5663 mod_conference_shutdown() > Waiting for 3 threads > 2009-03-16 11:29:15 [DEBUG] mod_conference.c:5663 mod_conference_shutdown() > Waiting for 3 threads > 2009-03-16 11:29:15 [DEBUG] mod_conference.c:5663 mod_conference_shutdown() > Waiting for 3 threads > 2009-03-16 11:29:15 [DEBUG] mod_conference.c:5663 mod_conference_shutdown() > Waiting for 3 threads > 2009-03-16 11:29:15 [DEBUG] mod_conference.c:5663 mod_conference_shutdown() > Waiting for 3 threads > 2009-03-16 11:29:16 [DEBUG] mod_conference.c:5663 mod_conference_shutdown() > Waiting for 3 threads > 2009-03-16 11:29:16 [DEBUG] mod_conference.c:5663 mod_conference_shutdown() > Waiting for 3 threads > > How can I debug such situations to open usable ticket? > > _______________________________________________ > 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/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:213-799-1400 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090316/127565e1/attachment.html From msc at freeswitch.org Mon Mar 16 08:48:54 2009 From: msc at freeswitch.org (Michael Collins) Date: Mon, 16 Mar 2009 08:48:54 -0700 Subject: [Freeswitch-dev] Debug fs In-Reply-To: <191c3a030903160727s7f25dd3dx7328f2eeffe95b35@mail.gmail.com> References: <49BE1FBB.6070809@gcdf.pl> <191c3a030903160727s7f25dd3dx7328f2eeffe95b35@mail.gmail.com> Message-ID: <87f2f3b90903160848n72c9e884w65c009a5baa98d99@mail.gmail.com> 2009/3/16 Anthony Minessale : > if you can reproduce the steps to get it in that state, go into another > console on the same box and do the following: > > 1) cd to the FS source dir > > 2) sh scripts/freeswitch-gcore > core.trace > > 3) attach core.trace to a jira ticket > > http://jira.freeswitch.org FYI, this is handy stuff so I will add it to the reporting bugs wiki page. -MC From frank at impactfax.com Mon Mar 16 14:18:24 2009 From: frank at impactfax.com (Frank @ Impact) Date: Mon, 16 Mar 2009 17:18:24 -0400 Subject: [Freeswitch-dev] multiple nics Message-ID: <758601c9a67c$bdd8d730$33014c0a@ws4> I have two nics and different ip's on different networks on these nics. I would like to bind FS sip to each of these so we can send and receive sip calls on both nics. But I am not clear how to do this. Do I just make two entries in vars.xml? Like this (one for each ip addres?) and that is all? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090316/e0102dfe/attachment.html From brian at freeswitch.org Mon Mar 16 14:21:30 2009 From: brian at freeswitch.org (Brian West) Date: Mon, 16 Mar 2009 16:21:30 -0500 Subject: [Freeswitch-dev] multiple nics In-Reply-To: <758601c9a67c$bdd8d730$33014c0a@ws4> References: <758601c9a67c$bdd8d730$33014c0a@ws4> Message-ID: <9A6CC00B-E3BF-437E-AD05-49BEDB23E668@freeswitch.org> If you look at the notes in vars.xml you'll see that bind_server_ip is used only for mod_dingaling. you're better off opening up the sip profile directly and setting the IP's /b On Mar 16, 2009, at 4:18 PM, Frank @ Impact wrote: > I have two nics and different ip?s on different networks on these > nics. > > I would like to bind FS sip to each of these so we can send and > receive sip calls on both nics. > > But I am not clear how to do this. Do I just make two entries in > vars.xml? > Like this (one for each ip addres?) > > > and that is all? > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090316/6a81daf1/attachment.html From solko at gcdf.pl Tue Mar 17 05:32:17 2009 From: solko at gcdf.pl (Szymon Olko) Date: Tue, 17 Mar 2009 13:32:17 +0100 Subject: [Freeswitch-dev] Debug fs In-Reply-To: <191c3a030903160727s7f25dd3dx7328f2eeffe95b35@mail.gmail.com> References: <49BE1FBB.6070809@gcdf.pl> <191c3a030903160727s7f25dd3dx7328f2eeffe95b35@mail.gmail.com> Message-ID: <49BF9851.1090808@gcdf.pl> Anthony Minessale pisze: > if you can reproduce the steps to get it in that state, go into another > console on the same box and do the following: > > 1) cd to the FS source dir > > 2) sh scripts/freeswitch-gcore > core.trace > > 3) attach core.trace to a jira ticket > > http://jira.freeswitch.org > > Today I found core dump from yesterday. I killed freeswitch with 'kill -9' so it produced core dump as I belive. Don't know if it useful? #0 0x0055d263 in strlen () from /lib/libc.so.6 (gdb) bt #0 0x0055d263 in strlen () from /lib/libc.so.6 #1 0x0052d82e in vfprintf () from /lib/libc.so.6 #2 0x0054dc9c in vasprintf () from /lib/libc.so.6 #3 0x00c07a9b in switch_vasprintf (ret=0xb56123c4, fmt=0x915dd8 "Conference %s (%u member%s%s)\n", ap=0xb56123e8 "") at src/switch_apr.c:917 #4 0x00c14e1b in switch_console_stream_write (handle=0xb5612958, fmt=0x915dd8 "Conference %s (%u member%s%s)\n") at src/switch_console.c:125 #5 0x0090eae5 in conf_api_sub_list (conference=0xb7988b90, stream=0xb5612958, argc=1, argv=0xb5612478) at mod_conference.c:3100 #6 0x009106ba in conf_api_main (cmd=0x8539caf "list", session=0x0, stream=0xb5612958) at mod_conference.c:4019 #7 0x00c2f40d in switch_api_execute (cmd=0x8539ca4 "conference", arg=0x8539caf "list", session=0x0, stream=0xb5612958) at src/switch_loadable_module.c:1541 #8 0x00bb16c2 in api_exec (thread=0x0, obj=0xb5612a08) at mod_event_socket.c:1280 #9 0x00bb2698 in parse_command (listener=0xb79f42a8, event=0xb5613390, reply=0xb5613123 "", reply_len=512) at mod_event_socket.c:1656 #10 0x00bb43d3 in listener_run (thread=0xb3aa1b88, obj=0xb79f42a8) at mod_event_socket.c:2055 #11 0x00c8b606 in dummy_worker (opaque=0xb3aa1b88) at threadproc/unix/thread.c:138 #12 0x0037745b in start_thread () from /lib/libpthread.so.0 #13 0x005bee5e in clone () from /lib/libc.so.6 > > On Mon, Mar 16, 2009 at 4:45 AM, Szymon Olko wrote: > > Hi, > > Today I could do nothing in conference. When I opend fs_cli I could > run 'status', and other commands, but when I input > 'conference list' I did not receive any response. It happed also via > event_socket. On fs_cli I saw such logs afters 'fsctl > shutdown asap' > > freeswitch at internal> 2009-03-16 11:29:14 [DEBUG] > mod_conference.c:5663 mod_conference_shutdown() Waiting for 3 threads > 2009-03-16 11:29:14 [DEBUG] mod_conference.c:5663 > mod_conference_shutdown() Waiting for 3 threads > 2009-03-16 11:29:14 [DEBUG] mod_conference.c:5663 > mod_conference_shutdown() Waiting for 3 threads > 2009-03-16 11:29:14 [DEBUG] mod_conference.c:5663 > mod_conference_shutdown() Waiting for 3 threads > 2009-03-16 11:29:14 [DEBUG] mod_conference.c:5663 > mod_conference_shutdown() Waiting for 3 threads > 2009-03-16 11:29:15 [DEBUG] mod_conference.c:5663 > mod_conference_shutdown() Waiting for 3 threads > 2009-03-16 11:29:15 [DEBUG] mod_conference.c:5663 > mod_conference_shutdown() Waiting for 3 threads > 2009-03-16 11:29:15 [DEBUG] mod_conference.c:5663 > mod_conference_shutdown() Waiting for 3 threads > 2009-03-16 11:29:15 [DEBUG] mod_conference.c:5663 > mod_conference_shutdown() Waiting for 3 threads > 2009-03-16 11:29:15 [DEBUG] mod_conference.c:5663 > mod_conference_shutdown() Waiting for 3 threads > 2009-03-16 11:29:15 [DEBUG] mod_conference.c:5663 > mod_conference_shutdown() Waiting for 3 threads > 2009-03-16 11:29:15 [DEBUG] mod_conference.c:5663 > mod_conference_shutdown() Waiting for 3 threads > 2009-03-16 11:29:15 [DEBUG] mod_conference.c:5663 > mod_conference_shutdown() Waiting for 3 threads > 2009-03-16 11:29:15 [DEBUG] mod_conference.c:5663 > mod_conference_shutdown() Waiting for 3 threads > 2009-03-16 11:29:15 [DEBUG] mod_conference.c:5663 > mod_conference_shutdown() Waiting for 3 threads > 2009-03-16 11:29:16 [DEBUG] mod_conference.c:5663 > mod_conference_shutdown() Waiting for 3 threads > 2009-03-16 11:29:16 [DEBUG] mod_conference.c:5663 > mod_conference_shutdown() Waiting for 3 threads > > How can I debug such situations to open usable ticket? > > _______________________________________________ > 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/ > > 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 > > iax:guest at conference.freeswitch.org/888 > > googletalk:conf+888 at conference.freeswitch.org > > pstn:213-799-1400 > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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 anthony.minessale at gmail.com Tue Mar 17 06:49:11 2009 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 17 Mar 2009 08:49:11 -0500 Subject: [Freeswitch-dev] Debug fs In-Reply-To: <49BF9851.1090808@gcdf.pl> References: <49BE1FBB.6070809@gcdf.pl> <191c3a030903160727s7f25dd3dx7328f2eeffe95b35@mail.gmail.com> <49BF9851.1090808@gcdf.pl> Message-ID: <191c3a030903170649w52c5cb96ibb8c3b235877010@mail.gmail.com> you must svn update to trunk, your version has a bug that has already been fixed. On Tue, Mar 17, 2009 at 7:32 AM, Szymon Olko wrote: > Anthony Minessale pisze: > > if you can reproduce the steps to get it in that state, go into another > > console on the same box and do the following: > > > > 1) cd to the FS source dir > > > > 2) sh scripts/freeswitch-gcore > core.trace > > > > 3) attach core.trace to a jira ticket > > > > http://jira.freeswitch.org > > > > > Today I found core dump from yesterday. I killed freeswitch with 'kill -9' > so it produced core dump as I belive. Don't know if it > useful? > > #0 0x0055d263 in strlen () from /lib/libc.so.6 > (gdb) bt > #0 0x0055d263 in strlen () from /lib/libc.so.6 > #1 0x0052d82e in vfprintf () from /lib/libc.so.6 > #2 0x0054dc9c in vasprintf () from /lib/libc.so.6 > #3 0x00c07a9b in switch_vasprintf (ret=0xb56123c4, fmt=0x915dd8 > "Conference %s (%u member%s%s)\n", ap=0xb56123e8 "") at > src/switch_apr.c:917 > #4 0x00c14e1b in switch_console_stream_write (handle=0xb5612958, > fmt=0x915dd8 "Conference %s (%u member%s%s)\n") at > src/switch_console.c:125 > #5 0x0090eae5 in conf_api_sub_list (conference=0xb7988b90, > stream=0xb5612958, argc=1, argv=0xb5612478) at mod_conference.c:3100 > #6 0x009106ba in conf_api_main (cmd=0x8539caf "list", session=0x0, > stream=0xb5612958) at mod_conference.c:4019 > #7 0x00c2f40d in switch_api_execute (cmd=0x8539ca4 "conference", > arg=0x8539caf "list", session=0x0, stream=0xb5612958) > at src/switch_loadable_module.c:1541 > #8 0x00bb16c2 in api_exec (thread=0x0, obj=0xb5612a08) at > mod_event_socket.c:1280 > #9 0x00bb2698 in parse_command (listener=0xb79f42a8, event=0xb5613390, > reply=0xb5613123 "", reply_len=512) at mod_event_socket.c:1656 > #10 0x00bb43d3 in listener_run (thread=0xb3aa1b88, obj=0xb79f42a8) at > mod_event_socket.c:2055 > #11 0x00c8b606 in dummy_worker (opaque=0xb3aa1b88) at > threadproc/unix/thread.c:138 > #12 0x0037745b in start_thread () from /lib/libpthread.so.0 > #13 0x005bee5e in clone () from /lib/libc.so.6 > > > > > > On Mon, Mar 16, 2009 at 4:45 AM, Szymon Olko wrote: > > > > Hi, > > > > Today I could do nothing in conference. When I opend fs_cli I could > > run 'status', and other commands, but when I input > > 'conference list' I did not receive any response. It happed also via > > event_socket. On fs_cli I saw such logs afters 'fsctl > > shutdown asap' > > > > freeswitch at internal> 2009-03-16 11:29:14 [DEBUG] > > mod_conference.c:5663 mod_conference_shutdown() Waiting for 3 threads > > 2009-03-16 11:29:14 [DEBUG] mod_conference.c:5663 > > mod_conference_shutdown() Waiting for 3 threads > > 2009-03-16 11:29:14 [DEBUG] mod_conference.c:5663 > > mod_conference_shutdown() Waiting for 3 threads > > 2009-03-16 11:29:14 [DEBUG] mod_conference.c:5663 > > mod_conference_shutdown() Waiting for 3 threads > > 2009-03-16 11:29:14 [DEBUG] mod_conference.c:5663 > > mod_conference_shutdown() Waiting for 3 threads > > 2009-03-16 11:29:15 [DEBUG] mod_conference.c:5663 > > mod_conference_shutdown() Waiting for 3 threads > > 2009-03-16 11:29:15 [DEBUG] mod_conference.c:5663 > > mod_conference_shutdown() Waiting for 3 threads > > 2009-03-16 11:29:15 [DEBUG] mod_conference.c:5663 > > mod_conference_shutdown() Waiting for 3 threads > > 2009-03-16 11:29:15 [DEBUG] mod_conference.c:5663 > > mod_conference_shutdown() Waiting for 3 threads > > 2009-03-16 11:29:15 [DEBUG] mod_conference.c:5663 > > mod_conference_shutdown() Waiting for 3 threads > > 2009-03-16 11:29:15 [DEBUG] mod_conference.c:5663 > > mod_conference_shutdown() Waiting for 3 threads > > 2009-03-16 11:29:15 [DEBUG] mod_conference.c:5663 > > mod_conference_shutdown() Waiting for 3 threads > > 2009-03-16 11:29:15 [DEBUG] mod_conference.c:5663 > > mod_conference_shutdown() Waiting for 3 threads > > 2009-03-16 11:29:15 [DEBUG] mod_conference.c:5663 > > mod_conference_shutdown() Waiting for 3 threads > > 2009-03-16 11:29:15 [DEBUG] mod_conference.c:5663 > > mod_conference_shutdown() Waiting for 3 threads > > 2009-03-16 11:29:16 [DEBUG] mod_conference.c:5663 > > mod_conference_shutdown() Waiting for 3 threads > > 2009-03-16 11:29:16 [DEBUG] mod_conference.c:5663 > > mod_conference_shutdown() Waiting for 3 threads > > > > How can I debug such situations to open usable ticket? > > > > _______________________________________________ > > 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/ > > > > 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 > > > > > > iax:guest at conference.freeswitch.org/888 > > > > googletalk:conf+888 at conference.freeswitch.org > > > > > > pstn:213-799-1400 > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > 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 > > > _______________________________________________ > 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/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:213-799-1400 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090317/87bbc509/attachment.html From matt at hellohunter.com Tue Mar 17 00:10:53 2009 From: matt at hellohunter.com (Matt Hunter) Date: Tue, 17 Mar 2009 14:10:53 +0700 Subject: [Freeswitch-dev] Fifo feature request -- no consumer disconnect after agent hangup Message-ID: <4256bf830903170010n399ca56dga12d7e3d556017dd@mail.gmail.com> I have a situation where it would be useful for a consumer not to be hungup, after finishing the "fifo in" execution (when the agent disconnects the call or the agent hangs-up). The consumer is automatically hungup, in this situation. It would be preferable if the consumer channel went further along the dial plan. I thought I might get lucky implementing this setting with hangup_after_bridge to false, but fifo does not utilize this variable. I tried looking thru the mod_fifo.c source, but my c skills are minimal. I also tried executing fifo in a lua app and setting setAutoHangup(false), but that also did not work. Any chance this could be done as a feature enhancement? Thanks. --matt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090317/24c52af6/attachment.html From matt at hellohunter.com Tue Mar 17 01:00:00 2009 From: matt at hellohunter.com (Matt Hunter) Date: Tue, 17 Mar 2009 15:00:00 +0700 Subject: [Freeswitch-dev] Fifo feature request -- no consumer disconnect after agent hangup In-Reply-To: <4256bf830903170010n399ca56dga12d7e3d556017dd@mail.gmail.com> References: <4256bf830903170010n399ca56dga12d7e3d556017dd@mail.gmail.com> Message-ID: <4256bf830903170100l5ca14f96yb2e2cc307946ec2e@mail.gmail.com> Woops, I think I mis-typed the proper terminology.. what I mean to say is that the caller is automatically hung-up after the consumer (or agent) disconnects the call (either by hangup, or pressing *). I would like instead for the caller to be passed back to the dialplan to continue execution. --matt On Tue, Mar 17, 2009 at 2:10 PM, Matt Hunter wrote: > I have a situation where it would be useful for a consumer not to be > hungup, after finishing the "fifo in" execution (when the agent disconnects > the call or the agent hangs-up). The consumer is automatically hungup, in > this situation. It would be preferable if the consumer channel went further > along the dial plan. I thought I might get lucky implementing this setting > with hangup_after_bridge to false, but fifo does not utilize this variable. > I tried looking thru the mod_fifo.c source, but my c skills are minimal. I > also tried executing fifo in a lua app and setting setAutoHangup(false), but > that also did not work. Any chance this could be done as a feature > enhancement? Thanks. > > --matt > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090317/d822ba0d/attachment.html From tzah at jajah.com Tue Mar 17 09:48:53 2009 From: tzah at jajah.com (Tzahi Efrati) Date: Tue, 17 Mar 2009 18:48:53 +0200 Subject: [Freeswitch-dev] support for MSNP or Windows Live Messenger API Message-ID: Hi guys, Does FS have support for integration with Windows Live Messenger using its protocol MSNP or some API by Microsoft? I would like to be able to bridge SIP calls to WLM clients. Thanks, Tzahi This mail was sent via Mail-SeCure System. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090317/0341c67b/attachment-0001.html From msc at freeswitch.org Tue Mar 17 10:11:32 2009 From: msc at freeswitch.org (Michael Collins) Date: Tue, 17 Mar 2009 10:11:32 -0700 Subject: [Freeswitch-dev] support for MSNP or Windows Live Messenger API In-Reply-To: References: Message-ID: <87f2f3b90903171011o61293677y71f99b5e02ac92b5@mail.gmail.com> > Does FS have support for integration with Windows Live Messenger using its > protocol MSNP or some API by Microsoft? I would like to be able to bridge > SIP calls to WLM clients. Interesting. I know nothing about WLM or it's client. I take it that WLM supports only the MS protocol? -MC From anthony.minessale at gmail.com Tue Mar 17 10:12:11 2009 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 17 Mar 2009 12:12:11 -0500 Subject: [Freeswitch-dev] support for MSNP or Windows Live Messenger API In-Reply-To: References: Message-ID: <191c3a030903171012i5b5a38edx1c4f7c493d9d6d1d@mail.gmail.com> no, but it's possible to accomplish with some effort and a new module. 2009/3/17 Tzahi Efrati > Hi guys, > > > > Does FS have support for integration with Windows Live Messenger using its > protocol MSNP or some API by Microsoft? I would like to be able to bridge > SIP calls to WLM clients. > > > > Thanks, > > Tzahi > > > This mail was sent via Mail-SeCure System. > > > _______________________________________________ > 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/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:213-799-1400 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090317/e72299db/attachment.html From dujinfang at gmail.com Wed Mar 18 00:48:48 2009 From: dujinfang at gmail.com (seven) Date: Wed, 18 Mar 2009 15:48:48 +0800 Subject: [Freeswitch-dev] Hot to generate fake audio rtp on a single channel Message-ID: Hi, I want to do this : originate sofia/gateways/carrier1/xxxxx &record(/tmp/file.wav) However, I got Bye without any cause from the carrier1 after about 1 minute, I traced there were no RTP packets sent out from my BOX. If there any chance the record() dp_tools can send fake audio? I tried supress_cng = true/false, and Channel variable bridge_generate_comfort_noise. no luck with that. And I think maybe these params only work on a bridged channel, but I only have one party. And it seems that there is param can do this on conference. 0 autoload_configs/conference.conf.xml 41 Thanks for help. Regards, Seven From qulix at mail.ru Wed Mar 18 14:14:37 2009 From: qulix at mail.ru (=?koi8-r?Q?=EC=C5=DB=C1...?=) Date: Thu, 19 Mar 2009 00:14:37 +0300 Subject: [Freeswitch-dev] Good Time! Message-ID: Hello everybody! I need your help with scripting! Problem is: I've got an office with (example) 5 sip soft phones (users) And one_other_user outside this office, in another group. What I need is to make the special extension, which will do next: When one_other_user dial this extension - he automaticaly linking with first available user from office. Technicaly, I see it working this way: Application puts one_other_user in a hold and starts dialing first user. If during 10 seconds he gets up the phone - application links them. If not - application dialing second user. If second user is busy - dialing third user. Next actions - the same to previous. If last user not OK - hang up. Is it possible to create such a script? Using Lua? Sorry if I do something wrong here. =\ From michael at omniscient.com.au Wed Mar 18 16:22:33 2009 From: michael at omniscient.com.au (Michael Taylor) Date: Thu, 19 Mar 2009 10:22:33 +1100 Subject: [Freeswitch-dev] Good Time! In-Reply-To: References: Message-ID: <49C18239.7050808@omniscient.com.au> No need for a script, try this: one_other_user can now call 500 (in this example) to call each user in turn Refer to http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_bridgecall for the 10 second "Timeout" Refer to http://wiki.freeswitch.org/wiki/Freeswitch_IVR_Originate for "Mutiple destinations in outbound calls" NOTE: the '|' between each sofia/internal/userX means try each one at a time A more advanced option would be to use a call-group, that you add the 5 users to. from each of the 5 sip phones, dial the extension 501 to add them into the group dialing 502 from a phone takes it out of a group dialing 500 calls each member of the group one at a time until one is answered the order that each sip phone is called will be the order you added them into the group (using extension 501) Michael. ????... wrote: > Hello everybody! > > I need your help with scripting! > > Problem is: > I've got an office with (example) 5 sip soft phones (users) > And one_other_user outside this office, in another group. > What I need is to make the special extension, which will do next: > When one_other_user dial this extension - he automaticaly linking with first available user from office. > > Technicaly, I see it working this way: > Application puts one_other_user in a hold and starts dialing first user. > If during 10 seconds he gets up the phone - application links them. > If not - application dialing second user. > If second user is busy - dialing third user. Next actions - the same to previous. > > If last user not OK - hang up. > > Is it possible to create such a script? Using Lua? > > Sorry if I do something wrong here. =\ > > _______________________________________________ > 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 > -- Omniscient Australia Pty Ltd http://www.omniscient.com.au 1300 660 152 GPO Box 2705 MELBOURNE 3001 -------------- next part -------------- A non-text attachment was scrubbed... Name: michael.vcf Type: text/x-vcard Size: 302 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090319/82ef2e0b/attachment.vcf From solko at gcdf.pl Fri Mar 20 07:06:14 2009 From: solko at gcdf.pl (Szymon Olko) Date: Fri, 20 Mar 2009 15:06:14 +0100 Subject: [Freeswitch-dev] Set variable/identifier for channel Message-ID: <49C3A2D6.8080704@gcdf.pl> Hello, I'm using conference module for agent/queues system. My system is build based on event_socket. To originate call I use commands like this. 'bgapi conference test dial sofia/internal/1001%192.168.77.248 123 test' Then I await for CHANNEL_CREATED and CHANNEL_OUTGOING events. I use those fields from event "Caller-Caller-ID-Name=test Caller-Caller-ID-Number=123" to connect my command with channel creation. Temporally I use asterisk as a pass-through pbx, it changes caller id to what it should be, I don't want to set it to the one above. Is it possible to add to conference dial command one extra parameter which will be set in channel and visible in all events. I searched for it but could not find something like that. Second minor thing. There is 'conference bgdial' command which raises CUSTOM event which I could use, but this command can be only set for conference that exists, have at least one member. It would be good for it to work also on empty (not existing) conferences. Is it possible? Szymon Olko From brian at freeswitch.org Fri Mar 20 07:33:36 2009 From: brian at freeswitch.org (Brian West) Date: Fri, 20 Mar 2009 09:33:36 -0500 Subject: [Freeswitch-dev] Set variable/identifier for channel In-Reply-To: <49C3A2D6.8080704@gcdf.pl> References: <49C3A2D6.8080704@gcdf.pl> Message-ID: <67AC6524-2CDA-4527-AA64-52C31F386C22@freeswitch.org> On Mar 20, 2009, at 9:06 AM, Szymon Olko wrote: > Hello, > > I'm using conference module for agent/queues system. My system is > build based on event_socket. > > To originate call I use commands like this. > 'bgapi conference test dial sofia/internal/1001%192.168.77.248 123 > test' > > Then I await for CHANNEL_CREATED and CHANNEL_OUTGOING events. I use > those fields from event > "Caller-Caller-ID-Name=test > Caller-Caller-ID-Number=123" Are you using the latest SVN trunk? Also the first call into the conference can be done via "originate". > > to connect my command with channel creation. Temporally I use > asterisk as a pass-through pbx, it changes caller id to what it > should be, I don't want to set it to the one above. > > Is it possible to add to conference dial command one extra parameter > which will be set in channel and visible in all events. I > searched for it but could not find something like that. > > Second minor thing. There is 'conference bgdial' command which > raises CUSTOM event which I could use, but this command can be only > set for conference that exists, have at least one member. It would > be good for it to work also on empty (not existing) > conferences. Is it possible? see Above! > > Szymon Olko From solko at gcdf.pl Fri Mar 20 07:54:08 2009 From: solko at gcdf.pl (Szymon Olko) Date: Fri, 20 Mar 2009 15:54:08 +0100 Subject: [Freeswitch-dev] Set variable/identifier for channel In-Reply-To: <67AC6524-2CDA-4527-AA64-52C31F386C22@freeswitch.org> References: <49C3A2D6.8080704@gcdf.pl> <67AC6524-2CDA-4527-AA64-52C31F386C22@freeswitch.org> Message-ID: <49C3AE10.2040602@gcdf.pl> Brian West pisze: > On Mar 20, 2009, at 9:06 AM, Szymon Olko wrote: > >> Hello, >> >> I'm using conference module for agent/queues system. My system is >> build based on event_socket. >> >> To originate call I use commands like this. >> 'bgapi conference test dial sofia/internal/1001%192.168.77.248 123 >> test' >> >> Then I await for CHANNEL_CREATED and CHANNEL_OUTGOING events. I use >> those fields from event >> "Caller-Caller-ID-Name=test >> Caller-Caller-ID-Number=123" > > > Are you using the latest SVN trunk? Also the first call into the > conference can be done via "originate". I'm using lates SVN trunk. I tried originate command and it works. But still I don't know how to connect created channel with my command. This is a list of events I get in order: API CHANNEL_CREATE CHANNEL_OUTGOING CHANNEL_ORIGINATE CHANNEL_STATE PRESENCE_IN CHANNEL_STATE PRESENCE_IN CHANNEL_STATE CHANNEL_PROGRESS PRESENCE_IN CHANNEL_HANGUP API BACKGROUND_JOB PRESENCE_IN CHANNEL_DESTROY As you see I getn 'CHANNEL_CREATE' just after sending command. In my system I can match it to my command just through special values in callerid, which is not for that purpose. I don't see difference for me between those commands. 'bgapi conference test dial sofia/internal/1001%192.168.77.248 123' and 'bgapi originate sofia/internal/1000%192.168.77.248 &conference(test#1) XML default test 123' > >> to connect my command with channel creation. Temporally I use >> asterisk as a pass-through pbx, it changes caller id to what it >> should be, I don't want to set it to the one above. >> >> Is it possible to add to conference dial command one extra parameter >> which will be set in channel and visible in all events. I >> searched for it but could not find something like that. >> >> Second minor thing. There is 'conference bgdial' command which >> raises CUSTOM event which I could use, but this command can be only >> set for conference that exists, have at least one member. It would >> be good for it to work also on empty (not existing) >> conferences. Is it possible? > > > see Above! > > >> Szymon Olko > > > _______________________________________________ > 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 qulix at mail.ru Sun Mar 22 07:45:15 2009 From: qulix at mail.ru (=?koi8-r?Q?=EC=C5=DB=C1...?=) Date: Sun, 22 Mar 2009 17:45:15 +0300 Subject: [Freeswitch-dev] FS Accounting. Message-ID: Hello guys! How is it possible to get accounting records for every call (internal , external)? PS: sorry for noowbie question. =\ From brian at freeswitch.org Sun Mar 22 07:56:06 2009 From: brian at freeswitch.org (Brian West) Date: Sun, 22 Mar 2009 09:56:06 -0500 Subject: [Freeswitch-dev] FS Accounting. In-Reply-To: References: Message-ID: <1B791343-5DF0-47C3-87B0-1FE727B0A816@freeswitch.org> Yes it writes out CDR's just like any other voip software out there.... check out mod_cdr_csv or mod_xml_cdr /b On Mar 22, 2009, at 9:45 AM, ????... wrote: > Hello guys! > > How is it possible to get accounting records for every call > (internal , external)? > > PS: sorry for noowbie question. =\ From solko at gcdf.pl Mon Mar 23 01:51:04 2009 From: solko at gcdf.pl (Szymon Olko) Date: Mon, 23 Mar 2009 09:51:04 +0100 Subject: [Freeswitch-dev] Set variable/identifier for channel In-Reply-To: <67AC6524-2CDA-4527-AA64-52C31F386C22@freeswitch.org> References: <49C3A2D6.8080704@gcdf.pl> <67AC6524-2CDA-4527-AA64-52C31F386C22@freeswitch.org> Message-ID: <49C74D78.1080004@gcdf.pl> Brian West pisze: > On Mar 20, 2009, at 9:06 AM, Szymon Olko wrote: > >> Hello, >> >> I'm using conference module for agent/queues system. My system is >> build based on event_socket. >> >> To originate call I use commands like this. >> 'bgapi conference test dial sofia/internal/1001%192.168.77.248 123 >> test' >> >> Then I await for CHANNEL_CREATED and CHANNEL_OUTGOING events. I use >> those fields from event >> "Caller-Caller-ID-Name=test >> Caller-Caller-ID-Number=123" > > > Are you using the latest SVN trunk? Also the first call into the > conference can be done via "originate". > >> to connect my command with channel creation. Temporally I use >> asterisk as a pass-through pbx, it changes caller id to what it >> should be, I don't want to set it to the one above. >> >> Is it possible to add to conference dial command one extra parameter >> which will be set in channel and visible in all events. I >> searched for it but could not find something like that. I found solution for this looking into sources of mod_conference and switch_ivr_originate. Channel variables can be set in originate and dial commands, Following syntax must can be used: 'bgapi conference test dial {variable_name=value}sofia/internal/1001%192.168.77.248 123 test' or 'bgapi originate {variable_name=value}sofia/internal/1000%192.168.77.248 &conference(test#1) XML default test 123' Multiple variables can be set, every variable must be put in it's own curly brackets. Do anybody knows is there are problems with some special characters in variable value?? This feature works now because there is no checking of 'bridgeto' values in code. Is this good way to use it, or should I make a patch for mod_conference and add another argument to 'conference dial' command? From brian at freeswitch.org Mon Mar 23 04:56:40 2009 From: brian at freeswitch.org (Brian West) Date: Mon, 23 Mar 2009 06:56:40 -0500 Subject: [Freeswitch-dev] Set variable/identifier for channel In-Reply-To: <49C74D78.1080004@gcdf.pl> References: <49C3A2D6.8080704@gcdf.pl> <67AC6524-2CDA-4527-AA64-52C31F386C22@freeswitch.org> <49C74D78.1080004@gcdf.pl> Message-ID: On Mar 23, 2009, at 3:51 AM, Szymon Olko wrote: > I found solution for this looking into sources of mod_conference and > switch_ivr_originate. > Channel variables can be set in originate and dial commands, > Following syntax must can be used: > > 'bgapi conference test dial {variable_name=value}sofia/internal/ > 1001%192.168.77.248 123 test' > > or > > 'bgapi originate {variable_name=value}sofia/internal/ > 1000%192.168.77.248 &conference(test#1) XML default test 123' > > Multiple variables can be set, every variable must be put in it's > own curly brackets. NO, You do {var=val,foo=bar,blah=blah}sofia/blah/blah Its the same syntax system wide. > Do anybody knows is there are problems with some special characters > in variable value?? Like what? > > This feature works now because there is no checking of 'bridgeto' > values in code. Is this good way to use it, or should I make a > patch for mod_conference and add another argument to 'conference > dial' command? What do you mean patch? /b From solko at gcdf.pl Mon Mar 23 05:59:36 2009 From: solko at gcdf.pl (Szymon Olko) Date: Mon, 23 Mar 2009 13:59:36 +0100 Subject: [Freeswitch-dev] Set variable/identifier for channel In-Reply-To: References: <49C3A2D6.8080704@gcdf.pl> <67AC6524-2CDA-4527-AA64-52C31F386C22@freeswitch.org> <49C74D78.1080004@gcdf.pl> Message-ID: <49C787B8.5010607@gcdf.pl> Brian West pisze: > On Mar 23, 2009, at 3:51 AM, Szymon Olko wrote: > >> I found solution for this looking into sources of mod_conference and >> switch_ivr_originate. >> Channel variables can be set in originate and dial commands, >> Following syntax must can be used: >> >> 'bgapi conference test dial {variable_name=value}sofia/internal/ >> 1001%192.168.77.248 123 test' >> >> or >> >> 'bgapi originate {variable_name=value}sofia/internal/ >> 1000%192.168.77.248 &conference(test#1) XML default test 123' >> >> Multiple variables can be set, every variable must be put in it's >> own curly brackets. > > NO, You do {var=val,foo=bar,blah=blah}sofia/blah/blah Its the same > syntax system wide. > > >> Do anybody knows is there are problems with some special characters >> in variable value?? > > Like what? For example how to put space in variable value? Maybe other like %,@,/ are forbiden? > >> This feature works now because there is no checking of 'bridgeto' >> values in code. Is this good way to use it, or should I make a >> patch for mod_conference and add another argument to 'conference >> dial' command? > > > What do you mean patch? > I could change mod_conference so it accepts one more parameter in command, then I could post patch to you. I need that feature to set variable. Current solution works great, but I'm asking is this the right way? Best regards Szymon Olko > > _______________________________________________ > 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 anthony.minessale at gmail.com Mon Mar 23 06:15:01 2009 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 23 Mar 2009 08:15:01 -0500 Subject: [Freeswitch-dev] Set variable/identifier for channel In-Reply-To: <49C787B8.5010607@gcdf.pl> References: <49C3A2D6.8080704@gcdf.pl> <67AC6524-2CDA-4527-AA64-52C31F386C22@freeswitch.org> <49C74D78.1080004@gcdf.pl> <49C787B8.5010607@gcdf.pl> Message-ID: <191c3a030903230615u346c429ag198c295c545e385a@mail.gmail.com> yes the intention is for you to specify the variables in {} in the dial string, no need for another parameter. the {} is part of the "originate syntax" which is used in the bridge application and everywhere else. You can escape special characters in the vars by using well placed "quotation marks" or escape chars with \ and special \s and \t for space and tab. On Mon, Mar 23, 2009 at 7:59 AM, Szymon Olko wrote: > Brian West pisze: > > On Mar 23, 2009, at 3:51 AM, Szymon Olko wrote: > > > >> I found solution for this looking into sources of mod_conference and > >> switch_ivr_originate. > >> Channel variables can be set in originate and dial commands, > >> Following syntax must can be used: > >> > >> 'bgapi conference test dial {variable_name=value}sofia/internal/ > >> 1001%192.168.77.248 123 test' > >> > >> or > >> > >> 'bgapi originate {variable_name=value}sofia/internal/ > >> 1000%192.168.77.248 &conference(test#1) XML default test 123' > >> > >> Multiple variables can be set, every variable must be put in it's > >> own curly brackets. > > > > NO, You do {var=val,foo=bar,blah=blah}sofia/blah/blah Its the same > > syntax system wide. > > > > > >> Do anybody knows is there are problems with some special characters > >> in variable value?? > > > > Like what? > > For example how to put space in variable value? Maybe other like %,@,/ are > forbiden? > > > > >> This feature works now because there is no checking of 'bridgeto' > >> values in code. Is this good way to use it, or should I make a > >> patch for mod_conference and add another argument to 'conference > >> dial' command? > > > > > > What do you mean patch? > > > I could change mod_conference so it accepts one more parameter in command, > then I could post patch to you. > I need that feature to set variable. Current solution works great, but I'm > asking is this the right way? > > Best regards > Szymon Olko > > > > _______________________________________________ > > 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 > > > > > _______________________________________________ > 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/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:213-799-1400 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090323/fb13a167/attachment.html From simon at simonim.com Mon Mar 23 11:48:25 2009 From: simon at simonim.com (Simon Shaw) Date: Mon, 23 Mar 2009 20:48:25 +0200 Subject: [Freeswitch-dev] ATA development kit In-Reply-To: <1041ade30903221738w656c6fb2pa7436f5c91566c79@mail.gmail.com> References: <1041ade30903221738w656c6fb2pa7436f5c91566c79@mail.gmail.com> Message-ID: <1041ade30903231148n7899f2ebta9d9559fd5bc991@mail.gmail.com> Is anybody aware of a ready made FS hardware device (1 FXS/FXO) that is small enough and quiet enough to put in my home, wont burn too big a whole in my pocket and has enough spare CPU/disk space to run a small application I wrote myself. Cheers, Si -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090323/4c045ad0/attachment.html From qulix at mail.ru Tue Mar 24 10:11:39 2009 From: qulix at mail.ru (=?koi8-r?Q?=EC=C5=DB=C1...?=) Date: Tue, 24 Mar 2009 20:11:39 +0300 Subject: [Freeswitch-dev] Inbound calls Message-ID: Hi all! There is an error if I try to make inbound call. I don't think it's hard but I'm tired solving it. Any time I call my city number, FS always returns me an error [INCOMPATIBLE_DESTINATION] 2009-03-23 00:29:40 [NOTICE] switch_channel.c:567 switch_channel_set_name() New Channel sofia/mydomain/number-ani at ip [8d0dcff8-1728-11de-b150-e189b327b8ae] 2009-03-23 00:29:40 [NOTICE] sofia.c:2927 sofia_handle_sip_i_state() Hangup sofia/mydomain/number-ani at ip [CS_NEW] [INCOMPATIBLE_DESTINATION] 2009-03-23 00:29:40 [NOTICE] switch_core_session.c:970 switch_core_session_thread() Session 2 (sofia/mydomain/number-ani at ip) Ended 2009-03-23 00:29:40 [NOTICE] switch_core_session.c:972 switch_core_session_thread() Close Channel sofia/mydomain/number-ani at ip [CS_HANGUP] My extension is: I've made it all the same as http://wiki.freeswitch.org/wiki/Home_PBX_Example (with my own diference line inbound number, dest_number , etc) Could you share some expirience? Give any solution? Or link where I could learn more about it? =\ PS. I wroted to FS users, but there was only one answer : -- make current I think you might have snagged the rev over the weekend while we were fixing a bug. -- My english is bad, so I couldn't understand it correctly =\ From brian at freeswitch.org Tue Mar 24 10:16:20 2009 From: brian at freeswitch.org (Brian West) Date: Tue, 24 Mar 2009 12:16:20 -0500 Subject: [Freeswitch-dev] Inbound calls In-Reply-To: References: Message-ID: <07DAA672-FD3E-4C66-994A-C1802383F43F@freeswitch.org> This means the codecs didn't match :P /b On Mar 24, 2009, at 12:11 PM, ????... wrote: > Any time I call my city number, FS always returns me an error > [INCOMPATIBLE_DESTINATION] From msc at freeswitch.org Tue Mar 24 18:01:44 2009 From: msc at freeswitch.org (Michael Collins) Date: Tue, 24 Mar 2009 18:01:44 -0700 Subject: [Freeswitch-dev] ANNOUNCEMENT: ClueCon 2009 - Register Today! Message-ID: <87f2f3b90903241801q71b33a80n1cbf5cbd525e86ae@mail.gmail.com> The FreeSWITCH Team is pleased to announce that all may register for ClueCon 2009 immediately! ClueCon is the Telephony Developers Conference by developers, for developers. This year's event will be held at the beautiful Wyndham Hotel in Chicago, August 4-6. Special room rates have been secured and you will enjoy staying at this luxurious hotel. The conference attendee price is only $499 per person, but hurry! This early bird special price is valid only until June 30th. The schedule is still being finalized, however you can expect to hear from notable names in the world of telephony. You will also have opportunities to spend one-on-one time with developers, vendors, and other attendees. One special highlight for this year is the great MacBook Pro giveaway! On Thursday at the end of the conference a 15" MacBook Pro will be given away to one lucky attendee. This laptop will be laser engraved with the logos of all of the sponsors for ClueCon 2009 and will be used as the presenters' laptop for the entire conference. Start making your travel plans right away. Visit http://www.cluecon.com and sign up today. We look forward to seeing you in Chicago this August! Michael S Collins 877-742-CLUE From solko at gcdf.pl Wed Mar 25 04:08:06 2009 From: solko at gcdf.pl (Szymon Olko) Date: Wed, 25 Mar 2009 12:08:06 +0100 Subject: [Freeswitch-dev] Mod conference, dial commad dont work without default profile + patch Message-ID: <49CA1096.5000001@gcdf.pl> Hello, I deleted default profile from conference.conf.xml and from that time I could not connect second outgoing channel to conference. I located problem in searching for conference with 'switch_core_hash_find' function. Only name of conference is stored in hash so looking for something like 'name at profile' did not find any. In my opinion it always used second attempt to dial when conference was not found, and it successes only if default profile is available. There is also bgdial problem which do not allow to call to not existing conference, but in function conf_api_sub_bgdial it looks like it was meant to work. I have to know freeswitch code better to fix it. I created patch to solve first problem. This is my first patch so please give me comments so next time I do it better. I choose this way to learn how freeswitch modules are made. I would also like if someone could review my patch and tell me if this is a way mod_conference should work. I assumed that looking for conference is for connecting members to existing conference, and that it's should work like that. Previously it did not find conference if profile was given in command. Szymon Olko -------------- next part -------------- A non-text attachment was scrubbed... Name: mod_conference.c.dial_with_profile.patch Type: text/x-patch Size: 3964 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090325/9e890329/attachment.bin From qulix at mail.ru Wed Mar 25 08:25:59 2009 From: qulix at mail.ru (=?koi8-r?Q?=EC=C5=DB=C1...?=) Date: Wed, 25 Mar 2009 18:25:59 +0300 Subject: [Freeswitch-dev] FS Multi outbound Message-ID: Michael! Thx! It's really nice doc, but the thing I wanted still doesn't work =\ When I call this extension, next happend. First number rings (good). After timeout - still rings (but I thought FS would drop it) Call hangs up because no one answered =\. Other thing, if first number drops the call, FS should call second number, which is didn't happend. My dialplan for that is: Michael Taylor ?????: > No need for a script, try this: > > > > > > > > > one_other_user can now call 500 (in this example) to call each user in turn > > Refer to http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_bridgecall > for the 10 second "Timeout" > > Refer to http://wiki.freeswitch.org/wiki/Freeswitch_IVR_Originate > for "Mutiple destinations in outbound calls" > > NOTE: the '|' between each sofia/internal/userX means try each one at a time > > A more advanced option would be to use a call-group, that you add the 5 users to. > > > > > > > > > > > > > > > > > > > > > > > > > from each of the 5 sip phones, dial the extension 501 to add them into the group > > dialing 502 from a phone takes it out of a group > > dialing 500 calls each member of the group one at a time until one is answered > the order that each sip phone is called will be the order you added them into the group (using extension 501) > > Michael. > > ????... wrote: >> Hello everybody! >> >> I need your help with scripting! >> Problem is: I've got an office with (example) 5 sip soft phones (users) >> And one_other_user outside this office, in another group. >> What I need is to make the special extension, which will do next: >> When one_other_user dial this extension - he automaticaly linking with first available user from office. >> >> Technicaly, I see it working this way: >> Application puts one_other_user in a hold and starts dialing first user. If during 10 seconds he gets up the phone - application links them. >> If not - application dialing second user. >> If second user is busy - dialing third user. Next actions - the same to previous. >> >> If last user not OK - hang up. >> >> Is it possible to create such a script? Using Lua? >> Sorry if I do something wrong here. =\ >> >> _______________________________________________ >> 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 >> > > _______________________________________________ > 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 anthony.minessale at gmail.com Wed Mar 25 11:25:10 2009 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 25 Mar 2009 13:25:10 -0500 Subject: [Freeswitch-dev] Mod conference, dial commad dont work without default profile + patch In-Reply-To: <49CA1096.5000001@gcdf.pl> References: <49CA1096.5000001@gcdf.pl> Message-ID: <191c3a030903251125o5ba30c8ajccf4df7e228c0498@mail.gmail.com> The best way to submit patches is to file it on jia so it gets a ticket number and is properly reviewed. http://jira.freeswitch.org 2009/3/25 Szymon Olko > Hello, > > I deleted default profile from conference.conf.xml and from that time I > could not connect second outgoing channel to conference. > > I located problem in searching for conference with 'switch_core_hash_find' > function. Only name of conference is stored in hash so > looking for something like 'name at profile' did not find any. In my opinion > it always used second attempt to dial when conference > was not found, and it successes only if default profile is available. > > There is also bgdial problem which do not allow to call to not existing > conference, but in function conf_api_sub_bgdial it looks > like it was meant to work. I have to know freeswitch code better to fix it. > > I created patch to solve first problem. This is my first patch so please > give me comments so next time I do it better. I choose > this way to learn how freeswitch modules are made. I would also like if > someone could review my patch and tell me if this is a way > mod_conference should work. I assumed that looking for conference is for > connecting members to existing conference, and that it's > should work like that. Previously it did not find conference if profile was > given in command. > > Szymon Olko > > _______________________________________________ > 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/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:213-799-1400 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090325/974ffb94/attachment.html From michael at omniscient.com.au Wed Mar 25 22:07:42 2009 From: michael at omniscient.com.au (Michael Taylor) Date: Thu, 26 Mar 2009 16:07:42 +1100 Subject: [Freeswitch-dev] FS Multi outbound In-Reply-To: References: Message-ID: <49CB0D9E.3050205@omniscient.com.au> The Wiki states: If you have a problem with one of the destinations causing the others to stop ringing, insert this into the bridge application: {ignore_early_media=true} like so: i.e. Michael. ????... wrote: > Michael! Thx! > It's really nice doc, but the thing I wanted still doesn't work =\ > > When I call this extension, next happend. > First number rings (good). > After timeout - still rings (but I thought FS would drop it) > Call hangs up because no one answered =\. > > Other thing, if first number drops the call, FS should call second number, which is didn't happend. > My dialplan for that is: > > > > > > > > Michael Taylor ?????: >> No need for a script, try this: >> >> >> >> >> >> >> >> >> one_other_user can now call 500 (in this example) to call each user in turn >> >> Refer to http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_bridgecall >> for the 10 second "Timeout" >> >> Refer to http://wiki.freeswitch.org/wiki/Freeswitch_IVR_Originate >> for "Mutiple destinations in outbound calls" >> >> NOTE: the '|' between each sofia/internal/userX means try each one at a time >> >> A more advanced option would be to use a call-group, that you add the 5 users to. >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> from each of the 5 sip phones, dial the extension 501 to add them into the group >> >> dialing 502 from a phone takes it out of a group >> >> dialing 500 calls each member of the group one at a time until one is answered >> the order that each sip phone is called will be the order you added them into the group (using extension 501) >> >> Michael. >> >> ????... wrote: >>> Hello everybody! >>> >>> I need your help with scripting! >>> Problem is: I've got an office with (example) 5 sip soft phones (users) >>> And one_other_user outside this office, in another group. >>> What I need is to make the special extension, which will do next: >>> When one_other_user dial this extension - he automaticaly linking with first available user from office. >>> >>> Technicaly, I see it working this way: >>> Application puts one_other_user in a hold and starts dialing first user. If during 10 seconds he gets up the phone - application links them. >>> If not - application dialing second user. >>> If second user is busy - dialing third user. Next actions - the same to previous. >>> >>> If last user not OK - hang up. >>> >>> Is it possible to create such a script? Using Lua? >>> Sorry if I do something wrong here. =\ >>> >>> _______________________________________________ >>> 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 >>> >> _______________________________________________ >> 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 > > > > _______________________________________________ > 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 -- Omniscient Australia Pty Ltd http://www.omniscient.com.au 1300 660 152 GPO Box 2705 MELBOURNE 3001 -------------- next part -------------- A non-text attachment was scrubbed... Name: michael.vcf Type: text/x-vcard Size: 290 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090326/ac5cf32d/attachment-0001.vcf From qulix at mail.ru Wed Mar 25 22:24:25 2009 From: qulix at mail.ru (=?koi8-r?Q?=EC=C5=DB=C1...?=) Date: Thu, 26 Mar 2009 08:24:25 +0300 Subject: [Freeswitch-dev] =?koi8-r?b?RlMgTXVsdGkgb3V0Ym91bmQ=?= Message-ID: Michael, Im noobie) Sorry, a saw this in wiki, but didn't note that it could work!) Next stage is how to make different timeouts for each call? Is it possible with dialplan? I still think that I should script this all in Lua) Michael Taylor ?????: > > The Wiki states: > If you have a problem with one of the destinations causing the others to stop ringing, insert this into the bridge application: {ignore_early_media=true} like so: > > i.e. > > > Michael. > From michael at omniscient.com.au Wed Mar 25 22:49:56 2009 From: michael at omniscient.com.au (Michael Taylor) Date: Thu, 26 Mar 2009 16:49:56 +1100 Subject: [Freeswitch-dev] FS Multi outbound In-Reply-To: References: Message-ID: <49CB1784.6030201@omniscient.com.au> I tried this possibility: but the [call_timeout=10] channel variables did not take affect Perhaps you need something simpler: Michael. ????... wrote: > Michael, Im noobie) > Sorry, a saw this in wiki, but didn't note that it could work!) > > Next stage is how to make different timeouts for each call? Is it possible with dialplan? > I still think that I should script this all in Lua) > > Michael Taylor ?????: >> The Wiki states: >> If you have a problem with one of the destinations causing the others to stop ringing, insert this into the bridge application: {ignore_early_media=true} like so: >> >> i.e. >> >> >> Michael. >> > > > _______________________________________________ > 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 -- Omniscient Australia Pty Ltd http://www.omniscient.com.au 1300 660 152 GPO Box 2705 MELBOURNE 3001 -------------- next part -------------- A non-text attachment was scrubbed... Name: michael.vcf Type: text/x-vcard Size: 290 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090326/2b78160f/attachment.vcf From michael at omniscient.com.au Wed Mar 25 23:02:25 2009 From: michael at omniscient.com.au (Michael Taylor) Date: Thu, 26 Mar 2009 17:02:25 +1100 Subject: [Freeswitch-dev] FS Multi outbound In-Reply-To: References: Message-ID: <49CB1A71.7070607@omniscient.com.au> I should have read the Wiki a little more before answering. Quoting from: http://wiki.freeswitch.org/wiki/Channel_Variables call_timeout - Deprecated - Use originate_timeout or leg_timeout. under call_timeout it suggests I tried it and it works. Also worth reading is the leg_delay_start variable that you might want to use. Michael. ????... wrote: > Michael, Im noobie) > Sorry, a saw this in wiki, but didn't note that it could work!) > > Next stage is how to make different timeouts for each call? Is it possible with dialplan? > I still think that I should script this all in Lua) > > Michael Taylor ?????: >> The Wiki states: >> If you have a problem with one of the destinations causing the others to stop ringing, insert this into the bridge application: {ignore_early_media=true} like so: >> >> i.e. >> >> >> Michael. >> > > > _______________________________________________ > 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 -- Omniscient Australia Pty Ltd http://www.omniscient.com.au 1300 660 152 GPO Box 2705 MELBOURNE 3001 -------------- next part -------------- A non-text attachment was scrubbed... Name: michael.vcf Type: text/x-vcard Size: 290 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090326/65ffe331/attachment.vcf From d.mordovin at dwide.com Thu Mar 26 02:00:31 2009 From: d.mordovin at dwide.com (Dmitry Mordovin) Date: Thu, 26 Mar 2009 12:00:31 +0300 Subject: [Freeswitch-dev] FS Multi outbound In-Reply-To: <49CB1A71.7070607@omniscient.com.au> References: <49CB1A71.7070607@omniscient.com.au> Message-ID: <49CB442F.5030201@dwide.com> Michael Taylor wrote: > I should have read the Wiki a little more before answering. > > Quoting from: > http://wiki.freeswitch.org/wiki/Channel_Variables > > call_timeout - Deprecated - Use originate_timeout or leg_timeout. > > under call_timeout it suggests > > data="{ignore_early_media=true}[leg_timeout=10]sofia/gateway/Cisco/***#1**********|[leg_timeout=30]sofia/gateway/Cisco/***#2**********"/> > > > I tried it and it works. > > Also worth reading is the leg_delay_start variable that you might want > to use. > > Michael. > > ????... wrote: >> Michael, Im noobie) >> Sorry, a saw this in wiki, but didn't note that it could work!) >> >> Next stage is how to make different timeouts for each call? Is it >> possible with dialplan? I still think that I should script this all >> in Lua) >> >> Michael Taylor ?????: >>> The Wiki states: >>> If you have a problem with one of the destinations causing the >>> others to stop ringing, insert this into the bridge application: >>> {ignore_early_media=true} like so: >>> >>> i.e. >>> >> data="{ignore_early_media=true}sofia/gateway/Cisco/***#1**********|sofia/gateway/Cisco/***#2**********"/> >>> >>> >>> Michael. >>> >> >> >> _______________________________________________ >> 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 > > _______________________________________________ > 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 > Hi Michael! Does it possible to do this example in xml config? Client calling 500 extension (for example) Next, FS play some welcome prompt, when put incoming leg into hold (with music) and try to calling one of 3 destination numbers (call center agents, 501, 502, 503) First, FS try 501, timeout 10sec, if it not reached, try next 502 and etc... in loop for a 3 minutes. When 3 minutes out, FS play into incoming leg prompt 'We're sorry, all operators are busy, please try next time...' I wonder if its possible with xml Dm -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090326/57ab838f/attachment.html From mikael at bjerkeland.com Thu Mar 26 13:48:12 2009 From: mikael at bjerkeland.com (Mikael Bjerkeland) Date: Thu, 26 Mar 2009 21:48:12 +0100 Subject: [Freeswitch-dev] Fifo feature request -- no consumer disconnect after agent hangup In-Reply-To: <4256bf830903170100l5ca14f96yb2e2cc307946ec2e@mail.gmail.com> References: <4256bf830903170010n399ca56dga12d7e3d556017dd@mail.gmail.com> <4256bf830903170100l5ca14f96yb2e2cc307946ec2e@mail.gmail.com> Message-ID: Perhaps it'll work better if you set continue_on_fail=true too? 2009/3/17 Matt Hunter > Woops, I think I mis-typed the proper terminology.. > what I mean to say is that the caller is automatically hung-up after the > consumer (or agent) disconnects the call (either by hangup, or pressing *). > I would like instead for the caller to be passed back to the dialplan to > continue execution. > > --matt > > On Tue, Mar 17, 2009 at 2:10 PM, Matt Hunter wrote: > >> I have a situation where it would be useful for a consumer not to be >> hungup, after finishing the "fifo in" execution (when the agent disconnects >> the call or the agent hangs-up). The consumer is automatically hungup, in >> this situation. It would be preferable if the consumer channel went further >> along the dial plan. I thought I might get lucky implementing this setting >> with hangup_after_bridge to false, but fifo does not utilize this variable. >> I tried looking thru the mod_fifo.c source, but my c skills are minimal. I >> also tried executing fifo in a lua app and setting setAutoHangup(false), but >> that also did not work. Any chance this could be done as a feature >> enhancement? Thanks. >> >> --matt >> > > > _______________________________________________ > 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/20090326/030f06de/attachment.html From rjcajax at gmail.com Thu Mar 26 21:05:24 2009 From: rjcajax at gmail.com (Robert Clayton) Date: Fri, 27 Mar 2009 00:05:24 -0400 Subject: [Freeswitch-dev] Lua session:playAndGetDigits regex Message-ID: All, Ok I know it must be me but... In the Lua regex portion of session:playAndGetDigits what regex would I use to match either a numeric entry, or an asterisk. It seems when I attempt to define an asterisk as a character rather than a metacharacter the regex script is evaluated other than I would assume. The error code presents \* as a single * and [*] other than a character, leading to the hint that there is no preceding character to multiply. I have at most 15 minutes of proficiency in regular expressions, but, are not \* or [*] equivalent to an asterisk character, rather than a metacharacter? Also it seems that the playAndGetDigits evaluates when either the maximum number of characters is entered or the terminator is pressed. Is there any way to evaluate the regex on each input and therefore dynamically return after an acceptable entry? As in the previous example a numeric string and a single asterisk are, usually, different lengths and if an asterisk was used for, say, abort, entering an asterisk followed by a terminator would seem incorrect. Bob -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090327/4939f03f/attachment.html From brian at freeswitch.org Fri Mar 27 07:17:04 2009 From: brian at freeswitch.org (Brian West) Date: Fri, 27 Mar 2009 09:17:04 -0500 Subject: [Freeswitch-dev] Lua session:playAndGetDigits regex In-Reply-To: References: Message-ID: <90F22138-6DB6-4F2D-B87B-884399628E91@freeswitch.org> What exactly do you want to match? Can you give me examples? /b On Mar 26, 2009, at 11:05 PM, Robert Clayton wrote: > All, > > Ok I know it must be me but... > > In the Lua regex portion of session:playAndGetDigits what regex > would I use to match either a numeric entry, or an asterisk. It > seems when I attempt to define an asterisk as a character rather > than a metacharacter the regex script is evaluated other than I > would assume. > The error code presents \* as a single * and [*] other than a > character, leading to the hint that there is no preceding character > to multiply. > > I have at most 15 minutes of proficiency in regular expressions, > but, are not \* or [*] equivalent to an asterisk character, rather > than a metacharacter? > > Also it seems that the playAndGetDigits evaluates when either the > maximum number of characters is entered or the terminator is > pressed. Is there any way to evaluate the regex on each input and > therefore dynamically return after an acceptable entry? As in the > previous example a numeric string and a single asterisk are, > usually, different lengths and if an asterisk was used for, say, > abort, entering an asterisk followed by a terminator would seem > incorrect. > > Bob Brian West brian at freeswitch.org -- Meet us a ClueCon! http://www.cluecon.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090327/873fa60f/attachment-0001.html From rjcajax at gmail.com Fri Mar 27 08:03:26 2009 From: rjcajax at gmail.com (Robert Clayton) Date: Fri, 27 Mar 2009 11:03:26 -0400 Subject: [Freeswitch-dev] Lua session:playAndGetDigits regex In-Reply-To: <90F22138-6DB6-4F2D-B87B-884399628E91@freeswitch.org> References: <90F22138-6DB6-4F2D-B87B-884399628E91@freeswitch.org> Message-ID: Brian, Thanks for the rapid reply. I was wanting, in Lua, for example to allow a user to enter either a file number or an asterisk to abort the function and return to an earlier option. I originally attempted this with a callback but found that at the end of the recording the callback would return, yet found no way to delay the return short of returning a pause on the first user input. This failed if the user waits until the recording has ended as the function returns. I assumed that stop might keep the callback active but it seems stop, break and false appear equivalent. So I attempted to apply session:playAndGetDigits which seems to only evaluate input on either, the maximum number of entries defined, or entry of a defined terminator. Where the entry of a terminator might be acceptable for the numeric entry the need for a terminator after an asterisk would seem clumsy. It would be great if after each digit the entry was matched against a regex, and if valid returned the value, with no need to predefine the terminator or minimum and maximum dtmf signals as everything could be defined in the regex. Regardless I seem to be unable to even define the regex to match a single asterisk as \* and [*] seem to be interpreted different than I would expect. This reminds me of the usual debit card check prompt "enter you sixteen digit number and press pound when finished". If the system knows there are only sixteen digits why require the pound. Compounding the required terminator, the need to evaluate for either an asterisk or a numeric string excapes me. Bob In short 2009/3/27 Brian West > What exactly do you want to match? Can you give me examples? > /b > > On Mar 26, 2009, at 11:05 PM, Robert Clayton wrote: > > All, > > Ok I know it must be me but... > > In the Lua regex portion of session:playAndGetDigits what regex would I use > to match either a numeric entry, or an asterisk. It seems when I attempt to > define an asterisk as a character rather than a metacharacter the regex > script is evaluated other than I would assume. > The error code presents \* as a single * and [*] other than a character, > leading to the hint that there is no preceding character to multiply. > > I have at most 15 minutes of proficiency in regular expressions, but, are > not \* or [*] equivalent to an asterisk character, rather than a > metacharacter? > > Also it seems that the playAndGetDigits evaluates when either the maximum > number of characters is entered or the terminator is pressed. Is there any > way to evaluate the regex on each input and therefore dynamically return > after an acceptable entry? As in the previous example a numeric string and a > single asterisk are, usually, different lengths and if an asterisk was used > for, say, abort, entering an asterisk followed by a terminator would seem > incorrect. > > Bob > > > Brian West > brian at freeswitch.org > > -- Meet us a ClueCon! 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/20090327/f678e22b/attachment.html From grevenx at me.com Thu Mar 26 23:48:13 2009 From: grevenx at me.com (=?ISO-8859-1?Q?Even_Andr=E9_Fiskvik?=) Date: Fri, 27 Mar 2009 07:48:13 +0100 Subject: [Freeswitch-dev] Lua session:playAndGetDigits regex In-Reply-To: References: Message-ID: Imho you always have to escape the asterisk character if that is what you want, so "[*]" is bad. You would want "[\*]". See http://www.regular-expressions.info/characters.html for tips. Best regards, Even Andr? On 27. mars. 2009, at 05.05, Robert Clayton wrote: > All, > > Ok I know it must be me but... > > In the Lua regex portion of session:playAndGetDigits what regex > would I use to match either a numeric entry, or an asterisk. It > seems when I attempt to define an asterisk as a character rather > than a metacharacter the regex script is evaluated other than I > would assume. > The error code presents \* as a single * and [*] other than a > character, leading to the hint that there is no preceding character > to multiply. > > I have at most 15 minutes of proficiency in regular expressions, > but, are not \* or [*] equivalent to an asterisk character, rather > than a metacharacter? > > Also it seems that the playAndGetDigits evaluates when either the > maximum number of characters is entered or the terminator is > pressed. Is there any way to evaluate the regex on each input and > therefore dynamically return after an acceptable entry? As in the > previous example a numeric string and a single asterisk are, > usually, different lengths and if an asterisk was used for, say, > abort, entering an asterisk followed by a terminator would seem > incorrect. > > Bob > > > _______________________________________________ > 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 rjcajax at gmail.com Fri Mar 27 08:09:48 2009 From: rjcajax at gmail.com (Robert Clayton) Date: Fri, 27 Mar 2009 11:09:48 -0400 Subject: [Freeswitch-dev] Lua session:playAndGetDigits regex In-Reply-To: <90F22138-6DB6-4F2D-B87B-884399628E91@freeswitch.org> References: <90F22138-6DB6-4F2D-B87B-884399628E91@freeswitch.org> Message-ID: Brian, More succinctly how could I implement. "Enter the six digit file number or press the asterisk key to restart and enter again", assuming a person entered 3 digits got confused and wished to enter the number again from the beginning? Bob 2009/3/27 Brian West > What exactly do you want to match? Can you give me examples? > /b > > On Mar 26, 2009, at 11:05 PM, Robert Clayton wrote: > > All, > > Ok I know it must be me but... > > In the Lua regex portion of session:playAndGetDigits what regex would I use > to match either a numeric entry, or an asterisk. It seems when I attempt to > define an asterisk as a character rather than a metacharacter the regex > script is evaluated other than I would assume. > The error code presents \* as a single * and [*] other than a character, > leading to the hint that there is no preceding character to multiply. > > I have at most 15 minutes of proficiency in regular expressions, but, are > not \* or [*] equivalent to an asterisk character, rather than a > metacharacter? > > Also it seems that the playAndGetDigits evaluates when either the maximum > number of characters is entered or the terminator is pressed. Is there any > way to evaluate the regex on each input and therefore dynamically return > after an acceptable entry? As in the previous example a numeric string and a > single asterisk are, usually, different lengths and if an asterisk was used > for, say, abort, entering an asterisk followed by a terminator would seem > incorrect. > > Bob > > > Brian West > brian at freeswitch.org > > -- Meet us a ClueCon! 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/20090327/0b416710/attachment.html From brian at freeswitch.org Fri Mar 27 08:10:05 2009 From: brian at freeswitch.org (Brian West) Date: Fri, 27 Mar 2009 10:10:05 -0500 Subject: [Freeswitch-dev] Lua session:playAndGetDigits regex In-Reply-To: References: <90F22138-6DB6-4F2D-B87B-884399628E91@freeswitch.org> Message-ID: in short? You basically repeated the exact same thing in the previous email! (\*|\d{4}) * or any 4 digit number you can change that if you like. /b On Mar 27, 2009, at 10:03 AM, Robert Clayton wrote: > > In short Brian West brian at freeswitch.org -- Meet us a ClueCon! http://www.cluecon.com From brian at freeswitch.org Fri Mar 27 08:13:05 2009 From: brian at freeswitch.org (Brian West) Date: Fri, 27 Mar 2009 10:13:05 -0500 Subject: [Freeswitch-dev] Lua session:playAndGetDigits regex In-Reply-To: References: <90F22138-6DB6-4F2D-B87B-884399628E91@freeswitch.org> Message-ID: <5F5C6B35-C174-4D25-909A-29BE6FAA1F30@freeswitch.org> (\*|\d{6}) Here are my recommendations for reference: http://www.amazon.com/Mastering-Regular-Expressions-Jeffrey-Friedl/dp/0596528124/ref=pd_bbs_sr_1?ie=UTF8&s=books&qid=1238166731&sr=8-1 This one is good too: http://www.amazon.com/Regular-Expression-Pocket-Reference-Expressions/dp/0596514271/ref=pd_bbs_2?ie=UTF8&s=books&qid=1238166753&sr=8-2 Even better: http://www.amazon.com/Regular-Expressions-Cookbook-Jan-Goyvaerts/dp/0596520689/ref=sr_1_3?ie=UTF8&s=books&qid=1238166766&sr=8-3 /b On Mar 27, 2009, at 10:09 AM, Robert Clayton wrote: > "Enter the six digit file number or press the asterisk key to > restart and enter again", assuming a person entered 3 digits got > confused and wished to enter the number again from the beginning? Brian West brian at freeswitch.org -- Meet us a ClueCon! http://www.cluecon.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090327/1881cff2/attachment-0001.html From rjcajax at gmail.com Fri Mar 27 10:41:38 2009 From: rjcajax at gmail.com (Robert Clayton) Date: Fri, 27 Mar 2009 13:41:38 -0400 Subject: [Freeswitch-dev] Lua session:playAndGetDigits regex In-Reply-To: References: Message-ID: As I understand it everything entered in square brackets(a character class) is literal. In parentheses it is read as a metacharacter. On Fri, Mar 27, 2009 at 2:48 AM, Even Andr? Fiskvik wrote: > Imho you always have to escape the asterisk character if that is what > you want, > so "[*]" is bad. You would want "[\*]". > > See http://www.regular-expressions.info/characters.html for tips. > > > Best regards, > > Even Andr? > > On 27. mars. 2009, at 05.05, Robert Clayton wrote: > > > All, > > > > Ok I know it must be me but... > > > > In the Lua regex portion of session:playAndGetDigits what regex > > would I use to match either a numeric entry, or an asterisk. It > > seems when I attempt to define an asterisk as a character rather > > than a metacharacter the regex script is evaluated other than I > > would assume. > > The error code presents \* as a single * and [*] other than a > > character, leading to the hint that there is no preceding character > > to multiply. > > > > I have at most 15 minutes of proficiency in regular expressions, > > but, are not \* or [*] equivalent to an asterisk character, rather > > than a metacharacter? > > > > Also it seems that the playAndGetDigits evaluates when either the > > maximum number of characters is entered or the terminator is > > pressed. Is there any way to evaluate the regex on each input and > > therefore dynamically return after an acceptable entry? As in the > > previous example a numeric string and a single asterisk are, > > usually, different lengths and if an asterisk was used for, say, > > abort, entering an asterisk followed by a terminator would seem > > incorrect. > > > > Bob > > > > > > _______________________________________________ > > 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 > > > _______________________________________________ > 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/20090327/7d81932d/attachment.html From rjcajax at gmail.com Fri Mar 27 10:55:32 2009 From: rjcajax at gmail.com (Robert Clayton) Date: Fri, 27 Mar 2009 13:55:32 -0400 Subject: [Freeswitch-dev] Lua session:playAndGetDigits regex In-Reply-To: References: <90F22138-6DB6-4F2D-B87B-884399628E91@freeswitch.org> Message-ID: Brian, Tried that as below. agent_id = session:playAndGetDigits(1, 3, 2, 10000,'#', 'c:/DictationProject/audio/Validating.wav', '', '(\*|\d{4})'); errors with: 2009-03-27 13:43:51 [ERR] switch_regex.c:184 switch_regex_match_partial() Regular Expression Error expression[(*|d{4})] error[nothing to repeat] location[1] Note the escape characters are not represented in the error message. Which if stripped by FS would create the error message "nothing to repeat". Sorry if the two emails were "basically" the same. I was not sure how to make my point more clear. So I attempted to be more succinct. Bob On Fri, Mar 27, 2009 at 11:10 AM, Brian West wrote: > in short? You basically repeated the exact same thing in the previous > email! > > (\*|\d{4}) > > * or any 4 digit number you can change that if you like. > > /b > > > On Mar 27, 2009, at 10:03 AM, Robert Clayton wrote: > > > > > In short > > Brian West > brian at freeswitch.org > > -- Meet us a ClueCon! 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/20090327/2e46fc19/attachment.html From msc at freeswitch.org Fri Mar 27 11:02:19 2009 From: msc at freeswitch.org (Michael Collins) Date: Fri, 27 Mar 2009 11:02:19 -0700 Subject: [Freeswitch-dev] Lua session:playAndGetDigits regex In-Reply-To: References: Message-ID: <87f2f3b90903271102m359e1b3dg8192501a94c5fd95@mail.gmail.com> 2009/3/27 Robert Clayton : > As I understand it everything entered in square brackets(a character class) > is literal. In parentheses it is read as a metacharacter. Character classes have their own rules. I don't recommend using them unless you know precisely what you are doing. I like Brian's regex of "(\*|\d{6})" In brackets you have interesting things, like dashes not always being dashes and a leading caret meaning negation. [^A-Z] <== what does this mean? ;) In any case, check the regular expressions page on the wiki for more online resources. -MC From rjcajax at gmail.com Fri Mar 27 11:12:33 2009 From: rjcajax at gmail.com (Robert Clayton) Date: Fri, 27 Mar 2009 14:12:33 -0400 Subject: [Freeswitch-dev] Lua session:playAndGetDigits regex In-Reply-To: <87f2f3b90903271102m359e1b3dg8192501a94c5fd95@mail.gmail.com> References: <87f2f3b90903271102m359e1b3dg8192501a94c5fd95@mail.gmail.com> Message-ID: Michael, I liked "(\*|\d{6})" also but when entered in: agent_id = session:playAndGetDigits(1, 3, 2, 10000,'#', 'c:/DictationProject/audio/Validating.wav', '', "(\*|\d{6})"); Creates the error: 2009-03-27 14:05:36 [ERR] switch_regex.c:184 switch_regex_match_partial() Regula r Expression Error expression[(*|d{6})] error[nothing to repeat] location[1] The escape characters seem to disappear and FS attempts to use the, /* an asterisk character, as * a metecharacter. Bob On Fri, Mar 27, 2009 at 2:02 PM, Michael Collins wrote: > 2009/3/27 Robert Clayton : > > As I understand it everything entered in square brackets(a character > class) > > is literal. In parentheses it is read as a metacharacter. > > Character classes have their own rules. I don't recommend using them > unless you know precisely what you are doing. I like Brian's regex of > "(\*|\d{6})" > > In brackets you have interesting things, like dashes not always being > dashes and a leading caret meaning negation. > > [^A-Z] <== what does this mean? ;) > > In any case, check the regular expressions page on the wiki for more > online resources. > -MC > > _______________________________________________ > 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/20090327/d32f2a70/attachment.html From rjcajax at gmail.com Fri Mar 27 11:15:11 2009 From: rjcajax at gmail.com (Robert Clayton) Date: Fri, 27 Mar 2009 14:15:11 -0400 Subject: [Freeswitch-dev] Lua session:playAndGetDigits regex In-Reply-To: <87f2f3b90903271102m359e1b3dg8192501a94c5fd95@mail.gmail.com> References: <87f2f3b90903271102m359e1b3dg8192501a94c5fd95@mail.gmail.com> Message-ID: Sorry the last line in my last email used a forward slash rather than a backslash. It should read: The escape characters seem to disappear and FS attempts to use the, \* an asterisk character, as * a metecharacter. On Fri, Mar 27, 2009 at 2:02 PM, Michael Collins wrote: > 2009/3/27 Robert Clayton : > > As I understand it everything entered in square brackets(a character > class) > > is literal. In parentheses it is read as a metacharacter. > > Character classes have their own rules. I don't recommend using them > unless you know precisely what you are doing. I like Brian's regex of > "(\*|\d{6})" > > In brackets you have interesting things, like dashes not always being > dashes and a leading caret meaning negation. > > [^A-Z] <== what does this mean? ;) > > In any case, check the regular expressions page on the wiki for more > online resources. > -MC > > _______________________________________________ > 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/20090327/dcea8596/attachment.html From msc at freeswitch.org Fri Mar 27 11:29:16 2009 From: msc at freeswitch.org (Michael Collins) Date: Fri, 27 Mar 2009 11:29:16 -0700 Subject: [Freeswitch-dev] Lua session:playAndGetDigits regex In-Reply-To: References: <87f2f3b90903271102m359e1b3dg8192501a94c5fd95@mail.gmail.com> Message-ID: <87f2f3b90903271129t1d41c5a7s35e009eb1c1793c6@mail.gmail.com> 2009/3/27 Robert Clayton : > Michael, > > I liked "(\*|\d{6})" also but when entered in: > > agent_id = session:playAndGetDigits(1, 3, 2, 10000,'#', > 'c:/DictationProject/audio/Validating.wav', '', "(\*|\d{6})"); > > Creates the error: > > 2009-03-27 14:05:36 [ERR] switch_regex.c:184 switch_regex_match_partial() > Regula > r Expression Error expression[(*|d{6})] error[nothing to repeat] location[1] > > The escape characters seem to disappear and FS attempts to use the, /* an > asterisk character, as * a metecharacter. for kicks try it with only one or the other, that is, with only (\d{6}) or with only (\*) and see if you get that error. I'm curious where it's bombing out. I think that test will help us figure out what is going on. -MC From rjcajax at gmail.com Fri Mar 27 12:12:53 2009 From: rjcajax at gmail.com (Robert Clayton) Date: Fri, 27 Mar 2009 15:12:53 -0400 Subject: [Freeswitch-dev] Lua session:playAndGetDigits regex In-Reply-To: <87f2f3b90903271129t1d41c5a7s35e009eb1c1793c6@mail.gmail.com> References: <87f2f3b90903271102m359e1b3dg8192501a94c5fd95@mail.gmail.com> <87f2f3b90903271129t1d41c5a7s35e009eb1c1793c6@mail.gmail.com> Message-ID: Michael, Simple Working Reference: agent_id = session:playAndGetDigits(1, 6, 2, 10000,"#", "c:/DictationProject/audio/Validating.wav", "", "23"); Entering 45 returned nothing as expected, entering 23 returned 23 as expected. ------------------------------------------------------------------------- Literal asterisk using parentheses: agent_id = session:playAndGetDigits(1, 6, 2, 10000,"#", "c:/DictationProject/audio/Validating.wav", "", "(\*)"); Entering a single asterisk and waiting for timeout, and the timeout occurred as expected. Error created: 2009-03-27 14:59:47 [ERR] switch_regex.c:184 switch_regex_match_partial() Regular Expression Error expression[(*)] error[nothing to repeat] location[1] Entering a single asterisk and a terminating #, the asterisk created an immediate timeout as expected. Error created: 2009-03-27 15:00:26 [ERR] switch_regex.c:184 switch_regex_match_partial() Regular Expression Error expression[(*)] error[nothing to repeat] location[1] ------------------------------------------------------------------------- Literal asterisk without parentheses: agent_id = session:playAndGetDigits(1, 3, 2, 10000,'#', 'c:/DictationProject/audio/Validating.wav', '', "\*"); Entering a single asterisk and waiting for timeout, and the timeout occurred as expected. Error created: 2009-03-27 15:02:14 [ERR] switch_regex.c:184 switch_regex_match_partial() Regular Expression Error expression[*] error[nothing to repeat] location[0] Entering a single asterisk and a terminating #, the asterisk created an immediate timeout as expected. Error created: 2009-03-27 15:02:58 [ERR] switch_regex.c:184 switch_regex_match_partial() Regular Expression Error expression[*] error[nothing to repeat] location[0] ------------------------------------------------------------------------- The error message correctly denoted the proper positions if the asterisk is being evaluated as a metacharacter, as well as looking for something to repeat. Bob On Fri, Mar 27, 2009 at 2:29 PM, Michael Collins wrote: > 2009/3/27 Robert Clayton : > > Michael, > > > > I liked "(\*|\d{6})" also but when entered in: > > > > agent_id = session:playAndGetDigits(1, 3, 2, 10000,'#', > > 'c:/DictationProject/audio/Validating.wav', '', "(\*|\d{6})"); > > > > Creates the error: > > > > 2009-03-27 14:05:36 [ERR] switch_regex.c:184 switch_regex_match_partial() > > Regula > > r Expression Error expression[(*|d{6})] error[nothing to repeat] > location[1] > > > > The escape characters seem to disappear and FS attempts to use the, /* an > > asterisk character, as * a metecharacter. > > for kicks try it with only one or the other, that is, with only > (\d{6}) or with only (\*) and see if you get that error. I'm curious > where it's bombing out. I think that test will help us figure out what > is going on. > -MC > > _______________________________________________ > 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/20090327/b87edb76/attachment-0001.html From rjcajax at gmail.com Fri Mar 27 12:19:30 2009 From: rjcajax at gmail.com (Robert Clayton) Date: Fri, 27 Mar 2009 15:19:30 -0400 Subject: [Freeswitch-dev] Lua session:playAndGetDigits regex In-Reply-To: <87f2f3b90903271129t1d41c5a7s35e009eb1c1793c6@mail.gmail.com> References: <87f2f3b90903271102m359e1b3dg8192501a94c5fd95@mail.gmail.com> <87f2f3b90903271129t1d41c5a7s35e009eb1c1793c6@mail.gmail.com> Message-ID: Michael, Also note the error message reprints the expression without the escape. Bob On Fri, Mar 27, 2009 at 2:29 PM, Michael Collins wrote: > 2009/3/27 Robert Clayton : > > Michael, > > > > I liked "(\*|\d{6})" also but when entered in: > > > > agent_id = session:playAndGetDigits(1, 3, 2, 10000,'#', > > 'c:/DictationProject/audio/Validating.wav', '', "(\*|\d{6})"); > > > > Creates the error: > > > > 2009-03-27 14:05:36 [ERR] switch_regex.c:184 switch_regex_match_partial() > > Regula > > r Expression Error expression[(*|d{6})] error[nothing to repeat] > location[1] > > > > The escape characters seem to disappear and FS attempts to use the, /* an > > asterisk character, as * a metecharacter. > > for kicks try it with only one or the other, that is, with only > (\d{6}) or with only (\*) and see if you get that error. I'm curious > where it's bombing out. I think that test will help us figure out what > is going on. > -MC > > _______________________________________________ > 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/20090327/dcc50622/attachment.html From msc at freeswitch.org Fri Mar 27 14:54:47 2009 From: msc at freeswitch.org (Michael Collins) Date: Fri, 27 Mar 2009 14:54:47 -0700 Subject: [Freeswitch-dev] Lua session:playAndGetDigits regex In-Reply-To: References: <87f2f3b90903271102m359e1b3dg8192501a94c5fd95@mail.gmail.com> <87f2f3b90903271129t1d41c5a7s35e009eb1c1793c6@mail.gmail.com> Message-ID: <87f2f3b90903271454u4bf31554mae295d2e9f7e936e@mail.gmail.com> 2009/3/27 Robert Clayton : > Michael, > > Also note the error message reprints the expression without the escape. > > Bob > > On Fri, Mar 27, 2009 at 2:29 PM, Michael Collins wrote: That just hit me. Try "\\*" instead of "\*" to see if maybe the backslash is getting dropped off between Lua and FreeSWITCH. -MC From rjcajax at gmail.com Fri Mar 27 22:13:40 2009 From: rjcajax at gmail.com (Robert Clayton) Date: Sat, 28 Mar 2009 01:13:40 -0400 Subject: [Freeswitch-dev] Lua session:playAndGetDigits regex In-Reply-To: <87f2f3b90903271454u4bf31554mae295d2e9f7e936e@mail.gmail.com> References: <87f2f3b90903271102m359e1b3dg8192501a94c5fd95@mail.gmail.com> <87f2f3b90903271129t1d41c5a7s35e009eb1c1793c6@mail.gmail.com> <87f2f3b90903271454u4bf31554mae295d2e9f7e936e@mail.gmail.com> Message-ID: Michael, Good start! We are getting warmer. Where "(\\*|\\d{6})" will not match either * or 123456 or anything I can think of. "\\*|\\d{6}" does match * and 123456 and does not match 1234 So far so good. BUT, if an asterisk(s) are entered in a combination with numbers anything goes **, *123, 123 *, 12*24, 12**34, 1*2*3, etc. Bob On Fri, Mar 27, 2009 at 5:54 PM, Michael Collins wrote: > 2009/3/27 Robert Clayton : > > Michael, > > > > Also note the error message reprints the expression without the escape. > > > > Bob > > > > On Fri, Mar 27, 2009 at 2:29 PM, Michael Collins > wrote: > > That just hit me. Try "\\*" instead of "\*" to see if maybe the > backslash is getting dropped off between Lua and FreeSWITCH. > > -MC > > _______________________________________________ > 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/20090328/fde520a6/attachment.html From anthony.minessale at gmail.com Sat Mar 28 05:14:35 2009 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Sat, 28 Mar 2009 07:14:35 -0500 Subject: [Freeswitch-dev] Lua session:playAndGetDigits regex In-Reply-To: References: <87f2f3b90903271102m359e1b3dg8192501a94c5fd95@mail.gmail.com> <87f2f3b90903271129t1d41c5a7s35e009eb1c1793c6@mail.gmail.com> <87f2f3b90903271454u4bf31554mae295d2e9f7e936e@mail.gmail.com> Message-ID: <191c3a030903280514x97579f9l58ff8eea25b5fd76@mail.gmail.com> try /^([\d*]{6})$/ \d is shorthand for 0-9 and anything in a [] is a set of chars so [\d*] means 0-9 and * [\d*]{6} means exactly 6 from the previous set and wrap the whole thing in ^$ means exact match from beginning to end of the string. 2009/3/28 Robert Clayton > Michael, > > Good start! We are getting warmer. > > Where "(\\*|\\d{6})" will not match either * or 123456 or anything I can > think of. > "\\*|\\d{6}" does match * and 123456 and does not match 1234 > So far so good. > BUT, if an asterisk(s) are entered in a combination with numbers anything > goes **, *123, 123 *, 12*24, 12**34, 1*2*3, etc. > > Bob > > > On Fri, Mar 27, 2009 at 5:54 PM, Michael Collins wrote: > >> 2009/3/27 Robert Clayton : >> > Michael, >> > >> > Also note the error message reprints the expression without the escape. >> > >> > Bob >> > >> > On Fri, Mar 27, 2009 at 2:29 PM, Michael Collins >> wrote: >> >> That just hit me. Try "\\*" instead of "\*" to see if maybe the >> backslash is getting dropped off between Lua and FreeSWITCH. >> >> -MC >> >> _______________________________________________ >> 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 >> > > > _______________________________________________ > 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/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:213-799-1400 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090328/1dacd019/attachment.html From rjcajax at gmail.com Sat Mar 28 06:48:23 2009 From: rjcajax at gmail.com (Robert Clayton) Date: Sat, 28 Mar 2009 09:48:23 -0400 Subject: [Freeswitch-dev] Lua session:playAndGetDigits regex In-Reply-To: <191c3a030903280514x97579f9l58ff8eea25b5fd76@mail.gmail.com> References: <87f2f3b90903271102m359e1b3dg8192501a94c5fd95@mail.gmail.com> <87f2f3b90903271129t1d41c5a7s35e009eb1c1793c6@mail.gmail.com> <87f2f3b90903271454u4bf31554mae295d2e9f7e936e@mail.gmail.com> <191c3a030903280514x97579f9l58ff8eea25b5fd76@mail.gmail.com> Message-ID: Anthony, You are a good man. Early in the morning and up working. Though not presenting an error these versions return no results. agent_id = session:playAndGetDigits(1,6, 2, 10000,"#", "c:/DictationProject/audio/Validating.wav", "", "^([\d*]{6})$"); agent_id = session:playAndGetDigits(1,6, 2, 10000,"#", "c:/DictationProject/audio/Validating.wav", "", "^([\\d*]{6})$"); agent_id = session:playAndGetDigits(1,6, 2, 10000,"#", "c:/DictationProject/audio/Validating.wav", "", "^([0-9]{6})$"); 123456, 12345, 1234, 123, 12, 1 NO --------------------------------------------------------- Likewise the following does not return anything. agent_id = session:playAndGetDigits(1,6, 2, 10000,"#", "c:/DictationProject/audio/Validating.wav", "", "[\d*]{6}"); But the following works as expected. agent_id = session:playAndGetDigits(1,6, 2, 10000,"#", "c:/DictationProject/audio/Validating.wav", "", "[0-9]{6}"); 12345 NO 123456 YES --------------------------------------------------------- But some good news, per Michael assuming interaction between Lua and FS this works. agent_id = session:playAndGetDigits(1,6, 2, 10000,"#", "c:/DictationProject/audio/Validating.wav", "", "[\\d\*]{6}"); But this does not. agent_id = session:playAndGetDigits(1,6, 2, 10000,"#", "c:/DictationProject/audio/Validating.wav", "", "^([\\d\*]{6})$"); Go figure. I will continue to experiment. Now let's see is this inductive or deductive programming? --------------------------------------------------------- As a side note, when this gets worked out I am not sure if this answers my other problem. If I wished for, say, "enter 6 numeric digits or an asterisk to allow reentry", is there any way to allow for an immediate response for either 6 numeric digits or a single asterisk without the requirement of a terminator. Bob 2009/3/28 Anthony Minessale > try > > /^([\d*]{6})$/ > > \d is shorthand for 0-9 and anything in a [] is a set of chars so [\d*] > means 0-9 and * > [\d*]{6} means exactly 6 from the previous set and wrap the whole thing in > ^$ means exact match > from beginning to end of the string. > > > 2009/3/28 Robert Clayton > > Michael, >> >> Good start! We are getting warmer. >> >> Where "(\\*|\\d{6})" will not match either * or 123456 or anything I can >> think of. >> "\\*|\\d{6}" does match * and 123456 and does not match 1234 >> So far so good. >> BUT, if an asterisk(s) are entered in a combination with numbers anything >> goes **, *123, 123 *, 12*24, 12**34, 1*2*3, etc. >> >> Bob >> >> >> On Fri, Mar 27, 2009 at 5:54 PM, Michael Collins wrote: >> >>> 2009/3/27 Robert Clayton : >>> > Michael, >>> > >>> > Also note the error message reprints the expression without the escape. >>> > >>> > Bob >>> > >>> > On Fri, Mar 27, 2009 at 2:29 PM, Michael Collins >>> wrote: >>> >>> That just hit me. Try "\\*" instead of "\*" to see if maybe the >>> backslash is getting dropped off between Lua and FreeSWITCH. >>> >>> -MC >>> >>> _______________________________________________ >>> 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 >>> >> >> >> _______________________________________________ >> 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/ > > 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:213-799-1400 > > _______________________________________________ > 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/20090328/ef2a912e/attachment-0001.html From rjcajax at gmail.com Sat Mar 28 06:57:39 2009 From: rjcajax at gmail.com (Robert Clayton) Date: Sat, 28 Mar 2009 09:57:39 -0400 Subject: [Freeswitch-dev] Lua session:playAndGetDigits regex In-Reply-To: References: <87f2f3b90903271102m359e1b3dg8192501a94c5fd95@mail.gmail.com> <87f2f3b90903271129t1d41c5a7s35e009eb1c1793c6@mail.gmail.com> <87f2f3b90903271454u4bf31554mae295d2e9f7e936e@mail.gmail.com> <191c3a030903280514x97579f9l58ff8eea25b5fd76@mail.gmail.com> Message-ID: Or to be more specific: As a side note, when this gets worked out I am not sure if this answers my other problem. If I wished for, say, "enter 6 numeric digits or an asterisk to allow reentry." Is there any way to allow for an immediate response for either 6 consecutive numeric digits or an asterisk, singularly entered, or embedded in a numeric input, without the requirement for a terminating character? On Sat, Mar 28, 2009 at 9:48 AM, Robert Clayton wrote: > Anthony, > > You are a good man. Early in the morning and up working. > > Though not presenting an error these versions return no results. > > agent_id = session:playAndGetDigits(1,6, 2, 10000,"#", > "c:/DictationProject/audio/Validating.wav", "", "^([\d*]{6})$"); > agent_id = session:playAndGetDigits(1,6, 2, 10000,"#", > "c:/DictationProject/audio/Validating.wav", "", "^([\\d*]{6})$"); > agent_id = session:playAndGetDigits(1,6, 2, 10000,"#", > "c:/DictationProject/audio/Validating.wav", "", "^([0-9]{6})$"); > > 123456, 12345, 1234, 123, 12, 1 NO > --------------------------------------------------------- > > Likewise the following does not return anything. > agent_id = session:playAndGetDigits(1,6, 2, 10000,"#", > "c:/DictationProject/audio/Validating.wav", "", "[\d*]{6}"); > > But the following works as expected. > agent_id = session:playAndGetDigits(1,6, 2, 10000,"#", > "c:/DictationProject/audio/Validating.wav", "", "[0-9]{6}"); > > 12345 NO > 123456 YES > --------------------------------------------------------- > > But some good news, per Michael assuming interaction between Lua and FS > this works. > agent_id = session:playAndGetDigits(1,6, 2, 10000,"#", > "c:/DictationProject/audio/Validating.wav", "", "[\\d\*]{6}"); > > But this does not. > agent_id = session:playAndGetDigits(1,6, 2, 10000,"#", > "c:/DictationProject/audio/Validating.wav", "", "^([\\d\*]{6})$"); > > Go figure. I will continue to experiment. Now let's see is this inductive > or deductive programming? > --------------------------------------------------------- > > As a side note, when this gets worked out I am not sure if this answers my > other problem. If I wished for, say, "enter 6 numeric digits or an asterisk > to allow reentry", is there any way to allow for an immediate response for > either 6 numeric digits or a single asterisk without the requirement of a > terminator. > > Bob > > 2009/3/28 Anthony Minessale > > try >> >> /^([\d*]{6})$/ >> >> \d is shorthand for 0-9 and anything in a [] is a set of chars so [\d*] >> means 0-9 and * >> [\d*]{6} means exactly 6 from the previous set and wrap the whole thing in >> ^$ means exact match >> from beginning to end of the string. >> >> >> 2009/3/28 Robert Clayton >> >> Michael, >>> >>> Good start! We are getting warmer. >>> >>> Where "(\\*|\\d{6})" will not match either * or 123456 or anything I can >>> think of. >>> "\\*|\\d{6}" does match * and 123456 and does not match 1234 >>> So far so good. >>> BUT, if an asterisk(s) are entered in a combination with numbers anything >>> goes **, *123, 123 *, 12*24, 12**34, 1*2*3, etc. >>> >>> Bob >>> >>> >>> On Fri, Mar 27, 2009 at 5:54 PM, Michael Collins wrote: >>> >>>> 2009/3/27 Robert Clayton : >>>> > Michael, >>>> > >>>> > Also note the error message reprints the expression without the >>>> escape. >>>> > >>>> > Bob >>>> > >>>> > On Fri, Mar 27, 2009 at 2:29 PM, Michael Collins >>>> wrote: >>>> >>>> That just hit me. Try "\\*" instead of "\*" to see if maybe the >>>> backslash is getting dropped off between Lua and FreeSWITCH. >>>> >>>> -MC >>>> >>>> _______________________________________________ >>>> 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 >>>> >>> >>> >>> _______________________________________________ >>> 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/ >> >> 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 >> iax:guest at conference.freeswitch.org/888 >> googletalk:conf+888 at conference.freeswitch.org >> pstn:213-799-1400 >> >> _______________________________________________ >> 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/20090328/5c533c77/attachment.html From david.bowerman at gmail.com Sun Mar 29 01:27:14 2009 From: david.bowerman at gmail.com (David Bowerman) Date: Sun, 29 Mar 2009 19:27:14 +1100 Subject: [Freeswitch-dev] Sofia Reg Failure every 5 minutes Message-ID: <71d479ee0903290127v272e4f46iff4db614955be822@mail.gmail.com> Hi, Sorry for posting this to the dev list, but i got no response from users. I see the following message every 5 mins or so :- 2009-03-29 19:07:42 [ERR] sofia_reg.c:1263 sofia_reg_handle_sip_r_register() faktortel Registration Failed with status Operation has no matching challenge [904]. failure #1 followed by this :- 2009-03-29 19:07:42 [WARNING] sofia_reg.c:310 sofia_reg_check_gateway() faktortel Failed Registration, setting retry to 60 seconds. 2009-03-29 19:08:43 [NOTICE] sofia_reg.c:268 sofia_reg_check_gateway() Registering faktortel 1 minute after. The gateway seems to work fine, any hints as to what would be causing it? thanks dave -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090329/5c2ee816/attachment.html From seven at idapted.com Sun Mar 29 07:35:47 2009 From: seven at idapted.com (seven du) Date: Sun, 29 Mar 2009 22:35:47 +0800 Subject: [Freeswitch-dev] Dead channels cannot kill Message-ID: <443CDBDB-52A3-4F5C-9F1B-3308D405F20F@idapted.com> Hi developers, I'm using rev 11066 and mod_skypiax, something happened and left dead channels. I know the version is very old and I bet it has been fixed in trunk. So I didn't put on jira. I will arrange an upgrade and test sometimes later. Just a FYI. The problem is when I use uuid_kill, it showed no such channel. I think it can be replicated by calling non-existing skype-ids several times. However, below are existing skype-ids just marked by me with fake letters like 'aaaaa'. Seven. freeswitch at skype> show channels uuid ,created ,created_epoch ,name ,state ,cid_name ,cid_num ,ip_addr ,dest ,application ,application_data ,dialplan,context,read_codec,read_rate,write_codec,write_rate f658b962-1b9e-11de-80c3-c3129a17cbd4,2009-03-28 13:47:21,1238248041,skypiax/ANY/gaaaa,CS_NEW,,,,,,,,,L16,16000,L16,16000 05f553ee-1b9f-11de-80c3-c3129a17cbd4,2009-03-28 13:47:48,1238248068,skypiax/ANY/ Sbbbbb,CS_NEW,,,,,,,,,L16,16000,L16,16000 383d8daa-1c60-11de-80c3-c3129a17cbd4,2009-03-29 12:50:45,1238331045,skypiax/ANY/ eccccc,CS_NEW,,,,,,,,,L16,16000,L16,16000 3c03b0f4-1c60-11de-80c3-c3129a17cbd4,2009-03-29 12:50:51,1238331051,skypiax/ANY/ sdddddd,CS_NEW,,,,,,,,,L16,16000,L16,16000 56c6e866-1c60-11de-80c3-c3129a17cbd4,2009-03-29 12:51:36,1238331096,skypiax/ANY/ ieeeeee,CS_NEW,,,,,,,,,L16,16000,L16,16000 efc6e1be-1c61-11de-80c3-c3129a17cbd4,2009-03-29 13:03:02,1238331782,skypiax/ANY/ efffffff,CS_NEW,,,,,,,,,L16,16000,L16,16000 f1f04822-1c61-11de-80c3-c3129a17cbd4,2009-03-29 13:03:06,1238331786,skypiax/ANY/ ggggggggg,CS_NEW,,,,,,,,,L16,16000,L16,16000 02d1e9de-1c62-11de-80c3-c3129a17cbd4,2009-03-29 13:03:34,1238331814,skypiax/ANY/chhh,CS_NEW,,,,,,,,,L16,16000,L16,16000 ccaaaf66-1c62-11de-80c3-c3129a17cbd4,2009-03-29 13:09:13,1238332153,skypiax/ANY/zn,CS_NEW,,,,,,,,,L16,16000,L16,16000 e8788af4-1c64-11de-80c3-c3129a17cbd4,2009-03-29 13:24:19,1238333059,skypiax/ANY/S,CS_NEW,,,,,,,,,L16,16000,L16,16000 6d709ba2-1c65-11de-80c3-c3129a17cbd4,2009-03-29 13:28:02,1238333282,skypiax/ANY/S,CS_NEW,,,,,,,,,L16,16000,L16,16000 c25bf126-1c69-11de-80c3-c3129a17cbd4,2009-03-29 freeswitch at skype> uuid_kill f658b962-1b9e-11de-80c3-c3129a17cbd4 -ERR No Such Channel! freeswitch at skype> uuid_kill efc6e1be-1c61-11de-80c3-c3129a17cbd4 -ERR No Such Channel! From gmaruzz at celliax.org Sun Mar 29 11:53:48 2009 From: gmaruzz at celliax.org (Giovanni Maruzzelli) Date: Sun, 29 Mar 2009 20:53:48 +0200 Subject: [Freeswitch-dev] Dead channels cannot kill In-Reply-To: <443CDBDB-52A3-4F5C-9F1B-3308D405F20F@idapted.com> References: <443CDBDB-52A3-4F5C-9F1B-3308D405F20F@idapted.com> Message-ID: <7b197bef0903291153m5a2c1ef2i7a18893fd8374b85@mail.gmail.com> On 3/29/09, seven du wrote: > Hi developers, > > I'm using rev 11066 and mod_skypiax, something happened and left dead > channels. I know the version is very old and I bet it has been fixed > in trunk. So I didn't put on jira. I will arrange an upgrade and test > sometimes later. Just a FYI. > > The problem is when I use uuid_kill, it showed no such channel. I > think it can be replicated by calling non-existing skype-ids several > times. However, below are existing skype-ids just marked by me with > fake letters like 'aaaaa'. > > Seven. > > freeswitch at skype> show channels > uuid > ,created > ,created_epoch > ,name > ,state > ,cid_name > ,cid_num > ,ip_addr > ,dest > ,application > ,application_data > ,dialplan,context,read_codec,read_rate,write_codec,write_rate > f658b962-1b9e-11de-80c3-c3129a17cbd4,2009-03-28 > 13:47:21,1238248041,skypiax/ANY/gaaaa,CS_NEW,,,,,,,,,L16,16000,L16,16000 > 05f553ee-1b9f-11de-80c3-c3129a17cbd4,2009-03-28 > 13:47:48,1238248068,skypiax/ANY/ > Sbbbbb,CS_NEW,,,,,,,,,L16,16000,L16,16000 > 383d8daa-1c60-11de-80c3-c3129a17cbd4,2009-03-29 > 12:50:45,1238331045,skypiax/ANY/ > eccccc,CS_NEW,,,,,,,,,L16,16000,L16,16000 > 3c03b0f4-1c60-11de-80c3-c3129a17cbd4,2009-03-29 > 12:50:51,1238331051,skypiax/ANY/ > sdddddd,CS_NEW,,,,,,,,,L16,16000,L16,16000 > 56c6e866-1c60-11de-80c3-c3129a17cbd4,2009-03-29 > 12:51:36,1238331096,skypiax/ANY/ > ieeeeee,CS_NEW,,,,,,,,,L16,16000,L16,16000 > efc6e1be-1c61-11de-80c3-c3129a17cbd4,2009-03-29 > 13:03:02,1238331782,skypiax/ANY/ > efffffff,CS_NEW,,,,,,,,,L16,16000,L16,16000 > f1f04822-1c61-11de-80c3-c3129a17cbd4,2009-03-29 > 13:03:06,1238331786,skypiax/ANY/ > ggggggggg,CS_NEW,,,,,,,,,L16,16000,L16,16000 > 02d1e9de-1c62-11de-80c3-c3129a17cbd4,2009-03-29 > 13:03:34,1238331814,skypiax/ANY/chhh,CS_NEW,,,,,,,,,L16,16000,L16,16000 > ccaaaf66-1c62-11de-80c3-c3129a17cbd4,2009-03-29 > 13:09:13,1238332153,skypiax/ANY/zn,CS_NEW,,,,,,,,,L16,16000,L16,16000 > e8788af4-1c64-11de-80c3-c3129a17cbd4,2009-03-29 > 13:24:19,1238333059,skypiax/ANY/S,CS_NEW,,,,,,,,,L16,16000,L16,16000 > 6d709ba2-1c65-11de-80c3-c3129a17cbd4,2009-03-29 > 13:28:02,1238333282,skypiax/ANY/S,CS_NEW,,,,,,,,,L16,16000,L16,16000 > c25bf126-1c69-11de-80c3-c3129a17cbd4,2009-03-29 > > freeswitch at skype> uuid_kill f658b962-1b9e-11de-80c3-c3129a17cbd4 > -ERR No Such Channel! > > freeswitch at skype> uuid_kill efc6e1be-1c61-11de-80c3-c3129a17cbd4 > -ERR No Such Channel! > > > > _______________________________________________ > 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 > -- Sent from my mobile device Sincerely, Giovanni Maruzzelli ========================================= www.celliax.org via Pierlombardo 9, 20135 Milano Italy gmaruzz at celliax dot org Cell : +39-347-2665618 Fax : +39-02-87390039 From gmaruzz at celliax.org Sun Mar 29 12:00:23 2009 From: gmaruzz at celliax.org (Giovanni Maruzzelli) Date: Sun, 29 Mar 2009 21:00:23 +0200 Subject: [Freeswitch-dev] Dead channels cannot kill In-Reply-To: <443CDBDB-52A3-4F5C-9F1B-3308D405F20F@idapted.com> References: <443CDBDB-52A3-4F5C-9F1B-3308D405F20F@idapted.com> Message-ID: <7b197bef0903291200t5a1c401fjb0157bbebd702845@mail.gmail.com> Dear Seven, As you anticipated, best would be if you can 'make current' to the most recent FS and skypiax code. Then, if the problem persist, gather the info as per the BUGS section on the Skypiax wiki page. Thanks a lot for the report, Gm On 3/29/09, seven du wrote: > Hi developers, > > I'm using rev 11066 and mod_skypiax, something happened and left dead > channels. I know the version is very old and I bet it has been fixed > in trunk. So I didn't put on jira. I will arrange an upgrade and test > sometimes later. Just a FYI. > > The problem is when I use uuid_kill, it showed no such channel. I > think it can be replicated by calling non-existing skype-ids several > times. However, below are existing skype-ids just marked by me with > fake letters like 'aaaaa'. > > Seven. > > freeswitch at skype> show channels > uuid > ,created > ,created_epoch > ,name > ,state > ,cid_name > ,cid_num > ,ip_addr > ,dest > ,application > ,application_data > ,dialplan,context,read_codec,read_rate,write_codec,write_rate > f658b962-1b9e-11de-80c3-c3129a17cbd4,2009-03-28 > 13:47:21,1238248041,skypiax/ANY/gaaaa,CS_NEW,,,,,,,,,L16,16000,L16,16000 > 05f553ee-1b9f-11de-80c3-c3129a17cbd4,2009-03-28 > 13:47:48,1238248068,skypiax/ANY/ > Sbbbbb,CS_NEW,,,,,,,,,L16,16000,L16,16000 > 383d8daa-1c60-11de-80c3-c3129a17cbd4,2009-03-29 > 12:50:45,1238331045,skypiax/ANY/ > eccccc,CS_NEW,,,,,,,,,L16,16000,L16,16000 > 3c03b0f4-1c60-11de-80c3-c3129a17cbd4,2009-03-29 > 12:50:51,1238331051,skypiax/ANY/ > sdddddd,CS_NEW,,,,,,,,,L16,16000,L16,16000 > 56c6e866-1c60-11de-80c3-c3129a17cbd4,2009-03-29 > 12:51:36,1238331096,skypiax/ANY/ > ieeeeee,CS_NEW,,,,,,,,,L16,16000,L16,16000 > efc6e1be-1c61-11de-80c3-c3129a17cbd4,2009-03-29 > 13:03:02,1238331782,skypiax/ANY/ > efffffff,CS_NEW,,,,,,,,,L16,16000,L16,16000 > f1f04822-1c61-11de-80c3-c3129a17cbd4,2009-03-29 > 13:03:06,1238331786,skypiax/ANY/ > ggggggggg,CS_NEW,,,,,,,,,L16,16000,L16,16000 > 02d1e9de-1c62-11de-80c3-c3129a17cbd4,2009-03-29 > 13:03:34,1238331814,skypiax/ANY/chhh,CS_NEW,,,,,,,,,L16,16000,L16,16000 > ccaaaf66-1c62-11de-80c3-c3129a17cbd4,2009-03-29 > 13:09:13,1238332153,skypiax/ANY/zn,CS_NEW,,,,,,,,,L16,16000,L16,16000 > e8788af4-1c64-11de-80c3-c3129a17cbd4,2009-03-29 > 13:24:19,1238333059,skypiax/ANY/S,CS_NEW,,,,,,,,,L16,16000,L16,16000 > 6d709ba2-1c65-11de-80c3-c3129a17cbd4,2009-03-29 > 13:28:02,1238333282,skypiax/ANY/S,CS_NEW,,,,,,,,,L16,16000,L16,16000 > c25bf126-1c69-11de-80c3-c3129a17cbd4,2009-03-29 > > freeswitch at skype> uuid_kill f658b962-1b9e-11de-80c3-c3129a17cbd4 > -ERR No Such Channel! > > freeswitch at skype> uuid_kill efc6e1be-1c61-11de-80c3-c3129a17cbd4 > -ERR No Such Channel! > > > > _______________________________________________ > 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 > -- Sent from my mobile device Sincerely, Giovanni Maruzzelli ========================================= www.celliax.org via Pierlombardo 9, 20135 Milano Italy gmaruzz at celliax dot org Cell : +39-347-2665618 Fax : +39-02-87390039 From dave.cabot at iconsoluciones.net Sun Mar 29 13:16:26 2009 From: dave.cabot at iconsoluciones.net (Dave Cabot) Date: Sun, 29 Mar 2009 16:16:26 -0400 Subject: [Freeswitch-dev] mod_skypiax Message-ID: <1238357786.7199.29.camel@dave-laptop> Hi folks. I've been playing with mod_skypiax. 1) it seems that the documentation web pages are out of date. http://jira.freeswitch.org/ rejects connections. I'm running FreeSWITCH Version 1.0.trunk (12826). I'm using Xvfb and skype 2.0.0.72-1_i386.deb. I can make a call and sound is great, but then when the call ends, so does skype. Attached is what gdb puked: root at freeswitch-1:/usr/local/freeswitch/conf# gdb /usr/bin/skype 20250 GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i486-linux-gnu"... (no debugging symbols found) Attaching to program: /usr/bin/skype, process 20250 Reading symbols from /usr/lib/libasound.so.2...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libasound.so.2 Reading symbols from /usr/lib/libXv.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libXv.so.1 Reading symbols from /usr/lib/libXss.so.1... (no debugging symbols found)...done. Loaded symbols for /usr/lib/libXss.so.1 Reading symbols from /lib/tls/i686/cmov/librt.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/tls/i686/cmov/librt.so.1 Reading symbols from /usr/lib/libQtDBus.so.4... (no debugging symbols found)...done. Loaded symbols for /usr/lib/libQtDBus.so.4 Reading symbols from /usr/lib/libQtGui.so.4...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libQtGui.so.4 Reading symbols from /usr/lib/libQtNetwork.so.4... (no debugging symbols found)...done. Loaded symbols for /usr/lib/libQtNetwork.so.4 Reading symbols from /usr/lib/libQtCore.so.4...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libQtCore.so.4 Reading symbols from /lib/tls/i686/cmov/libpthread.so.0... (no debugging symbols found)...done. [Thread debugging using libthread_db enabled] [New Thread 0xb6ef16c0 (LWP 20250)] [New Thread 0xb5708b90 (LWP 20261)] [New Thread 0xb6116b90 (LWP 20259)] [New Thread 0xb6197b90 (LWP 20256)] [New Thread 0xb6218b90 (LWP 20255)] [New Thread 0xb6a19b90 (LWP 20254)] [New Thread 0xb6a9ab90 (LWP 20253)] [New Thread 0xb6db3b90 (LWP 20251)] Loaded symbols for /lib/tls/i686/cmov/libpthread.so.0 Reading symbols from /usr/lib/libstdc++.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libstdc++.so.6 Reading symbols from /lib/tls/i686/cmov/libm.so.6... (no debugging symbols found)...done. Loaded symbols for /lib/tls/i686/cmov/libm.so.6 Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/libgcc_s.so.1 Reading symbols from /lib/tls/i686/cmov/libc.so.6... (no debugging symbols found)...done. Loaded symbols for /lib/tls/i686/cmov/libc.so.6 Reading symbols from /usr/lib/libX11.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libX11.so.6 Reading symbols from /usr/lib/libXext.so.6... (no debugging symbols found)...done. Loaded symbols for /usr/lib/libXext.so.6 Reading symbols from /lib/tls/i686/cmov/libdl.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/tls/i686/cmov/libdl.so.2 Reading symbols from /lib/ld-linux.so.2... (no debugging symbols found)...done. Loaded symbols for /lib/ld-linux.so.2 Reading symbols from /usr/lib/libdbus-1.so.3...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libdbus-1.so.3 Reading symbols from /usr/lib/libQtXml.so.4... (no debugging symbols found)...done. Loaded symbols for /usr/lib/libQtXml.so.4 Reading symbols from /usr/lib/libfontconfig.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libfontconfig.so.1 Reading symbols from /usr/lib/libz.so.1... (no debugging symbols found)...done. Loaded symbols for /usr/lib/libz.so.1 Reading symbols from /usr/lib/libgthread-2.0.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libgthread-2.0.so.0 Reading symbols from /usr/lib/libglib-2.0.so.0... (no debugging symbols found)...done. Loaded symbols for /usr/lib/libglib-2.0.so.0 Reading symbols from /usr/lib/libaudio.so.2...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libaudio.so.2 Reading symbols from /usr/lib/libXt.so.6... (no debugging symbols found)...done. Loaded symbols for /usr/lib/libXt.so.6 Reading symbols from /usr/lib/libpng12.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libpng12.so.0 Reading symbols from /usr/lib/libSM.so.6... (no debugging symbols found)...done. Loaded symbols for /usr/lib/libSM.so.6 Reading symbols from /usr/lib/libICE.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libICE.so.6 Reading symbols from /usr/lib/libXi.so.6... (no debugging symbols found)...done. Loaded symbols for /usr/lib/libXi.so.6 Reading symbols from /usr/lib/libXrender.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libXrender.so.1 Reading symbols from /usr/lib/libXrandr.so.2... ---Type to continue, or q to quit--- (no debugging symbols found)...done. Loaded symbols for /usr/lib/libXrandr.so.2 Reading symbols from /usr/lib/libXfixes.so.3...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libXfixes.so.3 Reading symbols from /usr/lib/libXcursor.so.1... (no debugging symbols found)...done. Loaded symbols for /usr/lib/libXcursor.so.1 Reading symbols from /usr/lib/libXinerama.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libXinerama.so.1 Reading symbols from /usr/lib/libfreetype.so.6... (no debugging symbols found)...done. Loaded symbols for /usr/lib/libfreetype.so.6 Reading symbols from /usr/lib/libxcb-xlib.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libxcb-xlib.so.0 Reading symbols from /usr/lib/libxcb.so.1... (no debugging symbols found)...done. Loaded symbols for /usr/lib/libxcb.so.1 Reading symbols from /usr/lib/libXau.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libXau.so.6 Reading symbols from /usr/lib/libexpat.so.1... (no debugging symbols found)...done. Loaded symbols for /usr/lib/libexpat.so.1 Reading symbols from /usr/lib/libpcre.so.3...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libpcre.so.3 Reading symbols from /usr/lib/libXdmcp.so.6... (no debugging symbols found)...done. Loaded symbols for /usr/lib/libXdmcp.so.6 Reading symbols from /usr/lib/gconv/UTF-16.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/gconv/UTF-16.so Reading symbols from /usr/lib/qt4/plugins/imageformats/libqgif.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/qt4/plugins/imageformats/libqgif.so Reading symbols from /usr/lib/qt4/plugins/imageformats/libqjpeg.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/qt4/plugins/imageformats/libqjpeg.so Reading symbols from /usr/lib/libjpeg.so.62... (no debugging symbols found)...done. Loaded symbols for /usr/lib/libjpeg.so.62 Reading symbols from /usr/lib/qt4/plugins/imageformats/libqmng.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/qt4/plugins/imageformats/libqmng.so Reading symbols from /usr/lib/libmng.so.1... (no debugging symbols found)...done. Loaded symbols for /usr/lib/libmng.so.1 Reading symbols from /usr/lib/liblcms.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/liblcms.so.1 Reading symbols from /usr/lib/qt4/plugins/imageformats/libqsvg.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/qt4/plugins/imageformats/libqsvg.so Reading symbols from /usr/lib/libQtSvg.so.4...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libQtSvg.so.4 Reading symbols from /usr/lib/qt4/plugins/imageformats/libqtiff.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/qt4/plugins/imageformats/libqtiff.so Reading symbols from /usr/lib/i686/cmov/libssl.so.0.9.8...(no debugging symbols found)...done. Loaded symbols for /usr/lib/i686/cmov/libssl.so.0.9.8 Reading symbols from /usr/lib/i686/cmov/libcrypto.so.0.9.8... (no debugging symbols found)...done. Loaded symbols for /usr/lib/i686/cmov/libcrypto.so.0.9.8 Reading symbols from /usr/lib/libresolv.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libresolv.so Reading symbols from /lib/tls/i686/cmov/libnss_files.so.2... (no debugging symbols found)...done. Loaded symbols for /lib/tls/i686/cmov/libnss_files.so.2 Reading symbols from /lib/tls/i686/cmov/libnss_dns.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/tls/i686/cmov/libnss_dns.so.2 (no debugging symbols found) 0xb7fdc410 in __kernel_vsyscall () (gdb) c Continuing. [New Thread 0xb6093b90 (LWP 20278)] [New Thread 0xb4eeab90 (LWP 20279)] [New Thread 0xb46e9b90 (LWP 20280)] RtApiAlsa: callback thread error (RtApiAlsa: audio write error for device (Default device (default)): Exec format error.) ... closing stream. [Thread 0xb4eeab90 (LWP 20279) exited] Skype Xv: Xv ports available: 0 Skype XShm: XShm support enabled [New Thread 0xb3e9cb90 (LWP 20283)] RtApiAlsa: callback thread error (RtApiAlsa: audio read error for device (Default device (default)): Unknown error 405.) ... closing stream. [Thread 0xb46e9b90 (LWP 20280) exited] [Thread 0xb3e9cb90 (LWP 20283) exited] [New Thread 0xb3d3db90 (LWP 20288)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb6197b90 (LWP 20256)] 0xb738c4ac in free () from /lib/tls/i686/cmov/libc.so.6 (gdb) Continuing. Program received signal SIGABRT, Aborted. 0xb7fdc410 in __kernel_vsyscall () (gdb) bt #0 0xb7fdc410 in __kernel_vsyscall () #1 0xb7348085 in raise () from /lib/tls/i686/cmov/libc.so.6 #2 0xb7349a01 in abort () from /lib/tls/i686/cmov/libc.so.6 #3 0x082f372a in ?? () #4 #5 0xb738c4ac in free () from /lib/tls/i686/cmov/libc.so.6 #6 0x08808972 in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) (gdb) quit The program is running. Quit anyway (and detach it)? (y or n) y Detaching from program: /usr/bin/skype, process 20250 root at freeswitch-1:/usr/local/freeswitch/conf# -bash: line 320: 20249 Done echo "blah blah" 20250 Aborted (core dumped) | DISPLAY=:101 /usr/bin/skype --pipelogin [1]+ Exit 134 ( echo "blah blah" | DISPLAY=:101 /usr/bin/skype --pipelogin ) Not only do I have to restart skype, but I also have to reload mod_skypiax. Obviously this has it's drawbacks. Has anyone seen this and have a solution tucked away? Thanks From brian at freeswitch.org Sun Mar 29 16:50:21 2009 From: brian at freeswitch.org (Brian West) Date: Sun, 29 Mar 2009 18:50:21 -0500 Subject: [Freeswitch-dev] mod_skypiax In-Reply-To: <1238357786.7199.29.camel@dave-laptop> References: <1238357786.7199.29.camel@dave-laptop> Message-ID: <5C65F009-BAC1-40EF-BD69-46547F267346@freeswitch.org> Please redirect that to jira. I have fixed it. /b On Mar 29, 2009, at 3:16 PM, Dave Cabot wrote: > 1) it seems that the documentation web pages are out of date. > http://jira.freeswitch.org/ rejects connections. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090329/6d709f04/attachment.html From rjcajax at gmail.com Mon Mar 30 05:20:22 2009 From: rjcajax at gmail.com (Robert Clayton) Date: Mon, 30 Mar 2009 08:20:22 -0400 Subject: [Freeswitch-dev] Lua session:playAndGetDigits regex In-Reply-To: <191c3a030903280514x97579f9l58ff8eea25b5fd76@mail.gmail.com> References: <87f2f3b90903271102m359e1b3dg8192501a94c5fd95@mail.gmail.com> <87f2f3b90903271129t1d41c5a7s35e009eb1c1793c6@mail.gmail.com> <87f2f3b90903271454u4bf31554mae295d2e9f7e936e@mail.gmail.com> <191c3a030903280514x97579f9l58ff8eea25b5fd76@mail.gmail.com> Message-ID: Well, I hope that this thread has not died as it seems there has been no solution. Also, it seems there is not a solid understanding as to the interaction between Lua and FS. Does this suggest that I should abandon Lua for another scripting implementation such as JavaScript? 2009/3/28 Anthony Minessale : > try > > /^([\d*]{6})$/ > > \d is shorthand for 0-9 and anything in a [] is a set of chars so [\d*] > means 0-9 and * > [\d*]{6} means exactly 6 from the previous set and wrap the whole thing in > ^$ means exact match > from beginning to end of the string. > > > 2009/3/28 Robert Clayton >> >> Michael, >> >> Good start! We are getting warmer. >> >> Where "(\\*|\\d{6})" will not match either * or 123456 or anything I can >> think of. >> "\\*|\\d{6}" does match * and 123456 and does not match 1234 >> So far so good. >> BUT, if an asterisk(s) are entered in a combination with numbers anything >> goes **, *123, 123 *, 12*24, 12**34, 1*2*3, etc. >> >> Bob >> >> >> On Fri, Mar 27, 2009 at 5:54 PM, Michael Collins >> wrote: >>> >>> 2009/3/27 Robert Clayton : >>> > Michael, >>> > >>> > Also note the error message reprints the expression without the escape. >>> > >>> > Bob >>> > >>> > On Fri, Mar 27, 2009 at 2:29 PM, Michael Collins >>> > wrote: >>> >>> That just hit me. Try "\\*" instead of "\*" to see if maybe the >>> backslash is getting dropped off between Lua and FreeSWITCH. >>> >>> -MC >>> >>> _______________________________________________ >>> 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 >> >> >> _______________________________________________ >> 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/ > > 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:213-799-1400 > > _______________________________________________ > 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 anthony.minessale at gmail.com Mon Mar 30 05:51:23 2009 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 30 Mar 2009 07:51:23 -0500 Subject: [Freeswitch-dev] Sofia Reg Failure every 5 minutes In-Reply-To: <71d479ee0903290127v272e4f46iff4db614955be822@mail.gmail.com> References: <71d479ee0903290127v272e4f46iff4db614955be822@mail.gmail.com> Message-ID: <191c3a030903300551we89d1bare8c7c2236632080e@mail.gmail.com> your provider is using a specific realm different from the host name, you have to set the real param to the proper value in your gateway config. 2009/3/29 David Bowerman > Hi, Sorry for posting this to the dev list, but i got no response from > users. > I see the following message every 5 mins or so :- > > 2009-03-29 19:07:42 [ERR] sofia_reg.c:1263 > sofia_reg_handle_sip_r_register() faktortel Registration Failed with status > Operation has no matching challenge [904]. failure #1 > > followed by this :- > > 2009-03-29 19:07:42 [WARNING] sofia_reg.c:310 sofia_reg_check_gateway() > faktortel Failed Registration, setting retry to 60 seconds. > 2009-03-29 19:08:43 [NOTICE] sofia_reg.c:268 sofia_reg_check_gateway() > Registering faktortel > > 1 minute after. > > The gateway seems to work fine, any hints as to what would be causing it? > > thanks > > dave > > _______________________________________________ > 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/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:213-799-1400 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090330/6f3c9bb8/attachment.html From anthony.minessale at gmail.com Mon Mar 30 06:23:19 2009 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 30 Mar 2009 08:23:19 -0500 Subject: [Freeswitch-dev] Lua session:playAndGetDigits regex In-Reply-To: References: <87f2f3b90903271102m359e1b3dg8192501a94c5fd95@mail.gmail.com> <87f2f3b90903271129t1d41c5a7s35e009eb1c1793c6@mail.gmail.com> <87f2f3b90903271454u4bf31554mae295d2e9f7e936e@mail.gmail.com> <191c3a030903280514x97579f9l58ff8eea25b5fd76@mail.gmail.com> Message-ID: <191c3a030903300623l75daa2e7h9832a6688043b589@mail.gmail.com> how about leave the regex blank if you can't figure one out and just collect 6 digits and look for * yourself? The one I told you saturday works for what you asked about. the one you came back and asked about would require a | (or) with 2 expressions. On Mon, Mar 30, 2009 at 7:20 AM, Robert Clayton wrote: > Well, I hope that this thread has not died as it seems there has been > no solution. > Also, it seems there is not a solid understanding as to the > interaction between Lua and FS. > > Does this suggest that I should abandon Lua for another scripting > implementation such as JavaScript? > > 2009/3/28 Anthony Minessale : > > try > > > > /^([\d*]{6})$/ > > > > \d is shorthand for 0-9 and anything in a [] is a set of chars so [\d*] > > means 0-9 and * > > [\d*]{6} means exactly 6 from the previous set and wrap the whole thing > in > > ^$ means exact match > > from beginning to end of the string. > > > > > > 2009/3/28 Robert Clayton > >> > >> Michael, > >> > >> Good start! We are getting warmer. > >> > >> Where "(\\*|\\d{6})" will not match either * or 123456 or anything I can > >> think of. > >> "\\*|\\d{6}" does match * and 123456 and does not match 1234 > >> So far so good. > >> BUT, if an asterisk(s) are entered in a combination with numbers > anything > >> goes **, *123, 123 *, 12*24, 12**34, 1*2*3, etc. > >> > >> Bob > >> > >> > >> On Fri, Mar 27, 2009 at 5:54 PM, Michael Collins > >> wrote: > >>> > >>> 2009/3/27 Robert Clayton : > >>> > Michael, > >>> > > >>> > Also note the error message reprints the expression without the > escape. > >>> > > >>> > Bob > >>> > > >>> > On Fri, Mar 27, 2009 at 2:29 PM, Michael Collins > > >>> > wrote: > >>> > >>> That just hit me. Try "\\*" instead of "\*" to see if maybe the > >>> backslash is getting dropped off between Lua and FreeSWITCH. > >>> > >>> -MC > >>> > >>> _______________________________________________ > >>> 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 > >> > >> > >> _______________________________________________ > >> 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/ > > > > 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 > > iax:guest at conference.freeswitch.org/888 > > googletalk:conf+888 at conference.freeswitch.org > > pstn:213-799-1400 > > > > _______________________________________________ > > 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 > > > > > > _______________________________________________ > 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/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:213-799-1400 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090330/dd192055/attachment-0001.html From rjcajax at gmail.com Mon Mar 30 08:42:38 2009 From: rjcajax at gmail.com (Robert Clayton) Date: Mon, 30 Mar 2009 11:42:38 -0400 Subject: [Freeswitch-dev] Lua session:playAndGetDigits regex In-Reply-To: <191c3a030903300623l75daa2e7h9832a6688043b589@mail.gmail.com> References: <87f2f3b90903271102m359e1b3dg8192501a94c5fd95@mail.gmail.com> <87f2f3b90903271129t1d41c5a7s35e009eb1c1793c6@mail.gmail.com> <87f2f3b90903271454u4bf31554mae295d2e9f7e936e@mail.gmail.com> <191c3a030903280514x97579f9l58ff8eea25b5fd76@mail.gmail.com> <191c3a030903300623l75daa2e7h9832a6688043b589@mail.gmail.com> Message-ID: Anthony, Yes and no. The original regex was a little more complex, it only got simplified in the thread while trying to discover what was going wrong. Where we got "\\*|\\d{6}" to match either a "*" or "123456" the original problem. It also allowed any entry if a single (or multiple) asterisk were entered at any position in the entry string. Which would be an incorrect action. Correct: * and 123456 and does not match 1234 Incorrect: **, *123, 123 *, 12*24, 12**34, 1*2*3, etc. Regardless, this was an interim step. What I need is two actions, the first FS easily allows, the second the complicating factor. 1) Enter either a numeric string (either a defined length or undefined length followed by a "#") 2) Enter an asterisk at anytime to allow reentry from the beginning (returning without requiring a following terminator) I tried to use the callback and filter the input myself but since (I think) the callback only functions while the recording is playing that could not be done unless I was sure either the user responded during the recording or the recording was paused. Is there anyway for the the callback to delay and not return at the end of the recording? Bob 2009/3/30 Anthony Minessale : > how about leave the regex blank if you can't figure one out and just collect > 6 digits and look for * yourself? > The one I told you saturday works for what you asked about.? the one you > came back and asked about would require a | (or) > with 2 expressions. > > On Mon, Mar 30, 2009 at 7:20 AM, Robert Clayton wrote: >> >> Well, I hope that this thread has not died as it seems there has been >> no solution. >> Also, it seems there is not a solid understanding as to the >> interaction between Lua and FS. >> >> Does this suggest that I should abandon Lua for another scripting >> implementation such as JavaScript? >> >> 2009/3/28 Anthony Minessale : >> > try >> > >> > /^([\d*]{6})$/ >> > >> > \d is shorthand for 0-9 and anything in a [] is a set of chars so [\d*] >> > means 0-9 and * >> > [\d*]{6} means exactly 6 from the previous set and wrap the whole thing >> > in >> > ^$ means exact match >> > from beginning to end of the string. >> > >> > >> > 2009/3/28 Robert Clayton >> >> >> >> Michael, >> >> >> >> Good start! We are getting warmer. >> >> >> >> Where "(\\*|\\d{6})" will not match either * or 123456 or anything I >> >> can >> >> think of. >> >> "\\*|\\d{6}" does match * and 123456 and does not match 1234 >> >> So far so good. >> >> BUT, if an asterisk(s) are entered in a combination with numbers >> >> anything >> >> goes **, *123, 123 *, 12*24, 12**34, 1*2*3, etc. >> >> >> >> Bob >> >> >> >> >> >> On Fri, Mar 27, 2009 at 5:54 PM, Michael Collins >> >> wrote: >> >>> >> >>> 2009/3/27 Robert Clayton : >> >>> > Michael, >> >>> > >> >>> > Also note the error message reprints the expression without the >> >>> > escape. >> >>> > >> >>> > Bob >> >>> > >> >>> > On Fri, Mar 27, 2009 at 2:29 PM, Michael Collins >> >>> > >> >>> > wrote: >> >>> >> >>> That just hit me. Try "\\*" instead of "\*" to see if maybe the >> >>> backslash is getting dropped off between Lua and FreeSWITCH. >> >>> >> >>> -MC >> >>> >> >>> _______________________________________________ >> >>> 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 >> >> >> >> >> >> _______________________________________________ >> >> 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/ >> > >> > 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 >> > iax:guest at conference.freeswitch.org/888 >> > googletalk:conf+888 at conference.freeswitch.org >> > pstn:213-799-1400 >> > >> > _______________________________________________ >> > 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 >> > >> > >> >> _______________________________________________ >> 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/ > > 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:213-799-1400 > > _______________________________________________ > 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 anthony.minessale at gmail.com Mon Mar 30 09:52:01 2009 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 30 Mar 2009 11:52:01 -0500 Subject: [Freeswitch-dev] Lua session:playAndGetDigits regex In-Reply-To: References: <87f2f3b90903271129t1d41c5a7s35e009eb1c1793c6@mail.gmail.com> <87f2f3b90903271454u4bf31554mae295d2e9f7e936e@mail.gmail.com> <191c3a030903280514x97579f9l58ff8eea25b5fd76@mail.gmail.com> <191c3a030903300623l75daa2e7h9832a6688043b589@mail.gmail.com> Message-ID: <191c3a030903300952r3f7b01eeq5ce2b699b3bafefd@mail.gmail.com> try this, go to latest trunk, set the terminators to both # and * "#*" then when it stops check the variable read_terminator_used to see if it was # or * then you can continue in your loop i added the channel var read_terminator_used which should contain On Mon, Mar 30, 2009 at 10:42 AM, Robert Clayton wrote: > Anthony, > > Yes and no. The original regex was a little more complex, it only got > simplified in the thread while trying to discover what was going > wrong. > Where we got "\\*|\\d{6}" to match either a "*" or "123456" the > original problem. It also allowed any entry if a single (or multiple) > asterisk were entered at any position in the entry string. Which would > be an incorrect action. > > Correct: * and 123456 and does not match 1234 > Incorrect: **, *123, 123 *, 12*24, 12**34, 1*2*3, etc. > > Regardless, this was an interim step. What I need is two actions, the > first FS easily allows, the second the complicating factor. > 1) Enter either a numeric string (either a defined length or undefined > length followed by a "#") > 2) Enter an asterisk at anytime to allow reentry from the beginning > (returning without requiring a following terminator) > > I tried to use the callback and filter the input myself but since (I > think) the callback only functions while the recording is playing that > could not be done unless I was sure either the user responded during > the recording or the recording was paused. Is there anyway for the the > callback to delay and not return at the end of the recording? > > Bob > > 2009/3/30 Anthony Minessale : > > how about leave the regex blank if you can't figure one out and just > collect > > 6 digits and look for * yourself? > > The one I told you saturday works for what you asked about. the one you > > came back and asked about would require a | (or) > > with 2 expressions. > > > > On Mon, Mar 30, 2009 at 7:20 AM, Robert Clayton > wrote: > >> > >> Well, I hope that this thread has not died as it seems there has been > >> no solution. > >> Also, it seems there is not a solid understanding as to the > >> interaction between Lua and FS. > >> > >> Does this suggest that I should abandon Lua for another scripting > >> implementation such as JavaScript? > >> > >> 2009/3/28 Anthony Minessale : > >> > try > >> > > >> > /^([\d*]{6})$/ > >> > > >> > \d is shorthand for 0-9 and anything in a [] is a set of chars so > [\d*] > >> > means 0-9 and * > >> > [\d*]{6} means exactly 6 from the previous set and wrap the whole > thing > >> > in > >> > ^$ means exact match > >> > from beginning to end of the string. > >> > > >> > > >> > 2009/3/28 Robert Clayton > >> >> > >> >> Michael, > >> >> > >> >> Good start! We are getting warmer. > >> >> > >> >> Where "(\\*|\\d{6})" will not match either * or 123456 or anything I > >> >> can > >> >> think of. > >> >> "\\*|\\d{6}" does match * and 123456 and does not match 1234 > >> >> So far so good. > >> >> BUT, if an asterisk(s) are entered in a combination with numbers > >> >> anything > >> >> goes **, *123, 123 *, 12*24, 12**34, 1*2*3, etc. > >> >> > >> >> Bob > >> >> > >> >> > >> >> On Fri, Mar 27, 2009 at 5:54 PM, Michael Collins > > >> >> wrote: > >> >>> > >> >>> 2009/3/27 Robert Clayton : > >> >>> > Michael, > >> >>> > > >> >>> > Also note the error message reprints the expression without the > >> >>> > escape. > >> >>> > > >> >>> > Bob > >> >>> > > >> >>> > On Fri, Mar 27, 2009 at 2:29 PM, Michael Collins > >> >>> > > >> >>> > wrote: > >> >>> > >> >>> That just hit me. Try "\\*" instead of "\*" to see if maybe the > >> >>> backslash is getting dropped off between Lua and FreeSWITCH. > >> >>> > >> >>> -MC > >> >>> > >> >>> _______________________________________________ > >> >>> 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 > >> >> > >> >> > >> >> _______________________________________________ > >> >> 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/ > >> > > >> > 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 > >> > iax:guest at conference.freeswitch.org/888 > >> > googletalk:conf+888 at conference.freeswitch.org > >> > pstn:213-799-1400 > >> > > >> > _______________________________________________ > >> > 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 > >> > > >> > > >> > >> _______________________________________________ > >> 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/ > > > > 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 > > iax:guest at conference.freeswitch.org/888 > > googletalk:conf+888 at conference.freeswitch.org > > pstn:213-799-1400 > > > > _______________________________________________ > > 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 > > > > > > _______________________________________________ > 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/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:213-799-1400 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090330/d4cf58af/attachment-0001.html From rjcajax at gmail.com Mon Mar 30 11:45:41 2009 From: rjcajax at gmail.com (Robert Clayton) Date: Mon, 30 Mar 2009 14:45:41 -0400 Subject: [Freeswitch-dev] Lua session:playAndGetDigits regex In-Reply-To: <191c3a030903300952r3f7b01eeq5ce2b699b3bafefd@mail.gmail.com> References: <87f2f3b90903271129t1d41c5a7s35e009eb1c1793c6@mail.gmail.com> <87f2f3b90903271454u4bf31554mae295d2e9f7e936e@mail.gmail.com> <191c3a030903280514x97579f9l58ff8eea25b5fd76@mail.gmail.com> <191c3a030903300623l75daa2e7h9832a6688043b589@mail.gmail.com> <191c3a030903300952r3f7b01eeq5ce2b699b3bafefd@mail.gmail.com> Message-ID: Anthony, Thanks. Great idea. My fallback was to use * as a terminator and only allow fixed size input. This is much better. What do you know I just lost the hard drive on my test system. With my scripts. I will reconstruct an begin soon By the way I get an error in LUA on my windows build. "error C2695: 'LUA::Session::destroy': overriding virtual function differs from 'CoreSession::destroy' only by calling convention c:\fs\src\mod\languages\mod_lua\freeswitch_lua.h 26 mod_lua" Bob 2009/3/30 Anthony Minessale : > try this, > > go to latest trunk, > > set the terminators to both # and * "#*" then when it stops check the > variable read_terminator_used to see if it was # or * > then you can continue in your loop > > i added the channel var read_terminator_used which should contain > > On Mon, Mar 30, 2009 at 10:42 AM, Robert Clayton wrote: >> >> Anthony, >> >> Yes and no. The original regex was a little more complex, it only got >> simplified in the thread while trying to discover what was going >> wrong. >> Where we got "\\*|\\d{6}" to match either a "*" or "123456" the >> original problem. It also allowed any entry if a single (or multiple) >> asterisk were entered at any position in the entry string. Which would >> be an incorrect action. >> >> Correct: * and 123456 and does not match 1234 >> Incorrect: **, *123, 123 *, 12*24, 12**34, 1*2*3, etc. >> >> Regardless, this was an interim step. What I need is two actions, the >> first FS easily allows, the second the complicating factor. >> 1) Enter either a numeric string (either a defined length or undefined >> length followed by a "#") >> 2) Enter an asterisk at anytime to allow reentry from the beginning >> (returning without requiring a following terminator) >> >> I tried to use the callback and filter the input myself but since (I >> think) the callback only functions while the recording is playing that >> could not be done unless I was sure either the user responded during >> the recording or the recording was paused. Is there anyway for the the >> callback to delay and not return at the end of the recording? >> >> Bob >> >> 2009/3/30 Anthony Minessale : >> > how about leave the regex blank if you can't figure one out and just >> > collect >> > 6 digits and look for * yourself? >> > The one I told you saturday works for what you asked about.? the one you >> > came back and asked about would require a | (or) >> > with 2 expressions. >> > >> > On Mon, Mar 30, 2009 at 7:20 AM, Robert Clayton >> > wrote: >> >> >> >> Well, I hope that this thread has not died as it seems there has been >> >> no solution. >> >> Also, it seems there is not a solid understanding as to the >> >> interaction between Lua and FS. >> >> >> >> Does this suggest that I should abandon Lua for another scripting >> >> implementation such as JavaScript? >> >> >> >> 2009/3/28 Anthony Minessale : >> >> > try >> >> > >> >> > /^([\d*]{6})$/ >> >> > >> >> > \d is shorthand for 0-9 and anything in a [] is a set of chars so >> >> > [\d*] >> >> > means 0-9 and * >> >> > [\d*]{6} means exactly 6 from the previous set and wrap the whole >> >> > thing >> >> > in >> >> > ^$ means exact match >> >> > from beginning to end of the string. >> >> > >> >> > >> >> > 2009/3/28 Robert Clayton >> >> >> >> >> >> Michael, >> >> >> >> >> >> Good start! We are getting warmer. >> >> >> >> >> >> Where "(\\*|\\d{6})" will not match either * or 123456 or anything I >> >> >> can >> >> >> think of. >> >> >> "\\*|\\d{6}" does match * and 123456 and does not match 1234 >> >> >> So far so good. >> >> >> BUT, if an asterisk(s) are entered in a combination with numbers >> >> >> anything >> >> >> goes **, *123, 123 *, 12*24, 12**34, 1*2*3, etc. >> >> >> >> >> >> Bob >> >> >> >> >> >> >> >> >> On Fri, Mar 27, 2009 at 5:54 PM, Michael Collins >> >> >> >> >> >> wrote: >> >> >>> >> >> >>> 2009/3/27 Robert Clayton : >> >> >>> > Michael, >> >> >>> > >> >> >>> > Also note the error message reprints the expression without the >> >> >>> > escape. >> >> >>> > >> >> >>> > Bob >> >> >>> > >> >> >>> > On Fri, Mar 27, 2009 at 2:29 PM, Michael Collins >> >> >>> > >> >> >>> > wrote: >> >> >>> >> >> >>> That just hit me. Try "\\*" instead of "\*" to see if maybe the >> >> >>> backslash is getting dropped off between Lua and FreeSWITCH. >> >> >>> >> >> >>> -MC >> >> >>> >> >> >>> _______________________________________________ >> >> >>> 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 >> >> >> >> >> >> >> >> >> _______________________________________________ >> >> >> 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/ >> >> > >> >> > 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 >> >> > iax:guest at conference.freeswitch.org/888 >> >> > googletalk:conf+888 at conference.freeswitch.org >> >> > pstn:213-799-1400 >> >> > >> >> > _______________________________________________ >> >> > 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 >> >> > >> >> > >> >> >> >> _______________________________________________ >> >> 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/ >> > >> > 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 >> > iax:guest at conference.freeswitch.org/888 >> > googletalk:conf+888 at conference.freeswitch.org >> > pstn:213-799-1400 >> > >> > _______________________________________________ >> > 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 >> > >> > >> >> _______________________________________________ >> 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/ > > 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:213-799-1400 > > _______________________________________________ > 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 brian at freeswitch.org Mon Mar 30 14:23:20 2009 From: brian at freeswitch.org (Brian West) Date: Mon, 30 Mar 2009 16:23:20 -0500 Subject: [Freeswitch-dev] What's the easiest way to get all the SIP messages in FS? In-Reply-To: <2d9149cd0902250751m3863fd4fv4b505bf57b9e4899@mail.gmail.com> References: <191c3a030902250732l433a1d1al7743560c4fab6d30@mail.gmail.com> <2d9149cd0902250751m3863fd4fv4b505bf57b9e4899@mail.gmail.com> Message-ID: <05CD88C2-FDC4-4E6B-B919-7F41218A8256@freeswitch.org> On Feb 25, 2009, at 9:51 AM, Kristian Kielhofner wrote: > Or ngrep... > > The nice things about such tools is that you can use them to monitor > several systems (if you have setup a port mirror/SPAN) from a separate > host without even potentially impacting anything on the FS hosts - > it's just passive monitoring anyway... > > On Wed, Feb 25, 2009 at 10:32 AM, Anthony Minessale > wrote: >> try tcpdump or tshark >> >> >> On Wed, Feb 25, 2009 at 9:06 AM, seven du wrote: >>> >>> Hi, >>> >>> I want to get all(or certain) SIP messages in FS(perhaps I want to >>> write a module), What's the easiest or best way to get that? or >>> where >>> I can find it in code? >>> >>> I know we can see SIP messages with TPORT_LOG enabled, It's in >>> mod_sofia or sofia-lib? Why it is only possible to set that on >>> start >>> time but can't change it lively? >>> >>> If I can get them, I think it's possible to write to a file/db, or >>> even send out from event_socket. I know it will hurt performance, >>> but >>> we don't do high volume calls and want to debug easily. Third party >>> tools maybe work but also hurt performance right? >>> >>> Thanks. >>> >>> Seven >>> >>> >>> >>> _______________________________________________ >>> 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/ >> >> 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 >> iax:guest at conference.freeswitch.org/888 >> googletalk:conf+888 at conference.freeswitch.org >> pstn:213-799-1400 >> >> _______________________________________________ >> 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 > http://blog.krisk.org > http://www.submityoursip.com > http://www.astlinux.org > http://www.star2star.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 Brian West brian at freeswitch.org -- Meet us a ClueCon! http://www.cluecon.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090330/26b9e628/attachment.html From gmaruzz at celliax.org Tue Mar 31 00:26:57 2009 From: gmaruzz at celliax.org (Giovanni Maruzzelli) Date: Tue, 31 Mar 2009 09:26:57 +0200 Subject: [Freeswitch-dev] FS and Skypiax on Windows Video How To Message-ID: <7b197bef0903310026g51eebb28hcd7035b2e26eda63@mail.gmail.com> Kulwinder Singh contributed this HOW TO: Freeswitch & Skype- OS Microsoft Windows Download 118MB HD: http://www.celliax.org/final.avi Sincerely, Giovanni Maruzzelli ========================================= www.celliax.org via Pierlombardo 9, 20135 Milano Italy gmaruzz at celliax dot org Cell : +39-347-2665618 Fax : +39-02-87390039 From grevenx at me.com Tue Mar 31 10:23:18 2009 From: grevenx at me.com (=?ISO-8859-1?Q?Even_Andr=E9_Fiskvik?=) Date: Tue, 31 Mar 2009 19:23:18 +0200 Subject: [Freeswitch-dev] What's the easiest way to get all the SIP messages in FS? In-Reply-To: <05CD88C2-FDC4-4E6B-B919-7F41218A8256@freeswitch.org> References: <191c3a030902250732l433a1d1al7743560c4fab6d30@mail.gmail.com> <2d9149cd0902250751m3863fd4fv4b505bf57b9e4899@mail.gmail.com> <05CD88C2-FDC4-4E6B-B919-7F41218A8256@freeswitch.org> Message-ID: You can change them "lively" by using the following command (on the latest revisions from SVN): sofia profile siptrace on/off Best regards, Even Andr? On 30. mars. 2009, at 23.23, Brian West wrote: > > On Feb 25, 2009, at 9:51 AM, Kristian Kielhofner wrote: > >> Or ngrep... >> >> The nice things about such tools is that you can use them to monitor >> several systems (if you have setup a port mirror/SPAN) from a >> separate >> host without even potentially impacting anything on the FS hosts - >> it's just passive monitoring anyway... >> >> On Wed, Feb 25, 2009 at 10:32 AM, Anthony Minessale >> wrote: >>> try tcpdump or tshark >>> >>> >>> On Wed, Feb 25, 2009 at 9:06 AM, seven du wrote: >>>> >>>> Hi, >>>> >>>> I want to get all(or certain) SIP messages in FS(perhaps I want to >>>> write a module), What's the easiest or best way to get that? or >>>> where >>>> I can find it in code? >>>> >>>> I know we can see SIP messages with TPORT_LOG enabled, It's in >>>> mod_sofia or sofia-lib? Why it is only possible to set that on >>>> start >>>> time but can't change it lively? >>>> >>>> If I can get them, I think it's possible to write to a file/db, or >>>> even send out from event_socket. I know it will hurt performance, >>>> but >>>> we don't do high volume calls and want to debug easily. Third party >>>> tools maybe work but also hurt performance right? >>>> >>>> Thanks. >>>> >>>> Seven >>>> >>>> >>>> >>>> _______________________________________________ >>>> 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/ >>> >>> 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 >>> iax:guest at conference.freeswitch.org/888 >>> googletalk:conf+888 at conference.freeswitch.org >>> pstn:213-799-1400 >>> >>> _______________________________________________ >>> 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 >> http://blog.krisk.org >> http://www.submityoursip.com >> http://www.astlinux.org >> http://www.star2star.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 > > Brian West > brian at freeswitch.org > > -- Meet us a ClueCon! 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/20090331/cf57d605/attachment-0001.html From msc at freeswitch.org Tue Mar 31 17:10:58 2009 From: msc at freeswitch.org (Michael Collins) Date: Tue, 31 Mar 2009 17:10:58 -0700 Subject: [Freeswitch-dev] Call For Help: Janitor Projects Message-ID: <87f2f3b90903311710p67dc5433x135bebef21f8b9b7@mail.gmail.com> Dear FreeSWITCH Community: As you know, FreeSWITCH has been growing leaps and bounds and it's going to keep growing as the word spreads. The core development team of Anthony, Mike, and Brian are very appreciative of the community's help and involvement in the project. Simply put: the community is awesome! Some have asked how they can help. Most of us are not software developers, but that doesn't mean we can't help to grow the FreeSWITCH ecosystem. To this end I've started a "janitor projects" wiki page: http://wiki.freeswitch.org/wiki/Janitor_Projects We say "janitor" projects because they are things that help keep the project clean and organized, just like the janitor cleans an office, takes out the trash, replaces the toilet paper, etc. These are valuable services that we sometimes take for granted. However, I think we can all appreciate that the FreeSWITCH project would be better served if the developers could focus on writing code, fixing bugs, etc. and not on the easier, not-quite-as-important janitorial tasks. To that end we are inviting all who wish to volunteer to please visit the above wiki page and check out some of the projects listed so far. Email me off list if you'd like to volunteer to help. I'm maintaining a list of "janitors" and what they are helping with. If you have ideas for other janitor projects then by all means email them to me and we'll discuss them. Thanks again for being such a great community! -Michael S Collins IRC: mercutioviz See you at ClueCon 2009! http://www.cluecon.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090331/a0ee2cb7/attachment.html