karlma / fusionpbx

Automatically exported from code.google.com/p/fusionpbx
0 stars 0 forks source link

xml_handler for languages only working for en #986

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. setup xml_handler for languages
2. add some phrases in different languages (where you have sound files)

What is the expected output? What do you see instead?
sound files should be taken from <lang>/<dialect>/<voice> directory

if you switch language, soundfiles are taken from <lang>/us/callie because 
"/us/callie" is hard coded in 
/resources/install/scripts/app/xml_handler/resources/scripts/languages/languages
.lua

What version of the product are you using? On what operating system?
Revision: 8643

Please provide any additional information below.
I tried to fix this issue but there are no parameters provided for <dialect> 
and <voice> by freeswitch to the xml_handler.
One way would be to check the lang directory for <dialect> and <voice> 
directories.

Original issue reported on code.google.com by roman.di...@gmail.com on 11 Jun 2015 at 9:32