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.
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
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
cd /usr/src/astguiclient/trunk
perl install.pl
****make sure to change the asterisk version to: 16.17.0-vici & copy sample files
cd /etc/asterisk
example: cp sip.conf.rpmsave sip.conf
do the rest too
Go to Admin > Servers > Click on the server and change the 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
How to - Fix ViciBox 11 and 12 errors Step 1 - Fix Apache errors…
Welcome to CyburDial's New Merchandise Store We are beyond excited to announce that CyburDial has…
Custom VICIdial Reports on GitHub Introducing My New GitHub Repository for Custom VICIdial Reports Hey…
How to - Fix Apache not starting on ViciBox There is a new issue with…
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…
How to - Decrease SDP(short duration percent) in ViciDial There is a new feature in…
This website uses cookies.
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?
select 1, but you should upgrade to leap 15.2 with my instructions on how to do so
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 '--'
Good catch Venka, ty