forked from Mirrors/freeswitch
4137b360cf
You can have sub macros <macros name="voicemail"><macro ...> and allow you to call it login@voicemail. Change the sound-path to sound-prefix to make it constistant with the rest of freeswitch. Also allow to set a sound-prefix to a macros, so you can override it for a specific file set. You can set say-modules="en" or whatever in the <language section to define that say module to use.
14 lines
759 B
XML
14 lines
759 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--тестовые файлы Вы звуковые файлы можно взять тут svn co http://svn.freeswitch.ru/bbv/mod_say_ru/ru/ -->
|
|
<include>
|
|
<language name="ru" sound-prefix="$${sounds_dir}/ru/RU/elena" tts-engine="cepstral" tts-voice="elena">
|
|
<phrases>
|
|
<macros>
|
|
<X-PRE-PROCESS cmd="include" data="demo/*.xml"/> <!-- Note: this now grabs whole subdir, previously grabbed only demo.xml -->
|
|
<!--voicemail_en_tts is purely implemented with tts, we have the files based one that is the default. -->
|
|
<X-PRE-PROCESS cmd="include" data="vm/sounds.xml"/> <!-- vm/tts.xml if you want to use tts and have cepstral -->
|
|
</macros>
|
|
</phrases>
|
|
</language>
|
|
</include>
|