From moises.silva at gmail.com Thu Sep 1 02:43:25 2011 From: moises.silva at gmail.com (Moises Silva) Date: Wed, 31 Aug 2011 18:43:25 -0400 Subject: [Freeswitch-dev] Sangoma is hiring! Message-ID: Hello everyone, I apologize in advance for the spam. Sangoma is looking for talented software engineers for development and QA. Roughly speaking we would love to have people with open source mentality and that knows his/her way around Linux and multithreaded C. Kernel level coding is an asset. They should be willing to relocate to work in our offices at Toronto, Canada. Full description in LinkedIn: http://ca.linkedin.com/jobs/jobs-Software-Engineer-VoIPTDMVideoNetworking-1879437 Interested candidates can contact me directly. Moises Silva Senior Software Engineer, Software Development Manager Sangoma Technologies Inc. | 100 Renfrew Drive, Suite 100, Markham ON L3R 9R6 Canada t. 1 905 474 1990 x128 | e. moy at sangoma.com From msc at freeswitch.org Thu Sep 1 04:46:29 2011 From: msc at freeswitch.org (Michael Collins) Date: Wed, 31 Aug 2011 17:46:29 -0700 Subject: [Freeswitch-dev] Investigating build testing for FreeSWITCH Message-ID: Hey all, On today's conference call someone pointed out that there is a utility called BuildBot that helps to automate testing of new commits to git, svn, etc. You can find it at buildbot.net. The catch: it's written in Python. (blech) I tried to build it on 3 different systems and I get 3 different undecipherable Python-ish errors. (Stuff like syntax errors during the build or syntax errors in twstd while it's running, dependency mismatches for python-virtualenv, etc.) If you have a system that can test this out, and you can stand to use Python this much (:D) then please try out the steps outlined here: http://buildbot.net/buildbot/docs/current/tutorial/firstrun.html Supposedly this thing will let us run multiple tests on multiple boxes and aggregate the results. I'll believe it when I see it. :) If you get this working please let me know. Also, if you can set up a test platform that would also be helpful. Ideally we would have multiple Linuxes, OS X, Windows, etc. and test on all these platforms. Let me know what you come up with. Thanks, Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110831/40b4675a/attachment.html From jmesquita at freeswitch.org Thu Sep 1 04:59:39 2011 From: jmesquita at freeswitch.org (=?ISO-8859-1?Q?Jo=E3o_Mesquita?=) Date: Wed, 31 Aug 2011 21:59:39 -0300 Subject: [Freeswitch-dev] Investigating build testing for FreeSWITCH In-Reply-To: References: Message-ID: I can promise to give it a serious try. I am out of the country this week but I will try to get my hands dirty either way. I kinda know python despite of what bkw_ has to say about it. LOL Regards, JM On Wednesday, August 31, 2011, Michael Collins wrote: > Hey all, > > On today's conference call someone pointed out that there is a utility > called BuildBot that helps to automate testing of new commits to git, svn, > etc. You can find it at buildbot.net. The catch: it's written in Python. > (blech) > > I tried to build it on 3 different systems and I get 3 different > undecipherable Python-ish errors. (Stuff like syntax errors during the build > or syntax errors in twstd while it's running, dependency mismatches for > python-virtualenv, etc.) If you have a system that can test this out, and > you can stand to use Python this much (:D) then please try out the steps > outlined here: > > http://buildbot.net/buildbot/docs/current/tutorial/firstrun.html > > Supposedly this thing will let us run multiple tests on multiple boxes and > aggregate the results. I'll believe it when I see it. :) If you get this > working please let me know. Also, if you can set up a test platform that > would also be helpful. Ideally we would have multiple Linuxes, OS X, > Windows, etc. and test on all these platforms. Let me know what you come up > with. > > Thanks, > Michael > -- Jo?o Mesquita FreeSWITCH? Solutions -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110831/7fd8a702/attachment.html From egghunt at gmail.com Thu Sep 1 06:46:12 2011 From: egghunt at gmail.com (Arnaldo de Moraes Pereira) Date: Wed, 31 Aug 2011 23:46:12 -0300 Subject: [Freeswitch-dev] Investigating build testing for FreeSWITCH In-Reply-To: References: Message-ID: Michael, did you test it just on CentOS? 2011/8/31 Jo?o Mesquita > I can promise to give it a serious try. I am out of the country this week > but I will try to get my hands dirty either way. I kinda know python despite > of what bkw_ has to say about it. LOL > > Regards, > > JM > > > On Wednesday, August 31, 2011, Michael Collins wrote: > >> Hey all, >> >> On today's conference call someone pointed out that there is a utility >> called BuildBot that helps to automate testing of new commits to git, svn, >> etc. You can find it at buildbot.net. The catch: it's written in Python. >> (blech) >> >> I tried to build it on 3 different systems and I get 3 different >> undecipherable Python-ish errors. (Stuff like syntax errors during the build >> or syntax errors in twstd while it's running, dependency mismatches for >> python-virtualenv, etc.) If you have a system that can test this out, and >> you can stand to use Python this much (:D) then please try out the steps >> outlined here: >> >> http://buildbot.net/buildbot/docs/current/tutorial/firstrun.html >> >> Supposedly this thing will let us run multiple tests on multiple boxes and >> aggregate the results. I'll believe it when I see it. :) If you get this >> working please let me know. Also, if you can set up a test platform that >> would also be helpful. Ideally we would have multiple Linuxes, OS X, >> Windows, etc. and test on all these platforms. Let me know what you come up >> with. >> >> Thanks, >> Michael >> > > > -- > Jo?o Mesquita > FreeSWITCH? Solutions > > > _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > 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/20110831/8b1bd208/attachment.html From jmesquita at freeswitch.org Thu Sep 1 07:26:02 2011 From: jmesquita at freeswitch.org (=?ISO-8859-1?Q?Jo=E3o_Mesquita?=) Date: Thu, 1 Sep 2011 00:26:02 -0300 Subject: [Freeswitch-dev] Investigating build testing for FreeSWITCH In-Reply-To: References: Message-ID: Mc, I couldnt help myself and I spawned a vm on my mac to test it. CentOS 5.6 and could run the first run with just a few hiccups. Problably due to me being tired. I can look at the docs to make one build for linux of freeswitch but i really dont want to work for nothing. I see some other offerrings so my question is: Should I invest time on this or python juat sucks too much so we wont use it kinda deal? Let me know but know that i am willing to help !! JM On Aug 31, 2011 11:48 PM, "Arnaldo de Moraes Pereira" wrote: > Michael, did you test it just on CentOS? > > 2011/8/31 Jo?o Mesquita > >> I can promise to give it a serious try. I am out of the country this week >> but I will try to get my hands dirty either way. I kinda know python despite >> of what bkw_ has to say about it. LOL >> >> Regards, >> >> JM >> >> >> On Wednesday, August 31, 2011, Michael Collins wrote: >> >>> Hey all, >>> >>> On today's conference call someone pointed out that there is a utility >>> called BuildBot that helps to automate testing of new commits to git, svn, >>> etc. You can find it at buildbot.net. The catch: it's written in Python. >>> (blech) >>> >>> I tried to build it on 3 different systems and I get 3 different >>> undecipherable Python-ish errors. (Stuff like syntax errors during the build >>> or syntax errors in twstd while it's running, dependency mismatches for >>> python-virtualenv, etc.) If you have a system that can test this out, and >>> you can stand to use Python this much (:D) then please try out the steps >>> outlined here: >>> >>> http://buildbot.net/buildbot/docs/current/tutorial/firstrun.html >>> >>> Supposedly this thing will let us run multiple tests on multiple boxes and >>> aggregate the results. I'll believe it when I see it. :) If you get this >>> working please let me know. Also, if you can set up a test platform that >>> would also be helpful. Ideally we would have multiple Linuxes, OS X, >>> Windows, etc. and test on all these platforms. Let me know what you come up >>> with. >>> >>> Thanks, >>> Michael >>> >> >> >> -- >> Jo?o Mesquita >> FreeSWITCH? Solutions >> >> >> _______________________________________________ >> Join us at ClueCon 2011, Aug 9-11, Chicago >> http://www.cluecon.com 877-7-4ACLUE >> >> 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/20110901/0f8e95a3/attachment.html From jmesquita at freeswitch.org Thu Sep 1 08:21:51 2011 From: jmesquita at freeswitch.org (=?ISO-8859-1?Q?Jo=E3o_Mesquita?=) Date: Thu, 1 Sep 2011 01:21:51 -0300 Subject: [Freeswitch-dev] Investigating build testing for FreeSWITCH In-Reply-To: References: Message-ID: Sorry, kinda bad mood. I don't want to give the wrong impression here. I do understand that opensource is about initiative and I am not by any means refusing to work even tho the solution I work on might not be the one used. What I do want tho is for us to evaluate how or why we want to use this before going into the details of implementing it. >From what I could see on the docs, this system provides a way for us to extend it quite easily for those who know Python. It is cross platform and pretty much runs on anything we have shell commands for. As far as I can tell, that includes VS. One other cool thing that I could see if that we can add unit tests to the compiled software so that we can make more then just build but also test common scenarios and report on those. Anyway, my 2 cents and let me know if I should pursue this discussion. Regards, JM On Thursday, September 1, 2011, Jo?o Mesquita wrote: > Mc, I couldnt help myself and I spawned a vm on my mac to test it. CentOS > 5.6 and could run the first run with just a few hiccups. Problably due to me > being tired. > I can look at the docs to make one build for linux of freeswitch but i > really dont want to work for nothing. > > I see some other offerrings so my question is: Should I invest time on this > or python juat sucks too much so we wont use it kinda deal? > > Let me know but know that i am willing to help !! > > JM > On Aug 31, 2011 11:48 PM, "Arnaldo de Moraes Pereira" > > wrote: > > Michael, did you test it just on CentOS? > > > > 2011/8/31 Jo?o Mesquita 'cvml', 'jmesquita at freeswitch.org');>> > > > >> I can promise to give it a serious try. I am out of the country this > week > >> but I will try to get my hands dirty either way. I kinda know python > despite > >> of what bkw_ has to say about it. LOL > >> > >> Regards, > >> > >> JM > >> > >> > >> On Wednesday, August 31, 2011, Michael Collins wrote: > >> > >>> Hey all, > >>> > >>> On today's conference call someone pointed out that there is a utility > >>> called BuildBot that helps to automate testing of new commits to git, > svn, > >>> etc. You can find it at buildbot.net. The catch: it's written in > Python. > >>> (blech) > >>> > >>> I tried to build it on 3 different systems and I get 3 different > >>> undecipherable Python-ish errors. (Stuff like syntax errors during the > build > >>> or syntax errors in twstd while it's running, dependency mismatches for > >>> python-virtualenv, etc.) If you have a system that can test this out, > and > >>> you can stand to use Python this much (:D) then please try out the > steps > >>> outlined here: > >>> > >>> http://buildbot.net/buildbot/docs/current/tutorial/firstrun.html > >>> > >>> Supposedly this thing will let us run multiple tests on multiple boxes > and > >>> aggregate the results. I'll believe it when I see it. :) If you get > this > >>> working please let me know. Also, if you can set up a test platform > that > >>> would also be helpful. Ideally we would have multiple Linuxes, OS X, > >>> Windows, etc. and test on all these platforms. Let me know what you > come up > >>> with. > >>> > >>> Thanks, > >>> Michael > >>> > >> > >> > >> -- > >> Jo?o Mesquita > >> FreeSWITCH? Solutions > >> > >> > >> _______________________________________________ > >> Join us at ClueCon 2011, Aug 9-11, Chicago > >> http://www.cluecon.com 877-7-4ACLUE > >> > >> FreeSWITCH-dev mailing list > >> FreeSWITCH-dev at lists.freeswitch.org '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 > >> > >> > -- Jo?o Mesquita FreeSWITCH? Solutions -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110901/2ed62e6e/attachment-0001.html From jaybinks at gmail.com Thu Sep 1 11:34:16 2011 From: jaybinks at gmail.com (jay binks) Date: Thu, 1 Sep 2011 17:34:16 +1000 Subject: [Freeswitch-dev] Investigating build testing for FreeSWITCH In-Reply-To: References: Message-ID: am I missing something here .. what tests are you running ?? is there like "make tests" or something that outputs junit style output ? this would be awesome, if it were the case !!! Jay 2011/9/1 Jo?o Mesquita > Sorry, kinda bad mood. I don't want to give the wrong impression here. I do > understand that opensource is about initiative and I am not by any means > refusing to work even tho the solution I work on might not be the one used. > What I do want tho is for us to evaluate how or why we want to use this > before going into the details of implementing it. > > From what I could see on the docs, this system provides a way for us to > extend it quite easily for those who know Python. It is cross platform and > pretty much runs on anything we have shell commands for. As far as I can > tell, that includes VS. > > One other cool thing that I could see if that we can add unit tests to the > compiled software so that we can make more then just build but also test > common scenarios and report on those. > > Anyway, my 2 cents and let me know if I should pursue this discussion. > > Regards, > JM > > > On Thursday, September 1, 2011, Jo?o Mesquita wrote: > >> Mc, I couldnt help myself and I spawned a vm on my mac to test it. CentOS >> 5.6 and could run the first run with just a few hiccups. Problably due to me >> being tired. >> I can look at the docs to make one build for linux of freeswitch but i >> really dont want to work for nothing. >> >> I see some other offerrings so my question is: Should I invest time on >> this or python juat sucks too much so we wont use it kinda deal? >> >> Let me know but know that i am willing to help !! >> >> JM >> On Aug 31, 2011 11:48 PM, "Arnaldo de Moraes Pereira" >> wrote: >> > Michael, did you test it just on CentOS? >> > >> > 2011/8/31 Jo?o Mesquita >> > >> >> I can promise to give it a serious try. I am out of the country this >> week >> >> but I will try to get my hands dirty either way. I kinda know python >> despite >> >> of what bkw_ has to say about it. LOL >> >> >> >> Regards, >> >> >> >> JM >> >> >> >> >> >> On Wednesday, August 31, 2011, Michael Collins wrote: >> >> >> >>> Hey all, >> >>> >> >>> On today's conference call someone pointed out that there is a utility >> >>> called BuildBot that helps to automate testing of new commits to git, >> svn, >> >>> etc. You can find it at buildbot.net. The catch: it's written in >> Python. >> >>> (blech) >> >>> >> >>> I tried to build it on 3 different systems and I get 3 different >> >>> undecipherable Python-ish errors. (Stuff like syntax errors during the >> build >> >>> or syntax errors in twstd while it's running, dependency mismatches >> for >> >>> python-virtualenv, etc.) If you have a system that can test this out, >> and >> >>> you can stand to use Python this much (:D) then please try out the >> steps >> >>> outlined here: >> >>> >> >>> http://buildbot.net/buildbot/docs/current/tutorial/firstrun.html >> >>> >> >>> Supposedly this thing will let us run multiple tests on multiple boxes >> and >> >>> aggregate the results. I'll believe it when I see it. :) If you get >> this >> >>> working please let me know. Also, if you can set up a test platform >> that >> >>> would also be helpful. Ideally we would have multiple Linuxes, OS X, >> >>> Windows, etc. and test on all these platforms. Let me know what you >> come up >> >>> with. >> >>> >> >>> Thanks, >> >>> Michael >> >>> >> >> >> >> >> >> -- >> >> Jo?o Mesquita >> >> FreeSWITCH? Solutions >> >> >> >> >> >> _______________________________________________ >> >> Join us at ClueCon 2011, Aug 9-11, Chicago >> >> http://www.cluecon.com 877-7-4ACLUE >> >> >> >> 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 >> >> >> >> >> > > > -- > Jo?o Mesquita > FreeSWITCH? Solutions > > > _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > 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 > > -- Sincerely Jay -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110901/34e33162/attachment.html From michal.bielicki at seventhsignal.de Thu Sep 1 12:18:35 2011 From: michal.bielicki at seventhsignal.de (Michal Bielicki) Date: Thu, 1 Sep 2011 10:18:35 +0200 Subject: [Freeswitch-dev] Investigating build testing for FreeSWITCH In-Reply-To: References: Message-ID: I always find it fun when people reinvent the wheel. Anyway I am using jenkins for build testing. You can see my build testing here: http://www.freeswitch.de/jenkins. I would like to also ask that people leave there religious discussions about Programming Languages to some other communication channel. Am 01.09.2011 um 09:34 schrieb jay binks: > am I missing something here .. > what tests are you running ?? > > is there like "make tests" or something that outputs junit style output ? > this would be awesome, if it were the case !!! > > Jay > > 2011/9/1 Jo?o Mesquita > Sorry, kinda bad mood. I don't want to give the wrong impression here. I do understand that opensource is about initiative and I am not by any means refusing to work even tho the solution I work on might not be the one used. What I do want tho is for us to evaluate how or why we want to use this before going into the details of implementing it. > > From what I could see on the docs, this system provides a way for us to extend it quite easily for those who know Python. It is cross platform and pretty much runs on anything we have shell commands for. As far as I can tell, that includes VS. > > One other cool thing that I could see if that we can add unit tests to the compiled software so that we can make more then just build but also test common scenarios and report on those. > > Anyway, my 2 cents and let me know if I should pursue this discussion. > > Regards, > JM > > > On Thursday, September 1, 2011, Jo?o Mesquita wrote: > Mc, I couldnt help myself and I spawned a vm on my mac to test it. CentOS 5.6 and could run the first run with just a few hiccups. Problably due to me being tired. > I can look at the docs to make one build for linux of freeswitch but i really dont want to work for nothing. > > I see some other offerrings so my question is: Should I invest time on this or python juat sucks too much so we wont use it kinda deal? > > Let me know but know that i am willing to help !! > > JM > > On Aug 31, 2011 11:48 PM, "Arnaldo de Moraes Pereira" wrote: > > Michael, did you test it just on CentOS? > > > > 2011/8/31 Jo?o Mesquita > > > >> I can promise to give it a serious try. I am out of the country this week > >> but I will try to get my hands dirty either way. I kinda know python despite > >> of what bkw_ has to say about it. LOL > >> > >> Regards, > >> > >> JM > >> > >> > >> On Wednesday, August 31, 2011, Michael Collins wrote: > >> > >>> Hey all, > >>> > >>> On today's conference call someone pointed out that there is a utility > >>> called BuildBot that helps to automate testing of new commits to git, svn, > >>> etc. You can find it at buildbot.net. The catch: it's written in Python. > >>> (blech) > >>> > >>> I tried to build it on 3 different systems and I get 3 different > >>> undecipherable Python-ish errors. (Stuff like syntax errors during the build > >>> or syntax errors in twstd while it's running, dependency mismatches for > >>> python-virtualenv, etc.) If you have a system that can test this out, and > >>> you can stand to use Python this much (:D) then please try out the steps > >>> outlined here: > >>> > >>> http://buildbot.net/buildbot/docs/current/tutorial/firstrun.html > >>> > >>> Supposedly this thing will let us run multiple tests on multiple boxes and > >>> aggregate the results. I'll believe it when I see it. :) If you get this > >>> working please let me know. Also, if you can set up a test platform that > >>> would also be helpful. Ideally we would have multiple Linuxes, OS X, > >>> Windows, etc. and test on all these platforms. Let me know what you come up > >>> with. > >>> > >>> Thanks, > >>> Michael > >>> > >> > >> > >> -- > >> Jo?o Mesquita > >> FreeSWITCH? Solutions > >> > >> > >> _______________________________________________ > >> Join us at ClueCon 2011, Aug 9-11, Chicago > >> http://www.cluecon.com 877-7-4ACLUE > >> > >> 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 > >> > >> > > > -- > Jo?o Mesquita > FreeSWITCH? Solutions > > > _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > 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 > > > > > -- > Sincerely > > Jay > _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > 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 Michal Bielicki Gesch?ftsf?hrer / CEO Seventh Signal Ltd. & Co. KG Weigandufer 45, B?ro 115, D-12059 Berlin Voice: +49 30 60988730 Amtsgericht Charlottenburg HRA 44413 B Ust.-ID: DE266981999 Gesch?ftsf?hrer: Michal Bielicki Pers?nlich Haftende Gesellschafterin: Seventh Signal Ltd, 69 Great Hampton St. Birmingham, B18 6EW, GB, Company Nr.: 06889439 WWW.: http://www.seventhsignal.de ---- -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110901/24434f5e/attachment-0001.html From jmesquita at freeswitch.org Thu Sep 1 17:16:02 2011 From: jmesquita at freeswitch.org (=?ISO-8859-1?Q?Jo=E3o_Mesquita?=) Date: Thu, 1 Sep 2011 10:16:02 -0300 Subject: [Freeswitch-dev] Investigating build testing for FreeSWITCH In-Reply-To: References: Message-ID: It wasn't my intention to start a religious discussion about programming languages. I apologize if I did. When you say you love when ppl try to reinvent the wheel, you are saying that we should not move to an automated build system because you already have one in place? MC, would that suffice the needs? Jo?o Mesquita On Thu, Sep 1, 2011 at 5:18 AM, Michal Bielicki < michal.bielicki at seventhsignal.de> wrote: > I always find it fun when people reinvent the wheel. Anyway I am using > jenkins for build testing. You can see my build testing here: > http://www.freeswitch.de/jenkins. > > I would like to also ask that people leave there religious discussions > about Programming Languages to some other communication channel. > Am 01.09.2011 um 09:34 schrieb jay binks: > > am I missing something here .. > what tests are you running ?? > > is there like "make tests" or something that outputs junit style output ? > this would be awesome, if it were the case !!! > > Jay > > 2011/9/1 Jo?o Mesquita > >> Sorry, kinda bad mood. I don't want to give the wrong impression here. I >> do understand that opensource is about initiative and I am not by any means >> refusing to work even tho the solution I work on might not be the one used. >> What I do want tho is for us to evaluate how or why we want to use this >> before going into the details of implementing it. >> >> From what I could see on the docs, this system provides a way for us to >> extend it quite easily for those who know Python. It is cross platform and >> pretty much runs on anything we have shell commands for. As far as I can >> tell, that includes VS. >> >> One other cool thing that I could see if that we can add unit tests to the >> compiled software so that we can make more then just build but also test >> common scenarios and report on those. >> >> Anyway, my 2 cents and let me know if I should pursue this discussion. >> >> Regards, >> JM >> >> >> On Thursday, September 1, 2011, Jo?o Mesquita wrote: >> >>> Mc, I couldnt help myself and I spawned a vm on my mac to test it. CentOS >>> 5.6 and could run the first run with just a few hiccups. Problably due to me >>> being tired. >>> I can look at the docs to make one build for linux of freeswitch but i >>> really dont want to work for nothing. >>> >>> I see some other offerrings so my question is: Should I invest time on >>> this or python juat sucks too much so we wont use it kinda deal? >>> >>> Let me know but know that i am willing to help !! >>> >>> JM >>> On Aug 31, 2011 11:48 PM, "Arnaldo de Moraes Pereira" >>> wrote: >>> > Michael, did you test it just on CentOS? >>> > >>> > 2011/8/31 Jo?o Mesquita >>> > >>> >> I can promise to give it a serious try. I am out of the country this >>> week >>> >> but I will try to get my hands dirty either way. I kinda know python >>> despite >>> >> of what bkw_ has to say about it. LOL >>> >> >>> >> Regards, >>> >> >>> >> JM >>> >> >>> >> >>> >> On Wednesday, August 31, 2011, Michael Collins wrote: >>> >> >>> >>> Hey all, >>> >>> >>> >>> On today's conference call someone pointed out that there is a >>> utility >>> >>> called BuildBot that helps to automate testing of new commits to git, >>> svn, >>> >>> etc. You can find it at buildbot.net. The catch: it's written in >>> Python. >>> >>> (blech) >>> >>> >>> >>> I tried to build it on 3 different systems and I get 3 different >>> >>> undecipherable Python-ish errors. (Stuff like syntax errors during >>> the build >>> >>> or syntax errors in twstd while it's running, dependency mismatches >>> for >>> >>> python-virtualenv, etc.) If you have a system that can test this out, >>> and >>> >>> you can stand to use Python this much (:D) then please try out the >>> steps >>> >>> outlined here: >>> >>> >>> >>> http://buildbot.net/buildbot/docs/current/tutorial/firstrun.html >>> >>> >>> >>> Supposedly this thing will let us run multiple tests on multiple >>> boxes and >>> >>> aggregate the results. I'll believe it when I see it. :) If you get >>> this >>> >>> working please let me know. Also, if you can set up a test platform >>> that >>> >>> would also be helpful. Ideally we would have multiple Linuxes, OS X, >>> >>> Windows, etc. and test on all these platforms. Let me know what you >>> come up >>> >>> with. >>> >>> >>> >>> Thanks, >>> >>> Michael >>> >>> >>> >> >>> >> >>> >> -- >>> >> Jo?o Mesquita >>> >> FreeSWITCH? Solutions >>> >> >>> >> >>> >> _______________________________________________ >>> >> Join us at ClueCon 2011, Aug 9-11, Chicago >>> >> http://www.cluecon.com 877-7-4ACLUE >>> >> >>> >> 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 >>> >> >>> >> >>> >> >> >> -- >> Jo?o Mesquita >> FreeSWITCH? Solutions >> >> >> _______________________________________________ >> Join us at ClueCon 2011, Aug 9-11, Chicago >> http://www.cluecon.com 877-7-4ACLUE >> >> 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 >> >> > > > -- > Sincerely > > Jay > _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > 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 > > > *Michal Bielicki* > Gesch?ftsf?hrer / CEO > > *Seventh Signal Ltd. & Co. KG* > Weigandufer 45, B?ro 115, D-12059 Berlin > Voice: +49 30 60988730 > > Amtsgericht Charlottenburg HRA 44413 B > Ust.-ID: DE266981999 > Gesch?ftsf?hrer: Michal Bielicki > Pers?nlich Haftende Gesellschafterin: > Seventh Signal Ltd, 69 Great Hampton St. Birmingham, > B18 6EW, GB, Company Nr.: 06889439 > WWW.: http://www.seventhsignal.de > > > ---- > > _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > 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/20110901/7409bfe2/attachment.html From msc at freeswitch.org Thu Sep 1 19:39:58 2011 From: msc at freeswitch.org (Michael Collins) Date: Thu, 1 Sep 2011 08:39:58 -0700 Subject: [Freeswitch-dev] Investigating build testing for FreeSWITCH In-Reply-To: References: Message-ID: Were you guys on the conf call yesterday when DRK was squawking about Windows being a second class citizen because people don't test win before making commits? He specifically asked, like 20 times, if there was something available to help with testing in the Linux/Unix environment. The only suggestion that came out was BuildBot. If Jeff has Windows build testing automated and Michal has Linux/Unix testing automated then I would say it's a moot point. We'll bring the subject up next week if/when DRK is in the conference. It may be that he's just gotten bit by updating at the wrong time, i.e. after a naughty commit breaks windows but before Jeff catches it with his tests. -MC On Thu, Sep 1, 2011 at 1:18 AM, Michal Bielicki < michal.bielicki at seventhsignal.de> wrote: > I always find it fun when people reinvent the wheel. Anyway I am using > jenkins for build testing. You can see my build testing here: > http://www.freeswitch.de/jenkins. > > I would like to also ask that people leave there religious discussions > about Programming Languages to some other communication channel. > Am 01.09.2011 um 09:34 schrieb jay binks: > > am I missing something here .. > what tests are you running ?? > > is there like "make tests" or something that outputs junit style output ? > this would be awesome, if it were the case !!! > > Jay > > 2011/9/1 Jo?o Mesquita > >> Sorry, kinda bad mood. I don't want to give the wrong impression here. I >> do understand that opensource is about initiative and I am not by any means >> refusing to work even tho the solution I work on might not be the one used. >> What I do want tho is for us to evaluate how or why we want to use this >> before going into the details of implementing it. >> >> From what I could see on the docs, this system provides a way for us to >> extend it quite easily for those who know Python. It is cross platform and >> pretty much runs on anything we have shell commands for. As far as I can >> tell, that includes VS. >> >> One other cool thing that I could see if that we can add unit tests to the >> compiled software so that we can make more then just build but also test >> common scenarios and report on those. >> >> Anyway, my 2 cents and let me know if I should pursue this discussion. >> >> Regards, >> JM >> >> >> On Thursday, September 1, 2011, Jo?o Mesquita wrote: >> >>> Mc, I couldnt help myself and I spawned a vm on my mac to test it. CentOS >>> 5.6 and could run the first run with just a few hiccups. Problably due to me >>> being tired. >>> I can look at the docs to make one build for linux of freeswitch but i >>> really dont want to work for nothing. >>> >>> I see some other offerrings so my question is: Should I invest time on >>> this or python juat sucks too much so we wont use it kinda deal? >>> >>> Let me know but know that i am willing to help !! >>> >>> JM >>> On Aug 31, 2011 11:48 PM, "Arnaldo de Moraes Pereira" >>> wrote: >>> > Michael, did you test it just on CentOS? >>> > >>> > 2011/8/31 Jo?o Mesquita >>> > >>> >> I can promise to give it a serious try. I am out of the country this >>> week >>> >> but I will try to get my hands dirty either way. I kinda know python >>> despite >>> >> of what bkw_ has to say about it. LOL >>> >> >>> >> Regards, >>> >> >>> >> JM >>> >> >>> >> >>> >> On Wednesday, August 31, 2011, Michael Collins wrote: >>> >> >>> >>> Hey all, >>> >>> >>> >>> On today's conference call someone pointed out that there is a >>> utility >>> >>> called BuildBot that helps to automate testing of new commits to git, >>> svn, >>> >>> etc. You can find it at buildbot.net. The catch: it's written in >>> Python. >>> >>> (blech) >>> >>> >>> >>> I tried to build it on 3 different systems and I get 3 different >>> >>> undecipherable Python-ish errors. (Stuff like syntax errors during >>> the build >>> >>> or syntax errors in twstd while it's running, dependency mismatches >>> for >>> >>> python-virtualenv, etc.) If you have a system that can test this out, >>> and >>> >>> you can stand to use Python this much (:D) then please try out the >>> steps >>> >>> outlined here: >>> >>> >>> >>> http://buildbot.net/buildbot/docs/current/tutorial/firstrun.html >>> >>> >>> >>> Supposedly this thing will let us run multiple tests on multiple >>> boxes and >>> >>> aggregate the results. I'll believe it when I see it. :) If you get >>> this >>> >>> working please let me know. Also, if you can set up a test platform >>> that >>> >>> would also be helpful. Ideally we would have multiple Linuxes, OS X, >>> >>> Windows, etc. and test on all these platforms. Let me know what you >>> come up >>> >>> with. >>> >>> >>> >>> Thanks, >>> >>> Michael >>> >>> >>> >> >>> >> >>> >> -- >>> >> Jo?o Mesquita >>> >> FreeSWITCH? Solutions >>> >> >>> >> >>> >> _______________________________________________ >>> >> Join us at ClueCon 2011, Aug 9-11, Chicago >>> >> http://www.cluecon.com 877-7-4ACLUE >>> >> >>> >> 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 >>> >> >>> >> >>> >> >> >> -- >> Jo?o Mesquita >> FreeSWITCH? Solutions >> >> >> _______________________________________________ >> Join us at ClueCon 2011, Aug 9-11, Chicago >> http://www.cluecon.com 877-7-4ACLUE >> >> 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 >> >> > > > -- > Sincerely > > Jay > _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > 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 > > > *Michal Bielicki* > Gesch?ftsf?hrer / CEO > > *Seventh Signal Ltd. & Co. KG* > Weigandufer 45, B?ro 115, D-12059 Berlin > Voice: +49 30 60988730 > > Amtsgericht Charlottenburg HRA 44413 B > Ust.-ID: DE266981999 > Gesch?ftsf?hrer: Michal Bielicki > Pers?nlich Haftende Gesellschafterin: > Seventh Signal Ltd, 69 Great Hampton St. Birmingham, > B18 6EW, GB, Company Nr.: 06889439 > WWW.: http://www.seventhsignal.de > > > ---- > > _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > 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/20110901/11dbf04a/attachment-0001.html From michal.bielicki at seventhsignal.de Fri Sep 2 12:59:30 2011 From: michal.bielicki at seventhsignal.de (Michal Bielicki) Date: Fri, 2 Sep 2011 10:59:30 +0200 Subject: [Freeswitch-dev] Investigating build testing for FreeSWITCH In-Reply-To: References: Message-ID: <4833571F-5438-4058-97F1-7816429187E8@seventhsignal.de> I am still looking for some basic test scripts for automatic testing on the 14 platforms I do build/packaging etesting on. I also would like to add windows and mac os/xbuild and packaging, like I am adding solaris 11, nexenta and smart OS cheers Michal Am 01.09.2011 um 17:39 schrieb Michael Collins: > Were you guys on the conf call yesterday when DRK was squawking about Windows being a second class citizen because people don't test win before making commits? He specifically asked, like 20 times, if there was something available to help with testing in the Linux/Unix environment. The only suggestion that came out was BuildBot. > > If Jeff has Windows build testing automated and Michal has Linux/Unix testing automated then I would say it's a moot point. We'll bring the subject up next week if/when DRK is in the conference. It may be that he's just gotten bit by updating at the wrong time, i.e. after a naughty commit breaks windows but before Jeff catches it with his tests. > > -MC > > On Thu, Sep 1, 2011 at 1:18 AM, Michal Bielicki wrote: > I always find it fun when people reinvent the wheel. Anyway I am using jenkins for build testing. You can see my build testing here: > http://www.freeswitch.de/jenkins. > > I would like to also ask that people leave there religious discussions about Programming Languages to some other communication channel. > Am 01.09.2011 um 09:34 schrieb jay binks: > >> am I missing something here .. >> what tests are you running ?? >> >> is there like "make tests" or something that outputs junit style output ? >> this would be awesome, if it were the case !!! >> >> Jay >> >> 2011/9/1 Jo?o Mesquita >> Sorry, kinda bad mood. I don't want to give the wrong impression here. I do understand that opensource is about initiative and I am not by any means refusing to work even tho the solution I work on might not be the one used. What I do want tho is for us to evaluate how or why we want to use this before going into the details of implementing it. >> >> From what I could see on the docs, this system provides a way for us to extend it quite easily for those who know Python. It is cross platform and pretty much runs on anything we have shell commands for. As far as I can tell, that includes VS. >> >> One other cool thing that I could see if that we can add unit tests to the compiled software so that we can make more then just build but also test common scenarios and report on those. >> >> Anyway, my 2 cents and let me know if I should pursue this discussion. >> >> Regards, >> JM >> >> >> On Thursday, September 1, 2011, Jo?o Mesquita wrote: >> Mc, I couldnt help myself and I spawned a vm on my mac to test it. CentOS 5.6 and could run the first run with just a few hiccups. Problably due to me being tired. >> I can look at the docs to make one build for linux of freeswitch but i really dont want to work for nothing. >> >> I see some other offerrings so my question is: Should I invest time on this or python juat sucks too much so we wont use it kinda deal? >> >> Let me know but know that i am willing to help !! >> >> JM >> >> On Aug 31, 2011 11:48 PM, "Arnaldo de Moraes Pereira" wrote: >> > Michael, did you test it just on CentOS? >> > >> > 2011/8/31 Jo?o Mesquita >> > >> >> I can promise to give it a serious try. I am out of the country this week >> >> but I will try to get my hands dirty either way. I kinda know python despite >> >> of what bkw_ has to say about it. LOL >> >> >> >> Regards, >> >> >> >> JM >> >> >> >> >> >> On Wednesday, August 31, 2011, Michael Collins wrote: >> >> >> >>> Hey all, >> >>> >> >>> On today's conference call someone pointed out that there is a utility >> >>> called BuildBot that helps to automate testing of new commits to git, svn, >> >>> etc. You can find it at buildbot.net. The catch: it's written in Python. >> >>> (blech) >> >>> >> >>> I tried to build it on 3 different systems and I get 3 different >> >>> undecipherable Python-ish errors. (Stuff like syntax errors during the build >> >>> or syntax errors in twstd while it's running, dependency mismatches for >> >>> python-virtualenv, etc.) If you have a system that can test this out, and >> >>> you can stand to use Python this much (:D) then please try out the steps >> >>> outlined here: >> >>> >> >>> http://buildbot.net/buildbot/docs/current/tutorial/firstrun.html >> >>> >> >>> Supposedly this thing will let us run multiple tests on multiple boxes and >> >>> aggregate the results. I'll believe it when I see it. :) If you get this >> >>> working please let me know. Also, if you can set up a test platform that >> >>> would also be helpful. Ideally we would have multiple Linuxes, OS X, >> >>> Windows, etc. and test on all these platforms. Let me know what you come up >> >>> with. >> >>> >> >>> Thanks, >> >>> Michael >> >>> >> >> >> >> >> >> -- >> >> Jo?o Mesquita >> >> FreeSWITCH? Solutions >> >> >> >> >> >> _______________________________________________ >> >> Join us at ClueCon 2011, Aug 9-11, Chicago >> >> http://www.cluecon.com 877-7-4ACLUE >> >> >> >> 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 >> >> >> >> >> >> >> -- >> Jo?o Mesquita >> FreeSWITCH? Solutions >> >> >> _______________________________________________ >> Join us at ClueCon 2011, Aug 9-11, Chicago >> http://www.cluecon.com 877-7-4ACLUE >> >> 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 >> >> >> >> >> -- >> Sincerely >> >> Jay >> _______________________________________________ >> Join us at ClueCon 2011, Aug 9-11, Chicago >> http://www.cluecon.com 877-7-4ACLUE >> >> 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 > > Michal Bielicki > Gesch?ftsf?hrer / CEO > > Seventh Signal Ltd. & Co. KG > Weigandufer 45, B?ro 115, D-12059 Berlin > Voice: +49 30 60988730 > > Amtsgericht Charlottenburg HRA 44413 B > Ust.-ID: DE266981999 > Gesch?ftsf?hrer: Michal Bielicki > Pers?nlich Haftende Gesellschafterin: > Seventh Signal Ltd, 69 Great Hampton St. Birmingham, > B18 6EW, GB, Company Nr.: 06889439 > WWW.: http://www.seventhsignal.de > > > ---- > > _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > 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 > > > _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > 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 Michal Bielicki Gesch?ftsf?hrer / CEO Seventh Signal Ltd. & Co. KG Weigandufer 45, B?ro 115, D-12059 Berlin Voice: +49 30 60988730 Amtsgericht Charlottenburg HRA 44413 B Ust.-ID: DE266981999 Gesch?ftsf?hrer: Michal Bielicki Pers?nlich Haftende Gesellschafterin: Seventh Signal Ltd, 69 Great Hampton St. Birmingham, B18 6EW, GB, Company Nr.: 06889439 WWW.: http://www.seventhsignal.de ---- -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110902/f6ead564/attachment-0001.html From tomp at tomp.co.uk Sat Sep 3 16:26:13 2011 From: tomp at tomp.co.uk (Tom Parrott) Date: Sat, 03 Sep 2011 13:26:13 +0100 Subject: [Freeswitch-dev] http://files.freeswitch.org/ is down Message-ID: <4E621CE5.8040203@tomp.co.uk> Hi, http://files.freeswitch.org/ is down, is this intentional? Where can we get the media files? Thanks Tom From tomp at tomp.co.uk Sat Sep 3 16:34:44 2011 From: tomp at tomp.co.uk (Tom Parrott) Date: Sat, 03 Sep 2011 13:34:44 +0100 Subject: [Freeswitch-dev] http://files.freeswitch.org/ is down In-Reply-To: <4E621CE5.8040203@tomp.co.uk> References: <4E621CE5.8040203@tomp.co.uk> Message-ID: <4E621EE4.1080909@tomp.co.uk> What would be the options for creating a mirror of this server, I would be happy to help out. Recently there has been a bit of a disconnect from what is on the wiki and what is actually available. For instance http://latest.freeswitch.org is still referenced, and yet that has been down for months. I think it would be valuable to have some indication as to where the authoritative place is to download Freeswitch and its related materials. Thanks Tom On 09/03/2011 01:26 PM, Tom Parrott wrote: > Hi, > > http://files.freeswitch.org/ is down, is this intentional? > > Where can we get the media files? > > Thanks > Tom From dujinfang at gmail.com Mon Sep 5 13:45:31 2011 From: dujinfang at gmail.com (Seven Du) Date: Mon, 5 Sep 2011 17:45:31 +0800 Subject: [Freeswitch-dev] mod_say_zh the Chinese way discussion Message-ID: <77711D0F24454766B5AD79DB41B382F8@gmail.com> Hi all, First sorry I send both to users and devs as I want to talk in both groups. I wonder how many of you actually use mod_say_zh I had submitted a patch but not been accepted because it was argued that it might breaks zh in other locations than China mainland. http://jira.freeswitch.org/browse/FS-2809 How ever, I doubt is it useful actually. Besides the above example, think of the following when say time, EN is Sept 1, 2011 and mod_say_zh says 9 yue di 15, 11 Actually in China we say 2011 nian(year) 9 yue (month) 15 ri(day) Again, I'd like to know if anyone is actually using the current way. So I need a PRC way, questions are: 1) Is it safe to change the default behavior? 2) If not how could I change? add a channel variable? or 3) create another dialect mod_say_zh_cn ? Thanks. -- About: http://about.me/dujinfang Blog: http://www.dujinfang.com Proj: http://www.freeswitch.org.cn Sent with Sparrow (http://www.sparrowmailapp.com) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110905/ab010d4e/attachment.html From dujinfang at gmail.com Mon Sep 5 14:10:04 2011 From: dujinfang at gmail.com (Seven Du) Date: Mon, 5 Sep 2011 18:10:04 +0800 Subject: [Freeswitch-dev] mod_say_zh the Chinese way discussion In-Reply-To: <77711D0F24454766B5AD79DB41B382F8@gmail.com> References: <77711D0F24454766B5AD79DB41B382F8@gmail.com> Message-ID: <51B6F146553F48D9B42E8AEEC41C1F6F@gmail.com> Ah, sorry, please ignore this for now, I loaded the wrong(english) module for test. On Monday, September 5, 2011 at 5:45 PM, Seven Du wrote: > Hi all, > > First sorry I send both to users and devs as I want to talk in both groups. > > I wonder how many of you actually use mod_say_zh > > I had submitted a patch but not been accepted because it was argued that it might breaks zh in other locations than China mainland. > > http://jira.freeswitch.org/browse/FS-2809 > > How ever, I doubt is it useful actually. Besides the above example, think of the following > > > when say time, EN is Sept 1, 2011 and mod_say_zh says > > 9 yue di 15, 11 > > Actually in China we say > > 2011 nian(year) 9 yue (month) 15 ri(day) > > Again, I'd like to know if anyone is actually using the current way. > > > So I need a PRC way, questions are: > > 1) Is it safe to change the default behavior? > > 2) If not how could I change? add a channel variable? or > > 3) create another dialect mod_say_zh_cn ? > > Thanks. > > -- > About: http://about.me/dujinfang > Blog: http://www.dujinfang.com > Proj: http://www.freeswitch.org.cn > > Sent with Sparrow (http://www.sparrowmailapp.com) > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110905/57be231f/attachment.html From Iain.Hale at 360crm.co.uk Sun Sep 4 22:30:53 2011 From: Iain.Hale at 360crm.co.uk (Iain Hale) Date: Sun, 4 Sep 2011 11:30:53 -0700 Subject: [Freeswitch-dev] Conference Call Message-ID: <5F33E881373FC14AB5C8B59037B8A80B1D7FE76497@IE2RD2XVS131.red002.local> Hello, I would like to configure the FreeSwitch Conference Call facility to enable callers to speak their name before joining a conference call and then be announced to the other participants before they join the call. Any pointers of how to do this would be much appreciated. Thanks Iain Hale. Software Developer 360CRM Ltd 80 St Vincent Street Glasgow G2 5UB T:0141 433 0500 F:0141 433 0520 W:www.360crm.co.uk [cid:image001.png at 01CC6B39.290800C0] Accredited ISO 27001 Information Security Management System ________________________________ 360CRM Limited, registered address, Caledonia House, 89 Seaward Street, Glasgow, G41 1HJ, Registered in Scotland, company number SC261952. This email and its attachments may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of 360CRM Ltd. This email does not form any part of a contract. If you are not the intended recipient of this email and its attachments, you must take no action based upon them, nor must you copy or show them to anyone. Please contact the sender if you believe you have received this email in error. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110904/fadd8fed/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 18006 bytes Desc: image001.png Url : http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110904/fadd8fed/attachment-0001.png From mgg at giagnocavo.net Mon Sep 5 22:05:54 2011 From: mgg at giagnocavo.net (Michael Giagnocavo) Date: Mon, 5 Sep 2011 14:05:54 -0400 Subject: [Freeswitch-dev] mod_managed not working on Linux In-Reply-To: References: Message-ID: <03351FCC6082174C8534AB714B8258A5E4486866@mse17be1.mse17.exchange.ms> Hi there. mod_managed has had a few patches from Jeff Lenk and one or two others. I've been meaning to take a look at things and get it all fixed up for current Linux/Mono. I just haven't gotten to it yet. -Michael From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Tim McQueen Sent: Saturday, August 27, 2011 10:18 PM To: freeswitch-dev at lists.freeswitch.org Subject: [Freeswitch-dev] mod_managed not working on Linux I'm having a problem getting mod_managed to work on Linux. It the demo .csx file and anything I write works fine in Windows, but under Linux the same code causes a NullReferenceException. An example of the FreeSwitch log is at http://pastebin.freeswitch.org/17216. I've tried this on Ubuntu 11.04 with the stock Mono install (2.6.7) and on a fresh install of CentOS 6.0 with the latest Mono (2.10.5). Also, someone on the IRC channel is saying that mod_freeswitch isn't maintained anymore. Is this true? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110905/964449ad/attachment.html From paul at cupis.co.uk Mon Sep 5 22:24:39 2011 From: paul at cupis.co.uk (Paul Cupis) Date: Mon, 05 Sep 2011 19:24:39 +0100 Subject: [Freeswitch-dev] Conference Call In-Reply-To: <5F33E881373FC14AB5C8B59037B8A80B1D7FE76497@IE2RD2XVS131.red002.local> References: <5F33E881373FC14AB5C8B59037B8A80B1D7FE76497@IE2RD2XVS131.red002.local> Message-ID: <4E6513E7.8060707@cupis.co.uk> On 04/09/11 19:30, Iain Hale wrote: > I would like to configure the FreeSwitch Conference Call facility to > enable callers to speak their name before joining a conference call > and then be announced to the other participants before they join the > call. Any pointers of how to do this would be much appreciated. The conference module does not provide this functionality but it is not difficult to do by prompting the caller to record their name before connecting them to the conference, and then playing the recorded file to conference (or just the existing members) using "api conference foo play bar.wav" Regards, From lakindia89 at gmail.com Tue Sep 6 08:57:23 2011 From: lakindia89 at gmail.com (lakshmanan ganapathy) Date: Tue, 6 Sep 2011 10:27:23 +0530 Subject: [Freeswitch-dev] Epoch current time difference In-Reply-To: References: Message-ID: As for as I know, FreeSWITCH maintains its own clock. When you start freeswitch for the first time, it takes the system time and from there on, it uses its own clock to update the time. So After starting freeswitch, if you change the system time, then freeswitch time and system time will be different. You can sync the system time by using "fsctl sync_clock". Check whether the 9 seconds it due to this behaviour.... On Wed, Aug 31, 2011 at 7:26 PM, Glaucio Vaz de Mello wrote: > Hello, > > I noticed a difference between FreeSWITCH time and system clock time. > Is this a standard behaviour? or something is wrong in my system? > > More details of the issue: > Inside FreeSWITCH I look for current epoch time using this function: > time_t now = switch_epoch_time_now(NULL); > > Then I look for system clock current time using: > #include > time_t now = time(NULL); > > Between both results I noticed a difference of 9 seconds. > > > This can also be viewed using Unix commands. > > Unix date command from console: > # date +%s > 1314741992 > > Then, I start a call and make a DB query: > # sqlite3 /var/freeswitch/db/core.db "SELECT call_created_epoch FROM > calls;" > 1314742000 > > Then I repeat unix date command: > # date +%s > 1314741994 > > Any comments are welcome. > Regards, > Glaucio > > _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > 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/20110906/9b28c25d/attachment.html From f4fahmed at gmail.com Wed Sep 7 17:11:13 2011 From: f4fahmed at gmail.com (Farrukh Ahmed) Date: Wed, 7 Sep 2011 13:11:13 +0000 (UTC) Subject: [Freeswitch-dev] Invitation to connect on LinkedIn Message-ID: <582162469.1376790.1315401073456.JavaMail.app@ela4-app0134.prod> I'd like to add you to my professional network on LinkedIn. - Farrukh Farrukh Ahmed Support Manager Pakistan at Server4Sale LLC Pakistan Confirm that you know Farrukh Ahmed: https://www.linkedin.com/e/-n0nok9-gsabu431-2p/isd/4115805206/itLRpNpu/?hs=false&tok=1C7DJQ0YcnxAU1 -- You are receiving Invitation to Connect emails. Click to unsubscribe: http://www.linkedin.com/e/-n0nok9-gsabu431-2p/8OrE7OGwAHZUo8XEFdXytdedLzTirvXyXx3B2fTXGQWLov7SVnuG/goo/freeswitch-dev%40lists%2Efreeswitch%2Eorg/20061/I1420084179_1/?hs=false&tok=1IVOrt-vMnxAU1 (c) 2011 LinkedIn Corporation. 2029 Stierlin Ct, Mountain View, CA 94043, USA. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110907/010d0173/attachment.html From msc at freeswitch.org Wed Sep 7 20:17:36 2011 From: msc at freeswitch.org (Michael Collins) Date: Wed, 7 Sep 2011 09:17:36 -0700 Subject: [Freeswitch-dev] FreeSWITCH Conference Call Today Message-ID: Hello all! We have a few items go over on today's conference call. I've been able to get caught up on the ChangeLog and, as usual, there are some new items that you may be interested in hearing about. Also, we could use some assistance in getting caught up in documenting all these things. The agenda is here: http://wiki.freeswitch.org/wiki/FS_weekly_2011_09_07 Looking forward to talking to you soon! -Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110907/3efc8bc5/attachment.html From moises.silva at gmail.com Thu Sep 8 20:54:25 2011 From: moises.silva at gmail.com (Moises Silva) Date: Thu, 8 Sep 2011 12:54:25 -0400 Subject: [Freeswitch-dev] ftdm_call_place and caller_data.call_id In-Reply-To: References: Message-ID: Hello, On Sat, Aug 27, 2011 at 10:37 AM, Juraj Fabo wrote: > > - from sources I see, that after the ftdm_call_place_ex(..) application could > use caller_data.fchan->caller_data.call_id > ?I tested it and it was ok, please is this a proper way how to use this API > function? > Yes that is the proper way. > - sigmsg's delivered to signalling callback seems again not to provide the > call_id directly. From sources I found this approach to be usable when handling > FTDM_SIGEVENT_START > > ?ftdm_caller_data_t * callerData = ftdm_channel_get_caller_data(p->channel); > ?call_id = callerData->call_id; > > ?However some other events delivered the call_id directly (as p->call_id) > > ?Please, is my handling for _START event correct (despite that call to API from > the callback handler is tabu) You just found a bug. I just fixed it. Please do "git pull" and you should be all set. You should NOT use the callerData->call_id, is not thread-safe and can change when you less expect it. Please use the call_id that comes in the SIGEVENT_XX message. Moises Silva Senior Software Engineer, Software Development Manager Sangoma Technologies Inc. | 100 Renfrew Drive, Suite 100, Markham ON L3R 9R6 Canada t. 1 905 474 1990 x128 | e. moy at sangoma.com From jcherukuri_necc at yahoo.com Fri Sep 9 00:59:05 2011 From: jcherukuri_necc at yahoo.com (Jyotshna Cherukuri) Date: Thu, 8 Sep 2011 13:59:05 -0700 (PDT) Subject: [Freeswitch-dev] coredump connecting to ldap database from dialplan within lua Message-ID: <1315515545.44633.YahooMailNeo@web122515.mail.ne1.yahoo.com> Hi, I am having a problem connecting to LDAP database from dialplan using lua script. ?When I run the below script from xml dialplan it causing a coredump and Freeswitch crashes. The coredump looks like: Core was generated by `/usr/local/freeswitch/bin/freeswitch -nonat -nc -heavy-timer'. Program terminated with signal 11, Segmentation fault. #0 ?0x00002aaab6ff1720 in ldap_set_option () from /usr/lib64/libldap-2.3.so.0 (gdb) bt #0 ?0x00002aaab6ff1720 in ldap_set_option () from /usr/lib64/libldap-2.3.so.0 #1 ?0x00002aaab6dbb68a in lualdap_open_simple () from /usr/local/lib/lua/5.1/lualdap.so #2 ?0x00002aaab6b91704 in luaD_precall (L=0x14e12740, func=, nresults=-1) at ldo.c:319 #3 ?0x00002aaab6b9a4a4 in luaV_execute (L=0x14e12740, nexeccalls=1) at lvm.c:587 #4 ?0x00002aaab6b91b4e in luaD_call (L=0x14e12740, func=0x14e12b20, nResults=0) at ldo.c:377 #5 ?0x00002aaab6b912a7 in luaD_rawrunprotected (L=0x14e12740, f=0x2aaab6b8ed40 , ud=0x409f4e00) at ldo.c:116 #6 ?0x00002aaab6b91325 in luaD_pcall (L=0xffffffffb002d5d0, func=0, u=0x2aaab002d5b8, old_top=46912585783072, ef=0) at ldo.c:463 #7 ?0x00002aaab6b8ebc5 in lua_pcall (L=0x14e12740, nargs=0, nresults=0, errfunc=) at lapi.c:821 #8 ?0x00002aaab6b76d61 in docall (L=0x14e12740, narg=0, clear=1, perror=0) at mod_lua.cpp:91 #9 ?0x00002aaab6b77194 in lua_parse_and_execute (L=0x14e12740, input_code=0x2aaab004c220 "ldapdirectory.lua") at mod_lua.cpp:183 #10 0x00002aaab6b77e92 in lua_function (session=0x14e5bb68, data=) at mod_lua.cpp:414 #11 0x00002b027ace8cd9 in switch_core_session_exec (session=0x14e5bb68, application_interface=0x2aaaac0622d8, arg=0x14d75968 "ldapdirectory.lua") at src/switch_core_session.c:2048 #12 0x00002b027ace9176 in switch_core_session_execute_application_get_flags (session=0xffffffffb002d5d0, app=0x14d758e8 "lua", arg=0x14d75968 "ldapdirectory.lua", flags=0x0) at src/switch_core_session.c:1962 #13 0x00002b027ad57a1a in CoreSession::execute (this=0x14d74d60, app=0x14d758e8 "lua", data=0x14d75968 "ldapdirectory.lua") at src/switch_cpp.cpp:658 #14 0x00002aaab6b861c0 in _wrap_CoreSession_execute (L=0x2aaaac002050) at mod_lua_wrap.cpp:5678 #15 0x00002aaab6b91704 in luaD_precall (L=0x2aaaac002050, func=, nresults=0) at ldo.c:319 #16 0x00002aaab6b9a4a4 in luaV_execute (L=0x2aaaac002050, nexeccalls=1) at lvm.c:587 #17 0x00002aaab6b91b4e in luaD_call (L=0x2aaaac002050, func=0x2aaaac012400, nResults=0) at ldo.c:377 #18 0x00002aaab6b912a7 in luaD_rawrunprotected (L=0x2aaaac002050, f=0x2aaab6b8ed40 , ud=0x409f5800) at ldo.c:116 #19 0x00002aaab6b91325 in luaD_pcall (L=0xffffffffb002d5d0, func=0, u=0x2aaab002d5b8, old_top=46912585783072, ef=0) at ldo.c:463 #20 0x00002aaab6b8ebc5 in lua_pcall (L=0x2aaaac002050, nargs=0, nresults=0, errfunc=) at lapi.c:821 #21 0x00002aaab6b76d61 in docall (L=0x2aaaac002050, narg=0, clear=1, perror=0) at mod_lua.cpp:91 #22 0x00002aaab6b77194 in lua_parse_and_execute (L=0x2aaaac002050, input_code=0x14de5e00 "helloworld.lua") at mod_lua.cpp:183 #23 0x00002aaab6b77e92 in lua_function (session=0x14e5bb68, data=) at mod_lua.cpp:414 #24 0x00002b027ace8cd9 in switch_core_session_exec (session=0x14e5bb68, application_interface=0x2aaaac0622d8, arg=0x14e2f368 "helloworld.lua") at src/switch_core_session.c:2048 #25 0x00002b027ace9176 in switch_core_session_execute_application_get_flags (session=0xffffffffb002d5d0, app=0x14e2f360 "lua", arg=0x14e2f368 "helloworld.lua", flags=0x0) at src/switch_core_session.c:1962 #26 0x00002b027acec4ad in switch_core_session_run (session=0x14e5bb68) at src/switch_core_state_machine.c:176 #27 0x00002b027ace8720 in switch_core_session_thread (thread=, obj=0x14e5bb68) at src/switch_core_session.c:1271 #28 0x0000003ce900673d in start_thread () from /lib64/libpthread.so.0 #29 0x0000003ce84d44bd in clone () from /lib64/libc.so.6 However if I run the same lua script from fs_cli it works fine. Can anyone please let me know what is going wrong when I call from the dialplan. Any help is greatly appreciated. Thanks Jyotshna require "lualdap" ld = assert (lualdap.open_simple ("192.168.2.xx")) s= ld:search { base = "ou=People,dc=voalte,dc=com" , scope="subtree", filter = 'cn=A*', attrs = { "cn", "telephoneNumber" }} for dn, attribs in s do ? ?freeswitch.consoleLog("info",""..dn.."\n"); ? ?for name, values in pairs (attribs) do ? ? ? ? -- stream:write("["..name.."] : "); --stream:write (values); --stream:write ("\n"); ? ?end end assert(ld:close()) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110908/8fc4f522/attachment.html From anthony.minessale at gmail.com Fri Sep 9 01:07:18 2011 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 8 Sep 2011 16:07:18 -0500 Subject: [Freeswitch-dev] coredump connecting to ldap database from dialplan within lua In-Reply-To: <1315515545.44633.YahooMailNeo@web122515.mail.ne1.yahoo.com> References: <1315515545.44633.YahooMailNeo@web122515.mail.ne1.yahoo.com> Message-ID: its hard to tell with no symbols in the ldap lib nor the lua ldap module if you installed the system lua then built the ldap binding against that, it's possible its not the same revision. but you should rebuild both the ldap and the lua binding with debug symbols (CFLAGS containing -g -ggdb) if you want more info On Thu, Sep 8, 2011 at 3:59 PM, Jyotshna Cherukuri wrote: > Hi, > > I am having a problem connecting to LDAP database from dialplan using lua > script. ?When I run the below script from xml dialplan it causing a coredump > and Freeswitch crashes. > The coredump looks like: > Core was generated by `/usr/local/freeswitch/bin/freeswitch -nonat -nc > -heavy-timer'. > Program terminated with signal 11, Segmentation fault. > #0 ?0x00002aaab6ff1720 in ldap_set_option () from > /usr/lib64/libldap-2.3.so.0 > (gdb) bt > #0 ?0x00002aaab6ff1720 in ldap_set_option () from > /usr/lib64/libldap-2.3.so.0 > #1 ?0x00002aaab6dbb68a in lualdap_open_simple () from > /usr/local/lib/lua/5.1/lualdap.so > #2 ?0x00002aaab6b91704 in luaD_precall (L=0x14e12740, func= out>, nresults=-1) at ldo.c:319 > #3 ?0x00002aaab6b9a4a4 in luaV_execute (L=0x14e12740, nexeccalls=1) at > lvm.c:587 > #4 ?0x00002aaab6b91b4e in luaD_call (L=0x14e12740, func=0x14e12b20, > nResults=0) at ldo.c:377 > #5 ?0x00002aaab6b912a7 in luaD_rawrunprotected (L=0x14e12740, > f=0x2aaab6b8ed40 , ud=0x409f4e00) at ldo.c:116 > #6 ?0x00002aaab6b91325 in luaD_pcall (L=0xffffffffb002d5d0, func=0, > u=0x2aaab002d5b8, old_top=46912585783072, ef=0) at ldo.c:463 > #7 ?0x00002aaab6b8ebc5 in lua_pcall (L=0x14e12740, nargs=0, nresults=0, > errfunc=) at lapi.c:821 > #8 ?0x00002aaab6b76d61 in docall (L=0x14e12740, narg=0, clear=1, perror=0) > at mod_lua.cpp:91 > #9 ?0x00002aaab6b77194 in lua_parse_and_execute (L=0x14e12740, > input_code=0x2aaab004c220 "ldapdirectory.lua") at mod_lua.cpp:183 > #10 0x00002aaab6b77e92 in lua_function (session=0x14e5bb68, data= optimized out>) at mod_lua.cpp:414 > #11 0x00002b027ace8cd9 in switch_core_session_exec (session=0x14e5bb68, > application_interface=0x2aaaac0622d8, arg=0x14d75968 "ldapdirectory.lua") at > src/switch_core_session.c:2048 > #12 0x00002b027ace9176 in switch_core_session_execute_application_get_flags > (session=0xffffffffb002d5d0, app=0x14d758e8 "lua", arg=0x14d75968 > "ldapdirectory.lua", flags=0x0) at src/switch_core_session.c:1962 > #13 0x00002b027ad57a1a in CoreSession::execute (this=0x14d74d60, > app=0x14d758e8 "lua", data=0x14d75968 "ldapdirectory.lua") at > src/switch_cpp.cpp:658 > #14 0x00002aaab6b861c0 in _wrap_CoreSession_execute (L=0x2aaaac002050) at > mod_lua_wrap.cpp:5678 > #15 0x00002aaab6b91704 in luaD_precall (L=0x2aaaac002050, func= optimized out>, nresults=0) at ldo.c:319 > #16 0x00002aaab6b9a4a4 in luaV_execute (L=0x2aaaac002050, nexeccalls=1) at > lvm.c:587 > #17 0x00002aaab6b91b4e in luaD_call (L=0x2aaaac002050, func=0x2aaaac012400, > nResults=0) at ldo.c:377 > #18 0x00002aaab6b912a7 in luaD_rawrunprotected (L=0x2aaaac002050, > f=0x2aaab6b8ed40 , ud=0x409f5800) at ldo.c:116 > #19 0x00002aaab6b91325 in luaD_pcall (L=0xffffffffb002d5d0, func=0, > u=0x2aaab002d5b8, old_top=46912585783072, ef=0) at ldo.c:463 > #20 0x00002aaab6b8ebc5 in lua_pcall (L=0x2aaaac002050, nargs=0, nresults=0, > errfunc=) at lapi.c:821 > #21 0x00002aaab6b76d61 in docall (L=0x2aaaac002050, narg=0, clear=1, > perror=0) at mod_lua.cpp:91 > #22 0x00002aaab6b77194 in lua_parse_and_execute (L=0x2aaaac002050, > input_code=0x14de5e00 "helloworld.lua") at mod_lua.cpp:183 > #23 0x00002aaab6b77e92 in lua_function (session=0x14e5bb68, data= optimized out>) at mod_lua.cpp:414 > #24 0x00002b027ace8cd9 in switch_core_session_exec (session=0x14e5bb68, > application_interface=0x2aaaac0622d8, arg=0x14e2f368 "helloworld.lua") at > src/switch_core_session.c:2048 > #25 0x00002b027ace9176 in switch_core_session_execute_application_get_flags > (session=0xffffffffb002d5d0, app=0x14e2f360 "lua", arg=0x14e2f368 > "helloworld.lua", flags=0x0) at src/switch_core_session.c:1962 > #26 0x00002b027acec4ad in switch_core_session_run (session=0x14e5bb68) at > src/switch_core_state_machine.c:176 > #27 0x00002b027ace8720 in switch_core_session_thread (thread= optimized out>, obj=0x14e5bb68) at src/switch_core_session.c:1271 > #28 0x0000003ce900673d in start_thread () from /lib64/libpthread.so.0 > #29 0x0000003ce84d44bd in clone () from /lib64/libc.so.6 > > However if I run the same lua script from fs_cli it works fine. Can anyone > please let me know what is going wrong when I call from the dialplan. Any > help is greatly appreciated. > Thanks > Jyotshna > > require "lualdap" > ld = assert (lualdap.open_simple ("192.168.2.xx")) > > > s= ld:search { base = "ou=People,dc=voalte,dc=com" , scope="subtree", filter > = 'cn=A*', attrs = { "cn", "telephoneNumber" }} > for dn, attribs in s do > ? ?freeswitch.consoleLog("info",""..dn.."\n"); > ? ?for name, values in pairs (attribs) do > ? ? ? ? -- stream:write("["..name.."] : "); > --stream:write (values); > --stream:write ("\n"); > ? ?end > end > assert(ld:close()) > > _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 From msc at freeswitch.org Fri Sep 9 03:11:15 2011 From: msc at freeswitch.org (Michael Collins) Date: Thu, 8 Sep 2011 16:11:15 -0700 Subject: [Freeswitch-dev] reliable way to get caller id In-Reply-To: <20110823205418.203250@gmx.com> References: <20110823205418.203250@gmx.com> Message-ID: It probably is being set as a particular variable. Send your incoming calls to the info app and make a few test calls. Watch the console - it will dump all the chan vars. If the number is coming from the carrier then it should be in one of the chan vars listed in the info dump. -MC On Tue, Aug 23, 2011 at 1:54 PM, adam harris wrote: > I am trying to retrieve the caller id of incoming calls and finding when I > get variable Channel-Caller-ID-Number it is not the actual number of the > phone that has made the call, my provider seems to be setting it another > number. > > I am seeing the correct phome number is in the info log example below. > 2011-08-23 20:40:34.832360 [INFO] mod_dialplan_xml.c:331 Processing > 44203xxxxx->44800xxxx > > In this case is '44203xxxxx' as displayed in the info log set as channel > variable? > > _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > 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/20110908/06cb8c63/attachment.html From msc at freeswitch.org Fri Sep 9 21:55:27 2011 From: msc at freeswitch.org (Michael Collins) Date: Fri, 9 Sep 2011 10:55:27 -0700 Subject: [Freeswitch-dev] Conference Call In-Reply-To: <5F33E881373FC14AB5C8B59037B8A80B1D7FE76497@IE2RD2XVS131.red002.local> References: <5F33E881373FC14AB5C8B59037B8A80B1D7FE76497@IE2RD2XVS131.red002.local> Message-ID: On Sun, Sep 4, 2011 at 11:30 AM, Iain Hale wrote: > Hello,**** > > ** ** > > I would like to configure the FreeSwitch Conference Call facility to enable > callers to speak their name before joining a conference call and then be > announced to the other participants before they join the call. Any pointers > of how to do this would be much appreciated. > Sorry for the late reply. Here is a simple PoC dialplan for getting the caller's name and announcing it. Just keep in mind that you'll need to clean up all the /tmp/*-name.wav files at some point, like in a cron job. -MC > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110909/d9b1feec/attachment-0001.html From gvmello at yx.cl Fri Sep 9 17:27:19 2011 From: gvmello at yx.cl (Glaucio Vaz de Mello) Date: Fri, 9 Sep 2011 09:27:19 -0400 Subject: [Freeswitch-dev] Epoch current time difference In-Reply-To: References: Message-ID: Hi, Thanks for the answer. I made several tests and came to the conclusion that FreeSWITCH clock is always avanced compared to system time. The difference is about 9 seconds per day, just letting FreeSWITCH running, without touching the system clock. Effectively I can sync with system time with "fsctl sync_clock", then the difference comes to zero and start counting again. This can be an issue for billing long duration calls, since the registered call duration will be some seconds more than it really was. If someone need more information, logs or reporting this issue as a bug, just let me know. regards, Glaucio On Tue, Sep 6, 2011 at 1:57 AM, lakshmanan ganapathy wrote: > As for as I know, FreeSWITCH maintains its own clock. When you start > freeswitch for the first time, it takes the system time and from there on, > it uses its own clock to update the time. So After starting freeswitch, if > you change the system time, then freeswitch time and system time will be > different. > > You can sync the system time by using "fsctl sync_clock". Check whether the > 9 seconds it due to this behaviour.... > > > On Wed, Aug 31, 2011 at 7:26 PM, Glaucio Vaz de Mello wrote: > >> Hello, >> >> I noticed a difference between FreeSWITCH time and system clock time. >> Is this a standard behaviour? or something is wrong in my system? >> >> More details of the issue: >> Inside FreeSWITCH I look for current epoch time using this function: >> time_t now = switch_epoch_time_now(NULL); >> >> Then I look for system clock current time using: >> #include >> time_t now = time(NULL); >> >> Between both results I noticed a difference of 9 seconds. >> >> >> This can also be viewed using Unix commands. >> >> Unix date command from console: >> # date +%s >> 1314741992 >> >> Then, I start a call and make a DB query: >> # sqlite3 /var/freeswitch/db/core.db "SELECT call_created_epoch FROM >> calls;" >> 1314742000 >> >> Then I repeat unix date command: >> # date +%s >> 1314741994 >> >> Any comments are welcome. >> Regards, >> Glaucio >> >> _______________________________________________ >> Join us at ClueCon 2011, Aug 9-11, Chicago >> http://www.cluecon.com 877-7-4ACLUE >> >> 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 >> >> > > _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > 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/20110909/571dbfc5/attachment.html From anthony.minessale at gmail.com Sat Sep 10 00:19:19 2011 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Fri, 9 Sep 2011 15:19:19 -0500 Subject: [Freeswitch-dev] Epoch current time difference In-Reply-To: References: Message-ID: Most likely you are using something like ntp to sync your system clock, if so you should also sync the FS clock when you change the ntp time. FS is keeping it's own time using the monotonic clock in the kernel which is the same mechanism as the system time so your machine probably keeps bad time. On Fri, Sep 9, 2011 at 8:27 AM, Glaucio Vaz de Mello wrote: > Hi, > > Thanks for the answer. > I made several tests and came to the conclusion that FreeSWITCH clock is > always avanced compared to system time. The difference is about 9 seconds > per day, just letting FreeSWITCH running, without touching the system clock. > Effectively I can sync with system time with "fsctl sync_clock", then the > difference comes to zero and start counting again. > > This can be an issue for billing long duration calls, since the registered > call duration will be some seconds more than it really was. > If someone need more information, logs or reporting this issue as a bug, > just let me know. > > > regards, > Glaucio > > > > On Tue, Sep 6, 2011 at 1:57 AM, lakshmanan ganapathy > wrote: >> >> As for as I know, FreeSWITCH maintains its own clock. When you start >> freeswitch for the first time, it takes the system time and from there on, >> it uses its own clock to update the time. So After starting freeswitch, if >> you change the system time, then freeswitch time and system time will be >> different. >> >> You can sync the system time by using "fsctl sync_clock". Check whether >> the 9 seconds it due to this behaviour.... >> >> >> On Wed, Aug 31, 2011 at 7:26 PM, Glaucio Vaz de Mello >> wrote: >>> >>> Hello, >>> >>> ?? I noticed a difference between FreeSWITCH time and system clock time. >>> ?? Is this a standard behaviour? or something is wrong in my system? >>> >>> More details of the issue: >>> ?? Inside FreeSWITCH I look for current epoch time using this function: >>> time_t now = switch_epoch_time_now(NULL); >>> >>> ?? Then I look for system clock current time using: >>> #include >>> time_t now = time(NULL); >>> >>> ?? Between both results I noticed a difference of 9 seconds. >>> >>> >>> This can also be viewed using Unix commands. >>> >>> Unix date command from console: >>> # date +%s >>> 1314741992 >>> >>> Then, I start a call and make a DB query: >>> # sqlite3 /var/freeswitch/db/core.db "SELECT call_created_epoch FROM >>> calls;" >>> 1314742000 >>> >>> Then I repeat unix date command: >>> # date +%s >>> 1314741994 >>> >>> Any comments are welcome. >>> Regards, >>> Glaucio >>> >>> _______________________________________________ >>> Join us at ClueCon 2011, Aug 9-11, Chicago >>> http://www.cluecon.com 877-7-4ACLUE >>> >>> 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 >>> >> >> >> _______________________________________________ >> Join us at ClueCon 2011, Aug 9-11, Chicago >> http://www.cluecon.com 877-7-4ACLUE >> >> 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 >> > > > _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 From kheimerl at cs.berkeley.edu Mon Sep 12 10:25:26 2011 From: kheimerl at cs.berkeley.edu (Kurtis Heimerl) Date: Sun, 11 Sep 2011 23:25:26 -0700 Subject: [Freeswitch-dev] Outstanding Patches Message-ID: Hello Freeswitch-dev! I have two outstanding patches sitting in JIRA. FS-3467 and FS-3408. They've been there for over a month, without any movement (so far as I can see). Is there anything else I'm supposed to be doing to get these moved into the main repository? Some code-review process? I don't want to have to maintain patches for such a fast-moving project. Thanks! From anthony.minessale at gmail.com Mon Sep 12 18:54:53 2011 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 12 Sep 2011 09:54:53 -0500 Subject: [Freeswitch-dev] Outstanding Patches In-Reply-To: References: Message-ID: The originate one is awaiting the warning message. The message may collide with some place to redo the chat message system so it will be a while while I decide what to do on it. I recommend in the future, you get a change approved by core developers before offering a bounty on it and for that matter accepting it from a 3rd party who has not asked for any input or guidane from us. On Mon, Sep 12, 2011 at 1:25 AM, Kurtis Heimerl wrote: > Hello Freeswitch-dev! > > I have two outstanding patches sitting in JIRA. FS-3467 and FS-3408. > They've been there for over a month, without any movement (so far as I > can see). Is there anything else I'm supposed to be doing to get these > moved into the main repository? Some code-review process? I don't want > to have to maintain patches for such a fast-moving project. > > Thanks! > > _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 From kheimerl at cs.berkeley.edu Mon Sep 12 19:50:38 2011 From: kheimerl at cs.berkeley.edu (Kurtis Heimerl) Date: Mon, 12 Sep 2011 08:50:38 -0700 Subject: [Freeswitch-dev] Outstanding Patches In-Reply-To: References: Message-ID: Great, thanks for the answer. I needed the message change myself, so I wouldn't feel bad of that was done in some other way. I'll add the warning to the originate change soon, and resubmit that patch. On Mon, Sep 12, 2011 at 7:54 AM, Anthony Minessale wrote: > The originate one is awaiting the warning message. > > The message may collide with some place to redo the chat message > system so it will be a while while I decide what to do on it. > > I recommend in the future, you get a change approved by core > developers before offering a bounty on it and for that matter > accepting it from a 3rd party who has not asked for any input or > guidane from us. > > > > On Mon, Sep 12, 2011 at 1:25 AM, Kurtis Heimerl > wrote: >> Hello Freeswitch-dev! >> >> I have two outstanding patches sitting in JIRA. FS-3467 and FS-3408. >> They've been there for over a month, without any movement (so far as I >> can see). Is there anything else I'm supposed to be doing to get these >> moved into the main repository? Some code-review process? I don't want >> to have to maintain patches for such a fast-moving project. >> >> Thanks! >> >> _______________________________________________ >> Join us at ClueCon 2011, Aug 9-11, Chicago >> http://www.cluecon.com 877-7-4ACLUE >> >> FreeSWITCH-dev mailing list >> FreeSWITCH-dev at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >> http://www.freeswitch.org >> > > > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > Twitter: http://twitter.com/FreeSWITCH_wire > > AIM: anthm > MSN:anthony_minessale at hotmail.com > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > 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 gvmello at yx.cl Mon Sep 12 17:05:26 2011 From: gvmello at yx.cl (Glaucio Vaz de Mello) Date: Mon, 12 Sep 2011 09:05:26 -0400 Subject: [Freeswitch-dev] Epoch current time difference In-Reply-To: References: Message-ID: Yes, that's right. I had ntp enabled. With ntp disabled the problem disappear, FS clock is exactly the same as system clock. Thanks. On Fri, Sep 9, 2011 at 5:19 PM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > Most likely you are using something like ntp to sync your system > clock, if so you should also sync the FS clock when you change the ntp > time. > > FS is keeping it's own time using the monotonic clock in the kernel > which is the same mechanism as the system time so your machine > probably keeps bad time. > > > On Fri, Sep 9, 2011 at 8:27 AM, Glaucio Vaz de Mello > wrote: > > Hi, > > > > Thanks for the answer. > > I made several tests and came to the conclusion that FreeSWITCH clock is > > always avanced compared to system time. The difference is about 9 seconds > > per day, just letting FreeSWITCH running, without touching the system > clock. > > Effectively I can sync with system time with "fsctl sync_clock", then the > > difference comes to zero and start counting again. > > > > This can be an issue for billing long duration calls, since the > registered > > call duration will be some seconds more than it really was. > > If someone need more information, logs or reporting this issue as a bug, > > just let me know. > > > > > > regards, > > Glaucio > > > > > > > > On Tue, Sep 6, 2011 at 1:57 AM, lakshmanan ganapathy < > lakindia89 at gmail.com> > > wrote: > >> > >> As for as I know, FreeSWITCH maintains its own clock. When you start > >> freeswitch for the first time, it takes the system time and from there > on, > >> it uses its own clock to update the time. So After starting freeswitch, > if > >> you change the system time, then freeswitch time and system time will be > >> different. > >> > >> You can sync the system time by using "fsctl sync_clock". Check whether > >> the 9 seconds it due to this behaviour.... > >> > >> > >> On Wed, Aug 31, 2011 at 7:26 PM, Glaucio Vaz de Mello > >> wrote: > >>> > >>> Hello, > >>> > >>> I noticed a difference between FreeSWITCH time and system clock > time. > >>> Is this a standard behaviour? or something is wrong in my system? > >>> > >>> More details of the issue: > >>> Inside FreeSWITCH I look for current epoch time using this function: > >>> time_t now = switch_epoch_time_now(NULL); > >>> > >>> Then I look for system clock current time using: > >>> #include > >>> time_t now = time(NULL); > >>> > >>> Between both results I noticed a difference of 9 seconds. > >>> > >>> > >>> This can also be viewed using Unix commands. > >>> > >>> Unix date command from console: > >>> # date +%s > >>> 1314741992 > >>> > >>> Then, I start a call and make a DB query: > >>> # sqlite3 /var/freeswitch/db/core.db "SELECT call_created_epoch FROM > >>> calls;" > >>> 1314742000 > >>> > >>> Then I repeat unix date command: > >>> # date +%s > >>> 1314741994 > >>> > >>> Any comments are welcome. > >>> Regards, > >>> Glaucio > >>> > >>> _______________________________________________ > >>> Join us at ClueCon 2011, Aug 9-11, Chicago > >>> http://www.cluecon.com 877-7-4ACLUE > >>> > >>> 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 > >>> > >> > >> > >> _______________________________________________ > >> Join us at ClueCon 2011, Aug 9-11, Chicago > >> http://www.cluecon.com 877-7-4ACLUE > >> > >> 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 > >> > > > > > > _______________________________________________ > > Join us at ClueCon 2011, Aug 9-11, Chicago > > http://www.cluecon.com 877-7-4ACLUE > > > > FreeSWITCH-dev mailing list > > FreeSWITCH-dev at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > > http://www.freeswitch.org > > > > > > > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > Twitter: http://twitter.com/FreeSWITCH_wire > > AIM: anthm > MSN:anthony_minessale at hotmail.com > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > 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/20110912/7fb025ee/attachment-0001.html From phil.dunks at netdev.co.uk Mon Sep 12 21:43:10 2011 From: phil.dunks at netdev.co.uk (Phil Dunks) Date: Mon, 12 Sep 2011 18:43:10 +0100 Subject: [Freeswitch-dev] Linking to switch_json Message-ID: Hi FreeSWITCH Guru's. Apologies in advance for silly question - I've been coding Java for last 15 years, so the C is not coming naturally yet. Met some of you at ClueCon 2011 - had a great time - defeated Ken Rice at pool in the Lucky Strike - (OK I was lucky). We have a conferencing customer who is currently using JAIN SLEE and Radisys (Convedia) media servers. We are exploring the possibility of replacing all this with FS. They have a multi-tier account structure with provisionable preferences (e.g they can have different DTMF menu's and conference behaviour per account/subscription). So I have built a mod, which bridges our business logic with mod_conference. This is all working very well, and I love developing on FS compared to JAIN SLEE. So that's the background - here's the problem I'm having. I am trying to implement some JSON reporting, which we send over rabbit MQ, and am trying to use the cJSON api in switch_json directly from my mod. ( I have written a couple of mods [mod_rabbit_send and mod_rabbit_recv] which send and receive rabbit MQ events, and convert them to/from FS custom events. It uses a MPL library from rabbit.org. Will be happy to contribute them to the project if you want them. ). I include switch_json.h in my mod, and the cJSON stuff compiles and installs ok. But when I install the mod I get.. 2011-09-12 17:56:49.195659 [CRIT] switch_loadable_module.c:928 Error Loading module /usr/local/freeswitch/mod/mod_netdev.so **dlopen(/usr/local/freeswitch/mod/mod_netdev.so, 6): Symbol not found: _cJSON_AddItemToObject Referenced from: /usr/local/freeswitch/mod/mod_netdev.so I have tried all sorts of things in my makefile to get this linking - to no avail - I'm out of ideas. Any help will be greatly appreciated. Thanks Phil Phil Dunks NetDev Limited +44 1273 773661 +44 7515 385465 http://www.netdev.co.uk Registered in England and Wales Company Number 04741258 Registered Office Address: 1st Floor, 47 Middle Street Brighton, East Sussex BN1 1AL, U.K. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110912/deddabbc/attachment.html From msc at freeswitch.org Mon Sep 12 22:45:24 2011 From: msc at freeswitch.org (Michael Collins) Date: Mon, 12 Sep 2011 11:45:24 -0700 Subject: [Freeswitch-dev] [TRAINING] OpenSIPS EBootcamp In-Reply-To: <4E6E4533.6080500@opensips.org> References: <4E6E4533.6080500@opensips.org> Message-ID: Dear FreeSWITCH Community, For those of you who may not be aware, Bogdan-Andrei Iancu is the lead author of the OpenSIPS SIP proxy and is a regular at ClueCon. If you are looking to gain more exposure and get some "official" OpenSIPS training please read the following message from Bogdan. He has made a number of training options available. Thanks! -Michael >From Bogdan: ** Hi all, A New OpenSIPS eBootcamp training session is about to start next week. *19th of September 2011* The training will touch several topics of inters for the FreeSwitch users, like Load Balancing, PSTN connectivity, Edge functionality (NAT traversal, security), Advanced SIP call flows. This new eBootcamp session targets OpenSIPS 1.7.0 with the following content: SIP introduction OpenSIPS introduction SQL support (authentication, aliases, domains) OpenSIPS Control Panel web interface PSTN connectivity (dialplan, ACLs, drouting, failover) Advanced SIP Call Flows (parallel and serial forking, call forwarding, call transfer) SIP presence SIP Dialog Awareness (profiling, topology hiding, security) Load Balancing with OpenSIPS OpenSIPS High Availability SIP NAT traversal OpenSIPS accounting and billing SIP security (floods, auth, DNS poisoning, register attacks, TLS and SRTP) OpenSIPS B2BUA ( topology hiding ) More details on: http://www.opensips.org/Training/EBootcamp Registration at: http://ebootcamp.opensips.org/ Questions: bootcamp at opensips.org Best regards, Bogdan -- Bogdan-Andrei Iancu OpenSIPS eBootcamp - 19th of September 2011 OpenSIPS solutions and "know-how" -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110912/7c9b6e5e/attachment.html From anthony.minessale at gmail.com Tue Sep 13 02:02:23 2011 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 12 Sep 2011 17:02:23 -0500 Subject: [Freeswitch-dev] Outstanding Patches In-Reply-To: References: Message-ID: yes ok, now is your chance to contribute to the design of the new way! On Mon, Sep 12, 2011 at 10:50 AM, Kurtis Heimerl wrote: > Great, thanks for the answer. I needed the message change myself, so I > wouldn't feel bad of that was done in some other way. I'll add the > warning to the originate change soon, and resubmit that patch. > > On Mon, Sep 12, 2011 at 7:54 AM, Anthony Minessale > wrote: >> The originate one is awaiting the warning message. >> >> The message may collide with some place to redo the chat message >> system so it will be a while while I decide what to do on it. >> >> I recommend in the future, you get a change approved by core >> developers before offering a bounty on it and for that matter >> accepting it from a 3rd party who has not asked for any input or >> guidane from us. >> >> >> >> On Mon, Sep 12, 2011 at 1:25 AM, Kurtis Heimerl >> wrote: >>> Hello Freeswitch-dev! >>> >>> I have two outstanding patches sitting in JIRA. FS-3467 and FS-3408. >>> They've been there for over a month, without any movement (so far as I >>> can see). Is there anything else I'm supposed to be doing to get these >>> moved into the main repository? Some code-review process? I don't want >>> to have to maintain patches for such a fast-moving project. >>> >>> Thanks! >>> >>> _______________________________________________ >>> Join us at ClueCon 2011, Aug 9-11, Chicago >>> http://www.cluecon.com 877-7-4ACLUE >>> >>> FreeSWITCH-dev mailing list >>> FreeSWITCH-dev at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Anthony Minessale II >> >> FreeSWITCH http://www.freeswitch.org/ >> ClueCon http://www.cluecon.com/ >> Twitter: http://twitter.com/FreeSWITCH_wire >> >> AIM: anthm >> MSN:anthony_minessale at hotmail.com >> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >> IRC: irc.freenode.net #freeswitch >> >> FreeSWITCH Developer Conference >> sip:888 at conference.freeswitch.org >> googletalk:conf+888 at conference.freeswitch.org >> pstn:+19193869900 >> >> _______________________________________________ >> Join us at ClueCon 2011, Aug 9-11, Chicago >> http://www.cluecon.com 877-7-4ACLUE >> >> 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 >> > > _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 From anthony.minessale at gmail.com Tue Sep 13 03:46:29 2011 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 12 Sep 2011 18:46:29 -0500 Subject: [Freeswitch-dev] Linking to switch_json In-Reply-To: References: Message-ID: try building the .c into your mod too on the target list. On Mon, Sep 12, 2011 at 12:43 PM, Phil Dunks wrote: > > Hi FreeSWITCH Guru's. > Apologies in advance for silly question - I've been coding Java for last 15 > years, so the C is not coming naturally yet. > Met some of you at ClueCon 2011 - had a great time - defeated Ken Rice at > pool in the Lucky Strike - (OK I was lucky). > We have a conferencing customer who is currently using JAIN SLEE and Radisys > (Convedia) media servers. > We are exploring the possibility of replacing all this with FS. > They have a multi-tier account structure with provisionable preferences (e.g > they can have different DTMF menu's and conference behaviour per > account/subscription). > So I have built a mod, which bridges our business logic with mod_conference. > This is all working very well, and I love developing on FS compared to JAIN > SLEE. > So that's the background - here's the problem I'm having. > I am trying to implement some JSON reporting, which we send over rabbit MQ, > and am trying to use the cJSON api in switch_json directly from my mod. > ( I have written a couple of mods [mod_rabbit_send and mod_rabbit_recv] > which send and receive rabbit MQ events, and convert them to/from FS custom > events. It uses a MPL library from rabbit.org. Will be happy to contribute > them to the project if you want them. ). > I include switch_json.h in my mod, and the cJSON stuff compiles and installs > ok. > But when I install the mod I get.. > 2011-09-12 17:56:49.195659 [CRIT] switch_loadable_module.c:928 Error Loading > module /usr/local/freeswitch/mod/mod_netdev.so > **dlopen(/usr/local/freeswitch/mod/mod_netdev.so, 6): Symbol not found: > _cJSON_AddItemToObject > ? Referenced from: /usr/local/freeswitch/mod/mod_netdev.so > > I have tried all sorts of things in my makefile to get this linking ?- to no > avail - I'm out of ideas. > > Any help will be greatly appreciated. > Thanks > Phil > > > > > > Phil Dunks > NetDev Limited > +44 1273 773661 > +44 7515 385465 > http://www.netdev.co.uk > > Registered in England and Wales > Company Number 04741258 > Registered Office Address: > 1st Floor, 47 Middle Street > Brighton, East Sussex > BN1 1AL, U.K. > > _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 From gabe at gundy.org Tue Sep 13 05:44:19 2011 From: gabe at gundy.org (Gabriel Gunderson) Date: Mon, 12 Sep 2011 19:44:19 -0600 Subject: [Freeswitch-dev] Epoch current time difference In-Reply-To: References: Message-ID: On Mon, Sep 12, 2011 at 7:05 AM, Glaucio Vaz de Mello wrote: > Yes, that's right. I had ntp enabled. > With ntp disabled the problem disappear, FS clock is exactly the same as > system clock. I don't know what your environment is like, but if you can get away with keeping NTP running on the server and issue a sync_clock nightly, that might be the best thing. I can think of 3 or 4 other systems that could fail unexpectedly due to time drift like that. At the very least, it makes it so that all of your logs have correct timestamps :) Gabe From jaybinks at gmail.com Tue Sep 13 16:27:56 2011 From: jaybinks at gmail.com (jay binks) Date: Tue, 13 Sep 2011 22:27:56 +1000 Subject: [Freeswitch-dev] SOLVED - Compile issue on ubuntu Message-ID: I was getting compile time issues on ubuntu ( only as of todays git pull though... which is strange ) src/switch_core.c: In function ?switch_system_fork?: src/switch_core.c:2405: error: ignoring return value of ?system?, declared with attribute fixed it by making like 2405 of switch_core.c if ( system(cmd) ) {}; seems related to https://wiki.ubuntu.com/CompilerFlags error: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result The return value from system(), write(), and similar functions should be evaluated and handled appropriately. In cases where one absolutely must throw away the return value, it can be discarded with an empty test: if (system("...")) { } , though this is not recommended. maybe a better solution would be to change compiler flags... not sure... just letting someone smarter than me know about it :) -- Sincerely Jay -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110913/1d881ef1/attachment-0001.html From viktor_jamrich at centrum.sk Tue Sep 13 20:15:55 2011 From: viktor_jamrich at centrum.sk (Viktor Jamrich) Date: Tue, 13 Sep 2011 18:15:55 +0200 Subject: [Freeswitch-dev] Speaker identification results retrieval In-Reply-To: References: Message-ID: <4E6F81BB.70106@centrum.sk> Hi guys, I'm currently working on speaker identification and verification support. However, I don't know how to get the results so I can use them in dialplan conditions. I followed the ASR, the results from SID system are sent via MRCP and stored in SID's internal structure called switch_sid_handle_t (the same as switch_asr_handle_t but modified for SID). In the ASR, the results are sent via the event system. My question is, how can I access the results sent by an event from dialplan ?? I'd like to use the results in the dialplan conditions. Thanks is advance guys ;) From anthony.minessale at gmail.com Wed Sep 14 01:48:12 2011 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 13 Sep 2011 16:48:12 -0500 Subject: [Freeswitch-dev] Speaker identification results retrieval In-Reply-To: <4E6F81BB.70106@centrum.sk> References: <4E6F81BB.70106@centrum.sk> Message-ID: In the places where you set the events, also set channel variables with the same info for the dialplan apps to get to it. On Tue, Sep 13, 2011 at 11:15 AM, Viktor Jamrich wrote: > Hi guys, > I'm currently working on speaker identification and verification support. > However, I don't know how to get the results so I can use them in dialplan > conditions. > > I followed the ASR, the results from SID system are sent via MRCP and > stored in SID's internal structure called switch_sid_handle_t > (the same as switch_asr_handle_t but modified for SID). > In the ASR, the results are sent via the event system. My question is, > how can I access the results sent by an event from dialplan ?? > I'd like to use the results in the dialplan conditions. > > Thanks is advance guys ;) > > _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 From dujinfang at gmail.com Wed Sep 14 02:51:44 2011 From: dujinfang at gmail.com (Seven Du) Date: Wed, 14 Sep 2011 06:51:44 +0800 Subject: [Freeswitch-dev] typo in the last commit? Message-ID: <0249702CA7F44755878FA840ADB9CE7A@gmail.com> Hi, I see two SAF_ZOMBIE_EXEC in the last commit: http://fisheye.freeswitch.org/changelog/freeswitch.git/?cs=637a5ed83d73fbe215fd7b30eabb917784786baf 3927 SAF_SUPPORT_NOMEDIA | SAF_ROUTING_EXEC | SAF_ZOMBIE_EXEC | SAF_ZOMBIE_EXEC); -- About: http://about.me/dujinfang Blog: http://www.dujinfang.com Proj: http://www.freeswitch.org.cn Sent with Sparrow (http://www.sparrowmailapp.com) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110914/eca66038/attachment.html From anthony.minessale at gmail.com Wed Sep 14 03:56:09 2011 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 13 Sep 2011 18:56:09 -0500 Subject: [Freeswitch-dev] typo in the last commit? In-Reply-To: <0249702CA7F44755878FA840ADB9CE7A@gmail.com> References: <0249702CA7F44755878FA840ADB9CE7A@gmail.com> Message-ID: indeed, thx On Tue, Sep 13, 2011 at 5:51 PM, Seven Du wrote: > Hi, > > I see two SAF_ZOMBIE_EXEC in the last commit: > > > http://fisheye.freeswitch.org/changelog/freeswitch.git/?cs=637a5ed83d73fbe215fd7b30eabb917784786baf > > > 3927 SAF_SUPPORT_NOMEDIA | SAF_ROUTING_EXEC | SAF_ZOMBIE_EXEC | > SAF_ZOMBIE_EXEC); > > -- > About: http://about.me/dujinfang > Blog: http://www.dujinfang.com > Proj: http://www.freeswitch.org.cn > > Sent with Sparrow > > > _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110913/90259249/attachment.html From dujinfang at gmail.com Wed Sep 14 05:00:23 2011 From: dujinfang at gmail.com (Seven Du) Date: Wed, 14 Sep 2011 09:00:23 +0800 Subject: [Freeswitch-dev] typo in the last commit? In-Reply-To: References: <0249702CA7F44755878FA840ADB9CE7A@gmail.com> Message-ID: Ah, I think I found a WTF again in your last commit: :) printf("WTF [%s][%s]\n", name, number); On Wednesday, September 14, 2011 at 7:56 AM, Anthony Minessale wrote: > indeed, thx > > On Tue, Sep 13, 2011 at 5:51 PM, Seven Du wrote: > > Hi, > > > > I see two SAF_ZOMBIE_EXEC in the last commit: > > > > http://fisheye.freeswitch.org/changelog/freeswitch.git/?cs=637a5ed83d73fbe215fd7b30eabb917784786baf > > > > > > 3927 > > SAF_SUPPORT_NOMEDIA | SAF_ROUTING_EXEC | SAF_ZOMBIE_EXEC | SAF_ZOMBIE_EXEC); > > > > > > > > > > > > -- > > About: http://about.me/dujinfang > > Blog: http://www.dujinfang.com > > Proj: http://www.freeswitch.org.cn > > > > Sent with Sparrow (http://www.sparrowmailapp.com) > > > > > > _______________________________________________ > > Join us at ClueCon 2011, Aug 9-11, Chicago > > http://www.cluecon.com 877-7-4ACLUE > > > > FreeSWITCH-dev mailing list > > FreeSWITCH-dev at lists.freeswitch.org (mailto:FreeSWITCH-dev at lists.freeswitch.org) > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > > http://www.freeswitch.org > > > > > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > Twitter: http://twitter.com/FreeSWITCH_wire > > AIM: anthm > MSN:anthony_minessale at hotmail.com (mailto:MSN%3Aanthony_minessale at hotmail.com) > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com (mailto:PAYPAL%3Aanthony.minessale at gmail.com) > IRC: irc.freenode.net (http://irc.freenode.net) #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org (mailto:sip%3A888 at conference.freeswitch.org) > googletalk:conf+888 at conference.freeswitch.org (mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org) > pstn:+19193869900 > _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org (mailto: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/20110914/5f84606c/attachment-0001.html From msc at freeswitch.org Wed Sep 14 19:12:09 2011 From: msc at freeswitch.org (Michael Collins) Date: Wed, 14 Sep 2011 08:12:09 -0700 Subject: [Freeswitch-dev] FreeSWITCH Community Conference Call Today Message-ID: Hello all! Today's agenda is here: http://wiki.freeswitch.org/wiki/FS_weekly_2011_09_14 We have Dave Kompel (resident Windows hacking guru) to talk to us about NuGet. He's also found a possible new solution for our build/test challenges. -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110914/adab640b/attachment.html From phil.dunks at netdev.co.uk Thu Sep 15 12:17:28 2011 From: phil.dunks at netdev.co.uk (Phil Dunks) Date: Thu, 15 Sep 2011 09:17:28 +0100 Subject: [Freeswitch-dev] Linking to switch_json In-Reply-To: References: Message-ID: Thanks. I was running and compiling FS on my mac, which seemed to be the cause of this issue. I have now installed a Centos VM, and the problem has gone away. Cheers Phil, NetDev On 13 Sep 2011, at 13:28, freeswitch-dev-request at lists.freeswitch.org wrote: > > > From: Anthony Minessale > Date: 13 September 2011 00:46:29 GMT+01:00 > To: freeswitch-dev at lists.freeswitch.org > Subject: Re: [Freeswitch-dev] Linking to switch_json > Reply-To: freeswitch-dev at lists.freeswitch.org > > > try building the .c into your mod too on the target list. > > > On Mon, Sep 12, 2011 at 12:43 PM, Phil Dunks wrote: >> >> Hi FreeSWITCH Guru's. >> Apologies in advance for silly question - I've been coding Java for last 15 >> years, so the C is not coming naturally yet. >> Met some of you at ClueCon 2011 - had a great time - defeated Ken Rice at >> pool in the Lucky Strike - (OK I was lucky). >> We have a conferencing customer who is currently using JAIN SLEE and Radisys >> (Convedia) media servers. >> We are exploring the possibility of replacing all this with FS. >> They have a multi-tier account structure with provisionable preferences (e.g >> they can have different DTMF menu's and conference behaviour per >> account/subscription). >> So I have built a mod, which bridges our business logic with mod_conference. >> This is all working very well, and I love developing on FS compared to JAIN >> SLEE. >> So that's the background - here's the problem I'm having. >> I am trying to implement some JSON reporting, which we send over rabbit MQ, >> and am trying to use the cJSON api in switch_json directly from my mod. >> ( I have written a couple of mods [mod_rabbit_send and mod_rabbit_recv] >> which send and receive rabbit MQ events, and convert them to/from FS custom >> events. It uses a MPL library from rabbit.org. Will be happy to contribute >> them to the project if you want them. ). >> I include switch_json.h in my mod, and the cJSON stuff compiles and installs >> ok. >> But when I install the mod I get.. >> 2011-09-12 17:56:49.195659 [CRIT] switch_loadable_module.c:928 Error Loading >> module /usr/local/freeswitch/mod/mod_netdev.so >> **dlopen(/usr/local/freeswitch/mod/mod_netdev.so, 6): Symbol not found: >> _cJSON_AddItemToObject >> Referenced from: /usr/local/freeswitch/mod/mod_netdev.so >> >> I have tried all sorts of things in my makefile to get this linking - to no >> avail - I'm out of ideas. >> >> Any help will be greatly appreciated. >> Thanks >> Phil >> >> >> >> >> >> Phil Dunks >> NetDev Limited >> +44 1273 773661 >> +44 7515 385465 >> http://www.netdev.co.uk >> > Phil Dunks NetDev Limited +44 1273 773661 +44 7515 385465 http://www.netdev.co.uk Registered in England and Wales Company Number 04741258 Registered Office Address: 1st Floor, 47 Middle Street Brighton, East Sussex BN1 1AL, U.K. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110915/46ceaadc/attachment.html From kheimerl at cs.berkeley.edu Fri Sep 16 01:58:02 2011 From: kheimerl at cs.berkeley.edu (Kurtis Heimerl) Date: Thu, 15 Sep 2011 14:58:02 -0700 Subject: [Freeswitch-dev] Outstanding Patches In-Reply-To: References: Message-ID: If that discussion is happening here, I've set up my filters to find it and make sure I follow it. Thanks! I've also added the log warning to the originate patch. Is there anything else needed there? On Mon, Sep 12, 2011 at 3:02 PM, Anthony Minessale wrote: > yes ok, now is your chance to contribute to the design of the new way! > > > On Mon, Sep 12, 2011 at 10:50 AM, Kurtis Heimerl > wrote: >> Great, thanks for the answer. I needed the message change myself, so I >> wouldn't feel bad of that was done in some other way. I'll add the >> warning to the originate change soon, and resubmit that patch. >> >> On Mon, Sep 12, 2011 at 7:54 AM, Anthony Minessale >> wrote: >>> The originate one is awaiting the warning message. >>> >>> The message may collide with some place to redo the chat message >>> system so it will be a while while I decide what to do on it. >>> >>> I recommend in the future, you get a change approved by core >>> developers before offering a bounty on it and for that matter >>> accepting it from a 3rd party who has not asked for any input or >>> guidane from us. >>> >>> >>> >>> On Mon, Sep 12, 2011 at 1:25 AM, Kurtis Heimerl >>> wrote: >>>> Hello Freeswitch-dev! >>>> >>>> I have two outstanding patches sitting in JIRA. FS-3467 and FS-3408. >>>> They've been there for over a month, without any movement (so far as I >>>> can see). Is there anything else I'm supposed to be doing to get these >>>> moved into the main repository? Some code-review process? I don't want >>>> to have to maintain patches for such a fast-moving project. >>>> >>>> Thanks! >>>> >>>> _______________________________________________ >>>> Join us at ClueCon 2011, Aug 9-11, Chicago >>>> http://www.cluecon.com 877-7-4ACLUE >>>> >>>> FreeSWITCH-dev mailing list >>>> FreeSWITCH-dev at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> Anthony Minessale II >>> >>> FreeSWITCH http://www.freeswitch.org/ >>> ClueCon http://www.cluecon.com/ >>> Twitter: http://twitter.com/FreeSWITCH_wire >>> >>> AIM: anthm >>> MSN:anthony_minessale at hotmail.com >>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >>> IRC: irc.freenode.net #freeswitch >>> >>> FreeSWITCH Developer Conference >>> sip:888 at conference.freeswitch.org >>> googletalk:conf+888 at conference.freeswitch.org >>> pstn:+19193869900 >>> >>> _______________________________________________ >>> Join us at ClueCon 2011, Aug 9-11, Chicago >>> http://www.cluecon.com 877-7-4ACLUE >>> >>> 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 >>> >> >> _______________________________________________ >> Join us at ClueCon 2011, Aug 9-11, Chicago >> http://www.cluecon.com 877-7-4ACLUE >> >> FreeSWITCH-dev mailing list >> FreeSWITCH-dev at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >> http://www.freeswitch.org >> > > > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > Twitter: http://twitter.com/FreeSWITCH_wire > > AIM: anthm > MSN:anthony_minessale at hotmail.com > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > 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 Fri Sep 16 04:07:04 2011 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 15 Sep 2011 19:07:04 -0500 Subject: [Freeswitch-dev] Outstanding Patches In-Reply-To: References: Message-ID: I'll have a look tomorrow. On Thu, Sep 15, 2011 at 4:58 PM, Kurtis Heimerl wrote: > If that discussion is happening here, I've set up my filters to find > it and make sure I follow it. Thanks! > > I've also added the log warning to the originate patch. Is there > anything else needed there? > > On Mon, Sep 12, 2011 at 3:02 PM, Anthony Minessale > wrote: >> yes ok, now is your chance to contribute to the design of the new way! >> >> >> On Mon, Sep 12, 2011 at 10:50 AM, Kurtis Heimerl >> wrote: >>> Great, thanks for the answer. I needed the message change myself, so I >>> wouldn't feel bad of that was done in some other way. I'll add the >>> warning to the originate change soon, and resubmit that patch. >>> >>> On Mon, Sep 12, 2011 at 7:54 AM, Anthony Minessale >>> wrote: >>>> The originate one is awaiting the warning message. >>>> >>>> The message may collide with some place to redo the chat message >>>> system so it will be a while while I decide what to do on it. >>>> >>>> I recommend in the future, you get a change approved by core >>>> developers before offering a bounty on it and for that matter >>>> accepting it from a 3rd party who has not asked for any input or >>>> guidane from us. >>>> >>>> >>>> >>>> On Mon, Sep 12, 2011 at 1:25 AM, Kurtis Heimerl >>>> wrote: >>>>> Hello Freeswitch-dev! >>>>> >>>>> I have two outstanding patches sitting in JIRA. FS-3467 and FS-3408. >>>>> They've been there for over a month, without any movement (so far as I >>>>> can see). Is there anything else I'm supposed to be doing to get these >>>>> moved into the main repository? Some code-review process? I don't want >>>>> to have to maintain patches for such a fast-moving project. >>>>> >>>>> Thanks! >>>>> >>>>> _______________________________________________ >>>>> Join us at ClueCon 2011, Aug 9-11, Chicago >>>>> http://www.cluecon.com 877-7-4ACLUE >>>>> >>>>> FreeSWITCH-dev mailing list >>>>> FreeSWITCH-dev at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> -- >>>> Anthony Minessale II >>>> >>>> FreeSWITCH http://www.freeswitch.org/ >>>> ClueCon http://www.cluecon.com/ >>>> Twitter: http://twitter.com/FreeSWITCH_wire >>>> >>>> AIM: anthm >>>> MSN:anthony_minessale at hotmail.com >>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >>>> IRC: irc.freenode.net #freeswitch >>>> >>>> FreeSWITCH Developer Conference >>>> sip:888 at conference.freeswitch.org >>>> googletalk:conf+888 at conference.freeswitch.org >>>> pstn:+19193869900 >>>> >>>> _______________________________________________ >>>> Join us at ClueCon 2011, Aug 9-11, Chicago >>>> http://www.cluecon.com 877-7-4ACLUE >>>> >>>> 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 >>>> >>> >>> _______________________________________________ >>> Join us at ClueCon 2011, Aug 9-11, Chicago >>> http://www.cluecon.com 877-7-4ACLUE >>> >>> FreeSWITCH-dev mailing list >>> FreeSWITCH-dev at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Anthony Minessale II >> >> FreeSWITCH http://www.freeswitch.org/ >> ClueCon http://www.cluecon.com/ >> Twitter: http://twitter.com/FreeSWITCH_wire >> >> AIM: anthm >> MSN:anthony_minessale at hotmail.com >> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >> IRC: irc.freenode.net #freeswitch >> >> FreeSWITCH Developer Conference >> sip:888 at conference.freeswitch.org >> googletalk:conf+888 at conference.freeswitch.org >> pstn:+19193869900 >> >> _______________________________________________ >> Join us at ClueCon 2011, Aug 9-11, Chicago >> http://www.cluecon.com 877-7-4ACLUE >> >> 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 >> > > _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 From juraj.fabo at gmail.com Mon Sep 19 20:30:36 2011 From: juraj.fabo at gmail.com (Juraj Fabo) Date: Mon, 19 Sep 2011 18:30:36 +0200 Subject: [Freeswitch-dev] MTU setting and application buffer size Message-ID: Hi, I'm writing and application using freetdm library and also a testtool which works as a loopback for voice data on B channels. Server A is running the loopback test tool is with a104d sangoma card configured in NET mode simulating telko infrastructure, clock on each span set to MASTER. Server B is running target aplication with 2 a102de cards configured in CPE mode and clock on each span is set to NORMAL. Spans of two serversSpans are connected with E1 cables, both servers running in sles11 sp1. Target application is reading/writing from/to another network stack A-law data with 20ms frame length. With default MTU settings (80) I am experiencing latency which I consider too high, it is about 400ms from targetApp to loopback and back to targetApp. I think I missed some point about proper setting of MTU and consequences. Decreasing the MTU configuration setting in the /etc/wanpipe/wanpipe1.conf from default value 80 to e.g 40 or 16 leads to desired lower latency, however, the data the targetApp is reading are often corrupted with many gaps. Please, what is the proper way of setting MTU? I assume I have to set the same MTU per wXg1 sections in /etc/wanpipe/wanpipeX.conf files on both servers, since the serverA card is providing a clock for server B cards. Is it necessary to change the value of codec_ms in the /usr/local/freetdm/conf/wanpipe.conf ? I also noticed following behaviour of ifconfig: a. MTU set to 40 or higher in section w1g1 in wanpipe1.conf also all other spans of the card which has the w1g1 (so w2g1 for the dualspan and w2g1, w3g1,w4g1 for quad card) will be displayed in ifconfig output with MTU: 40 b. MTU set to 80 or higher (e.g. 160) in section w1g1 in wanpipe1.conf ifconfig will display MTU:80 also for higher values Finally, I tried to access the card more often than the default 20ms with default MTU:80 Since 80Bytes is 10ms, application was configured to read/write on 10ms rate with 80Bytes buffer. Following pseudocode ftdm_channel_read(fchan, bufferPtr, 80) failed with kernel error message in dmesg coming from wanpipe_tdm_api.c "User API Error: User Rx Len=144 < Driver Rx Len=224 (hdr=64). User API must increase expected rx length" Does it mean, that the smallest buffer used in the ftdm_channel_read() must be at least 160 B length even if MTU is 80 (or less) ? Thank you very much Juraj From mike at jerris.com Tue Sep 20 14:50:37 2011 From: mike at jerris.com (Michael Jerris) Date: Tue, 20 Sep 2011 06:50:37 -0400 Subject: [Freeswitch-dev] switch_core_sqldb.c In-Reply-To: References: Message-ID: If I'm correct these are just run on startup, and those statements would just harmlessly fail on mysql. Is this a problem? On Jul 17, 2011, at 3:39 PM, Robert Huddleston wrote: > Wondering if I should log this to Jira? > > Looks like a recent code addition - so not sure protocol here - also never having logged a Jira before. > > In switch_core_sqldb.c there are some PRAGMA calls. > > I'm finding that in my MYSQL unixODBC environment - these PRAGMA calls are causing syntax errors. > > I'm not familiar with the syntax - I've seen equivalents on MS-SQL and Oracle etc - but never seen such on MYSQL. > > http://fisheye.freeswitch.org/changelog/freeswitch.git/?showid=11690aff4c4b819e981c4763abff37c33700f5ab&view=fe > > Any ideas? > > switch_cache_db_execute_sql(sql_manager.event_db, "PRAGMA synchronous=OFF;", NULL); > switch_cache_db_execute_sql(sql_manager.event_db, "PRAGMA count_changes=OFF;", NULL); > switch_cache_db_execute_sql(sql_manager.event_db, "PRAGMA temp_store=MEMORY;", NULL); > switch_cache_db_execute_sql(sql_manager.event_db, "PRAGMA journal_mode=OFF;", NULL); > > > _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > 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 moises.silva at gmail.com Fri Sep 23 00:05:06 2011 From: moises.silva at gmail.com (Moises Silva) Date: Thu, 22 Sep 2011 16:05:06 -0400 Subject: [Freeswitch-dev] MTU setting and application buffer size In-Reply-To: References: Message-ID: On Mon, Sep 19, 2011 at 12:30 PM, Juraj Fabo wrote: > Target application is reading/writing from/to another network stack > A-law data with 20ms frame length. > > With default MTU settings (80) I am experiencing latency which I > consider too high, it is about 400ms from targetApp to loopback and > back to targetApp. There is something wrong with your app. The MTU in wanpipeX.conf is meant to control the transfer size between the driver and the card, not between the user space app and the driver. In general, higher MTU means lower interrupt load. The lowest value is probably 8, which is used for applications working in DAHDI-mode, where one interrupt is received every millisecond and 8 bytes are transferred from the driver to the hardware and viceversa. > I think I missed some point about proper setting of MTU and consequences. > Decreasing the MTU configuration setting in the > /etc/wanpipe/wanpipe1.conf from default value 80 to e.g 40 or 16 leads > to desired lower latency, however, the data the targetApp is reading > are often corrupted with many gaps. 80 means a hardware interrupt is received every 10ms with 80 bytes per time slot. This is the recommended mode. A value of 40 will increase interrupt load and not necesarily reduce your latency, you must reduce the "user period", which is how often the driver will deliver media/data to the user application. This is done using sangoma_tdm_set_usr_period(). > Please, what is the proper way of setting MTU? > I assume I have to set the same MTU per wXg1 sections in > /etc/wanpipe/wanpipeX.conf files on both servers, since the serverA > card is providing a clock for server B cards. > Is it necessary to change the value of codec_ms in the > /usr/local/freetdm/conf/wanpipe.conf ? The codec_ms is used to call sangoma_tdm_set_usr_period(). This is how often the driver will deliver data to the user application (for example, waking it up from select()). > I also noticed following behaviour of ifconfig: > a. MTU set to 40 or higher in section w1g1 in wanpipe1.conf > ? ?also all other spans of the card which has the w1g1 (so w2g1 for > the dualspan and w2g1, w3g1,w4g1 for quad card) will be displayed in > ifconfig output with MTU: 40 > > b. MTU set to 80 or higher (e.g. 160) in section w1g1 in wanpipe1.conf > ? ?ifconfig will display MTU:80 also for higher values Some MTU values are disallowed, you would have to check which ones in the driver, I don't recall. You can't use any value, as this values are directly related with the capabilities of the hardware (some cards, like analog cards, may only accept MTU of 8 for example). > Finally, I tried to access the card more often than the default 20ms > with default MTU:80 > Since 80Bytes is 10ms, application was configured to read/write on > 10ms rate with 80Bytes buffer. > Following pseudocode ftdm_channel_read(fchan, bufferPtr, 80) failed > with kernel error message in dmesg coming from wanpipe_tdm_api.c > "User API Error: User Rx Len=144 < Driver Rx Len=224 (hdr=64). User > API must increase expected rx length" > Does it mean, that the smallest buffer used in the ftdm_channel_read() > must be at least 160 B length even if MTU is 80 (or less) ? I suspect you changed the MTU to 80 but not the codec_ms to 10. If I were you I'd stop messing around with the MTU unless you're willing to look at the Wanpipe driver code. Not all values are meant to work for all hardware and there are many types of hardware and many modes (API mode, span mode, DAHDI mode etc) that can get complex to get right. Setting MTU to 80 (the default for TDM API mode) and codec_ms to 10 you should not have latency bigger than 10ms. If you do, there is something wrong with your app. Moises Silva Senior Software Engineer, Software Development Manager Sangoma Technologies Inc. | 100 Renfrew Drive, Suite 100, Markham ON L3R 9R6 Canada t. 1 905 474 1990 x128 | e. moy at sangoma.com From dujinfang at gmail.com Sat Sep 24 06:13:22 2011 From: dujinfang at gmail.com (Seven Du) Date: Sat, 24 Sep 2011 10:13:22 +0800 Subject: [Freeswitch-dev] questions on the new mod_sms Message-ID: Fatastic! I cannot help to try the new mod_sms, and here's some quick questions for developers and I'm seeing what can I help with testing/coding etc. to speed this up. 1) I see no event when I use the chat app "fire" with /event all in fs_cli, is there a problem or unfinished code? 2) Also I see nothing when I use the "send" app, I guess a catch all chatplan with would have the same effect as before(when no mod_sms). I tried with a. unload mod_sms, two US send text messages to each other without problem b. load mod_sms, I see this log but nothing happened 2011-09-24 10:03:48.921888 [INFO] mod_sms.c:299 Processing text message 1004->1001 in context default Chatplan: 1001 parsing [default->demo] continue=false Chatplan: 1001 at 192.168.7.2 Regex (PASS) [demo] to(1001 at 192.168.7.2) =~ /^(.*)$/ break=on-false Chatplan: 1001 at 192.168.7.2 Action send() 2) How to get variables in lua? will there be an event object like session in dialplan based ? 3) also I see the chat api also hit the chatplan, is that supposed to? Sorry for so many questions, thanks. -- About: http://about.me/dujinfang Blog: http://www.dujinfang.com Proj: http://www.freeswitch.org.cn Sent with Sparrow (http://www.sparrowmailapp.com) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110924/71c0046d/attachment.html From anthony.minessale at gmail.com Sat Sep 24 21:01:23 2011 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Sat, 24 Sep 2011 12:01:23 -0500 Subject: [Freeswitch-dev] questions on the new mod_sms In-Reply-To: References: Message-ID: On Fri, Sep 23, 2011 at 9:13 PM, Seven Du wrote: > Fatastic! I cannot help to try the new mod_sms, and here's some quick > questions for developers and I'm seeing what can I help with testing/coding > etc. to speed this up. > 1) I see no event when I use the chat app "fire" with /event all in fs_cli, > is there a problem or unfinished code? There was a bug where chatplan apps with no args would not make it to the execution stage, fixed in tree... > 2) Also I see nothing when I use the "send" app, ?I guess a catch all > chatplan with? ?would have the same > effect as before(when no mod_sms). I tried with > a. unload mod_sms, two US send text messages to each other without problem > b. load mod_sms, I see this log but nothing happened > 2011-09-24 10:03:48.921888 [INFO] mod_sms.c:299 Processing text message > 1004->1001 in context default > Chatplan: 1001 parsing [default->demo] continue=false > Chatplan: 1001 at 192.168.7.2 Regex (PASS) [demo] to(1001 at 192.168.7.2) =~ > /^(.*)$/ break=on-false > Chatplan: 1001 at 192.168.7.2 Action send() > This is probably related to the same bug > 2) How to get variables in lua? will there be an event object like session > in dialplan based ? Yes, it's called "message" > 3) also I see the chat api also hit the chatplan, is that supposed to? > When mod_sms is loaded it will intercept all messages globally if it does not match an extension it will be delivered as usual. (also fixed in recent commit) > Sorry for so many questions, thanks. > > -- > About: http://about.me/dujinfang > Blog: http://www.dujinfang.com > Proj: ?http://www.freeswitch.org.cn > Sent with Sparrow > > > _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 From kheimerl at cs.berkeley.edu Sun Sep 25 03:58:34 2011 From: kheimerl at cs.berkeley.edu (Kurtis Heimerl) Date: Sat, 24 Sep 2011 16:58:34 -0700 Subject: [Freeswitch-dev] questions on the new mod_sms In-Reply-To: References: Message-ID: Ah, this must be the stuff Anthony was referring me to earlier! Anyhow, where can I read about this module? It sounds very very similar to the one I am working on (but much more complete). I'll be trying it out tonight, I hope. On Sat, Sep 24, 2011 at 10:01 AM, Anthony Minessale wrote: > On Fri, Sep 23, 2011 at 9:13 PM, Seven Du wrote: >> Fatastic! I cannot help to try the new mod_sms, and here's some quick >> questions for developers and I'm seeing what can I help with testing/coding >> etc. to speed this up. >> 1) I see no event when I use the chat app "fire" with /event all in fs_cli, >> is there a problem or unfinished code? > > > There was a bug where chatplan apps with no args would not make it to > the execution stage, fixed in tree... > > > > >> 2) Also I see nothing when I use the "send" app, ?I guess a catch all >> chatplan with? ?would have the same >> effect as before(when no mod_sms). I tried with >> a. unload mod_sms, two US send text messages to each other without problem >> b. load mod_sms, I see this log but nothing happened >> 2011-09-24 10:03:48.921888 [INFO] mod_sms.c:299 Processing text message >> 1004->1001 in context default >> Chatplan: 1001 parsing [default->demo] continue=false >> Chatplan: 1001 at 192.168.7.2 Regex (PASS) [demo] to(1001 at 192.168.7.2) =~ >> /^(.*)$/ break=on-false >> Chatplan: 1001 at 192.168.7.2 Action send() >> > > This is probably related to the same bug > > >> 2) How to get variables in lua? will there be an event object like session >> in dialplan based ? > > Yes, it's called "message" > > >> 3) also I see the chat api also hit the chatplan, is that supposed to? >> > > When mod_sms is loaded it will intercept all messages globally if it > does not match an extension it will be delivered as usual. ?(also > fixed in recent commit) > > >> Sorry for so many questions, thanks. >> >> -- >> About: http://about.me/dujinfang >> Blog: http://www.dujinfang.com >> Proj: ?http://www.freeswitch.org.cn >> Sent with Sparrow >> >> >> _______________________________________________ >> Join us at ClueCon 2011, Aug 9-11, Chicago >> http://www.cluecon.com 877-7-4ACLUE >> >> FreeSWITCH-dev mailing list >> FreeSWITCH-dev at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >> http://www.freeswitch.org >> >> > > > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > Twitter: http://twitter.com/FreeSWITCH_wire > > AIM: anthm > MSN:anthony_minessale at hotmail.com > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > 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 dujinfang at gmail.com Mon Sep 26 01:25:12 2011 From: dujinfang at gmail.com (Seven Du) Date: Mon, 26 Sep 2011 05:25:12 +0800 Subject: [Freeswitch-dev] questions on the new mod_sms In-Reply-To: References: Message-ID: <8FB5B399218C4C04829DA071F604B665@gmail.com> On Sunday, September 25, 2011 at 7:58 AM, Kurtis Heimerl wrote: > Ah, this must be the stuff Anthony was referring me to earlier! > > Anyhow, where can I read about this module? It sounds very very > similar to the one I am working on (but much more complete). I'll be > trying it out tonight, I hope. > You can read from source code src/applications/mod_sms Probably I will create wiki page when I tried out all answered by Anthony. @Anthony, thanks for the detailed explain! will pull code and try. > On Sat, Sep 24, 2011 at 10:01 AM, Anthony Minessale > wrote: > > On Fri, Sep 23, 2011 at 9:13 PM, Seven Du wrote: > > > Fatastic! I cannot help to try the new mod_sms, and here's some quick > > > questions for developers and I'm seeing what can I help with testing/coding > > > etc. to speed this up. > > > 1) I see no event when I use the chat app "fire" with /event all in fs_cli, > > > is there a problem or unfinished code? > > > > > > There was a bug where chatplan apps with no args would not make it to > > the execution stage, fixed in tree... > > > > > > > > > > > 2) Also I see nothing when I use the "send" app, I guess a catch all > > > chatplan with would have the same > > > effect as before(when no mod_sms). I tried with > > > a. unload mod_sms, two US send text messages to each other without problem > > > b. load mod_sms, I see this log but nothing happened > > > 2011-09-24 10:03:48.921888 [INFO] mod_sms.c:299 Processing text message > > > 1004->1001 in context default > > > Chatplan: 1001 parsing [default->demo] continue=false > > > Chatplan: 1001 at 192.168.7.2 (mailto:1001 at 192.168.7.2) Regex (PASS) [demo] to(1001 at 192.168.7.2 (mailto:1001 at 192.168.7.2)) =~ > > > /^(.*)$/ break=on-false > > > Chatplan: 1001 at 192.168.7.2 (mailto:1001 at 192.168.7.2) Action send() > > > > This is probably related to the same bug > > > > > > > 2) How to get variables in lua? will there be an event object like session > > > in dialplan based ? > > > > Yes, it's called "message" > > > > > > > 3) also I see the chat api also hit the chatplan, is that supposed to? > > > > When mod_sms is loaded it will intercept all messages globally if it > > does not match an extension it will be delivered as usual. (also > > fixed in recent commit) > > > > > > > Sorry for so many questions, thanks. > > > > > > -- > > > About: http://about.me/dujinfang > > > Blog: http://www.dujinfang.com > > > Proj: http://www.freeswitch.org.cn > > > Sent with Sparrow > > > > > > > > > _______________________________________________ > > > Join us at ClueCon 2011, Aug 9-11, Chicago > > > http://www.cluecon.com 877-7-4ACLUE > > > > > > FreeSWITCH-dev mailing list > > > FreeSWITCH-dev at lists.freeswitch.org (mailto:FreeSWITCH-dev at lists.freeswitch.org) > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > > > http://www.freeswitch.org > > > > > > > > -- > > Anthony Minessale II > > > > FreeSWITCH http://www.freeswitch.org/ > > ClueCon http://www.cluecon.com/ > > Twitter: http://twitter.com/FreeSWITCH_wire > > > > AIM: anthm > > MSN:anthony_minessale at hotmail.com (mailto:anthony_minessale at hotmail.com) > > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com (mailto:anthony.minessale at gmail.com) > > IRC: irc.freenode.net (http://irc.freenode.net) #freeswitch > > > > FreeSWITCH Developer Conference > > sip:888 at conference.freeswitch.org (mailto:888 at conference.freeswitch.org) > > googletalk:conf+888 at conference.freeswitch.org (mailto:conf+888 at conference.freeswitch.org) > > pstn:+19193869900 > > > > _______________________________________________ > > Join us at ClueCon 2011, Aug 9-11, Chicago > > http://www.cluecon.com 877-7-4ACLUE > > > > FreeSWITCH-dev mailing list > > FreeSWITCH-dev at lists.freeswitch.org (mailto: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 > > _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org (mailto: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/20110926/f2fa2a41/attachment-0001.html From msc at freeswitch.org Mon Sep 26 23:44:28 2011 From: msc at freeswitch.org (Michael Collins) Date: Mon, 26 Sep 2011 12:44:28 -0700 Subject: [Freeswitch-dev] questions on the new mod_sms In-Reply-To: <8FB5B399218C4C04829DA071F604B665@gmail.com> References: <8FB5B399218C4C04829DA071F604B665@gmail.com> Message-ID: On Sun, Sep 25, 2011 at 2:25 PM, Seven Du wrote: > > On Sunday, September 25, 2011 at 7:58 AM, Kurtis Heimerl wrote: > > Ah, this must be the stuff Anthony was referring me to earlier! > > Anyhow, where can I read about this module? It sounds very very > similar to the one I am working on (but much more complete). I'll be > trying it out tonight, I hope. > > You can read from source code src/applications/mod_sms > > Probably I will create wiki page when I tried out all answered by Anthony. > Seven, Let me know if you have started a wiki page yet. I would like to help get this documented. I need to write up a story on fs.org as well. I just haven't had a chance to test drive this new module, but I will definitely be doing so as soon as I can. -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110926/fd3b6713/attachment.html From msc at freeswitch.org Tue Sep 27 22:08:10 2011 From: msc at freeswitch.org (Michael Collins) Date: Tue, 27 Sep 2011 11:08:10 -0700 Subject: [Freeswitch-dev] A Chance To "Give Back" To FreeSWITCH Message-ID: Hello all, I have a few FreeSWITCH-related projects with which I could use a hand. We have some non-glamorous janitorial items that need some attention. Specifically I could use assistance with a few freeswitch.org and wiki.freeswitch.org items. Some research/digging for answers is involved. If you have PHP skills those are a plus. Please email me off list if you are able to devote a few hours to some projects that I have pending. We will also discuss some of these on the FreeSWITCH conference call tomorrow. Thanks for giving back . -Michael Collins -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110927/d858ea3c/attachment.html From juraj.fabo at gmail.com Wed Sep 28 10:55:17 2011 From: juraj.fabo at gmail.com (Juraj Fabo) Date: Wed, 28 Sep 2011 08:55:17 +0200 Subject: [Freeswitch-dev] MTU setting and application buffer size Message-ID: Thank you for your answers. > ---------- Forwarded message ---------- > From:?Moises Silva > To:?freeswitch-dev at lists.freeswitch.org > Date:?Thu, 22 Sep 2011 16:05:06 -0400 > Subject:?Re: [Freeswitch-dev] MTU setting and application buffer size > On Mon, Sep 19, 2011 at 12:30 PM, Juraj Fabo wrote: >> Target application is reading/writing from/to another network stack >> A-law data with 20ms frame length. >> >> With default MTU settings (80) I am experiencing latency which I >> consider too high, it is about 400ms from targetApp to loopback and >> back to targetApp. > > There is something wrong with your app. The MTU in wanpipeX.conf is > meant to control the transfer size between the driver and the card, > not between the user space app and the driver. In general, higher MTU > means lower interrupt load. The lowest value is probably 8, which is > used for applications working in DAHDI-mode, where one interrupt is > received every millisecond and 8 bytes are transferred from the driver > to the hardware and viceversa. > >> I think I missed some point about proper setting of MTU and consequences. >> Decreasing the MTU configuration setting in the >> /etc/wanpipe/wanpipe1.conf from default value 80 to e.g 40 or 16 leads >> to desired lower latency, however, the data the targetApp is reading >> are often corrupted with many gaps. > > 80 means a hardware interrupt is received every 10ms with 80 bytes per > time slot. This is the recommended mode. A value of 40 will increase > interrupt load and not necesarily reduce your latency, you must reduce > the "user period", which is how often the driver will deliver > media/data to the user application. This is done using > sangoma_tdm_set_usr_period(). > >> Please, what is the proper way of setting MTU? >> I assume I have to set the same MTU per wXg1 sections in >> /etc/wanpipe/wanpipeX.conf files on both servers, since the serverA >> card is providing a clock for server B cards. >> Is it necessary to change the value of codec_ms in the >> /usr/local/freetdm/conf/wanpipe.conf ? > > The codec_ms is used to call sangoma_tdm_set_usr_period(). This is how > often the driver will deliver data to the user application (for > example, waking it up from select()). > >> I also noticed following behaviour of ifconfig: >> a. MTU set to 40 or higher in section w1g1 in wanpipe1.conf >> ? ?also all other spans of the card which has the w1g1 (so w2g1 for >> the dualspan and w2g1, w3g1,w4g1 for quad card) will be displayed in >> ifconfig output with MTU: 40 >> >> b. MTU set to 80 or higher (e.g. 160) in section w1g1 in wanpipe1.conf >> ? ?ifconfig will display MTU:80 also for higher values > > Some MTU values are disallowed, you would have to check which ones in > the driver, I don't recall. You can't use any value, as this values > are directly related with the capabilities of the hardware (some > cards, like analog cards, may only accept MTU of 8 for example). > I did set of latency / delay measurements in reduced testenvironment. Single server, single quad card with interconnected spans 1 and 2, testapplication is doing dump of read and written data on both call ends to binary files in the single thread. Please, have a look at the results with various parameters used: mtu:80 txqueue_size=1 rxqueue_size=1 one-direction delay=60ms round-trip delay=120ms mtu:80 txqueue_size=2 rxqueue_size=2 one-direction delay=80ms round-trip delay=160ms mtu:80 txqueue_size=10 rxqueue_size=10 one-direction delay=240ms round-trip delay=480ms mtu:40 txqueue_size=1 rxqueue_size=1 one-direction delay=40ms round-trip delay=80ms mtu:40 txqueue_size=2 rxqueue_size=2 one-direction delay=60ms round-trip delay=120ms mtu:40 txqueue_size=5 rxqueue_size=5 one-direction delay=120ms round-trip delay=240ms mtu:16 txqueue_size=1 rxqueue_size=1 one-direction delay=30ms round-trip delay=60ms mtu:8 txqueue_size=1 rxqueue_size=1 one-direction delay=25ms round-trip delay=50ms mtu:8 txqueue_size=10 rxqueue_size=10 one-direction delay=205ms round-trip delay=410ms The result from these tests is that the rxqueue_size is affecting the delay and no matter what is the MTU chunk size, increasing the rxqueue_size by one will increase the one-direction delay by 20ms. I also realized, that assymetric setting of tx/rx queue size can be used: e.g. tx_q_s=1 rx_q_s=10 to reduce the delay. Comment in the wanpipe.conf says: ; size of the driver queue of elements of MTU size ; typical case is 10 elements of 80 bytes each (10ms of ulaw/alaw) ; don't mess with this if you don't know what you're doing but I had not seen 80 bytes per element in the logs. With enabled DEBUG_TDMAPI following can be seen: Sep 27 20:02:34 v184 kernel: [2806213.900348] wanpipe1: Configuring Interface: w1g1 (log supress) Sep 27 20:02:34 v184 kernel: [2806213.900355] wanpipe1: Active Ch Map :0x00000004 Sep 27 20:02:34 v184 kernel: [2806213.900357] wanpipe1: First TSlot :2 Sep 27 20:02:34 v184 kernel: [2806213.900366] w1g1: TDM API ACTIVE CH 0x00000004 CHAN=2 Sep 27 20:02:34 v184 kernel: [2806213.900368] w1g1: TDM API ACTIVE CH 0x00000004 SPAN=1 CHAN=2 Sep 27 20:02:34 v184 kernel: [2806213.900370] w1g1: SPAN=1, CHAN=2 Chunk=80 Period=10 Mtu=80 Sep 27 20:02:34 v184 kernel: [2806213.900371] w1g1: conf->mtu=0 Sep 27 20:02:34 v184 kernel: [2806213.900372] w1g1: tdm_api_chunk=80, tdm_api_period=10 Sep 27 20:02:34 v184 kernel: [2806213.900374] wanpipe1: Chunk=160, Period=20, MTU=160 Sep 27 20:02:34 v184 kernel: [2806213.900398] wanpipe_tdm_api_reg(): usr_period: 20, hw_mtu_mru: 8 Sep 27 20:02:34 v184 kernel: [2806213.900400] wanpipe1: Configuring TDM API NAME=wanpipe1_if2 Qlen=5 TS=1 MTU=224 Here I found interesting these 2lines: Sep 27 20:02:34 v184 kernel: [2806213.900374] wanpipe1: Chunk=160, Period=20, MTU=160 Sep 27 20:02:34 v184 kernel: [2806213.900398] wanpipe_tdm_api_reg(): usr_period: 20, hw_mtu_mru: 8 which are result of the aft_core_prot.c 721 if (chan->wp_tdm_api_dev->cfg.usr_mtu_mru < 160) { 722 chan->tdm_api_period=20; 723 chan->wp_tdm_api_dev->cfg.usr_period=20; 724 chan->tdm_api_chunk=160; 725 chan->wp_tdm_api_dev->cfg.usr_mtu_mru=160; 726 } As I understand it, this chan->tdm_api_period=20 and chan->tdm_api_chunk=160 is the reason of 20ms increase interval measured in my tests. >> Finally, I tried to access the card more often than the default 20ms >> with default MTU:80 >> Since 80Bytes is 10ms, application was configured to read/write on >> 10ms rate with 80Bytes buffer. >> Following pseudocode ftdm_channel_read(fchan, bufferPtr, 80) failed >> with kernel error message in dmesg coming from wanpipe_tdm_api.c >> "User API Error: User Rx Len=144 < Driver Rx Len=224 (hdr=64). User >> API must increase expected rx length" >> Does it mean, that the smallest buffer used in the ftdm_channel_read() >> must be at least 160 B length even if MTU is 80 (or less) ? > > I suspect you changed the MTU to 80 but not the codec_ms to 10. If I > were you I'd stop messing around with the MTU unless you're willing to > look at the Wanpipe driver code. Not all values are meant to work for > all hardware and there are many types of hardware and many modes (API > mode, span mode, DAHDI mode etc) that can get complex to get right. > > Setting MTU to 80 (the default for TDM API mode) and codec_ms to 10 > you should not have latency bigger than 10ms. If you do, there is > something wrong with your app. The best I achieved with MTU:80 was by using txqueue_size=1 and this resulted in 60ms one-direction latency. Results were the same with wanpipe-3.5.20 and wanpipe-3.5.23. With best regards Juraj Fabo > > Moises Silva > Senior Software Engineer, Software Development Manager > Sangoma Technologies Inc. | 100 Renfrew Drive, Suite 100, Markham ON > L3R 9R6 Canada > t. 1 905 474 1990 x128 | e. moy at sangoma.com From juraj.fabo at gmail.com Wed Sep 28 16:53:17 2011 From: juraj.fabo at gmail.com (Juraj Fabo) Date: Wed, 28 Sep 2011 14:53:17 +0200 Subject: [Freeswitch-dev] MTU setting and application buffer size In-Reply-To: References: Message-ID: On Wed, Sep 28, 2011 at 8:55 AM, Juraj Fabo wrote: > Thank you for your answers. > >> ---------- Forwarded message ---------- >> From:?Moises Silva >> To:?freeswitch-dev at lists.freeswitch.org >> Date:?Thu, 22 Sep 2011 16:05:06 -0400 >> Subject:?Re: [Freeswitch-dev] MTU setting and application buffer size >> On Mon, Sep 19, 2011 at 12:30 PM, Juraj Fabo wrote: >>> Target application is reading/writing from/to another network stack >>> A-law data with 20ms frame length. >>> >>> With default MTU settings (80) I am experiencing latency which I >>> consider too high, it is about 400ms from targetApp to loopback and >>> back to targetApp. >> >> There is something wrong with your app. The MTU in wanpipeX.conf is >> meant to control the transfer size between the driver and the card, >> not between the user space app and the driver. In general, higher MTU >> means lower interrupt load. The lowest value is probably 8, which is >> used for applications working in DAHDI-mode, where one interrupt is >> received every millisecond and 8 bytes are transferred from the driver >> to the hardware and viceversa. >> >>> I think I missed some point about proper setting of MTU and consequences. >>> Decreasing the MTU configuration setting in the >>> /etc/wanpipe/wanpipe1.conf from default value 80 to e.g 40 or 16 leads >>> to desired lower latency, however, the data the targetApp is reading >>> are often corrupted with many gaps. >> >> 80 means a hardware interrupt is received every 10ms with 80 bytes per >> time slot. This is the recommended mode. A value of 40 will increase >> interrupt load and not necesarily reduce your latency, you must reduce >> the "user period", which is how often the driver will deliver >> media/data to the user application. This is done using >> sangoma_tdm_set_usr_period(). >> >>> Please, what is the proper way of setting MTU? >>> I assume I have to set the same MTU per wXg1 sections in >>> /etc/wanpipe/wanpipeX.conf files on both servers, since the serverA >>> card is providing a clock for server B cards. >>> Is it necessary to change the value of codec_ms in the >>> /usr/local/freetdm/conf/wanpipe.conf ? >> >> The codec_ms is used to call sangoma_tdm_set_usr_period(). This is how >> often the driver will deliver data to the user application (for >> example, waking it up from select()). >> >>> I also noticed following behaviour of ifconfig: >>> a. MTU set to 40 or higher in section w1g1 in wanpipe1.conf >>> ? ?also all other spans of the card which has the w1g1 (so w2g1 for >>> the dualspan and w2g1, w3g1,w4g1 for quad card) will be displayed in >>> ifconfig output with MTU: 40 >>> >>> b. MTU set to 80 or higher (e.g. 160) in section w1g1 in wanpipe1.conf >>> ? ?ifconfig will display MTU:80 also for higher values >> >> Some MTU values are disallowed, you would have to check which ones in >> the driver, I don't recall. You can't use any value, as this values >> are directly related with the capabilities of the hardware (some >> cards, like analog cards, may only accept MTU of 8 for example). >> > > > > > I did set of latency / delay measurements in reduced testenvironment. > Single server, single quad card with interconnected spans 1 and 2, > testapplication is doing dump of read and written data on both call > ends to binary files in the single thread. > Please, have a look at the results with various parameters used: > mtu:80 txqueue_size=1 ?rxqueue_size=1 ? one-direction delay=60ms > round-trip delay=120ms > mtu:80 txqueue_size=2 ?rxqueue_size=2 ? one-direction delay=80ms > round-trip delay=160ms > mtu:80 txqueue_size=10 rxqueue_size=10 one-direction delay=240ms > round-trip delay=480ms > mtu:40 txqueue_size=1 ?rxqueue_size=1 ? one-direction delay=40ms > round-trip delay=80ms > mtu:40 txqueue_size=2 ?rxqueue_size=2 ? one-direction delay=60ms > round-trip delay=120ms > mtu:40 txqueue_size=5 ?rxqueue_size=5 ? one-direction delay=120ms > round-trip delay=240ms > mtu:16 txqueue_size=1 ?rxqueue_size=1 ? one-direction delay=30ms > round-trip delay=60ms > mtu:8 ?txqueue_size=1 ? rxqueue_size=1 ? one-direction delay=25ms > round-trip delay=50ms > mtu:8 ?txqueue_size=10 rxqueue_size=10 one-direction delay=205ms > round-trip delay=410ms > > The result from these tests is that the rxqueue_size is affecting the > delay and no matter what is the MTU chunk size, increasing the > rxqueue_size by one will increase the one-direction delay by 20ms. I apologize for mistake. Here I wanted to say that txqueue_size is affecting the delay. With best regards Juraj Fabo From msc at freeswitch.org Wed Sep 28 20:12:36 2011 From: msc at freeswitch.org (Michael Collins) Date: Wed, 28 Sep 2011 09:12:36 -0700 Subject: [Freeswitch-dev] FreeSWITCH Conference Call Today Message-ID: Hello folks! We have a few items to discuss today. Here's the agenda: http://wiki.freeswitch.org/wiki/FS_weekly_2011_09_28 We have a few updates to share with everyone and we also would like to hear from you if you have been using mod_sms that just came out last week. Talk to you soon, Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110928/2cedbf47/attachment.html From msc at freeswitch.org Thu Sep 29 04:58:22 2011 From: msc at freeswitch.org (Michael Collins) Date: Wed, 28 Sep 2011 17:58:22 -0700 Subject: [Freeswitch-dev] mod_fifo.c question re: fifo count values Message-ID: I was curious about this code snippet which appears in mod_fifo.c near line 3775 and again near line 3786: len = node_caller_count(node); switch_mutex_lock(node->update_mutex); stream->write_function(stream, "%s:%d:%d:%d\n", argv[1], node->consumer_count, node_caller_count(node), len); switch_mutex_unlock(node->update_mutex); I was curious: what's the difference in the stream->write between node_caller_count(node) and len? Under what circumstances would they be different? (I'm assuming the locking of the mutex after setting the value of len may have something to do with it...) Thanks, MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110928/4cfd567a/attachment.html From dujinfang at gmail.com Thu Sep 29 08:59:39 2011 From: dujinfang at gmail.com (Seven Du) Date: Thu, 29 Sep 2011 12:59:39 +0800 Subject: [Freeswitch-dev] questions on the new mod_sms In-Reply-To: References: <8FB5B399218C4C04829DA071F604B665@gmail.com> Message-ID: <65819E89FA654014A1FA2754F365E62B@gmail.com> > > Seven, > > Let me know if you have started a wiki page yet. I would like to help get this documented. I need to write up a story on fs.org (http://fs.org) as well. I just haven't had a chance to test drive this new module, but I will definitely be doing so as soon as I can. > > -MC See http://wiki.freeswitch.org/wiki/Mod_sms It's incomplete. I haven't figured out how the "message" in lua works, e.g. message:reply or message:execute(reply, blah) etc. Maybe it's haven't been implemented or is there other ways to doing that? Anyone have better idea feel free to update the page. Thanks. 7. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110929/bb705d72/attachment-0001.html From anthony.minessale at gmail.com Thu Sep 29 19:45:40 2011 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 29 Sep 2011 10:45:40 -0500 Subject: [Freeswitch-dev] questions on the new mod_sms In-Reply-To: <65819E89FA654014A1FA2754F365E62B@gmail.com> References: <8FB5B399218C4C04829DA071F604B665@gmail.com> <65819E89FA654014A1FA2754F365E62B@gmail.com> Message-ID: message is a standard event so its the same api as always with extra method chat_execute to run the apps. message:chat_execute("reply", "you said: ${_body}"); On Wed, Sep 28, 2011 at 11:59 PM, Seven Du wrote: > > Seven, > Let me know if you have started a wiki page yet. I would like to help get > this documented. I need to write up a story on fs.org as well. I just > haven't had a chance to test drive this new module, but I will definitely be > doing so as soon as I can. > -MC > > See ?http://wiki.freeswitch.org/wiki/Mod_sms > It's incomplete. I haven't figured out how the "message" in lua works, e.g. > ?message:reply or message:execute(reply, blah) etc. ?Maybe it's haven't been > implemented or is there other ways to doing that? > Anyone have better idea feel free to update the page. > Thanks. > 7. > > _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 From anthony.minessale at gmail.com Thu Sep 29 19:59:24 2011 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 29 Sep 2011 10:59:24 -0500 Subject: [Freeswitch-dev] mod_fifo.c question re: fifo count values In-Reply-To: References: Message-ID: Nothing, Based on commit log there was a change that more or less brought both vals to the same thing so i just omitted it in latest patch. On Wed, Sep 28, 2011 at 7:58 PM, Michael Collins wrote: > I was curious about this code snippet which appears in mod_fifo.c near line > 3775 and again near line 3786: > len = node_caller_count(node); > switch_mutex_lock(node->update_mutex); > stream->write_function(stream, "%s:%d:%d:%d\n", argv[1], > node->consumer_count, node_caller_count(node), len); > switch_mutex_unlock(node->update_mutex); > I was curious: what's the difference in the stream->write between > node_caller_count(node) and len? Under what circumstances would they be > different? (I'm assuming the locking of the mutex after setting the value of > len may have something to do with it...) > Thanks, > MC > > _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900