the included instructions are aimed at Freeswitch but obviously there are some location changes for FusionPBX.
Once the files have been extracted the instructions say this:
5) In order to get your system to use the installed voice prompts instead of
the default language you have to edit a couple of configuration files
so that FreeSWITCH can locate the prompts.
6) Edit /usr/src/freeswitch/conf/freeswitch.xml and add the following line within
the "phrases" section:
<X-PRE-PROCESS cmd="include" data="lang/en/*.xml"/>
Example:
<section name="phrases" description="Speech Phrase Management">
<macros>
<X-PRE-PROCESS cmd="include" data="lang/de/*.xml"/>
<X-PRE-PROCESS cmd="include" data="lang/en/*.xml"/>
<X-PRE-PROCESS cmd="include" data="lang/fr/*.xml"/>
<X-PRE-PROCESS cmd="include" data="lang/it/*.xml"/>
<X-PRE-PROCESS cmd="include" data="lang/hr/*.xml"/>
<X-PRE-PROCESS cmd="include" data="lang/ru/*.xml"/>
</macros>
</section>
however this I think is in /usr/share/freeswitch/vanilla directory and already includes the line in the Language Management section
7) Edit the file /usr/src/freeswitch/modules.conf and add the following line to the "say"
options:
say/mod_say_en
Note: Depending on the FreeSWITCH build and languages installed this might already exist
in the file.
cant find this file - but surely this should be configurable through the GUI
8) Edit the file /usr/local/freeswitch/conf/vars.xml and locate the <!-- Defaults -->
section which currently looks something like this:
<!-- Defaults -->
<X-PRE-PROCESS cmd="set" data="default_language=en"/>
<X-PRE-PROCESS cmd="set" data="default_dialect=us"/>
<X-PRE-PROCESS cmd="set" data="default_voice=callie"/>
Replace the 3 lines under the Defaults header with the following lines:
<X-PRE-PROCESS cmd="set" data="default_language=en"/>
<X-PRE-PROCESS cmd="set" data="default_dialect=gb"/>
<X-PRE-PROCESS cmd="set" data="default_voice=rachael"/>
Again this should surely be done inthe GUI - but when changed has no effect
9) Build and load the "mod_say_en" language parameter files by logging into the command
shell and running the following commands:
cd /usr/src/freeswitch
./configure
make mod_say_en-install
/usr/local/freeswitch/bin/fs_cli
reload mod_say_en
reload
Is this needed? - if so what are the correct locations and instructions>?
Any help on this would be greatly appreciated
Clive
Once the files have been extracted the instructions say this:
5) In order to get your system to use the installed voice prompts instead of
the default language you have to edit a couple of configuration files
so that FreeSWITCH can locate the prompts.
6) Edit /usr/src/freeswitch/conf/freeswitch.xml and add the following line within
the "phrases" section:
<X-PRE-PROCESS cmd="include" data="lang/en/*.xml"/>
Example:
<section name="phrases" description="Speech Phrase Management">
<macros>
<X-PRE-PROCESS cmd="include" data="lang/de/*.xml"/>
<X-PRE-PROCESS cmd="include" data="lang/en/*.xml"/>
<X-PRE-PROCESS cmd="include" data="lang/fr/*.xml"/>
<X-PRE-PROCESS cmd="include" data="lang/it/*.xml"/>
<X-PRE-PROCESS cmd="include" data="lang/hr/*.xml"/>
<X-PRE-PROCESS cmd="include" data="lang/ru/*.xml"/>
</macros>
</section>
however this I think is in /usr/share/freeswitch/vanilla directory and already includes the line in the Language Management section
7) Edit the file /usr/src/freeswitch/modules.conf and add the following line to the "say"
options:
say/mod_say_en
Note: Depending on the FreeSWITCH build and languages installed this might already exist
in the file.
cant find this file - but surely this should be configurable through the GUI
8) Edit the file /usr/local/freeswitch/conf/vars.xml and locate the <!-- Defaults -->
section which currently looks something like this:
<!-- Defaults -->
<X-PRE-PROCESS cmd="set" data="default_language=en"/>
<X-PRE-PROCESS cmd="set" data="default_dialect=us"/>
<X-PRE-PROCESS cmd="set" data="default_voice=callie"/>
Replace the 3 lines under the Defaults header with the following lines:
<X-PRE-PROCESS cmd="set" data="default_language=en"/>
<X-PRE-PROCESS cmd="set" data="default_dialect=gb"/>
<X-PRE-PROCESS cmd="set" data="default_voice=rachael"/>
Again this should surely be done inthe GUI - but when changed has no effect
9) Build and load the "mod_say_en" language parameter files by logging into the command
shell and running the following commands:
cd /usr/src/freeswitch
./configure
make mod_say_en-install
/usr/local/freeswitch/bin/fs_cli
reload mod_say_en
reload
Is this needed? - if so what are the correct locations and instructions>?
Any help on this would be greatly appreciated
Clive