Error with Acapela TTS integration

99 views
Skip to first unread message

Fernando Ramirez

unread,
Jul 5, 2014, 11:42:06 AM7/5/14
to newfies...@googlegroups.com
I'm trying to use Acapela to tts (V.2.13.4), but I got the following error:

2014-07-05 15:17:59.397176 [ERR] mod_lua.cpp:203 /usr/share/newfies-lua/libs/texttospeech.lua:186: attempt to call global 'Acapela' (a nil value)
stack traceback:
        /usr/share/newfies-lua/libs/texttospeech.lua:186: in function 'tts'
        /usr/share/newfies-lua/libs/fsm_callflow.lua:193: in function 'playnode'
        /usr/share/newfies-lua/libs/fsm_callflow.lua:455: in function 'next_node'
        /usr/share/newfies-lua/libs/fsm_callflow.lua:177: in function 'start_call'
        /usr/share/newfies-lua/newfies.lua:87: in main chunk

So the call is hangup when is answered.


I set the following:

1) In  /usr/share/newfies/newfies_dialer/settings_local.py:


#TEXT-TO-SPEECH
#==============
TTS_ENGINE = 'ACAPELA'  # FLITE, CEPSTRAL, ACAPELA

ACCOUNT_LOGIN = 'EVAL_VAAS'
APPLICATION_LOGIN = 'EVAL_xxxxxxx'
APPLICATION_PASSWORD = 'yyyyyyy'

QUALITY = '22k'  # 22k, 8k, 8ka, 8kmu
ACAPELA_GENDER = 'W'
ACAPELA_INTONATION = 'NORMAL'

# Django-bower
# ------------
BOWER_PATH = '/usr/bin/bower'



2) And create the file /usr/share/newfies-lua/libs/acapela_config.lua:


TTS_ENGINE = 'acapela'
ACCOUNT_LOGIN = 'EVAL_VAAS'
APPLICATION_LOGIN = 'EVAL_xxxxxxx'
APPLICATION_PASSWORD = 'yyyyyyy'

QUALITY = '22k'  -- 22k, 8k, 8ka, 8kmu
ACAPELA_GENDER = 'M'
ACAPELA_INTONATION = 'NORMAL'
ACAPELA_LANG = 'ES'

3)  /etc/init.d/supervisor restart

When I use FLITE the tts works normally.

Please your help.

Areski

unread,
Jul 5, 2014, 5:16:56 PM7/5/14
to newfies...@googlegroups.com


--
You received this message because you are subscribed to the Google Groups "Newfies-Dialer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to newfies-diale...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Kind regards,
/Areski

----
Arezqui Belaid, <are...@gmail.com>
Founder at Star2Billing (www.star2billing.com)

Tel: +34650784355
Twitter: http://twitter.com/areskib
LinkedIn: http://www.linkedin.com/in/areski

Fernando Ramirez

unread,
Jul 6, 2014, 2:26:07 PM7/6/14
to newfies...@googlegroups.com
Areski, thanks so much, the solution works fine!!

James Romo

unread,
Jul 17, 2018, 10:47:13 AM7/17/18
to Newfies-Dialer
Hola Amigo,

Tengo el mismo inconveniente que se te presento hace varios años en la integración a acapela con newfies dialer, Areski te envió un enlace para corregir el problema pero el enlace ya no existe , hay posibilidad que me compartas la solución, 

Gracias,

James

Areski

unread,
Jul 17, 2018, 10:50:09 AM7/17/18
to newfies...@googlegroups.com
It might be best to use English on this list.

--
You received this message because you are subscribed to the Google Groups "Newfies-Dialer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to newfies-diale...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Kind regards,
/Areski

----
Arezqui Belaid
Founder at Star2Billing (www.star2billing.com)
& Newfies-Dialer (www.newfies-dialer.org)
Reply all
Reply to author
Forward
0 new messages