VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
pjintheusa at gmail.com Guest
|
Posted: Thu Jul 09, 2009 11:18 am Post subject: [Freeswitch-users] mod_say_en directory location |
|
|
Hi there,
I have a very simply script that speaks back some digits, as so:
session:execute("say", "en number iterated 1234");
However, to get this to work successfully I have had to move the 'digits' directory to:
C:\Program Files (x86)\Freeswitch\sounds\en
from the default:
C:\Program Files (x86)\Freeswitch\sounds\en\us\callie\digits\8000
This is a clean install of FreeSWITCH - so I am wondering why I needed to do this, what have not configured correctly?
As you can see I am using windows with a resent build (3 days) from svn.
Any help appreciated.
Thanks
Phillip Jones |
|
Back to top |
|
|
msc at freeswitch.org Guest
|
Posted: Thu Jul 09, 2009 11:53 am Post subject: [Freeswitch-users] mod_say_en directory location |
|
|
Is the call perhaps at 16kHz and it's looking for non-installed 16kHz sound files?
-MC
On Thu, Jul 9, 2009 at 9:06 AM, Phillip Jones <pjintheusa@gmail.com (pjintheusa@gmail.com)> wrote:
|
|
Back to top |
|
|
pjintheusa at gmail.com Guest
|
Posted: Thu Jul 09, 2009 1:51 pm Post subject: [Freeswitch-users] mod_say_en directory location |
|
|
Thanks for the response.
I don't think so - the trace states:
[ERR] mod_sndfile.c: 192 Error Opening File [C:\Program Files (x86)\Freeswitch\sounds\en\digits/1.wav] [System error : The system cannot find the path specified.]
I created a 16000 directory to see whether that would help, and it did not.
My C:\Program Files (x86)\Freeswitch\conf\lang\en\en.xml contains:
<include>
<language name="en" sound-path="$${base_dir}/sounds/en/us/callie" tts-engine="cepstral" tts-voice="callie">
<X-PRE-PROCESS cmd="include" data="demo/*.xml"/> <!-- Note: this now grabs whole subdir, previously grabbed only demo.xml -->
<!--voicemail_en_tts is purely implemented with tts, we have the files based one that is the default. -->
<X-PRE-PROCESS cmd="include" data="vm/sounds.xml"/> <!-- vm/tts.xml if you want to use tts and have cepstral -->
</language>
</include>
Am I correct in thinking this is where the sound file dir for digits would be specified?
On Thu, Jul 9, 2009 at 12:38 PM, Michael Collins <msc@freeswitch.org (msc@freeswitch.org)> wrote:
|
|
Back to top |
|
|
pjintheusa at gmail.com Guest
|
Posted: Thu Jul 09, 2009 3:45 pm Post subject: [Freeswitch-users] mod_say_en directory location |
|
|
Ok - forget this one - I did a fresh install from the pre-compiled windows binary/msi - referenced on the wiki - and every thing is working as it should be.
Thanks
On Thu, Jul 9, 2009 at 2:46 PM, Phillip Jones <pjintheusa@gmail.com (pjintheusa@gmail.com)> wrote:
Quote: | Thanks for the response.
I don't think so - the trace states:
[ERR] mod_sndfile.c: 192 Error Opening File [C:\Program Files (x86)\Freeswitch\sounds\en\digits/1.wav] [System error : The system cannot find the path specified.]
I created a 16000 directory to see whether that would help, and it did not.
My C:\Program Files (x86)\Freeswitch\conf\lang\en\en.xml contains:
<include>
<language name="en" sound-path="$${base_dir}/sounds/en/us/callie" tts-engine="cepstral" tts-voice="callie">
<X-PRE-PROCESS cmd="include" data="demo/*.xml"/> <!-- Note: this now grabs whole subdir, previously grabbed only demo.xml -->
<!--voicemail_en_tts is purely implemented with tts, we have the files based one that is the default. -->
<X-PRE-PROCESS cmd="include" data="vm/sounds.xml"/> <!-- vm/tts.xml if you want to use tts and have cepstral -->
</language>
</include>
Am I correct in thinking this is where the sound file dir for digits would be specified?
On Thu, Jul 9, 2009 at 12:38 PM, Michael Collins <msc@freeswitch.org (msc@freeswitch.org)> wrote:
|
|
|
Back to top |
|
|
dftoro at yahoo.com Guest
|
Posted: Fri Jul 10, 2009 10:56 am Post subject: [Freeswitch-users] mod_say_en directory location |
|
|
Hi all, This happens becouse sound_prefix variable is not used to make path to sound files, case "Language Handling: call for assistance" Diego--- On Thu, 7/9/09, Phillip Jones <pjintheusa@gmail.com> wrote: From: Phillip Jones <pjintheusa@gmail.com>Subject: Re: [Freeswitch-users] mod_say_en directory locationTo: freeswitch-users@lists.freeswitch.orgDate: Thursday, July 9, 2009, 3:38 PM Ok - forget this one - I did a fresh install from the pre-compiled windows binary/msi - referenced on the wiki - and every thing is working as it should be.Thanks On Thu, Jul 9, 2009 at 2:46 PM, Phillip Jones <pjintheusa@gmail.com (pjintheusa@gmail.com)> wrote: Thanks for the response.I don't think so - the trace states:[ERR] mod_sndfile.c: 192 Error Opening File [C:\Program Files (x86)\Freeswitch\sounds\en\digits/1.wav] [System error : The system cannot find the path specified.]I created a 16000 directory to see whether that would help, and it did not.My C:\Program Files (x86)\Freeswitch\conf\lang\en\en.xml contains:<include> <language name="en" sound-path="$${base_dir}/sounds/en/us/callie" tts-engine="cepstral" tts-voice="callie"> <X-PRE-PROCESS cmd="include" data="demo/*.xml"/> <!-- Note: this now grabs whole subdir, previously grabbed only demo.xml --> <!--voicemail_en_tts is purely implemented with tts, we have the files based one that is the default. --> <X-PRE-PROCESS cmd="include" data="vm/sounds.xml"/> <!-- vm/tts.xml if you want to use tts and have cepstral --> </language></include>Am I correct in thinking this is where the sound file dir for digits would be specified? On Thu, Jul 9, 2009 at 12:38 PM, Michael Collins <msc@freeswitch.org (msc@freeswitch.org)> wrote: Is the call perhaps at 16kHz and it's looking for non-installed 16kHz sound files?-MC On Thu, Jul 9, 2009 at 9:06 AM, Phillip Jones <pjintheusa@gmail.com (pjintheusa@gmail.com)> wrote: Hi there,I have a very simply script that speaks back some digits, as so:session:execute("say", "en number iterated 1234");However, to get this to work successfully I have had to move the 'digits' directory to:C:\Program Files (x86)\Freeswitch\sounds\enfrom the default:C:\Program Files (x86)\Freeswitch\sounds\en\us\callie\digits\8000This is a clean install of FreeSWITCH - so I am wondering why I needed to do this, what have not configured correctly?As you can see I am using windows with a resent build (3 days) from svn.Any help appreciated.ThanksPhillip Jones_______________________________________________Freeswitch-users mailing listFreeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)http://lists.freeswitch.org/mailman/listinfo/freeswitch-usersUNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|