[Freeswitch-users] Language settings for demo IVR

Michael Collins msc at freeswitch.org
Mon Dec 14 13:15:26 PST 2009


On Mon, Dec 14, 2009 at 11:47 AM, Dmitry Bely <dmitry.bely at gmail.com> wrote:

> I'm playing with demo IVR from FreeSwitch distribution and have a
> problem with language settings. I would like to use Russian as a
> default language for voice messages so I set in vars.xml
>
>  <X-PRE-PROCESS cmd="set" data="default_language=ru"/>
>
> and installed Russian sound files. It works almost correctly: all
> phrases are played in Russian, but not explicitly specified .wav
> files; say for
>
>    <menu name="demo_ivr"
>        invalid-sound="ivr/ivr-that_was_an_invalid_entry.wav"
>
> I have
>
> 2009-12-14 22:17:57.506305 [ERR] mod_sndfile.c:194 Error Opening File
> [/opt/freeswitch/sounds/en/us/callie/ivr/ivr-that_was_an_invalid_entry.wav]
> [System error : No such file or directory.]
>
> How to fix this and make it use the correct language?
>
> What about this in vars.xml?

<X-PRE-PROCESS cmd="set"
data="sound_prefix=$${base_dir}/sounds/en/us/callie"/>

-MC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20091214/2cd240a4/attachment-0002.html 


More information about the FreeSWITCH-users mailing list