Page 1 of 1

Asterisk 11-vici Note for Scratch installs

PostPosted: Sun Sep 10, 2017 1:31 am
by travian.ck
If anyone is trying to scratch install the latest svn version of Vicidial,
do take this into account because most (atleast all the one's I've seen) of the online installation sources still don't have it.
I've also made an effort to inform those contributors as well.

My specs where I've tried are as follows:

1. CentOS 6.9 - (Later intend to try the newer version 7)

2. The Vici team has updated their Asterisk patch and is now Asterisk-11.22.00-vici

3. Vici 2.14.xx & build is 201708xx (Very stable so far :) )

Once you download the Asterisk-Vici and untar it,
first is this command 
./configure --libdir=/usr/lib64 (for 64bit OS and just ./configure for 32bit)

Error encountered will be similar to this:
Last two lines are:
checking for sqlite3_open in -lsqlite3... no
configure: error: *** Asterisk now uses SQLite3 for the internal Asterisk database

even though when you check the initial installs this is there === yum install sqlite
missing package is sqlite-devel so just yum install sqlite-devel or append it to your install manual.

Then proceed with make menuselect and don't forget to select app-meetme.

Re: Asterisk 11-vici Note for Scratch installs

PostPosted: Sun Sep 10, 2017 12:20 pm
by williamconley
Good post!

Re: Asterisk 11-vici Note for Scratch installs

PostPosted: Sun Oct 29, 2017 10:29 am
by devafree
On another note, when doing a scratch installation on Debian stretch (9), the 'make' for asterisk source will fail at tcptls.c (for previously made patch look here https://issues.asterisk.org/jira/secure ... thod.patch - this patch is already in the asterisk-11.22-vici and can be modified further instead of the below steps if you wish to go in that direction )

The way to get around this is accept a lesser secure server setup and build openssl as follows:

IF you already installed apache with openssl, then

sudo a2dismod ssl
sudo systemctl restart apache2.service
sudo apt-get remove openssl libssl-dev
sudo apt autoremove

build the openssl

sudo mkdir cd /usr/src/openssl
cd /usr/src/openssl
sudo apt-get source openssl1.0
cd openssl<src-dir> // cd into the new source directory
sudo ./config
sudo make
sudo make test
sudo make install

Now the asterisk should be built from source as expected.

Hope this may help someone.

Re: Asterisk 11-vici Note for Scratch installs

PostPosted: Sun Oct 29, 2017 11:48 am
by mflorell
Thanks for posting!

Have you tried Asterisk 13 yet?
http://vicidial.org/docs/ASTERISK_13.txt

Re: Asterisk 11-vici Note for Scratch installs

PostPosted: Sun Oct 29, 2017 7:20 pm
by devafree
Thanks! I just saw the 13.X in the perl install.pl yesterday. I will be sure to try this in the coming week and post updates.

This looks great and I appreciate the great amount of work that has gone into it.

Can we use php7.0 instead of php5.6?

Re: Asterisk 11-vici Note for Scratch installs

PostPosted: Sun Oct 29, 2017 9:06 pm
by mflorell
We have done only limited testing with PHP7, but what we tested did seem to work.