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.
13 lines
565 B
XML
13 lines
565 B
XML
<include>
|
|
<language name="fr" say-module="fr" sound-prefix="$${sounds_dir}/fr/ca/june" tts-engine="cepstral" tts-voice="david">
|
|
<phrases>
|
|
<macros>
|
|
<X-PRE-PROCESS cmd="include" data="demo/demo.xml"/>
|
|
<!--voicemail_fr_tts is purely implemented with tts, we need a files based implementation too -->
|
|
<X-PRE-PROCESS cmd="include" data="vm/sounds.xml"/>
|
|
<X-PRE-PROCESS cmd="include" data="dir/sounds.xml"/> <!-- dir/tts.xml if you want to use tts and have cepstral -->
|
|
</macros>
|
|
</phrases>
|
|
</language>
|
|
</include>
|