{"id":520,"date":"2016-03-30T11:17:56","date_gmt":"2016-03-30T11:17:56","guid":{"rendered":"http:\/\/crmtiger.com\/blog\/?p=520"},"modified":"2024-06-13T11:00:07","modified_gmt":"2024-06-13T11:00:07","slug":"vicidial-installation-on-centos-guide","status":"publish","type":"post","link":"https:\/\/crmtiger.com\/blog\/vicidial-installation-on-centos-guide\/","title":{"rendered":"Vicidial Installation on Centos Guide"},"content":{"rendered":"<h4 style=\"color: #f65b0b;\"><span style=\"text-decoration: underline;\">Scratch Install Vicibox on CentOS \u2013 TextMode<\/span><\/h4>\n<p>==========================================<br \/>\n<strong>Prerequisites\u00a0<\/strong><br \/>\n&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br \/>\nOperatin System installed (Centos 6.5 or latest version)<\/p>\n<p>Step 1: Centos 6.5. installation<\/p>\n<p>Centos 5.9 ISO download link<\/p>\n<p>http:\/\/isoredirect.centos.org\/centos\/6\/isos\/x86_64\/<\/p>\n<p>You can use any one of the above download links.<\/p>\n<p><strong>Steps Involved\u00a0 \u00a0<\/strong><br \/>\n&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br \/>\n1. Dependicies installation for vicidial asterisk<\/p>\n<p>2. asterisk, Dahdi, and libpri installation<\/p>\n<p>3. VIP installation<\/p>\n<p>Step 1: Dependicies Installations for Vicidial &amp; Asterisk<\/p>\n<p>-&gt; ssh the server using software putty from a PC<\/p>\n<p>&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br \/>\n<strong>Update the Os \u00a0<\/strong><br \/>\n&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br \/>\nyum -y update<br \/>\nreboot<br \/>\n&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<\/p>\n<p><strong>Dependicises \u00a0<\/strong><br \/>\n&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br \/>\nInstall the Following software<\/p>\n<p>yum install gcc gcc-c++ php php-devel php-gd gd-devel php-mbstring php-mcrypt php-imap php-ldap php-mysql php-odbc php-pear php-xml php-xmlrpc curl curl-devel perl-libwww-perl ImageMagick libxml2 libxml2-devel httpd libpcap libpcap-devel ncurses ncurses-devel screen sox mysql-server mysql-devel ntp kernel-devel mutt<\/p>\n<p>&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br \/>\n<strong>Settingup Mysql \u00a0<\/strong><br \/>\n&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br \/>\nmysql_install_db<br \/>\n\/etc\/init.d\/mysqld start<\/p>\n<p>&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br \/>\n<strong>CPAN module installation \u00a0<\/strong><br \/>\n&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br \/>\nperl -MCPAN -e shell<\/p>\n<p>You will then go through CPAN setup;<\/p>\n<p>just hit ENTER for most prompts except<\/p>\n<p>For the mirrors list, you will want to select at least 4 mirrors.<\/p>\n<p>Yes, for manual configuration.<\/p>\n<p>Enter for the next 18 prompts.<\/p>\n<p>For the \u201cmake install\u201d option, it\u2019s a good idea to add UNINST=1.<\/p>\n<p>Enter for the next 4 prompts.<\/p>\n<p>Select your continent and country.<\/p>\n<p>Select a few C-pan mirrors.<\/p>\n<p>Enter for the next two prompts.<\/p>\n<p>Once you see the cpan&gt; prompt, you can begin installing modules.<br \/>\n####################<br \/>\ninstall MD5<br \/>\ninstall Digest::MD5<br \/>\ninstall Digest::SHA1<br \/>\ninstall readline\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (just hit Enter when it asks for operator)<br \/>\ninstall Bundle::CPAN<br \/>\nreload cpan<br \/>\ninstall Pod::Usage<br \/>\ninstall Getopt::Long<br \/>\ninstall DBI<br \/>\nforce install DBD::mysql<br \/>\ninstall Net::Telnet<br \/>\ninstall Time::HiRes<br \/>\ninstall Net::Server<br \/>\ninstall Mail::Sendmail<br \/>\ninstall Unicode::Map<br \/>\ninstall Jcode<br \/>\ninstall Spreadsheet::WriteExcel<br \/>\ninstall OLE::Storage_Lite<br \/>\ninstall Proc::ProcessTable<br \/>\ninstall IO::Scalar<br \/>\nforce install Scalar::Util<br \/>\ninstall Spreadsheet::ParseExcel<br \/>\ninstall Archive::Zip<br \/>\ninstall Compress::Raw::Zlib<br \/>\ninstall Spreadsheet::XLSX<br \/>\ninstall Test::Tester<br \/>\ninstall Spreadsheet::ReadSXC<br \/>\ninstall Text::CSV<br \/>\ninstall Test::NoWarnings<br \/>\ninstall Text::CSV_PP<br \/>\ninstall File::Temp<br \/>\ninstall Text::CSV_XS<br \/>\ninstall Spreadsheet::Read<br \/>\ninstall LWP::UserAgent<br \/>\ninstall HTML::Entities<br \/>\ninstall HTML::Strip<br \/>\ninstall HTML::FormatText<br \/>\ninstall HTML::TreeBuilder<br \/>\ninstall Switch<br \/>\ninstall Time::Local<br \/>\ninstall MIME::Decoder<br \/>\ninstall Mail::POP3Client<br \/>\ninstall Mail::IMAPClient<br \/>\ninstall Mail::Message<br \/>\ninstall IO::Socket::SSL<br \/>\nquit<br \/>\n&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br \/>\n<strong>Installing the Asterisk-Perl module \u00a0<\/strong><br \/>\n&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br \/>\ncd \/usr\/src<br \/>\nwget http:\/\/download.vicidial.com\/required-apps\/asterisk-perl-0.08.tar.gz<br \/>\ntar -xvzf asterisk-perl-0.08.tar.gz<br \/>\ncd asterisk-perl-0.08<br \/>\nperl Makefile.PL<br \/>\nmake all<br \/>\nmake install<br \/>\n&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br \/>\n<strong>Addinitonal Softwares (Lame,ttyload,mtop,sipsak,eaccelerator&#8230;.) \u00a0<\/strong><br \/>\n&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br \/>\ndownload all to usr\/src directory<br \/>\ncd \/usr\/src<br \/>\nwget http:\/\/downloads.sourceforge.net\/project\/lame\/lame\/3.98.2\/lame-398-2.tar.gz<br \/>\nwget http:\/\/download.vicidial.com\/required-apps\/ttyload-0.5.tar.gz<br \/>\nwget http:\/\/www.ex-parrot.com\/~pdw\/iftop\/download\/iftop-0.17.tar.gz<br \/>\nwget http:\/\/download.vicidial.com\/required-apps\/mtop-0.6.6.tar.gz<br \/>\nwget http:\/\/jeremy.zawodny.com\/mysql\/mytop\/mytop-1.6.tar.gz<br \/>\nwget http:\/\/download.vicidial.com\/required-apps\/sipsak-0.9.6-1.tar.gz<br \/>\nwget http:\/\/download.vicidial.com\/required-apps\/pl241src.tar.gz<br \/>\nwget http:\/\/download.vicidial.com\/required-apps\/eaccelerator-0.9.5.3.tar.bz2<\/p>\n<p>Untar All<br \/>\ncd \/usr\/src<br \/>\ntar -xvzf lame-398-2.tar.gz<br \/>\ntar -xvzf ttyload-0.5.tar.gz<br \/>\ntar -xvzf iftop-0.17.tar.gz<br \/>\ntar -xvzf mtop-0.6.6.tar.gz<br \/>\ntar -xvzf mytop-1.6.tar.gz<br \/>\ntar -xvzf sipsak-0.9.6-1.tar.gz<br \/>\ntar -xvzf pl241src.tar.gz<br \/>\ntar -xvjf eaccelerator-0.9.5.3.tar.bz2<\/p>\n<p>Install the softwares<br \/>\ncd \/usr\/src\/lame-398-2<br \/>\n.\/configure (or .\/conf)<br \/>\nmake<br \/>\nmake install<\/p>\n<p>cd \/usr\/src\/ttyload-0.5<br \/>\nmake<br \/>\nmake install<\/p>\n<p>cd \/usr\/src\/iftop-0.17<br \/>\n.\/configure (or .\/conf)<br \/>\nmake<br \/>\nmake install<\/p>\n<p>cd \/usr\/src\/mtop-0.6.6<br \/>\nperl Makefile.PL<br \/>\nmake<br \/>\nmake install<\/p>\n<p>cd \/usr\/src\/mytop-1.6<br \/>\nperl Makefile.PL<br \/>\nmake<br \/>\nmake install<\/p>\n<p>cd \/usr\/src\/sipsak-0.9.6-1<br \/>\n.\/configure (or .\/conf)<br \/>\nmake<br \/>\nmake install<\/p>\n<p>cd \/usr\/src\/pl241src\/src<br \/>\nmake<br \/>\nmake install<br \/>\nmkdir -p \/var\/www\/html\/vicidial\/ploticus\/<br \/>\ncp pl \/var\/www\/html\/vicidial\/ploticus\/<\/p>\n<p>cd \/usr\/src\/eaccelerator-0.9.5.3<\/p>\n<p>export PHP_PREFIX=&#8221;\/usr&#8221;<br \/>\n$PHP_PREFIX\/bin\/phpize<br \/>\n.\/configure &#8211;enable-eaccelerator=shared &#8211;with-php-config=$PHP_PREFIX\/bin\/php-config<br \/>\nmake<br \/>\nmake install<br \/>\n&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br \/>\n<strong>PHP Settings \u00a0<\/strong><br \/>\n&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br \/>\nvi \/etc\/php.ini<br \/>\nsearch for below words and change (hint press \/ and type the word to search and press n to next<\/p>\n<p>error_reporting\u00a0 =\u00a0 E_ALL &amp; ~E_NOTICE<br \/>\nmemory_limit = 48M<br \/>\nshort_open_tag = On<br \/>\nmax_execution_time = 330<br \/>\nmax_input_time = 360<br \/>\npost_max_size = 48M<br \/>\nupload_max_filesize = 42M<br \/>\ndefault_socket_timeout = 360<\/p>\n<p>save and exit<\/p>\n<p>vi \/etc\/php.ini<br \/>\nsearch for the line<\/p>\n<p>;;;;;;;;;;;;;;;;;;;;;;<\/p>\n<p>; Dynamic Extensions ;<\/p>\n<p>;;;;;;;;;;;;;;;;;;;;;;<\/p>\n<p>and add the below setting under the Dynamic Extensions<\/p>\n<p>;;;;;;;;;;;;;;;;;;;;;;<\/p>\n<p>; Dynamic Extensions ;<\/p>\n<p>;;;;;;;;;;;;;;;;;;;;;;<br \/>\nzend_extension=&#8221;\/usr\/lib\/php\/modules\/eaccelerator.so&#8221;<br \/>\neaccelerator.shm_size=&#8221;48&#8243;<br \/>\neaccelerator.cache_dir=&#8221;\/tmp\/eaccelerator&#8221;<br \/>\neaccelerator.enable=&#8221;1&#8243;<br \/>\neaccelerator.optimizer=&#8221;1&#8243;<br \/>\neaccelerator.check_mtime=&#8221;1&#8243;<br \/>\neaccelerator.debug=&#8221;0&#8243;<br \/>\neaccelerator.filter=&#8221;&#8221;<br \/>\neaccelerator.shm_max=&#8221;0&#8243;<br \/>\neaccelerator.shm_ttl=&#8221;0&#8243;<br \/>\neaccelerator.shm_prune_period=&#8221;0&#8243;<br \/>\neaccelerator.shm_only=&#8221;0&#8243;<br \/>\neaccelerator.compress=&#8221;1&#8243;<br \/>\neaccelerator.compress_level=&#8221;9&#8243;<br \/>\n&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br \/>\n<strong>Eaccelerator setting \u00a0<\/strong><br \/>\n&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br \/>\nmkdir \/tmp\/eaccelerator<br \/>\nchmod 0777 \/tmp\/eaccelerator<\/p>\n<p>&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br \/>\n<strong>settings up web config for vicidial \u00a0<\/strong><br \/>\n&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br \/>\nvi \/etc\/httpd\/conf\/httpd.conf<br \/>\nchange<\/p>\n<p>CustomLog logs\/access_log common<br \/>\nto<br \/>\nCustomLog \/dev\/null common<\/p>\n<p>To enable web browsing of Recordings on Asterisk server, add this at last line:<\/p>\n<p>Alias \/RECORDINGS\/ &#8220;\/var\/spool\/asterisk\/monitorDONE\/&#8221;<\/p>\n<p>&lt;Directory &#8220;\/var\/spool\/asterisk\/monitorDONE&#8221;&gt;<br \/>\nOptions Indexes MultiViews<br \/>\nAllowOverride None<br \/>\nOrder allow,deny<br \/>\nAllow from all<br \/>\n&lt;files *.mp3&gt;<br \/>\nForcetype application\/forcedownload<br \/>\n&lt;\/files&gt;<br \/>\n&lt;\/Directory&gt;<\/p>\n<p>save and exit<\/p>\n<p>run<br \/>\n\/etc\/init.d\/httpd restart<\/p>\n<p>&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br \/>\n<strong>Step 2: Asterisk , Dahdi &amp; Libpri installation \u00a0<\/strong><br \/>\n&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<\/p>\n<p>mkdir \/usr\/src\/asterisk<br \/>\ncd \/usr\/src\/asterisk<br \/>\n**Note asterisk 1.8 or asterisk 1.4 the installation is same. so decide which once you want and download the source file<br \/>\n** Asterisk 1.4 tested and supported by vicidial<br \/>\n** Asterisk 1.8 for vicidial\u00a0 is still in Beta , use under your own risk<br \/>\nFor asterisk 1.8<br \/>\nwget http:\/\/download.vicidial.com\/required-apps\/asterisk-1.8.23.0-vici.tar.gz<br \/>\nFor asterisk 1.4<br \/>\nwget http:\/\/download.vicidial.com\/required-apps\/asterisk-1.4.39.1-vici.tar.gz<\/p>\n<p>Dahdi &amp; Libpri<br \/>\nwget http:\/\/downloads.digium.com\/pub\/telephony\/dahdi-linux-complete\/dahdi-linux-complete-current.tar.gz<br \/>\nwget http:\/\/downloads.asterisk.org\/pub\/telephony\/libpri\/libpri-current.tar.gz<\/p>\n<p>untar and installation<br \/>\ntar -xvzf asterisk-1.8.23.0-vici.tar.gz<br \/>\ntar -xvzf dahdi-linux-complete-current.tar.gz<br \/>\ntar -xvzf libpri-current.tar.gz<\/p>\n<p>LibPri installation<br \/>\ncd \/usr\/src\/asterisk<br \/>\ncd libpri-1.4.14 (Or latest version of libpri-****)<br \/>\nmake clean<br \/>\nmake<br \/>\nmake install<\/p>\n<p>Dahdi Installation<br \/>\ncd \/usr\/src\/asterisk\/<br \/>\ncd dahdi-linux-complete-2.6.2+2.6.2\/\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &#8211;&gt; as of apr2013 my current dahdi version is 2.6.2<br \/>\nmake all<br \/>\nmake install<br \/>\nmake config<\/p>\n<p>Asterisk Installation<br \/>\n** follow same for asterisk 1.4<br \/>\ncd \/usr\/src\/asterisk-1.8.23.0-vici<br \/>\n.\/configure<br \/>\nmake clean<br \/>\nmake<br \/>\nmake install<br \/>\nmake samples<br \/>\n&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br \/>\n<strong>Enabling the asterisk to start at startup\u00a0<\/strong><br \/>\n&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br \/>\ncp \/usr\/src\/asterisk\/asterisk-1.8.23.0-vici\/contrib\/init.d\/rc.redhat.asterisk \/etc\/init.d\/asterisk<br \/>\nchkconfig &#8211;add asterisk<br \/>\n&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br \/>\n<strong>Installing Sound files \u00a0<\/strong><br \/>\n&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br \/>\ndownloading the sound files<br \/>\ncd \/usr\/src<br \/>\nwget http:\/\/downloads.asterisk.org\/pub\/telephony\/sounds\/asterisk-core-sounds-en-ulaw-current.tar.gz<br \/>\nwget http:\/\/downloads.asterisk.org\/pub\/telephony\/sounds\/asterisk-core-sounds-en-wav-current.tar.gz<br \/>\nwget http:\/\/downloads.asterisk.org\/pub\/telephony\/sounds\/asterisk-core-sounds-en-gsm-current.tar.gz<br \/>\nwget http:\/\/downloads.asterisk.org\/pub\/telephony\/sounds\/asterisk-extra-sounds-en-ulaw-current.tar.gz<br \/>\nwget http:\/\/downloads.asterisk.org\/pub\/telephony\/sounds\/asterisk-extra-sounds-en-wav-current.tar.gz<br \/>\nwget http:\/\/downloads.asterisk.org\/pub\/telephony\/sounds\/asterisk-extra-sounds-en-gsm-current.tar.gz<br \/>\nwget http:\/\/downloads.asterisk.org\/pub\/telephony\/sounds\/asterisk-moh-opsound-gsm-current.tar.gz<br \/>\nwget http:\/\/downloads.asterisk.org\/pub\/telephony\/sounds\/asterisk-moh-opsound-ulaw-current.tar.gz<br \/>\nwget http:\/\/downloads.asterisk.org\/pub\/telephony\/sounds\/asterisk-moh-opsound-wav-current.tar.gz<\/p>\n<p>Setting the sounds in place<br \/>\ncd \/var\/lib\/asterisk\/sounds<br \/>\ntar -zxf \/usr\/src\/asterisk-core-sounds-en-gsm-current.tar.gz<br \/>\ntar -zxf \/usr\/src\/asterisk-core-sounds-en-ulaw-current.tar.gz<br \/>\ntar -zxf \/usr\/src\/asterisk-core-sounds-en-wav-current.tar.gz<br \/>\ntar -zxf \/usr\/src\/asterisk-extra-sounds-en-gsm-current.tar.gz<br \/>\ntar -zxf \/usr\/src\/asterisk-extra-sounds-en-ulaw-current.tar.gz<br \/>\ntar -zxf \/usr\/src\/asterisk-extra-sounds-en-wav-current.tar.gz<\/p>\n<p>mkdir \/var\/lib\/asterisk\/mohmp3<br \/>\nmkdir \/var\/lib\/asterisk\/quiet-mp3<br \/>\nmkdir \/var\/lib\/asterisk\/default<br \/>\ncd \/var\/lib\/asterisk<br \/>\nln -s mohmp3 default<br \/>\nln -s moh mohmp3<br \/>\ncd mohmp3<br \/>\ntar -zxf \/usr\/src\/asterisk-moh-opsound-gsm-current.tar.gz<br \/>\ntar -zxf \/usr\/src\/asterisk-moh-opsound-ulaw-current.tar.gz<br \/>\ntar -zxf \/usr\/src\/asterisk-moh-opsound-wav-current.tar.gz<br \/>\nrm -rf CHANGES*<br \/>\nrm -rf LICENSE*<br \/>\nrm -rf CREDITS*<br \/>\ncd \/var\/lib\/asterisk\/moh<br \/>\nrm -rf CHANGES*<br \/>\nrm -rf LICENSE*<br \/>\nrm -rf CREDITS*<br \/>\ncd \/var\/lib\/asterisk\/sounds<br \/>\nrm -rf CHANGES*<br \/>\nrm -rf LICENSE*<br \/>\nrm -rf CREDITS*<br \/>\ncd \/var\/lib\/asterisk\/quiet-mp3<\/p>\n<p>sox ..\/mohmp3\/macroform-cold_day.wav macroform-cold_day.wav vol 0.25<br \/>\nsox ..\/mohmp3\/macroform-cold_day.gsm macroform-cold_day.gsm vol 0.25<br \/>\nsox -t ul -r 8000 -c 1 ..\/mohmp3\/macroform-cold_day.ulaw -t ul macroform-cold_day.ulaw vol 0.25<br \/>\nsox ..\/mohmp3\/macroform-robot_dity.wav macroform-robot_dity.wav vol 0.25<br \/>\nsox ..\/mohmp3\/macroform-robot_dity.gsm macroform-robot_dity.gsm vol 0.25<br \/>\nsox -t ul -r 8000 -c 1 ..\/mohmp3\/macroform-robot_dity.ulaw -t ul macroform-robot_dity.ulaw vol 0.25<br \/>\nsox ..\/mohmp3\/macroform-the_simplicity.wav macroform-the_simplicity.wav vol 0.25<br \/>\nsox ..\/mohmp3\/macroform-the_simplicity.gsm macroform-the_simplicity.gsm vol 0.25<br \/>\nsox -t ul -r 8000 -c 1 ..\/mohmp3\/macroform-the_simplicity.ulaw -t ul macroform-the_simplicity.ulaw vol 0.25<br \/>\nsox ..\/mohmp3\/reno_project-system.wav reno_project-system.wav vol 0.25<br \/>\nsox ..\/mohmp3\/reno_project-system.gsm reno_project-system.gsm vol 0.25<br \/>\nsox -t ul -r 8000 -c 1 ..\/mohmp3\/reno_project-system.ulaw -t ul reno_project-system.ulaw vol 0.25<br \/>\nsox ..\/mohmp3\/manolo_camp-morning_coffee.wav manolo_camp-morning_coffee.wav vol 0.25<br \/>\nsox ..\/mohmp3\/manolo_camp-morning_coffee.gsm manolo_camp-morning_coffee.gsm vol 0.25<br \/>\nsox -t ul -r 8000 -c 1 ..\/mohmp3\/manolo_camp-morning_coffee.ulaw -t ul manolo_camp-morning_coffee.ulaw vol 0.25<br \/>\n&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br \/>\n<strong>[Required Installation] <\/strong><br \/>\n<strong>Installing the Latest Vicidial\u00a0 ie SVN \u00a0<\/strong><br \/>\n&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br \/>\nyum -y install subversion<br \/>\ncd \/usr\/src<br \/>\nmkdir astguiclient<br \/>\ncd astguiclient<\/p>\n<p>svn checkout svn:\/\/svn.eflo.net:3690\/agc_2-X\/trunk<br \/>\ncd trunk<br \/>\nperl install.pl<br \/>\n**when promots jsut press enter except for below three ptions*<br \/>\nserver webroot path or press enter for default[\/srv\/htdocs]:\/var\/www\/html<br \/>\nEnter asterisk version or press enter for default: [1.4]1.8<br \/>\nCopy sample configuration files to \/etc\/asterisk\/ ? [n]y<\/p>\n<p>=================== <strong>See As below output<\/strong> ================================<\/p>\n<p><strong>All Defaults for Asterisk \u00a0<\/strong><br \/>\n==========================================<br \/>\n[root@Server trunk]# perl install.pl<br \/>\nPrevious astGUIclient configuration file found at: \/etc\/astguiclient.conf<\/p>\n<p>Would you like to use manual configuration and installation(y\/n): [y] y<\/p>\n<p>STARTING ASTGUICLIENT MANUAL CONFIGURATION PHASE&#8230;<\/p>\n<p>astguiclient configuration file or press enter for default: [\/etc\/astguiclient.conf] \/var\/www\/html<br \/>\nPrevious astGUIclient configuration file found at: \/var\/www\/html<\/p>\n<p>astguiclient home path or press enter for default: [\/usr\/share\/astguiclient]<\/p>\n<p>astguiclient logs path or press enter for default: [\/var\/log\/astguiclient]<\/p>\n<p>asterisk agi-bin path or press enter for default: [\/var\/lib\/asterisk\/agi-bin]<\/p>\n<p>server webroot path or press enter for default: [\/usr\/local\/apache2\/htdocs]<\/p>\n<p>asterisk sounds path or press enter for default: [\/var\/lib\/asterisk\/sounds]<\/p>\n<p>asterisk monitor path or press enter for default: [\/var\/spool\/asterisk\/monitor]<\/p>\n<p>asterisk DONEmonitor path or press enter for default: [\/var\/spool\/asterisk\/monitorDONE]<\/p>\n<p>server IP address or press enter for default: [192.168.137.188] (Current System&#8217;s IP Address &#8211;&gt; This will be your vicibox serverIP)<\/p>\n<p>DB server address or press enter for default: [localhost]<\/p>\n<p>DB database name or press enter for default: [asterisk]<\/p>\n<p>DB user login or press enter for default: [cron]<\/p>\n<p>DB user password or press enter for default: [1234]<\/p>\n<p>DB custom user login or press enter for default: [custom]<\/p>\n<p>DB custom password login or press enter for default: [custom1234]<\/p>\n<p>DB connection port or press enter for default: [3306]<\/p>\n<p>Numeric list of the astGUIclient processes to be kept running<br \/>\n(value should be listing of characters with no spaces: 123456)<br \/>\nX &#8211; NO KEEPALIVE PROCESSES (use only if you want none to be keepalive)<br \/>\n1 &#8211; AST_update<br \/>\n2 &#8211; AST_send_listen<br \/>\n3 &#8211; AST_VDauto_dial<br \/>\n4 &#8211; AST_VDremote_agents<br \/>\n5 &#8211; AST_VDadapt (If multi-server system, this must only be on one server)<br \/>\n6 &#8211; FastAGI_log<br \/>\n7 &#8211; AST_VDauto_dial_FILL (only for multi-server, this must only be on one server)<br \/>\n8 &#8211; ip_relay (used for blind agent monitoring)<br \/>\n9 &#8211; Timeclock auto logout<br \/>\nE &#8211; Email processor, (If multi-server system, this must only be on one server)<br \/>\nEnter active keepalives or press enter for default: [1234568]<\/p>\n<p>Enter the Asterisk version that you are installing VICIDIAL for<br \/>\n(value should be only one of the options below:)<br \/>\n1.2<br \/>\n1.4<br \/>\n1.8<br \/>\n11.X<br \/>\nEnter asterisk version or press enter for default: [1.4] 1.8 (Make sure you change this)<\/p>\n<p>Copy sample configuration files to \/etc\/asterisk\/ ? [n] y<\/p>\n<p>Copy web language translation files to webroot ? []<\/p>\n<p>FTP host address or press enter for default: [10.0.0.4]<\/p>\n<p>FTP user login or press enter for default: [cron]<\/p>\n<p>FTP user password or press enter for default: [test]<\/p>\n<p>FTP connection port or press enter for default: [21]<\/p>\n<p>FTP directory or press enter for default: [RECORDINGS]<\/p>\n<p>HTTP path for archive or press enter for default: [http:\/\/10.0.0.4]<\/p>\n<p>REPORT host address or press enter for default: [10.0.0.4]<\/p>\n<p>REPORT user login or press enter for default: [cron]<\/p>\n<p>REPORT user password or press enter for default: [test]<\/p>\n<p>REPORT connection port or press enter for default: [21]<\/p>\n<p>REPORT directory or press enter for default: [REPORTS]<\/p>\n<p>FastAGI log minimum child servers: [3]<\/p>\n<p>FastAGI log maximum child servers: [16]<\/p>\n<p>FastAGI log minimum spare child servers: [2]<\/p>\n<p>FastAGI log maximum spare child servers: [8]<\/p>\n<p>FastAGI log maximum requests per child server: [1000]<\/p>\n<p>FastAGI log check-for-dead seconds: [30]<\/p>\n<p>FastAGI log check-for-wait seconds: [60]<\/p>\n<p>defined conf file:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \/var\/www\/html<br \/>\ndefined home path:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \/usr\/share\/astguiclient<br \/>\ndefined logs path:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \/var\/log\/astguiclient<br \/>\ndefined agi-bin path:\u00a0\u00a0\u00a0\u00a0 \/var\/lib\/asterisk\/agi-bin<br \/>\ndefined webroot path:\u00a0\u00a0\u00a0\u00a0 \/usr\/local\/apache2\/htdocs<br \/>\ndefined sounds path:\u00a0\u00a0\u00a0\u00a0\u00a0 \/var\/lib\/asterisk\/sounds<br \/>\ndefined monitor path:\u00a0\u00a0\u00a0\u00a0 \/var\/spool\/asterisk\/monitor<br \/>\ndefined DONEmonitor path: \/var\/spool\/asterisk\/monitorDONE<br \/>\ndefined server_ip:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 192.168.137.188<br \/>\ndefined DB_server:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 localhost<br \/>\ndefined DB_database:\u00a0\u00a0\u00a0\u00a0\u00a0 asterisk<br \/>\ndefined DB_user:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 cron<br \/>\ndefined DB_pass:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 1234<br \/>\ndefined DB_custom_user:\u00a0\u00a0 custom<br \/>\ndefined DB_custom_pass:\u00a0\u00a0 custom1234<br \/>\ndefined DB_port:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 3306<br \/>\ndefined active_keepalives:\u00a0\u00a0\u00a0\u00a0 1234568<br \/>\ndefined asterisk_version:\u00a0\u00a0\u00a0\u00a0\u00a0 1.8<br \/>\ndefined copying conf files:\u00a0\u00a0\u00a0 y<br \/>\ndefined copying weblang files:<br \/>\ndefined FTP_host:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 10.0.0.4<br \/>\ndefined FTP_user:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 cron<br \/>\ndefined FTP_pass:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 test<br \/>\ndefined FTP_port:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 21<br \/>\ndefined FTP_dir:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 RECORDINGS<br \/>\ndefined HTTP_path:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 http:\/\/10.0.0.4<br \/>\ndefined REPORT_host:\u00a0\u00a0\u00a0\u00a0\u00a0 10.0.0.4<br \/>\ndefined REPORT_user:\u00a0\u00a0\u00a0\u00a0\u00a0 cron<br \/>\ndefined REPORT_pass:\u00a0\u00a0\u00a0\u00a0\u00a0 test<br \/>\ndefined REPORT_port:\u00a0\u00a0\u00a0\u00a0\u00a0 21<br \/>\ndefined REPORT_dir:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 REPORTS<br \/>\ndefined fastagi_log_min_servers:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 3<br \/>\ndefined fastagi_log_max_servers:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 16<br \/>\ndefined fastagi_log_min_spare_servers: 2<br \/>\ndefined fastagi_log_max_spare_servers: 8<br \/>\ndefined fastagi_log_max_requests:\u00a0\u00a0\u00a0\u00a0\u00a0 1000<br \/>\ndefined fastagi_log_checkfordead:\u00a0\u00a0\u00a0\u00a0\u00a0 30<br \/>\ndefined fastagi_log_checkforwait:\u00a0\u00a0\u00a0\u00a0\u00a0 60<\/p>\n<p>Are these settings correct?(y\/n): [y]<br \/>\nGathering expected DB Schema version&#8230;<br \/>\nGathering expected DB Schema version found: |1456|<br \/>\nWriting to configuration file: \/var\/www\/html<br \/>\ncan&#8217;t open \/var\/www\/html: Is a directory<br \/>\nYou have new mail in \/var\/spool\/mail\/root<br \/>\n[root@Server trunk]#<\/p>\n<p>&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br \/>\n<strong>Creating Vicidial Database \u00a0<\/strong><br \/>\n&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br \/>\nmysql -p\u00a0\u00a0 &#8212; if password not set then press enter<br \/>\nCREATE DATABASE `asterisk` DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;<br \/>\nGRANT SELECT,INSERT,UPDATE,DELETE,LOCK TABLES on asterisk.* TO cron@&#8217;%&#8217; IDENTIFIED BY &#8216;1234&#8217;;<br \/>\nGRANT SELECT,INSERT,UPDATE,DELETE,LOCK TABLES on asterisk.* TO cron@localhost IDENTIFIED BY &#8216;1234&#8217;;<br \/>\nGRANT RELOAD ON *.* TO cron@&#8217;%&#8217;;mysql&gt;GRANT RELOAD ON *.* TO cron@localhost;<br \/>\nflush privileges;<br \/>\nSET GLOBAL connect_timeout=60;mysql&gt;use asterisk;<br \/>\n\\. \/usr\/src\/astguiclient\/trunk\/extras\/MySQL_AST_CREATE_tables.sql<br \/>\n\\. \/usr\/src\/astguiclient\/trunk\/extras\/first_server_install.sql<br \/>\n\\. \/usr\/src\/astguiclient\/trunk\/extras\/sip-iax_phones.sql<br \/>\nquit<br \/>\n&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br \/>\n<strong>updating the area codes\u00a0 \u00a0<\/strong><br \/>\n&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br \/>\nrun the below command at linux terminal as root user<br \/>\n\/usr\/share\/astguiclient\/ADMIN_area_code_populate.pl<br \/>\n&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br \/>\n<strong>Entering the startup scripts and services in rc.local \u00a0<\/strong><br \/>\n&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br \/>\nopen the rc.local and paste the below entries<br \/>\nvi \/etc\/rc.d\/rc.local<br \/>\ncopy and paste the below details in rc.local<br \/>\n### sybsys local login<br \/>\ntouch \/var\/lock\/subsys\/local<\/p>\n<p># OPTIONAL enable ip_relay(for same-machine trunking and blind monitoring)<br \/>\n# \/usr\/share\/astguiclient\/ip_relay\/relay_control start\u00a0 2&gt;\/dev\/null 1&gt;&amp;2<\/p>\n<p># Disable console blanking and powersaving<br \/>\n\/usr\/bin\/setterm -blank<br \/>\n\/usr\/bin\/setterm -powersave off<br \/>\n\/usr\/bin\/setterm -powerdown<\/p>\n<p>### start up the MySQL server<br \/>\n\/etc\/init.d\/mysqld start<\/p>\n<p>### start up the apache web server<br \/>\n\/etc\/init.d\/httpd start<\/p>\n<p>### roll the Asterisk logs upon reboot<br \/>\n\/usr\/share\/astguiclient\/ADMIN_restart_roll_logs.pl<\/p>\n<p>### clear the server-related records from the database<br \/>\n\/usr\/share\/astguiclient\/AST_reset_mysql_vars.pl<\/p>\n<p>### load zaptel drivers<br \/>\nmodprobe dahdi<br \/>\nmodprobe dahdi_dummy<br \/>\n\/usr\/sbin\/dahdi_cfg -vvvvvvvvvvvv<\/p>\n<p>### sleep for 20 seconds before launching Asterisk<br \/>\nsleep 20<\/p>\n<p>### start up asterisk<br \/>\n\/usr\/share\/astguiclient\/start_asterisk_boot.pl<\/p>\n<p>save and exit<br \/>\n&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br \/>\n<strong>Cron jos entries<\/strong><br \/>\n&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br \/>\ncrontat -e<\/p>\n<p>copy and paste the below entries and save and exit<br \/>\nfor the latest vicidial cron jobs refer docs folder under downloaded vicidial source fi<\/p>\n<p>### recording mixing\/compressing\/ftping scripts<br \/>\n0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * \/usr\/share\/astguiclient\/AST_CRON_audio_1_move_mix.pl<br \/>\n0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * \/usr\/share\/astguiclient\/AST_CRON_audio_1_move_mix.pl &#8211;MIX<br \/>\n#0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * \/usr\/share\/astguiclient\/AST_CRON_audio_1_move_VDonly.pl<br \/>\n1,4,7,10,13,16,19,22,25,28,31,34,37,40,43,46,49,52,55,58 * * * * \/usr\/share\/astguiclient\/AST_CRON_audio_2_compress.pl &#8211;MP3<br \/>\n#2,5,8,11,14,17,20,23,26,29,32,35,38,41,44,47,50,53,56,59 * * * * \/usr\/share\/astguiclient\/AST_CRON_audio_3_ftp.pl &#8211;MP3<\/p>\n<p>### keepalive script for astguiclient processes<br \/>\n* * * * * \/usr\/share\/astguiclient\/ADMIN_keepalive_ALL.pl<\/p>\n<p>### kill Hangup script for Asterisk updaters<br \/>\n* * * * * \/usr\/share\/astguiclient\/AST_manager_kill_hung_congested.pl<\/p>\n<p>### updater for voicemail<br \/>\n* * * * * \/usr\/share\/astguiclient\/AST_vm_update.pl<\/p>\n<p>### updater for conference validator<br \/>\n* * * * * \/usr\/share\/astguiclient\/AST_conf_update.pl<\/p>\n<p>### flush queue DB table every hour for entries older than 1 hour<br \/>\n11 * * * * \/usr\/share\/astguiclient\/AST_flush_DBqueue.pl -q<\/p>\n<p>### fix the vicidial_agent_log once every hour and the full day run at night<br \/>\n33 * * * * \/usr\/share\/astguiclient\/AST_cleanup_agent_log.pl<br \/>\n50 0 * * * \/usr\/share\/astguiclient\/AST_cleanup_agent_log.pl &#8211;last-24hours<br \/>\n## uncomment below if using QueueMetrics<br \/>\n#*\/5 * * * * \/usr\/share\/astguiclient\/AST_cleanup_agent_log.pl &#8211;only-qm-live-call-check<\/p>\n<p>## uncomment below if using Vtiger<br \/>\n#1 1 * * * \/usr\/share\/astguiclient\/Vtiger_optimize_all_tables.pl &#8211;quiet<\/p>\n<p>### updater for VICIDIAL hopper<br \/>\n* * * * * \/usr\/share\/astguiclient\/AST_VDhopper.pl -q<\/p>\n<p>### adjust the GMT offset for the leads in the vicidial_list table<br \/>\n1 1,7 * * * \/usr\/share\/astguiclient\/ADMIN_adjust_GMTnow_on_leads.pl &#8211;debug<\/p>\n<p>### reset several temporary-info tables in the database<br \/>\n2 1 * * * \/usr\/share\/astguiclient\/AST_reset_mysql_vars.pl<\/p>\n<p>### optimize the database tables within the asterisk database<br \/>\n3 1 * * * \/usr\/share\/astguiclient\/AST_DB_optimize.pl<\/p>\n<p>## adjust time on the server with ntp<br \/>\n30 * * * * \/usr\/sbin\/ntpdate -u pool.ntp.org 2&gt;\/dev\/null 1&gt;&amp;2<\/p>\n<p>### VICIDIAL agent time log weekly and daily summary report generation<br \/>\n2 0 * * 0 \/usr\/share\/astguiclient\/AST_agent_week.pl<br \/>\n22 0 * * * \/usr\/share\/astguiclient\/AST_agent_day.pl<\/p>\n<p>### VICIDIAL campaign export scripts (OPTIONAL)<br \/>\n#32 0 * * * \/usr\/share\/astguiclient\/AST_VDsales_export.pl<br \/>\n#42 0 * * * \/usr\/share\/astguiclient\/AST_sourceID_summary_export.pl<\/p>\n<p>### remove old recordings more than 7 days old<br \/>\n#24 0 * * * \/usr\/bin\/find \/var\/spool\/asterisk\/monitorDONE -maxdepth 2 -type f -mtime +7 -print | xargs rm -f<\/p>\n<p>### roll logs monthly on high-volume dialing systems<br \/>\n#30 1 1 * * \/usr\/share\/astguiclient\/ADMIN_archive_log_tables.pl<\/p>\n<p>### remove old vicidial logs and asterisk logs more than 2 days old<br \/>\n28 0 * * * \/usr\/bin\/find \/var\/log\/astguiclient -maxdepth 1 -type f -mtime +2 -print | xargs rm -f<br \/>\n29 0 * * * \/usr\/bin\/find \/var\/log\/asterisk -maxdepth 3 -type f -mtime +2 -print | xargs rm -f<br \/>\n30 0 * * * \/usr\/bin\/find \/ -maxdepth 1 -name &#8220;screenlog.0*&#8221; -mtime +4 -print | xargs rm -f<br \/>\n&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<\/p>\n<p>=============================== <strong>Final Configuration<\/strong> =================================<\/p>\n<p>by default the vicidial db comes with ip 10.10.10.15, run the below command to update to your current server ip and just press enter<br \/>\n\/usr\/share\/astguiclient\/ADMIN_update_server_ip.pl &#8211;old-server_ip=10.10.10.15<\/p>\n<p>&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br \/>\n<strong>updating the music on hold configuration to work with asterisk<\/strong><br \/>\n&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.<br \/>\nvi \/etc\/asterisk\/musiconhold.conf<br \/>\nchange the below settings<br \/>\n[old-default]<br \/>\n(to)<br \/>\n[default]<\/p>\n<p>(and)<\/p>\n<p>[old-quiet]<br \/>\n(to)<br \/>\n[quiet]<br \/>\n&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.<br \/>\n<strong>Intallation completed\u00a0 give reboot to update the settings<\/strong><br \/>\n<strong> reboot<\/strong><br \/>\n&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.<br \/>\nOnce server up\u00a0 run the below command to make sure the vicidial installation is perfect.<br \/>\nscreen -list<\/p>\n<p>================== [ <strong>To Confirm Instllation <\/strong>]=========================<br \/>\nIf the installation is done without any error you should get 9 sockets as shown below<br \/>\n(if you enable email queue you should get 10 socket , email queue is not covered in this doc check the doc folder for more)<\/p>\n<p>There are screens on:<br \/>\n4090.asterisk\u00a0\u00a0 (Detached)<br \/>\n4077.ASTfastlog (Detached)<br \/>\n8325.ASTsend\u00a0\u00a0\u00a0 (Detached)<br \/>\n8322.ASTupdate\u00a0 (Detached)<br \/>\n4004.astshell20110228193500\u00a0\u00a0\u00a0\u00a0 (Detached)<br \/>\n8334.ASTVDremote\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (Detached)<br \/>\n8328.ASTlisten\u00a0 (Detached)<br \/>\n12192.ASTVDadapt\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (Detached)<br \/>\n8331.ASTVDauto\u00a0 (Detached)<br \/>\n9 Sockets in \/var\/run\/screen\/S-root.<\/p>\n<p>Congratulations You have successfully Installed vicidial with Asterisk&#8230; !!!!!!<\/p>\n<p>Let us know if you needs more information on this<br \/>\n<a href=\"https:\/\/crmtiger.com\/contact-us.html?utm_source=blog-nm&amp;utm_medium=crmtiger-nm&amp;utm_campaign=del-module-vtiger-nm\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" width=\"650\" height=\"160\" class=\"alignnone size-medium wp-image-2316\" src=\"https:\/\/crmtiger.com\/blog\/wp-content\/uploads\/2020\/11\/CRMTiger.jpg\" alt=\"\" srcset=\"https:\/\/crmtiger.com\/blog\/wp-content\/uploads\/2020\/11\/CRMTiger.jpg 650w, https:\/\/crmtiger.com\/blog\/wp-content\/uploads\/2020\/11\/CRMTiger-300x74.jpg 300w\" sizes=\"auto, (max-width: 650px) 100vw, 650px\" \/><\/a><\/p>\n<div style=\"background-color: #eeeeee; border-radius: 10px 10px 10px 10px; padding: 5px; height: 100px; margin-right: 5px; margin-top: 5px; position: relative; float: left; width: 500px;\">\n<p><strong>Do You Need More Information ?<\/strong><\/p>\n<p style=\"margin-top: -20px;\"><strong style=\"color: #000000; font-size: 8pt;\">For any further information \/ query regarding Technology, please email us at <a href=\"mailto:info@crmtiger.com\">info@crmtiger.com<\/a> OR call us on <strong style=\"color: #f65b0b; font-size: 10pt;\">+1 630 861 8263<\/strong>, Alternately you can request for information by filling up <a href=\"http:\/\/crmtiger.com\/contact-us.html\">Contact Us<\/a><\/strong><\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<p><strong><br \/>\n<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Scratch Install Vicibox on CentOS \u2013 TextMode ========================================== Prerequisites\u00a0 &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.. Operatin System installed (Centos 6.5 or latest version) Step 1: Centos 6.5. installation Centos 5.9 ISO download link http:\/\/isoredirect.centos.org\/centos\/6\/isos\/x86_64\/ You can use any one of the above download links. Steps Involved\u00a0 \u00a0 &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.. 1. Dependicies installation for vicidial asterisk 2. asterisk, Dahdi, and libpri installation [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[],"class_list":["post-520","post","type-post","status-publish","format-standard","hentry","category-vicidial"],"_links":{"self":[{"href":"https:\/\/crmtiger.com\/blog\/wp-json\/wp\/v2\/posts\/520","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/crmtiger.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/crmtiger.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/crmtiger.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/crmtiger.com\/blog\/wp-json\/wp\/v2\/comments?post=520"}],"version-history":[{"count":7,"href":"https:\/\/crmtiger.com\/blog\/wp-json\/wp\/v2\/posts\/520\/revisions"}],"predecessor-version":[{"id":3590,"href":"https:\/\/crmtiger.com\/blog\/wp-json\/wp\/v2\/posts\/520\/revisions\/3590"}],"wp:attachment":[{"href":"https:\/\/crmtiger.com\/blog\/wp-json\/wp\/v2\/media?parent=520"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/crmtiger.com\/blog\/wp-json\/wp\/v2\/categories?post=520"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/crmtiger.com\/blog\/wp-json\/wp\/v2\/tags?post=520"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}