Making OpenVXI run on OpenSuse (64 bit)

July 20th, 2009

Well I finished making Asterisk, OpenSuse, OpenVXI, i6net and Lumenvox work on my 64 bit OpenSuse 11.1 machine.

  1. I started by compiling 64 bit Asterisk (asterisk-1.4.26-rc4) from digiums web site. http://www.asterisk.org/
  2. I then downloaded and installed OpenVXI (vxml_V4-1_2009-06-03-64bit) from http://www.i6net.com/
  3. I followed the User’s Manual and Getting Started Manual from http://www.i6net.com/ which led me to lumenvox.
  4. I bought “A Speech Starter Kit” by following the appropriate link at http://www.lumenvox.com/partners/digium/asterisk.aspx
  5. 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…)
  6. 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

At Kinkos (aka FedEx Office)

February 26th, 2009

Well I am here a Kinkos again.  Second time this week. May pull an all nighter again.

So is life when one only has Dial-Up at home while trying to cut costs.

You may have heard I am among the unemployed through no fault of my own, just the Economy.

But I haven’t let that stop me from what I always do…. LEARN

Delving into PHP and FLEX etc. and hope to help my Brother-In-Law at the same time…..

Scott

Turning on The Light…

February 3rd, 2009

You maybe wondering what on earth has possessed me to build such a complicated assembly of High Tech STUFF.

The answer is actually relatively simple. I love to learn new High Tech technologies regardless of whether they are software or hardware related.

Turning on the Light is just an evolution or a binding of a lot of the technologies I have learned recently.

Turning on the Light Includes C#, VOIP, Asterisk, SIP, VoiceXML, Xen, VMWare, Debian, ActiveMQ, JMS etc.

Tell Me What You Think!

February 2nd, 2009