Summary:ASTERISK-16782: [patch] app_ivonacl.c text-to-speech application
Reporter:mkiedrowicz (mkiedrowicz)Labels:
Date Opened:2010-10-08 05:38:21Date Closed:2017-12-12 22:06:06.000-0600
Versions:Frequency of
Environment:Attachments:( 0) app_ivonacl.patch
Description:This plugin provides interface to IVONA TTS (www.ivona.com) through ivonacl daemon.

The design is extremely simple: Just connect to given INET socket, send text to be read, receive samples and pass them to the channel. If any DTMF frame is received, the streaming stops and DTFM code is returned.

There is no need to store generated speech in cache, speech synthesis happens in realtime.

This plugin needs ivonacl (www.ivona.com) to be installed and running. It doesn't have to run on the same host. However, because the protocol is so simple, other backends may be easily used (say, a daemon which reads speech from static files).


I have app_ivonacl.c for other Asterisk versions (1.2, 1.4. and 1.6). I can submit them if this one is accepted.
Comments:By: Leif Madsen (lmadsen) 2010-10-12 15:15:42

If you want to get this reviewed via reviewboard and get a ship it, and are willing to maintain this code, then we could give you commit access and then we could get this code into asterisk-addons or such.

By: mkiedrowicz (mkiedrowicz) 2010-10-13 07:26:06

Everything what makes integration of Asterisk with IVONA easier for users is welcome. We surely want to maintain this application as long as users will use it, demand new features (like they asked for returning DTMF code or multiple configurations in ivona.conf), report problems etc. But we also hope inclusion of app_ivonacl in Asterisk will simplify keeping it up-to-date to newest Asterisk version.

So, what should I do now?

By: Leif Madsen (lmadsen) 2010-10-14 12:51:00

At this point nothing. I will talk with the development team and let them know your intentions. That is what we wanted to hear :)

By: Rafal Kuklinski (rkuklinski) 2011-09-15 08:12:54.683-0500

Hi Leif,
Do we have any update on last point? Has any decision been taken?

By: Jeremy Kister (jkister) 2011-09-22 14:54:16.455-0500

what package/download does ivonacl come with ?

By: marcin (woru) 2014-03-24 07:32:15.477-0500

There's a bug in connect_addr_port function.
If getaddrinfo returns more than one addrinfo, connect_addr_port function opens a socket for all of them.
Only the last socket descriptor is returned and the rest remain open.

After a while limit for number of open files is exceeded and all subsequent calls to ivona fail.

By: Corey Farrell (coreyfarrell) 2017-12-12 22:06:06.886-0600

No response to code review finding of file descriptor leak.