[Freeswitch-users] How to use TTS/flite via mod_socket
Hector.Geraldino at ipsoft.com
Mon Jul 30 23:08:30 MSD 2012
I don't know what API you're using to handle ESL connections, but in general all you need to do is to send an execute command with sendmsg:
execute-app-arg: flite|kal|Hello world
From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Leonardo
Sent: Monday, July 30, 2012 2:55 PM
To: freeswitch-users at lists.freeswitch.org
Subject: [Freeswitch-users] How to use TTS/flite via mod_socket
I compiled the mod_flite and it is working on my Freeswitch.
I added the following dialplan:
<condition field="destination_number" expression="^9886$">
<action application="set" data="tts_engine=flite"/>
<action application="set" data="tts_voice=kal"/>
<action application="speak" data="This is flite on FreeSWITCH"/>
Is there a way to "speak" in a "connected" call based on UUID and using a mod_event_socket?
Leonardo N. S. Pereira, Software Engineer
T:+55.19.3112-1200 ext. 1283|F:+55.19.3207-1437
DaitanGroup|www.daitangroup.com<http://www.daitangroup.com/>|Highly Reliable Outsourcing. Value Added Services Worldwide.
Privileged and confidential. If this message has been received in error, please notify sender and delete it immediately.
Conteúdo confidencial. Se esta mensagem foi recebida por engano, favor avisar o remetente e apagá-la imediatamente.
-------------- next part --------------
An HTML attachment was scrubbed...
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users