Page 1 of 2

Need guinea pigs to test new ViciBox Server distro

PostPosted: Tue Nov 17, 2009 5:30 am
by Kumba
Need a few testers to help me debug and improve the ViciBox v.2.0 Beta releases. This version includes a number of enhancements such as the following:

- Asterisk v.1.4.21.2-vici based (1.4.27 with DAHDI shortly)
- Wanpipe Voicetime v.1.0.9 and Wanpipe v.3.4.6
- OpenSuSE v.11.1 Server OS (Kernel 2.6.27.37)
- Install ViciDial v.2.0.5 or SVN (Snapshot for offline, Current for Online)
- Integrated yast-managed firewall
- Full offline installation option
- Online update option available
- Smaller Download (~490MB)
- Two-Step process to make install quicker

Looking for a few good people who would like to donate their time. Need to test the install on varying hardware as well as all functional aspects of ViciDial. A strong understanding of debugging Linux snafu's highly recommended. Please respond in thread if you are interested.

PostPosted: Tue Nov 17, 2009 7:02 am
by gmcust3
Let us know how can we help you.

PostPosted: Sun Jan 03, 2010 7:59 pm
by ronsrussell
Sorry to be so late in responding. We will be glad to help with this testing.

New Version Available

PostPosted: Mon Jan 04, 2010 3:10 am
by Kumba
New version of the ViciBox Server is available. It can be had here:

http://download.vicidial.com/iso/vicibo ... -0.1.2.iso


What this version include:
- Asterisk v.1.4.27-vici based
- DAHDI v.2.2.1
- Wanpipe Voicetime v.1.0.9 and Wanpipe v.3.4.6
- OpenSuSE v.11.1 Server OS (Kernel 2.6.27.37)
- Install ViciDial v.2.0.5 or SVN (Snapshot for offline, Current for Online)
- Integrated yast-managed firewall
- Full offline installation option
- Online update option available
- Smaller Download (~490MB)
- Two-Step process to make install quicker

The root password is 'vicidial'.

To do an offline installation the system needs to not have a connection to the internet. If it detects one it will do an online update during the install.

To start the OS Installation you need to type 'yast2 live-installer'. There is a known problem with the license files not showing up correctly. We are attempting to correct this.

Once the OS is installed, type 'vicibox-install' to start the second stage installation wizard. Just answer the on screen prompts and the system will take care of the rest.

PostPosted: Mon Jan 04, 2010 5:39 am
by Trying
This is excellent thank you! I love the fact that you can use the latest SVN trunk!

SVN Version included

PostPosted: Tue Jan 05, 2010 12:47 am
by Kumba
The included SVN snapshot is from October 31st I believe. There will be an updated SVN snapshot included in the final release. Probably sometime in january this final version will be packaged up and released. If you are connected to the internet then yes, it will download and install the latest SVN version.

Please respond to this forum with any issues you encounter during install.

PostPosted: Tue Jan 05, 2010 4:17 am
by Trying
Hi Kumba

I am experiencing a problem when downloading the file. I have tried several times but the file stops downloading when it reaches 117mb.

PostPosted: Tue Jan 05, 2010 5:01 am
by gmcust3
Same here , I got stucked at 253 MB !!

PostPosted: Tue Jan 05, 2010 5:42 am
by mflorell
I was able to download the full 503.8 MB file without issue.

PostPosted: Tue Jan 05, 2010 6:08 pm
by Kumba
Are you using a download accelerator or auto-resume program? This is the first report we've had of this happening.

PostPosted: Tue Jan 05, 2010 6:18 pm
by gmcust3
No, Direct Download..!!!

PostPosted: Tue Jan 05, 2010 7:19 pm
by mflorell
Maybe we should consider hosting a torrent of our ISOs...

thanks

