Asterisk 15 And Cepstral

Home » Asterisk Users » Asterisk 15 And Cepstral
Asterisk Users No Comments

    It seems that app_swift does not work with Asterisk 15 or 16.  I
just get errors when trying to compile:

[root@pbxoficina app_swift]# ./configure checking gcc… checking swift… checking asterisk… creating Makefile
  ********************************************************
  *  Now run ‘make’ to compile app_swift                 *
  ********************************************************
[root@pbxoficina app_swift]# make

gcc -I/opt/swift/include -I/usr/include -g -Wall -fPIC -D_SWIFT_VER_6
-D_AST_VER_15 -c -o built/app_swift.o app_swift.c In file included from app_swift.c:34:0:
/usr/include/asterisk.h:219:2: error: #error “Externally compiled modules must declare AST_MODULE_SELF_SYM.”
 #error “Externally compiled modules must declare AST_MODULE_SELF_SYM.”
  ^
app_swift.c:35:1: error: expected declaration specifiers or ‘…’ before string constant
 ASTERISK_FILE_VERSION(__FILE__, “$Revision: 305000 $”)
 ^
app_swift.c:35:33: error: expected declaration specifiers or ‘…’
before string constant
 ASTERISK_FILE_VERSION(__FILE__, “$Revision: 305000 $”)
                                 ^
In file included from app_swift.c:37:0:
/opt/swift/include/swift.h:392:1: error: unknown type name ‘swift_voice’
 swift_voice * SWIFT_CALLCONV

……

    Is there a better way to use Cepstral voices for TTS on Asterisk?


Telecomunicaciones Abiertas de México S.A. de C.V. Carlos Chávez
+52 (55)8116-9161