How to – Install Asterisk 16 on Vicidial

How to – Install Asterisk 16 on Vicidial

In this article, I will demonstrate Install Asterisk 16 on Vicidial aka vicibox 9. In theory it should also work for you CentOS lovers (bleh) too, but just change the zypper commands to yum.

Step 1 – Remove Asterisk 13 & install dependencies

zypper remove asterisk
zypper in libedit* gcc gcc-c++- bzip2 make libjansson-devel dahdi-linux-devel libxml2-tools libxml2-2 libxml2-devel libuuid-devel sqlite3-devel

modprobe dahdi
modprobe dahdi_dummy

Step 2 – Download & install Asterisk 16.17.0-vici

We can find this on the Vicidial website: http://download.vicidial.com/beta-apps/asterisk-16.17.0-vici.tar.gz

Copy the code below and paste it into your Linux CLI:

cd /usr/src/
wget http://download.vicidial.com/beta-apps/asterisk-16.17.0-vici.tar.gz
tar -xzvf asterisk-16.17.0-vici.tar.gz
cd asterisk-16.17.0-vici
./configure --libdir=/usr/lib64 --with-pjproject-bundled --with-jansson-bundled
rm menuselect.makeopts
make menuselect*
**** Go down one to applications and hit enter, go down until you find the "meetme" app and press space bar, then hit "X" ****
make && make install && make samples && make config && make basic-pbx
/usr/share/astguiclient/start_asterisk_boot.pl
Press Space bar to select [*] app_meetme and then press X

Step 3 – Run the perl install script in /usr/src/astguiclient.trunk

cd /usr/src/astguiclient/trunk
perl install.pl

****make sure to change the asterisk version to: 16.17.0-vici & copy sample files

Step 4 – cp all files that have .rmpsave in /etc/asterisk to its original version as shown below

cd /etc/asterisk
example: cp sip.conf.rpmsave sip.conf

do the rest too

Step 5 – Rebuild server via Vicidial admin

Go to Admin > Servers > Click on the server and change the Asterisk Version

Change Asterisk Version

And then change ‘Rebuild conf files’ to Y and hit submit

Now you can make sure everything is running correctly by typing the following commands and match the results to the picture below.

modprobe dahdi
dahdi_cfg -v
screen -ls
asterisk -r

Thats all there is to it. If you have any errors or problems, please let me know in the comments below or stop by our live support channel on skype. I hope this helps.

-Nox

carpenox

