[Freeswitch-users] Enabling new languages for Say

Martin Boese martin at maxnet.ao
Fri Jun 2 09:54:57 UTC 2017


Hi!

FreeSWITCH Version 1.6.15-32-bec4538~64bit (-32-bec4538 64bit)
Debian Jessie. Vanilla config.

I am trying to enable portuguese to say numbers using dptools "Say".

This is what I did:
 - Module mod_say_pt is loaded
 - in freeswitch.xml
   include lang/pt/pt_PT.xml
 - Downloaded sounds from
   https://github.com/jpawlowski/freeswitch-sounds-ttsand placed them
   into /usr/share/freeswitch/sounds
   Directory structure is now like: /pt/tts/google/ascii/16000/...

CLI> say_string t.wav pt NUMBER pronounced 123
[ERR] switch_xml.c:3180 Can't find phrases tag

..I found out that lang/pt_PT.xml seems to be missing the
<phrases><macros> tags within the <language> tag (vanilla config). I
fixed that.

Now:
CLI> say_string t.wav pt NUMBER pronounced 123
[ERR] switch_ivr.c:3726 Invalid SAY Interface [pt]!

BTW: English works fine:
CLI> say_string t.wav en NUMBER pronounced 123
file_string://digits/1.wav!digits/hundred.wav!digits/20.wav!digits/3.wav

I also tried other languages but have same error "Invalid SAY
Interface".

What am I missing. Please help.

Thanks,
Martin



More information about the FreeSWITCH-users mailing list