[Freeswitch-users] Language settings for demo IVR
Michael Jerris
mike at jerris.com
Tue Dec 15 13:40:14 PST 2009
The issue is the demo ivr does not use phrase macros. The line in ru.xml is for the phrase macros. We should probably change this in the future.
Mike
On Dec 15, 2009, at 5:58 AM, Dmitry Bely wrote:
> On Tue, Dec 15, 2009 at 12:15 AM, Michael Collins <msc at freeswitch.org> wrote:
>>
>>
>> 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"/>
>
> Yes, that does the job. Thank you! But it looks a bit inconsistent.
> Path to sound files is also set in $${base_dir}/conf/lang/ru/ru.xml.
> Why duplicate the settings? And another problem is that you cannot
> easily switch the language for your voice menu.
>
> - Dmitry Bely
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
More information about the FreeSWITCH-users
mailing list