Hi all.
I have spent some time to make a completely new language prompt set work. I first created a directory identical to callie's in sounds directory, like:
Then I added this line at the proper section in freeswitch.xml:
(The XML files of tr directory were already present and populated.)
I changed the according line in tr.xml file like this:
(I should say that there is no "say" module for Turkish that I am aware of; but this is unrelated now.)
I needed to change these variables from the GUI (which is reflected to the vars.xml correctly, so no manual work there):
Now in the IVR UI, I set "Language" of the ivr to "tr tr murat" which is already recognized in the select box. This way, I got to make prompts work in Turkish language. But changing the IVR's language back to callie from the dropdown doesn't switch prompts to English back. Promtps are always in Turkish now.
Ok, "default" vars are set to Turkish but either way one of the languages must be set default anyway; so it shouldn't have anything to do with the individual IVR's language. Can't we have multiple language prompts like "For English, press 9" to direct the caller to another IVR with another language?
What am I missing here?
I have spent some time to make a completely new language prompt set work. I first created a directory identical to callie's in sounds directory, like:
Code:
/usr/share/freeswitch/sounds/tr/tr/murat
Then I added this line at the proper section in freeswitch.xml:
Code:
<X-PRE-PROCESS cmd="include" data="languages/tr/*.xml"/>
I changed the according line in tr.xml file like this:
Code:
<language name="tr" say-module="tr" sound-prefix="$${sounds_dir}/tr/tr/murat" tts-engine="cepstral" tts-voice="murat">
I needed to change these variables from the GUI (which is reflected to the vars.xml correctly, so no manual work there):
Code:
default_language=tr
default_dialect=tr
default_voice=murat
sounds_dir=$${sounds_dir}/$${default_language}/$${default_dialect}/$${default_voice}
Now in the IVR UI, I set "Language" of the ivr to "tr tr murat" which is already recognized in the select box. This way, I got to make prompts work in Turkish language. But changing the IVR's language back to callie from the dropdown doesn't switch prompts to English back. Promtps are always in Turkish now.
Ok, "default" vars are set to Turkish but either way one of the languages must be set default anyway; so it shouldn't have anything to do with the individual IVR's language. Can't we have multiple language prompts like "For English, press 9" to direct the caller to another IVR with another language?
What am I missing here?