View Comments

  • vicibox9:~ # zypper in libedit* gcc gcc-c++- bzip2 make libjansson-devel dahdi-linux-devel libxml2-tools libxml2-2 libxml2-devel libuuid-devel sqlite3-devel
    Retrieving repository 'openSUSE-Leap-15.1-Devel-Languages-Python' metadata[error]
    Repository 'openSUSE-Leap-15.1-Devel-Languages-Python' is invalid.
    [openSUSE-Leap-15.1-Devel-Languages-Python|http://download.opensuse.org/repositories/devel:/languages:/python/openSUSE_Leap_15.1/] Valid metadata not found at specified URL
    History:
    - [openSUSE-Leap-15.1-Devel-Languages-Python|http://download.opensuse.org/repositories/devel:/languages:/python/openSUSE_Leap_15.1/] Repository type can't be determined.

    Please check if the URIs defined for this repository are pointing to a valid repository.
    Warning: Skipping repository 'openSUSE-Leap-15.1-Devel-Languages-Python' because of the above error.
    Retrieving repository 'openSUSE-Leap-15.1-PERL' metadata ..................[done]
    Building repository 'openSUSE-Leap-15.1-PERL' cache .......................[done]
    Retrieving repository 'openSUSE-Leap-15.1-PHP-Applications' metadata ......[done]
    Building repository 'openSUSE-Leap-15.1-PHP-Applications' cache ...........[done]
    Retrieving repository 'openSUSE-Leap-15.1-Update' metadata .......................................................................................................[done]
    Building repository 'openSUSE-Leap-15.1-Update' cache ............................................................................................................[done]
    Retrieving repository 'openSUSE-Leap-15.1-ViciDial' metadata .....................................................................................................[done]
    Building repository 'openSUSE-Leap-15.1-ViciDial' cache ..........................................................................................................[done]
    Retrieving repository 'openSUSE-Leap-15.1-ViciDial-Ast13' metadata ...............................................................................................[done]
    Building repository 'openSUSE-Leap-15.1-ViciDial-Ast13' cache ....................................................................................................[done]
    Some of the repositories have not been refreshed because of an error.
    Loading repository data...
    Warning: Repository 'openSUSE-Leap-15.1-Update' appears to be outdated. Consider using a different mirror or server.
    Reading installed packages...
    'bzip2' is already installed.
    No update candidate for 'bzip2-1.0.6-lp151.5.9.1.x86_64'. The highest available version is already installed.
    'libxml2-2' is already installed.
    No update candidate for 'libxml2-2-2.9.7-lp151.5.18.1.x86_64'. The highest available version is already installed.
    'libedit0' providing 'libedit*' is already installed.
    No update candidate for 'libedit0-3.1.snap20150325-lp151.3.3.x86_64'. The highest available version is already installed.
    Resolving package dependencies...
    2 Problems:
    Problem: nothing provides ksym(default:_dahdi_receive) = c1d6abda needed by voicesync-kmp-default-1.3.8_k4.12.14_lp151.28.91-lp151.1.115.x86_64
    Problem: libjansson-devel-2.13.1-lp151.29.1.x86_64 requires libjansson4 = 2.13.1, but this requirement cannot be provided

    Problem: nothing provides ksym(default:_dahdi_receive) = c1d6abda needed by voicesync-kmp-default-1.3.8_k4.12.14_lp151.28.91-lp151.1.115.x86_64
    Solution 1: deinstallation of voicesync-kmp-default-1.3.8_k4.12.14_lp151.28.91-lp151.1.113.x86_64
    Solution 2: do not install dahdi-linux-devel-3.1.0-lp151.22.1.x86_64
    Solution 3: break voicesync-kmp-default-1.3.8_k4.12.14_lp151.28.91-lp151.1.115.x86_64 by ignoring some of its dependencies

    Choose from above solutions by number or skip, retry or cancel [1/2/3/s/r/c/d/?] (c):

    What i do?

  • In step 2, need include cd asterisk-16.17.0-vici/:

    mkdir /usr/src/asterisk
    wget http://download.vicidial.com/beta-apps/asterisk-16.17.0-vici.tar.gz
    tar -xzvf asterisk-16.17.0-vici.tar.gz

    cd asterisk-16.17.0-vici/

    ./configure --libdir=/usr/lib64 --with-pjproject-bundled -with-jansson-bundled
    rm menuselect.makeopts
    make menuselect*
    **** Go down one to applications and hit enter, go down until you find the "meetme" app and press space bar, then hit "X" ****
    make && make install && make sameples && make config && make basic-pbx
    /usr/share/astguiclient/start_asterisk_boot.pl

  • ./configure --libdir=/usr/lib64 --with-pjproject-bundled --with-jansson-bundled

    # Note
    # its not single '-' , it should be '--'

Recent Posts

How to – Fix Apache not starting on ViciBox

How to - Fix Apache not starting on ViciBox There is a new issue with…

3 weeks ago

How to – Use the full functionality of the ViciDial installer by carpenox

How to - Use the full functionality of the ViciDial installer by carpenox Vicidial administrators, take note: the Carpenox Auto Installer is about to change the game. This tool transforms the usually complex setup of Vicidial into a smooth, hassle-free experience. Let…

2 months ago

How to – Decrease SDP(short duration percent) in ViciDial

How to - Decrease SDP(short duration percent) in ViciDial There is a new feature in…

2 months ago

August 2024 VICIdial Security Update

August 2024 VICIdial Security Update Please read this carefully as it contains important information regarding…

4 months ago

50% off by joining our discord!

50% off by joining our discord! Unlock 50% Off Any Item in Our Store by…

4 months ago

Empower Your Business with a White Labeled Dialer Solution from CyburDial

Empower Your Business with a White Labeled Dialer Solution from CyburDial In today's rapidly evolving…

8 months ago

This website uses cookies.