Posted: Sun Apr 29, 2007 12:22 am Post subject: [asterisk-speech-rec] Upgrading...
I decided to upgrade my office server this weekend. I am now using
CentOS 5, Asterisk 1.4.4 and the newest Lumenvox 7.5 apps. I am having
a problem trying to get everything working together.
I did a new installation so I formatted the hard disk. It is the same
hardware so my Lumenvox license should work. I downloaded the RPM files
for CentOS 4 and they installed fine. Here is where the problem begins:
If I try to compile the example application I get the following error:
[root@pbxoficina examples]# make
Building file: example.cpp
g++ -w -fpermissive -Wno-deprecated -Wno-conversion -fpermissive
-Wno-unused -Wno-comment -Wno-sign-compare -Wno-conversion -Wno-reorder
-I/opt/lumenvox/engine_7.1/include -O0 -g3 -c -fmessage-length=0
-oexample.o example.cpp
example.cpp:1:26: error: LVSpeechPort.h: No such file or directory
example.cpp: In function ‘void run_decode(std::string)’:
example.cpp:17: error: ‘SOUND_FORMAT’ was not declared in this scope
example.cpp:17: error: expected `;' before ‘audio_format’
example.cpp:23: error: ‘LVSpeechPort’ was not declared in this scope
example.cpp:23: error: expected `;' before ‘port’
example.cpp:55: error: ‘port’ was not declared in this scope
example.cpp:55: error: ‘PROP_EX_SRE_SERVERS’ was not declared in this
scope
example.cpp:55: error: ‘PROP_EX_VALUE_TYPE_STRING’ was not declared in
this scope
example.cpp:67: error: ‘PROP_EX_DECODE_TIMEOUT’ was not declared in this
scope
example.cpp:67: error: ‘PROP_EX_VALUE_TYPE_INT’ was not declared in this
scope
example.cpp:67: error: ‘PROP_EX_TARGET_PORT’ was not declared in this
scope
example.cpp:71: error: ‘audio_format’ was not declared in this scope
example.cpp:88: error: ‘LV_ACTIVE_GRAMMAR_SET’ was not declared in this
scope
example.cpp:88: error: ‘LV_DECODE_BLOCK’ was not declared in this scope
example.cpp:88: error: ‘LV_DECODE_SEMANTIC_INTERPRETATION’ was not
declared in this scope
make: *** [example.o] Error 1
This is fixed by making a soft link from the engine7.5 directory to
engine7.1 so it can find the libraries. I guess someone forgot to
change the version of the include directory? After compiling I get the
following result:
[root@pbxoficina examples]# ./example 127.0.0.1
Connecting to 127.0.0.1
Interpretation 1:
8587070707
After this I tried to install my license in the server by downloading
the file from the Lumenvox site and running the "./license_mgr -m
Licence830.bts" command. As noted in the documentation I now have a
License.bts file in the bin directory but the server cannot find a valid
license:
[root@pbxoficina bin]# pwd
/opt/lumenvox/licenseserver_7.5/bin
[root@pbxoficina bin]# ls
getlvsystem_info License830.bts License.bts license_mgr
license_server Logs
[root@pbxoficina bin]# ./license_mgr -d
Failed to locate license file on this machine
And finally, I get this error when trying to start Asterisk:
asterisk: symbol lookup
error: /usr/lib/asterisk/modules/res_speech_lumenvox.so: undefined
symbol: ast_speech_register
I downloaded asterisk-1.4.x-lumenvox-support-b11-engine7.5 and copied
the .so file to the modules directory. Maybe it is not compatible with
CentOS 5? I guess this is the problem of being an early adopter but I
figured that since version 5 is already out why install 4.4.
--
Telecomunicaciones Abiertas de Mexico S.A. de C.V.
Carlos Chávez Prats
Director de Tecnología
+52-55-91169161 ext 2001
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Posted: Sun Apr 29, 2007 3:03 am Post subject: [asterisk-speech-rec] Upgrading...
Hey Carlos:
I'm new to Lumenvox, so I may be wrong about this, but
it looks like at least part of your problem may be
that you do not have your enviroment variables set
properly.
--- Carlos Chavez <cursor@telecomabmex.com> wrote:
Quote:
I decided to upgrade my office server this weekend.
I am now using
CentOS 5, Asterisk 1.4.4 and the newest Lumenvox 7.5
apps. I am having
a problem trying to get everything working together.
I did a new installation so I formatted the hard
disk. It is the same
hardware so my Lumenvox license should work. I
downloaded the RPM files
for CentOS 4 and they installed fine. Here is where
the problem begins:
If I try to compile the example application I get
the following error:
[root@pbxoficina examples]# make
Building file: example.cpp
g++ -w -fpermissive -Wno-deprecated -Wno-conversion
-fpermissive
-Wno-unused -Wno-comment -Wno-sign-compare
-Wno-conversion -Wno-reorder
-I/opt/lumenvox/engine_7.1/include -O0 -g3 -c
-fmessage-length=0
-oexample.o example.cpp
example.cpp:1:26: error: LVSpeechPort.h: No such
file or directory
example.cpp: In function ‘void
run_decode(std::string)’:
example.cpp:17: error: ‘SOUND_FORMAT’ was not
declared in this scope
example.cpp:17: error: expected `;' before
‘audio_format’
example.cpp:23: error: ‘LVSpeechPort’ was not
declared in this scope
example.cpp:23: error: expected `;' before
‘port’
example.cpp:55: error: ‘port’ was not declared
in this scope
example.cpp:55: error: ‘PROP_EX_SRE_SERVERS’ was
not declared in this
scope
example.cpp:55: error:
‘PROP_EX_VALUE_TYPE_STRING’ was not declared in
this scope
example.cpp:67: error: ‘PROP_EX_DECODE_TIMEOUT’
was not declared in this
scope
example.cpp:67: error: ‘PROP_EX_VALUE_TYPE_INT’
was not declared in this
scope
example.cpp:67: error: ‘PROP_EX_TARGET_PORT’ was
not declared in this
scope
example.cpp:71: error: ‘audio_format’ was not
declared in this scope
example.cpp:88: error: ‘LV_ACTIVE_GRAMMAR_SET’
was not declared in this
scope
example.cpp:88: error: ‘LV_DECODE_BLOCK’ was not
declared in this scope
example.cpp:88: error:
‘LV_DECODE_SEMANTIC_INTERPRETATION’ was not
declared in this scope
make: *** [example.o] Error 1
This is fixed by making a soft link from the
engine7.5 directory to
engine7.1 so it can find the libraries. I guess
someone forgot to
change the version of the include directory? After
compiling I get the
following result:
[root@pbxoficina examples]# ./example 127.0.0.1
Connecting to 127.0.0.1
Interpretation 1:
8587070707
After this I tried to install my license in the
server by downloading
the file from the Lumenvox site and running the
"./license_mgr -m
Licence830.bts" command. As noted in the
documentation I now have a
License.bts file in the bin directory but the server
cannot find a valid
license:
[root@pbxoficina bin]# pwd
/opt/lumenvox/licenseserver_7.5/bin
[root@pbxoficina bin]# ls
getlvsystem_info License830.bts License.bts
license_mgr
license_server Logs
[root@pbxoficina bin]# ./license_mgr -d
Failed to locate license file on this machine
And finally, I get this error when trying to start
Asterisk:
asterisk: symbol lookup
error:
/usr/lib/asterisk/modules/res_speech_lumenvox.so:
undefined
symbol: ast_speech_register
I downloaded
asterisk-1.4.x-lumenvox-support-b11-engine7.5 and
copied
the .so file to the modules directory. Maybe it is
not compatible with
CentOS 5? I guess this is the problem of being an
early adopter but I
figured that since version 5 is already out why
install 4.4.
--
Telecomunicaciones Abiertas de Mexico S.A. de C.V.
Carlos Chávez Prats
Director de Tecnología
+52-55-91169161 ext 2001
> _______________________________________________
--Bandwidth and Colocation provided by Easynews.com
--
asterisk-speech-rec mailing list
To UNSUBSCRIBE or update options visit:
I'm new to Lumenvox, so I may be wrong about this, but
it looks like at least part of your problem may be
that you do not have your enviroment variables set
properly.
The only thing I do not understand is where they came from. This is a
completely new installation so there was no trace of the 7.1 software on
the server. If I look at /etc/profile.d/LVRE.sh all the variables are
set to 7.5, the init.d scripts also export the same variables and they
are all set to 7.5! I have no idea what is setting them to 7.1.
--
Telecomunicaciones Abiertas de Mexico S.A. de C.V.
Carlos Chávez Prats
Director de Tecnología
+52-55-91169161 ext 2001
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum