[Freeswitch-users] Enabling new languages for Say
Michael Jerris
mike at jerris.com
Mon Jun 5 15:03:26 UTC 2017
what log output do you get when you load mod_say? what output do you get to “show say”
> On Jun 5, 2017, at 5:53 AM, boesemar . <boesemar at gmail.com> wrote:
>
> Hi Brian,
>
> mod_say_pt is definitely loaded:
>
> > module_exists mod_say_pt
> true
>
> Can you think of any other cause for the "Invalid SAY Interface [pt]" ?
> Martin
>
> PS: sorry for breaking the thread - problem with email
>
>
> Brian West brian at freeswitch.org <http://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 <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>> 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 <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.
> >
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170605/ad5d43f5/attachment.html>
More information about the FreeSWITCH-users
mailing list