hello friends,
when i kept in the correct path the flite directory
and flite include files
now i tried to make that now also it giveing the
problem like this
now i got this error
*****************************************************
T -c Ivr.cpp -o Ivr.o
Ivr.cpp: In member function `virtual void
IvrDialog::onSessionStart(AmRequest*)':
Ivr.cpp:243: no matching function for call to
`IvrPython::cancel()'
make[1]: *** [Ivr.o] Error 1
make[1]: Leaving directory
`/root/answer_machine/plug-in/ivr'
make: [all] Error 2 (ignored)
*****************************************************
and my make file is like this
********************************************************
plug_in_name = ivr
#
# Python specific
# (no need to change this if you want to use perl)
#
# PYTHON_VERSION might also be 2.2
# do a ls /usr/include/python2.3/Python.h to see if
it's there
#PYTHON_VERSION = 2.2
# adjust to point to python include path
# can also be /usr/include/python$(PYTHON_VERSION)
# look for Python.h in the specified path
#PYTHON_DIR = /usr/include/python$(PYTHON_VERSION)
#PYTHON_LIBDIR = /usr/lib/python$(PYTHON_VERSION)
# put used Python modules from lib-dynload here, e.g.
time, mysql etc.
#PYTHON_DYNLOAD_MODULES =
$(PYTHON_LIBDIR)/lib-dynload/time.so
#PYTHON_module_cflags = -I$(PYTHON_DIR)
#PYTHON_module_ldflags = -L$(PYTHON_LIBDIR)/config
-lpython$(PYTHON_VERSION) $(PYTHON_DYNLOAD_MODULES)
#
#
# perl specific
#
# uncomment the next lines if you want to script the
ivr with perl scripts
# put used Perl modules here, e.g. time, mysql etc.
PERL_DYNLOAD_MODULES = /usr/lib/perl/5.8/auto/IO/IO.so
/usr/lib/perl/5.8/auto/Fcntl/Fcntl.so \
/usr/lib/perl/5.8/auto/Socket/Socket.so
/usr/lib/perl/5.8/auto/DBI/DBI.so \
/usr/lib/perl/5.8/auto/Sys/Hostname/Hostname.so
/usr/lib/perl/5.8/auto/Sys/Syslog/Syslog.so \
/usr/lib/perl/5.8/auto/Sys/Syslog/Syslog.so
/usr/lib/perl5/auto/Date/Calc/Calc.so \
/usr/lib/perl/5.8/auto/MIME/Base64/Base64.so
/usr/lib/perl/5.8/auto/POSIX/POSIX.so \
/usr/lib/perl/5.8/auto/Time/HiRes/HiRes.so
/usr/lib/perl/5.8/auto/Cwd/Cwd.so \
/usr/lib/perl5/auto/Bit/Vector/Vector.so
/usr/lib/perl5/auto/DBD/mysql/mysql.so \
/usr/lib/perl/5.8/auto/Data/Dumper/Dumper.so
/usr/lib/perl/5.8/auto/File/Glob/Glob.so
PERL_module_ldflags = `perl -MExtUtils::Embed -e
ldopts` -DPERL_IMPLICIT_CONTEXT \
$(PERL_DYNLOAD_MODULES)
PERL_module_cflags = -DIVR_PERL `perl
-MExtUtils::Embed -e ccopts ` -DPERL_IMPLICIT_CONTEXT
#
# flite text to speech
#
# uncomment the next lines if you want to have flite
text-to-speech (ivr.say("Hello there"); )
FLITE_DIR = /usr/src/flite-1.2-release
ALT_FLITE_DIR = /usr/local/include/flite
IVR_TTS_module_ldflags = -L$(FLITE_DIR)/lib -lm
-lflite_cmu_us_kal -lflite_usenglish \
-lflite_cmulex -lflite
IVR_TTS_module_cflags = -I$(FLITE_DIR)/include
-I$(ALT_FLITE_DIR) -DIVR_WITH_TTS
LOCAL_INCLUDES = -I$(FLITE_DIR)/lang/usenglish
LD_FLAGS = -ldl -lpthread -lutil -lm -Xlinker
--export-dynamic -Xlinker --no-strip-discarded
module_ldflags = -ldl -lpthread -lutil -lm -Xlinker
--export-dynamic \
$(PYTHON_module_ldflags) \
$(IVR_TTS_module_ldflags) \
$(PERL_module_ldflags)
# for perl support:
# -DIVR_PERL `perl -MExtUtils::Embed -e ccopts `
# for flite text-to-speech support -DIVR_WITH_TTS
module_cflags = \
$(PYTHON_module_cflags) \
$(IVR_TTS_module_cflags) \
$(PERL_module_cflags)
include ../Makefile.app_module
--- Richard <richard(a)o-matrix.org> wrote:
Looks like you don't have flite installed, or the
flite is not in right the
directory in Makefile. If you don't need tts (text
to speech), you can just
comment out the tts section in Makefile.
Richard
-----Original Message-----
From: serusers-bounces(a)lists.iptel.org
[mailto:serusers-bounces@lists.iptel.org] On
Behalf Of ser die
Sent: Saturday, September 04, 2004 8:45 PM
To: serusers(a)lists.iptel.org; sems(a)lists.iptel.org;
sipums-support(a)lists.berlios.de
Subject: [Serusers] sems+ser+ivr
hello friends,
i have a problem in implementing the ivr with sems
i have downloaded the ivr , answer_machine with cvs
then in answer_machine/plugin/ivr
i have the following files
#
# flite text to speech
#
# uncomment the next lines if you want to have flite
text-to-speech (ivr.say("Hello there"); )
FLITE_DIR = /usr/src/flite-1.2-release
ALT_FLITE_DIR = /usr/include/flite
IVR_TTS_module_ldflags = -L$(FLITE_DIR)/lib -lm
-lflite_cmu_us_kal -lflite_usenglish \
-lflite_cmulex -lflite
IVR_TTS_module_cflags = -I$(FLITE_DIR)/include
-I$(ALT_FLITE_DIR) -DIVR_WITH_TTS
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com