[asterisk-bugs] [JIRA] (ASTERISK-16782) [patch] app_ivonacl.c text-to-speech application
marcin (JIRA)
noreply at issues.asterisk.org
Mon Mar 24 07:32:18 CDT 2014
[ https://issues.asterisk.org/jira/browse/ASTERISK-16782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=216766#comment-216766 ]
marcin commented on ASTERISK-16782:
-----------------------------------
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.
> [patch] app_ivonacl.c text-to-speech application
> ------------------------------------------------
>
> Key: ASTERISK-16782
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-16782
> Project: Asterisk
> Issue Type: New Feature
> Components: Applications/NewFeature
> Reporter: mkiedrowicz
> Attachments: app_ivonacl.patch
>
>
> 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).
> ****** ADDITIONAL INFORMATION ******
> 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.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list