Well I finished making Asterisk, OpenSuse, OpenVXI, i6net and Lumenvox work on my 64 bit OpenSuse 11.1 machine.
- I started by compiling 64 bit Asterisk (asterisk-1.4.26-rc4) from digiums web site. http://www.asterisk.org/
- I then downloaded and installed OpenVXI (vxml_V4-1_2009-06-03-64bit) from http://www.i6net.com/
- I followed the User’s Manual and Getting Started Manual from http://www.i6net.com/ which led me to lumenvox.
- I bought “A Speech Starter Kit” by following the appropriate link at http://www.lumenvox.com/partners/digium/asterisk.aspx
- After I bought the Lumenvox kit and started to install it I realized that they don’t officially support OpenSuse in either 64 bit or 32 bit (they don’t support 64 bit at alll…)
- I then got the bright Idea of making asterisk work in either 64 bit or 32 bit on OpenSuse… And I Did…
I made a few bash scripts…
/usr/sbin/make-asterisk-32bit
#!/bin/bash
cp –copy-contents /home/scott/asterisk-32bit/modules32/* /usr/lib/asterisk/modules
cp –copy-contents /home/scott/asterisk-32bit/lib/* /lib
cp /home/scott/asterisk-32bit/extensions.conf /etc/asterisk
/usr/sbin/make-asterisk64bit
#!/bin/bash
cp –copy-contents /home/scott/asterisk-64bit/modules64/* /usr/lib/asterisk/modules
cp –copy-contents /home/scott/asterisk-64bit/lib/* /lib
cp /home/scott/asterisk-64bit/extensions.conf /etc/asterisk
As you can see I use bute force and overwrite the apporiate directorys with either the 64 bit or 32 bit content.
I already had the 64bit content (that won’t work with lumenvox) installed that was easy to copy to the above directories.
Now for the tough part. I used Xen on my 64 bit OpenSuse to install a 32 bit version of everything mentioned above.
I thern copied the 32 bit files from my Xen image to the directories above.
Now for the “startup” scripts…
/usr/sbin/startup-asterisk32
#!/bin/bash
make-asterisk-32bit
safe_openvxi
sleep 10
festival –server &
sleep 5
rcapache2 start
sleep 10
cd /home/scott/asterisk-java-1.0.0-SNAPSHOT
java -jar asterisk-java.jar &
sleep 10
cd $LV_EXE
cd bin
./license_server
sleep 10
cd $LVBIN
./LVSRE_SERVER
sleep 10
asterisk32
And the 64 bit version:
/usr/sbin/startup-asterisk64
#!/bin/bash
make-asterisk-64bit
safe_openvxi
sleep 10
festival –server &
sleep 5
rcapache2 start
sleep 10
cd /home/scott/asterisk-java-1.0.0-SNAPSHOT
java -jar asterisk-java.jar &
sleep 10
asterisk64
Here is my .bashrc
LVSRE_DIR=/opt/lumenvox/engine_7.5
LVLIB=/opt/lumenvox/engine_7.5/lib
LVBIN=/opt/lumenvox/engine_7.5/bin
LVINCLUDE=$LVSRE_DIR/include
LVRESPONSE=$LVSRE_DIR/Lang/Responses
LVLANG=$LVSRE_DIR/Lang
LV_EXE=/opt/lumenvox/licenseserver_7.5
MAC=’00:12:D2:70:A1:77′
Channel=10
export LVSRE_DIR
export LVLIB
export LVBIN
export LVINCLUDE
export LVRESPONSE
export LVLANG
export LD_LIBRARY_PATH=$LVSRE_DIR/lib:$LD_LIBRARY_PATH
export LV_EXE
export MAC
export Channel
I installed Lumenvox by using the “rrpath” tar files “license_server_7.5.306” and “LumenvoxSRE_7.5.306” which mostly install but need some dependencies I didn’t have
I forced installed these dependencies:
glibc-32bit-2.9-2.3.x86_64.rpm
krb5-libs-1.2.7-38.3.legacy.i386.rpm
libXext-1.0.99.1-2.fc11.i586.rpm
LumenVoxClient-8.6.1300-1.fc8.i386.rpm
opencv-1.0.0-22.1.x86_64.rpm
openssl-0.9.7f-7.i386.rpm
xorg-x11-ir-libXext-git-3.7.x86_64.rpm
xorg-x11-libs-32bit-6.8.2-100_100.13.x86_64.delta.rpm
xorg-x11-libs-7.4-14.1.x86_64.rpm
xorg-x11-libs-7.4-15.1.x86_64.rpm
xorg-x11-libs-7.4-8.1.x86_64.rpm
xorg-x11-libXext-7.4-1.27.x86_64.rpm
I kept trying to run “license_server” and/or “LVSRE_SERVER” after force installing the above rpms until I din’t get any errors and they worked. It’s possible that all the above “rpms” may not be necessary…. Your mileage may vary…
Good Luck