[Freeswitch-users] Enabling new languages for Say

Brian West brian at freeswitch.org
Fri Jun 2 14:51:25 UTC 2017


I would guess mod_say_pt is not loaded.

On Fri, Jun 2, 2017 at 4:54 AM, Martin Boese <martin at maxnet.ao> wrote:

> 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
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org




-- 

*Brian West*
brian at freeswitch.org

*Twitter: @FreeSWITCH , @briankwest*

http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

Book a phone call (CST) <https://freeswitch.com/appointment>

Allison prompts for FreeSWITCH:

*https://www.gofundme.com/allison-prompts-for-freeswitch*
<https://www.gofundme.com/allison-prompts-for-freeswitch>

Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit:
/r/freeswitch <https://www.reddit.com/r/freeswitch>

*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
*Skype:*briankwest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170602/d72352fe/attachment.html>


More information about the FreeSWITCH-users mailing list