Reinstall FreeSWITCH after new kernel?
I've read a lot about the kernel timer and how it should be on 1000hz. My clean install of Ubuntu has 100hz. So I guess I have to recompile the kernel to 1000hz? If so, does I have to reinstall FreeSWITCH after the new kernel compile? And does anyone knows of any tutorial about recompiling a Ubuntu 10.04 LTS kernel to 1000hz?
Did you test with your 100hz kernel? It might work for your scenario. On Thu, 2011-12-15 at 00:50 +0100, Henrik Aagaard Sørensen wrote:
I've read a lot about the kernel timer and how it should be on 1000hz. My clean install of Ubuntu has 100hz. So I guess I have to recompile the kernel to 1000hz?
If so, does I have to reinstall FreeSWITCH after the new kernel compile?
And does anyone knows of any tutorial about recompiling a Ubuntu 10.04 LTS kernel to 1000hz?
Henrik, I and some others have had problems with the 100Hz Ubuntu 10.04 LTS kernel. All appeared to work for some days but occasionally choppy calls occur, often only in one direction. We run a Sangoma BRI card (B700) and the problem manifests on the outgoing path. I have recently changed to the Ubuntu preemptive kernel (no kernel recompilation required!) which has the 1000Hz timer and low-latency interrupt response. After 10 days running so far, it appears to have cured the problem. Installing the pre-emptive kernel: sudo apt-get install linux-image-preempt linux-headers-preempt You will need the linux-headers-preempt if you need to rebuild kernel drivers for any hardware (which I do). You will be pleased to hear that you do not need to reinstall your FreeSWITCH installation; the whole job takes less than 5 minutes. John On 15/12/11 09:16, François Delawarde wrote:
Did you test with your 100hz kernel? It might work for your scenario.
On Thu, 2011-12-15 at 00:50 +0100, Henrik Aagaard Sørensen wrote:
I've read a lot about the kernel timer and how it should be on 1000hz. My clean install of Ubuntu has 100hz. So I guess I have to recompile the kernel to 1000hz?
If so, does I have to reinstall FreeSWITCH after the new kernel compile?
And does anyone knows of any tutorial about recompiling a Ubuntu 10.04 LTS kernel to 1000hz?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Thank you John. I'll try that. On Thu, Dec 15, 2011 at 12:08 PM, John <freeswitch@earthspike.net> wrote:
Henrik,
I and some others have had problems with the 100Hz Ubuntu 10.04 LTS kernel. All appeared to work for some days but occasionally choppy calls occur, often only in one direction. We run a Sangoma BRI card (B700) and the problem manifests on the outgoing path. I have recently changed to the Ubuntu preemptive kernel (no kernel recompilation required!) which has the 1000Hz timer and low-latency interrupt response. After 10 days running so far, it appears to have cured the problem.
Installing the pre-emptive kernel:
sudo apt-get install linux-image-preempt linux-headers-preempt
You will need the linux-headers-preempt if you need to rebuild kernel drivers for any hardware (which I do).
You will be pleased to hear that you do not need to reinstall your FreeSWITCH installation; the whole job takes less than 5 minutes.
John
On 15/12/11 09:16, François Delawarde wrote:
Did you test with your 100hz kernel? It might work for your scenario.
On Thu, 2011-12-15 at 00:50 +0100, Henrik Aagaard Sørensen wrote:
I've read a lot about the kernel timer and how it should be on 1000hz. My clean install of Ubuntu has 100hz. So I guess I have to recompile the kernel to 1000hz?
If so, does I have to reinstall FreeSWITCH after the new kernel compile?
And does anyone knows of any tutorial about recompiling a Ubuntu 10.04 LTS kernel to 1000hz?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hi, I'd like to add SSML tag to my TTS string. I am sure my TTS server supports these tags. In this example, <action application="speak" data="<voice emotion="calm"><emphasis>This is to test our text-to-speech system. </emphasis></voice>"/> Whether I use <voice emotion="calm"> or <voice emotion=\"calm\"> FS complains: unexpected closing tag </voice> If I use single quote like <voice emotion='calm'>, FS starts ok but TTS will read out the string of <voice emotion='calm'> And I notice that this string is still read out even if it is passed as double quoted ( <voice emotion="calm"> ) through my ESL app. Any advices for using SSML in unimrcp TTS string? Many thanks! Xing -- Heriot-Watt University is a Scottish charity registered under charity number SC000278. Heriot-Watt University is the Sunday Times Scottish University of the Year 2011-2012
How about using CDATA? Like this: <action application="set"><!CDATA[args=<voice emotion="calm"><emphasis>This is to test our text-to-speech system.</emphasis></voice>]]</action> <action application="speak" data="${args}"/> That's just off the top of my head so please tinker with it if it doesn't work on the first try. -MC On Thu, Dec 15, 2011 at 6:55 AM, x.liu <x.liu@hw.ac.uk> wrote:
Hi,
I'd like to add SSML tag to my TTS string. I am sure my TTS server supports these tags.
In this example,
<action application="speak" data="<voice emotion="calm"><emphasis>This is to test our text-to-speech system. </emphasis></voice>"/>
Whether I use <voice emotion="calm"> or <voice emotion=\"calm\"> FS complains: unexpected closing tag </voice>
If I use single quote like <voice emotion='calm'>, FS starts ok but TTS will read out the string of <voice emotion='calm'>
And I notice that this string is still read out even if it is passed as double quoted ( <voice emotion="calm"> ) through my ESL app.
Any advices for using SSML in unimrcp TTS string?
Many thanks!
-- Heriot-Watt University is a Scottish charity registered under charity number SC000278.
Heriot-Watt University is the Sunday Times Scottish University of the Year 2011-2012
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Thanks, Michael! Your suggestion works.(there is a typo: !CDATA should be ![CDATA ) And following two ways also work: <action application="export"><![CDATA[args=<voice emotion="calm"><emphasis>This is to test our text-to-speech system.</emphasis></voice>]]></action > this one uses single quote for data= and escape double quote: <action application="speak" data='<voice emotion=\\"calm\\"><emphasis>This is to test our text-to-speech system. </emphasis></voice>'/> But it looks like the apostrophe would be removed by FS, e.g. <action application="speak" data="if I'm wrong, how about Miro's Cantina Mexicana?"/ > From the FS terminal and log I see if Im wrong, how about Miros Cantina Mexicana? Don't know yet how to keep the apostrophe. On 12/15/2011 04:33 PM, Michael Collins wrote:
How about using CDATA? Like this:
<action application="set"><!CDATA[args=<voice emotion="calm"><emphasis>This is to test our text-to-speech system.</emphasis></voice>]]</action> <action application="speak" data="${args}"/>
That's just off the top of my head so please tinker with it if it doesn't work on the first try.
-MC
On Thu, Dec 15, 2011 at 6:55 AM, x.liu <x.liu@hw.ac.uk <mailto:x.liu@hw.ac.uk>> wrote:
Hi,
I'd like to add SSML tag to my TTS string. I am sure my TTS server supports these tags.
In this example,
<action application="speak" data="<voice emotion="calm"><emphasis>This is to test our text-to-speech system. </emphasis></voice>"/>
Whether I use <voice emotion="calm"> or <voice emotion=\"calm\"> FS complains: unexpected closing tag </voice>
If I use single quote like <voice emotion='calm'>, FS starts ok but TTS will read out the string of <voice emotion='calm'>
And I notice that this string is still read out even if it is passed as double quoted ( <voice emotion="calm"> ) through my ESL app.
Any advices for using SSML in unimrcp TTS string?
Many thanks!
-- Heriot-Watt University is a Scottish charity registered under charity number SC000278.
Heriot-Watt University is the Sunday Times Scottish University of the Year 2011-2012
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Heriot-Watt University is a Scottish charity registered under charity number SC000278. Heriot-Watt University is the Sunday Times Scottish University of the Year 2011-2012
If you use latest GIT, it uses timerfd which should work regardless of the kernel speed, ticklessness etc. 2011/12/15 Henrik Aagaard Sørensen <henrikaagaardsorensen@gmail.com>
Thank you John. I'll try that.
On Thu, Dec 15, 2011 at 12:08 PM, John <freeswitch@earthspike.net> wrote:
Henrik,
I and some others have had problems with the 100Hz Ubuntu 10.04 LTS kernel. All appeared to work for some days but occasionally choppy calls occur, often only in one direction. We run a Sangoma BRI card (B700) and the problem manifests on the outgoing path. I have recently changed to the Ubuntu preemptive kernel (no kernel recompilation required!) which has the 1000Hz timer and low-latency interrupt response. After 10 days running so far, it appears to have cured the problem.
Installing the pre-emptive kernel:
sudo apt-get install linux-image-preempt linux-headers-preempt
You will need the linux-headers-preempt if you need to rebuild kernel drivers for any hardware (which I do).
You will be pleased to hear that you do not need to reinstall your FreeSWITCH installation; the whole job takes less than 5 minutes.
John
On 15/12/11 09:16, François Delawarde wrote:
Did you test with your 100hz kernel? It might work for your scenario.
On Thu, 2011-12-15 at 00:50 +0100, Henrik Aagaard Sørensen wrote:
I've read a lot about the kernel timer and how it should be on 1000hz. My clean install of Ubuntu has 100hz. So I guess I have to recompile the kernel to 1000hz?
If so, does I have to reinstall FreeSWITCH after the new kernel compile?
And does anyone knows of any tutorial about recompiling a Ubuntu 10.04 LTS kernel to 1000hz?
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users 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@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
When was that introduced? On 15/12/11 18:15, Anthony Minessale wrote:
If you use latest GIT, it uses timerfd which should work regardless of the kernel speed, ticklessness etc.
2011/12/15 Henrik Aagaard Sørensen <henrikaagaardsorensen@gmail.com <mailto:henrikaagaardsorensen@gmail.com>>
Thank you John. I'll try that.
On Thu, Dec 15, 2011 at 12:08 PM, John <freeswitch@earthspike.net <mailto:freeswitch@earthspike.net>> wrote:
Henrik,
I and some others have had problems with the 100Hz Ubuntu 10.04 LTS kernel. All appeared to work for some days but occasionally choppy calls occur, often only in one direction. We run a Sangoma BRI card (B700) and the problem manifests on the outgoing path. I have recently changed to the Ubuntu preemptive kernel (no kernel recompilation required!) which has the 1000Hz timer and low-latency interrupt response. After 10 days running so far, it appears to have cured the problem.
Installing the pre-emptive kernel:
sudo apt-get install linux-image-preempt linux-headers-preempt
You will need the linux-headers-preempt if you need to rebuild kernel drivers for any hardware (which I do).
You will be pleased to hear that you do not need to reinstall your FreeSWITCH installation; the whole job takes less than 5 minutes.
John
On 15/12/11 09:16, François Delawarde wrote: > Did you test with your 100hz kernel? It might work for your scenario. > > > On Thu, 2011-12-15 at 00:50 +0100, Henrik Aagaard Sørensen wrote: >> I've read a lot about the kernel timer and how it should be on 1000hz. >> My clean install of Ubuntu has 100hz. So I guess I have to recompile >> the kernel to 1000hz? >> >> >> If so, does I have to reinstall FreeSWITCH after the new kernel >> compile? >> >> >> And does anyone knows of any tutorial about recompiling a Ubuntu 10.04 >> LTS kernel to 1000hz? > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting@freeswitch.org <mailto:consulting@freeswitch.org> > http://www.freeswitchsolutions.com > > FreeSWITCH-powered IP PBX: The CudaTel Communication Server > http://www.cudatel.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://wiki.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users 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@hotmail.com <mailto:MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com <mailto:PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <mailto:sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (6)
-
Anthony Minessale
-
François Delawarde
-
Henrik Aagaard Sørensen
-
John
-
Michael Collins
-
x.liu