PostPosted: Sun Jan 10, 2010 11:17 am
by brett05
i have try your iso he is very nice it work like a charm
i will just add some points
the use of Asterisk v.1.4.27-vici based is not good they are many error in the cli asterisk as broken pipe message.
so what i have do :
i have do a full online instalaltion with update OS then i have do this:
******************Rm all file for Asterisk v.1.4.27*********
note:if asterisk 1.4.27 in runing so try to kill his pid or go to the cli asterisk and do "stop now".
rm -R /usr/lib/asterisk/modules/*.*
rm -R /etc/asterisk/*.*
rm -R /var/lib/asterisk/sounds/*.*
rm -R /var/lib/asterisk/quiet-mp3/*.*
rm -R /var/lib/asterisk/moh/*.*
then i have do this:
******************* To install asterisk 1.4.21.2********
mkdir /usr/src/asterisk-1.4
cd /usr/src/asterisk-1.4
wget http://downloads.digium.com/pub/asteris ... 1.2.tar.gz
wget http://downloads.digium.com/pub/zaptel/ ... 2.1.tar.gz
wget http://downloads.asterisk.org/pub/telep ... 4.9.tar.gz
tar xzf asterisk-1.4.21.2.tar.gz
tar xzf zaptel-1.4.12.1.tar.gz
tar xzf libpri-1.4.9.tar.gz
cd libpri-1.4.9
make clean; make; make install
cd ../zaptel-1.4.12.1
./configure; make clean; make; make install
cd ../asterisk-1.4.21.2
wget http://www.eflo.net/files/enter.h
wget http://www.eflo.net/files/leave.h
mv -f enter.h apps/enter.h
mv -f leave.h apps/leave.h
wget http://download.vicidial.com/asterisk-p ... c4.2.patch
patch -p1 ./codecs/gsm/Makefile 1.4-gsm-gcc4.2.patch
wget http://download.vicidial.com/conf/res_agi_defunct.patch
patch -p1 < res_agi_defunct.patch
File to patch: res/res_agi.c
wget http://download.vicidial.com/asterisk-p ... 21.2.patch
patch -p1 < moh-alpha-sort-1.4.21.2.patch
cd apps/
rm -f app_waitforsilence.c
wget http://download.vicidial.com/conf/app_waitforsilence.c
cd ../channels/
rm chan_sip.c
wget http://download.vicidial.com/conf/chan_sip.c
cd ../
./configure; make clean; make; make install
make samples
modprobe zaptel
modprobe ztdummy
then to put sound directory i have add this:
****************patch sound directory*********************
cd /usr/src/
wget http://downloads.digium.com/pub/telepho ... ent.tar.gz
wget http://downloads.digium.com/pub/telepho ... ent.tar.gz
wget http://downloads.digium.com/pub/telepho ... ent.tar.gz
wget http://downloads.digium.com/pub/telepho ... ent.tar.gz
wget http://downloads.digium.com/pub/telepho ... ent.tar.gz
wget http://downloads.digium.com/pub/telepho ... ent.tar.gz
wget http://downloads.digium.com/pub/telepho ... gsm.tar.gz
wget http://downloads.digium.com/pub/telepho ... law.tar.gz
wget http://downloads.digium.com/pub/telepho ... wav.tar.gz

# Set the sounds in place

cd /var/lib/asterisk/sounds
tar xzf /usr/src/asterisk-core-sounds-en-gsm-current.tar.gz
tar xzf /usr/src/asterisk-core-sounds-en-ulaw-current.tar.gz
tar xzf /usr/src/asterisk-core-sounds-en-wav-current.tar.gz
tar xzf /usr/src/asterisk-extra-sounds-en-gsm-current.tar.gz
tar xzf /usr/src/asterisk-extra-sounds-en-ulaw-current.tar.gz
tar xzf /usr/src/asterisk-extra-sounds-en-wav-current.tar.gz

# Grab parking file, and convert audio to native formats

wget http://public.vicidial.com/conf/conf.gsm
sox conf.gsm conf.wav
sox conf.gsm -t ul conf.ulaw
cp conf.gsm park.gsm
cp conf.ulaw park.ulaw
cp conf.wav park.wav
cd /var/lib/asterisk
ln -s moh mohmp3
mkdir mohmp3
cd mohmp3
tar xzf /usr/src/asterisk-moh-freeplay-gsm.tar.gz
tar xzf /usr/src/asterisk-moh-freeplay-ulaw.tar.gz
tar xzf /usr/src/asterisk-moh-freeplay-wav.tar.gz
rm CHANGES*
rm LICENSE*
rm .asterisk*
mkdir /var/lib/asterisk/quiet-mp3
cd /var/lib/asterisk/quiet-mp3
sox ../mohmp3/macroform-cold_day.wav macroform-cold_day.wav vol 0.25
sox ../mohmp3/macroform-cold_day.gsm macroform-cold_day.gsm vol 0.25
sox -t ul -r 8000 -c 1 ../mohmp3/macroform-cold_day.ulaw -t ul macroform-cold_day.ulaw vol 0.25
sox ../mohmp3/macroform-robot_dity.wav macroform-robot_dity.wav vol 0.25
sox ../mohmp3/macroform-robot_dity.gsm macroform-robot_dity.gsm vol 0.25
sox -t ul -r 8000 -c 1 ../mohmp3/macroform-robot_dity.ulaw -t ul macroform-robot_dity.ulaw vol 0.25
sox ../mohmp3/macroform-the_simplicity.wav macroform-the_simplicity.wav vol 0.25
sox ../mohmp3/macroform-the_simplicity.gsm macroform-the_simplicity.gsm vol 0.25
sox -t ul -r 8000 -c 1 ../mohmp3/macroform-the_simplicity.ulaw -t ul macroform-the_simplicity.ulaw vol 0.25
sox ../mohmp3/reno_project-system.wav reno_project-system.wav vol 0.25
sox ../mohmp3/reno_project-system.gsm reno_project-system.gsm vol 0.25
sox -t ul -r 8000 -c 1 ../mohmp3/reno_project-system.ulaw -t ul reno_project-system.ulaw vol 0.25
sox ../mohmp3/manolo_camp-morning_coffee.wav manolo_camp-morning_coffee.wav vol 0.25
sox ../mohmp3/manolo_camp-morning_coffee.gsm manolo_camp-morning_coffee.gsm vol 0.25
sox -t ul -r 8000 -c 1 ../mohmp3/manolo_camp-morning_coffee.ulaw -t ul manolo_camp-morning_coffee.ulaw vol 0.25

as i have see the boot vicidial in /etc/init.d/ will not run asterisk in each reboot of linux and we will need to do each time the safe asterisk start with "asterisk -vvvvvvvvvvvvgc" then when he is run do "stop now" in cli asterisk and start this:"/usr/share/astguiclient/start_asterisk_boot.pl"
or my solution is add a crontab as this:
### run screen asterisk on boot
@reboot /usr/share/astguiclient/start_asterisk_boot.pl
or you can use the /etc/init.d/boot.local
or use this commande:
# Put the init-script in place
cd /etc/init.d
wget http://public.vicidial.com/conf/vicidial
chmod 755 /etc/init.d/vicidial
chkconfig apache2 on
chkconfig vicidial on
/etc/init.d/apache2 restart
/etc/init.d/vicidial start

finally me i love the version 2.0.5 so we need to run again the perl install.pl
he is in:
perl /usr/src/astguiclient/agc_2.0.5/install.pl
choose 1.4 to the version of asterisk and type yes to the add of simple files to /etc/asterisk
then you need to run again the "/usr/share/astguiclient/ADMIN_update_server_ip.pl --old-server_ip=10.10.10.15" to change again your ip adress.
then go to the vicidial -->admin-->server and change the asterisk version to 1.4.21.2.
now all is ok :wink:

PostPosted: Sun Jan 10, 2010 4:31 pm
by mflorell
There actually seems to be no real issue with the broken pipe messages, as we have clients in production using 1.4.27 without any issues.

thanks

PostPosted: Sun Jan 10, 2010 4:35 pm
by brett05
yes i know but i have found that the version 1.4.21 is more stable i use it here in production too and no error message i have found also i use it remontly really he is very nice.
and for this version of viciopensuse really there is very good
congratulation for it .
really opensuse is very nice also with the use of yast all become so easy

PostPosted: Sun Jan 10, 2010 4:42 pm
by mflorell
We wanted to go with 1.4.27 because of Dadhi actually. Zaptel is not supported for newer kernels and we wanted to start using Dadhi.

Yes, OpenSuse is pretty good :)

PostPosted: Sun Jan 10, 2010 4:44 pm
by Michael_N
Is there any difference between dahdi and zaptel ?

thanks

PostPosted: Sun Jan 10, 2010 4:51 pm
by brett05
as i know dahdi and zaptel use the ztdummy so it will be the same
also when i have dump the instalation from the cd i see that the asterisk is compiled with dahdi and wanpipe but i have prefer zaptel so i have disable the dahdi
then i will answer Michael_N
dahdi and zaptel is the same .
in 2008 diguim has renamed the zaptel telephony interface to dahdi
and dahdi is supported by the version asterisk 1.4.22 and greater
and Zaptel 1.2 will continue to be released in new versions as bugs are found and fixed, but when DAHDI 2.0.0 is released there will be no more releases of Zaptel 1.4,and Asterisk 1.2 will be unaffected by these changes.

thanks

PostPosted: Sun Jan 10, 2010 5:08 pm
by brett05
##### Asterisk 1.4.27 with Dahdi

cd /usr/src/asterisk-1.4/
wget http://downloads.asterisk.org/pub/telep ... 6.3.tar.gz
wget http://downloads.asterisk.org/pub/telep ... rc3.tar.gz
wget http://downloads.asterisk.org/pub/telep ... 0.2.tar.gz
wget http://downloads.asterisk.org/pub/telep ... 0.2.tar.gz
wget http://downloads.asterisk.org/pub/telep ... 2.0.tar.gz
tar xvfz dahdi-tools-2.2.0.tar.gz
tar xfz dahdi-linux-2.2.0.2.tar.gz
tar xfz libpri-1.4.10.2.tar.gz
tar xfz asterisk-1.4.27-rc3.tar.gz
tar xfz asterisk-1.4.26.3.tar.gz
cd ../dahdi-linux-2.2.0.2
make
make install
cd ../dahdi-tools-2.2.0
./configure
make
make install
make config
dahdi_genconf modules
dahdi_cfg
modprobe dahdi
cd ../libpri-1.4.10.2
./configure
make
make install
cd ../asterisk-1.4.27-rc3
wget http://download.vicidial.com/asterisk-p ... c4.2.patch
wget http://download.vicidial.com/asterisk-p ... 26.2.patch
wget http://download.vicidial.com/asterisk-p ... -1.4.patch
wget http://download.vicidial.com/asterisk-p ... ence.c-1.4
wget http://download.vicidial.com/asterisk-patches/leave.h
wget http://download.vicidial.com/asterisk-patches/enter.h
mv -f enter.h apps/enter.h
mv -f leave.h apps/leave.h
patch -p1 ./codecs/gsm/Makefile 1.4-gsm-gcc4.2.patch
patch -p1 < moh-alpha-sort-1.4.26.2.patch
patch -p1 < netborder-cpd-1.4.patch
./configure
make
make install
asterisk -vvvvvvvvvvvvvvvvvvgc

PostPosted: Sun Jan 10, 2010 5:40 pm
by mflorell
Thanks for posting your install instructions :)

Dahdi is actually different from zaptel, they have made several improvements to dahdi_dummy to make it work better than ztdummy did.

Also, future Digium hardware products will only support Dahdi, and there are enhancements to Dahdi for some hardware like the TC400(hardware transcoder) that only work with Dahdi.

thanks

PostPosted: Sun Jan 10, 2010 5:56 pm
by brett05
thanks too
mflorell i have write before here a suggestion to this forum
why you don't add a chat panel to forum with prived for exemple room and free rooms ans i know http://www.phpbb.com/ have this before .
it will be a good features to vicidial forum.
for exemple this one :
http://www.123flashchat.com/phpbb_chat.html
and with simple serach in google for mod phpbb you will find more
:wink:
thanks

PostPosted: Sun Jan 10, 2010 6:01 pm
by mflorell
Well, the version of PHPBB that we are using is 5 years old and doesn't have that extension.

We are planning on moving the forums to a different server at some point in the future, maybe then we'll be able to upgrade and offer this.

PostPosted: Mon Jan 18, 2010 8:32 am
by Michael_N
when is the new vicibox released?

PostPosted: Mon Jan 18, 2010 8:34 am
by mflorell
Good Question, probably not until after there is an official release out of 2.2.0 (we are in RC3 of that right now, should have another RC out tomorrow)

PostPosted: Mon Jan 18, 2010 8:52 am
by Michael_N
ztdummy /dahdi-dummy can be used with vicibox?

PostPosted: Mon Jan 18, 2010 10:36 am
by mflorell
I believe that is the default.

Rebuilding/Recompiling libpri, zaptel, Dahdi etc

PostPosted: Mon Jan 25, 2010 7:57 pm
by techster
Hi Guys

Failed on ubuntu 8.04 because of lack of SATA support; my other server is crying for help.. but hardy is real hard with SATA :-). Thus, I installed suse-vici on a xeon 64 architecture. Few glitches:

I have 8GB RAM but it shows only 2.5 G

After installing phase 1 viz. base os, when I run the command vicibox-install, it gives me option to update it; on selecting update it says you might have to recompile libpri, zaptel etc.. how do I recompile them?

Also, why do we have to recompile it everytime? Can I make a batch script that can be called whenever OS is updated? I am assuming that keeping OS updated is a must.

Server Specs:
Xeon@2.4 on intel S5500BC original board
8GB RAM
250X2 (RAID support enterprise solution)
Intel embedded LAN with failsafe (need to know how to work about that ^_^)
SATA LG LIGHTSCRIBE DVDRW

PostPosted: Tue Feb 23, 2010 7:02 pm
by Kumba
Well the problem relating to memory not showing up above 2.5g usually has to do with a BIOS setting. I believe the setting you want to enable is memory paging since ViciBox is a 32-bit OS. If your BIOS does not support memory paging you can do a base-install of 64-bit OpenSuSE 11.1 and use the install script here: http://download.vicidial.com/opensuse/v ... ll-11.1.sh

As far as recompiling asterisk there are two methods here. The first is to run "zypper up" before the install and reboot the machine. This makes sure you are on the current kernel before installation.

The second option is to run 'vicibox-recompile' which will recompile the things most likely to change, such was zaptel, libpri, wanpipe, asterisk, etc. The only problem is this script isn't in the current version (0.1.4). It will be released in 0.1.5, which will probably become the first RC release as well as getting some over-due documentation on features.

PostPosted: Wed Feb 24, 2010 1:11 pm
by DarknessBBB
Sorry but I can't load drivers from floppy at install time. I choose "Driver=YES" but the popup window that let me choose the floppy doesn't appear at all.
And I can't fint the phpMyAdmin password :(

PostPosted: Thu Feb 25, 2010 12:35 pm
by Kumba
Try extracting the drivers to a USB memory stick and plugging it in before you boot from the CD Drive.

It should also be noted, that using any hardware that requires non-included kernel drivers will mean you have to recompile the drivers (or reinstall them) every time you change kernel revisions. There are also other problems that can arise from third-party drivers conflicting with pre-compiled kernel drivers.

What drivers are you trying to load? I am going to guess some kind of fake-raid driver like Rocket Raid or some marvell chipset derivitive. I would look at getting a more linux-compatible hardware solution myself.

PostPosted: Thu Feb 25, 2010 2:51 pm
by DarknessBBB
Kumba wrote:Try extracting the drivers to a USB memory stick and plugging it in before you boot from the CD Drive.

It should also be noted, that using any hardware that requires non-included kernel drivers will mean you have to recompile the drivers (or reinstall them) every time you change kernel revisions. There are also other problems that can arise from third-party drivers conflicting with pre-compiled kernel drivers.

What drivers are you trying to load? I am going to guess some kind of fake-raid driver like Rocket Raid or some marvell chipset derivitive. I would look at getting a more linux-compatible hardware solution myself.


Absolutely no Kumba :lol: It's a brand new 3Ware 9750-4i with 4 SAS hard disks 15.000 RPM in RAID 10.

It's natively supported only from 2.6.33 kernel, and they have, for now, drivers only for Ubuntu 8.04.4 and Suse 11.2.
BTW I've resolved this little issue waiting for the initial boot, then I've manually downloaded and loaded the .ko module from a local server. From then the installation gone smooth. But I'm freakin terrorized of upgrading with "you"...

PostPosted: Thu Feb 25, 2010 2:59 pm
by DarknessBBB
Just another little issue: dahdi seems to not load at boot time, I've to load it manually every time.

PostPosted: Fri Feb 26, 2010 2:35 am
by Kumba
What version of the OpenSuSE installer are you using? The init script by default should call dahdi_dummy. If you need it to load different modules you need to modify the init script.

As far as the driver goes that is what happens when you get brand new hardware, brand new problems. By going with older hardware you get older problems that have usually been handled. Your options are either going to be download the source for the driver and recompile it on the live-CD before the system installs, install, then copy the driver over to the installed system. There is no way to automatically upgrade the kernel with custom driver dependencies. This is one of the problems for using a non-standard kernel driver. If this raid card is not plugging into SSD drives or an SAS port expander then there was not much of a need for it with conventional hard drives. The fastest 15K drive out there at this moment only streams around 140mbps, well below the 300 offered by SAS/SATAII.

If it is an option, I would try exchanging the card for an LSI 8704ELP. This card uses the unified LSI megaraid_sas linux kernel driver that has been around in kernel for years.

PostPosted: Fri Feb 26, 2010 2:43 am
by DarknessBBB
Kumba wrote:What version of the OpenSuSE installer are you using? The init script by default should call dahdi_dummy. If you need it to load different modules you need to modify the init script.


I've used the last ViciBox Redux iso. no other cards except dahdi_dummy :-)

PostPosted: Fri Feb 26, 2010 5:47 am
by DarknessBBB
SOLVED: at row #54 of /etc/init.d/dahdi there is

system=redhat # assume redhat


Changing it to "opensuse" resolves the issue :)

PostPosted: Fri Mar 05, 2010 12:46 am
by Kumba
That is interesting. The vicibox-install script deleted the dahdi init file in order to load it correctly in the vicidial init script start-up sequence.

I take it you recompiled dahdi manually?

The new version has a script called "asterisk-recompile" that will automatically recompile asterisk and it's related utilities for you.

Should have 0.1.5 of the ViciBox Redux out over the weekend I hope. Just tracking down an AMI bug at the moment.

PostPosted: Fri Mar 05, 2010 2:31 am
by DarknessBBB
Hi Kumba, thank you for answering! Yes I had to recompile them for using a Sancoma A102 PRI card, but with very poor results as you can read in other topics (98,3%). :roll:

I don't know if I' saying illogical but, can you insert in the next release those infamous 3ware driver? :o

PostPosted: Fri Mar 05, 2010 2:42 pm
by Kumba
The new version is available here:

http://download.vicidial.com/iso/vicibo ... -0.1.5.iso


Some fixes this one includes:
- Fixed sangoma/voicetime compilation on install (didn't ask/compile before)
- Corrected permission setting on init script
- Corrected installer sequence issue

Some things added:
- Using Asterisk 1.4.28-vici
- Added an asterisk-recompile script to ease in kernel upgrades


Feel free to download and test it. I will be writing some simple installation documentation for this over the weekend. This version, unless I find more bugs, will probably be what I base the RC release on.

As far as adding custom drivers into the base distro, I'm afraid that's not really something i'm looking to do at this point. Sorry Darkness.

PostPosted: Tue Mar 09, 2010 11:48 am
by seanbrowne
Hi,

What version of AGC is on http://download.vicidial.com/iso/vicibo ... -0.1.5.iso
and if it is not 2.2.0 will the new 'online update' feature install 2.2.0?

Thanks,

Sean

PostPosted: Tue Mar 09, 2010 2:20 pm
by Kumba
The included snapshot is 2.2.0-rc4 I believe. The current SVN branch is the future 2.4 release.