<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><pre>Thank you <b>Hector Geraldino </b>for your guide.<br><br>Mainly I use PHP so I'll try to setup a service like app with ESL and PHP support and capture the events so FS can do the callout + TTS.<br><br>Carlos. <br><br>----------------Wrote-----------<br><br>You will need a man-in-the-middle application (broker) that receives the message and converts it to actionable steps that will be performed in FS.
Of the many ways you have to do this, I can suggest you to explore the Event Socket Outbound – and particulary the Java ESL Client, although you can use pretty much any other language supported by FS. Main idea is: your application will receive the message, and using ESL will generate an outbound call using FreeSWITCH. When the call is answered it will play a message using a TTS engine (flite, cepstral, nuance, etc.), capture the input and do whatever you need with it.
The control of the call can be handled via ESL or using a dialplan.
From: <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">freeswitch-users-bounces at lists.freeswitch.org</a> [mailto:<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">freeswitch-users-bounces at lists.freeswitch.org</a>] On Behalf Of Carlos Lopez
Sent: Monday, September 24, 2012 11:12 AM
To: FreeSWITCH Users Help
Subject: [Freeswitch-users] Automatic Callout and TTS
Hi all,
I am just learning how to install and use Freeswitch and at the place where I'm working i'd like to implement a solution like callout and TTS.
The main goal is to use Freeswith as a PBX and use text based strings so the FSW can callout some customers and advise them about theit current balance so the string will be componded by a set of fields and the resulting text most be converted to phone sound to the customer, ex.
1- Event occurs on our main system server.
2- Server send a sms/E-Mail/HTTP-String to FSW, with customer phone # and string ( String will be like: "You have % credit balance on your account. Please type 1 to add credit", where % is a numeric value that will be filled up by our main system servers.
3- FSW will convert resulting text to sound call and calls the customer's phone number.
4- Customer picks up the phone and listen to the TTS sound.
Is it possible with FSW?
Thank you all for your response.
Carlos.</pre> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> </div> </div></body></html>