Thats weird, its in more than en and ru, its also in es_ar, he, pl, and sv.

Not sure why whoever wrote the other language mods never added that part.  If anyone wants to toss me a pull request on fixing this, I’d be happy to look at it.

On Jun 7, 2017, at 5:22 AM, boesemar . <boesemar@gmail.com> wrote:

Fixed!

It seems that just say_string on the CLI is only available for en and ru. Also mentioned here:
https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_say

Application 'say' from the dialplan is in fact working... all good :)

Martin

On Mon, Jun 5, 2017 at 10:53 AM, boesemar . <boesemar@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
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>


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org