5. ติดตั้ง Vicidial

5. ติดตั้ง Vicidial

โพสต์โดย nuiz » 07 พ.ค. 2017 00:28

ล๊อกอินเข้า Vicibox เป็น root

ดาวน์โหลดซอร์สโค๊ดจาก svn
โค้ด: เลือกทั้งหมด
vicidial-install


โค้ด: เลือกทั้งหมด
cd /usr/src/astguiclient/trunk
perl install.pl


Would you like to use manual configuration and installation(y/n): [y]

STARTING ASTGUICLIENT MANUAL CONFIGURATION PHASE...

astguiclient configuration file or press enter for default: [/etc/astguiclient.conf]

astguiclient home path or press enter for default: [/usr/share/astguiclient]
/usr/share/astguiclient does not exist, would you like me to create it?(y/n) [y]
/usr/share/astguiclient directory created

astguiclient logs path or press enter for default: [/var/log/astguiclient]
/var/log/astguiclient does not exist, would you like me to create it?(y/n) [y]
/var/log/astguiclient directory created

asterisk agi-bin path or press enter for default: [/var/lib/asterisk/agi-bin]

server webroot path or press enter for default: [/usr/local/apache2/htdocs] /srv/www/htdocs
/var/www/html does not exist, would you like me to create it?(y/n) [y]
/var/www/html directory created

asterisk sounds path or press enter for default: [/var/lib/asterisk/sounds]

asterisk monitor path or press enter for default: [/var/spool/asterisk/monitor]

asterisk DONEmonitor path or press enter for default: [/var/spool/asterisk/monitorDONE]

server IP address or press enter for default: [192.168.2.25]

DB server address or press enter for default: [localhost]

DB database name or press enter for default: [asterisk]

DB user login or press enter for default: [cron] root

DB user password or press enter for default: [1234] password

DB custom user login or press enter for default: [custom] root

DB custom password login or press enter for default: [custom1234] password

DB connection port or press enter for default: [3306]

Numeric list of the astGUIclient processes to be kept running
(value should be listing of characters with no spaces: 123456)
X - NO KEEPALIVE PROCESSES (use only if you want none to be keepalive)
1 - AST_update
2 - AST_send_listen
3 - AST_VDauto_dial
4 - AST_VDremote_agents
5 - AST_VDadapt (If multi-server system, this must only be on one server)
6 - FastAGI_log
7 - AST_VDauto_dial_FILL (only for multi-server, this must only be on one server)
8 - ip_relay (used for blind agent monitoring)
9 - Timeclock auto logout
E - Email processor, (If multi-server system, this must only be on one server)
Enter active keepalives or press enter for default: [1234568]

Enter the Asterisk version that you are installing VICIDIAL for
(value should be only one of the options below:)
1.2
1.4
1.8
11.X
Enter asterisk version or press enter for default: [1.4] 11.X

Copy sample configuration files to /etc/asterisk/ ? [n] y

Copy web language translation files to webroot ? [] y

FTP host address or press enter for default: [10.0.0.4] 192.168.2.25

FTP user login or press enter for default: [cron] root

FTP user password or press enter for default: [test] password

FTP connection port or press enter for default: [21]

FTP directory or press enter for default: [RECORDINGS]

HTTP path for archive or press enter for default: [http://10.0.0.4] http://192.168.2.25

REPORT host address or press enter for default: [10.0.0.4] 192.168.2.25

REPORT user login or press enter for default: [cron] root

REPORT user password or press enter for default: [test] password

REPORT connection port or press enter for default: [21]

REPORT directory or press enter for default: [REPORTS]

FastAGI log minimum child servers: [3]

FastAGI log maximum child servers: [16]

FastAGI log minimum spare child servers: [2]

FastAGI log maximum spare child servers: [8]

FastAGI log maximum requests per child server: [1000]

FastAGI log check-for-dead seconds: [30]

FastAGI log check-for-wait seconds: [60]

defined conf file: /etc/astguiclient.conf
defined home path: /usr/share/astguiclient
defined logs path: /var/log/astguiclient
defined agi-bin path: /var/lib/asterisk/agi-bin
defined webroot path: /var/www/html
defined sounds path: /var/lib/asterisk/sounds
defined monitor path: /var/spool/asterisk/monitor
defined DONEmonitor path: /var/spool/asterisk/monitorDONE
defined server_ip: 192.168.2.25
defined DB_server: localhost
defined DB_database: asterisk
defined DB_user: root
defined DB_pass: dmt032017
defined DB_custom_user: root
defined DB_custom_pass: dmt032017
defined DB_port: 3306
defined active_keepalives: 1234568
defined asterisk_version: 11.X
defined copying conf files: y
defined copying weblang files: y
defined FTP_host: 192.168.2.25
defined FTP_user: root
defined FTP_pass: dmt032017
defined FTP_port: 21
defined FTP_dir: RECORDINGS
defined HTTP_path: http://192.168.2.25
defined REPORT_host: 192.168.2.25
defined REPORT_user: root
defined REPORT_pass: dmt032017
defined REPORT_port: 21
defined REPORT_dir: REPORTS
defined fastagi_log_min_servers: 3
defined fastagi_log_max_servers: 16
defined fastagi_log_min_spare_servers: 2
defined fastagi_log_max_spare_servers: 8
defined fastagi_log_max_requests: 1000
defined fastagi_log_checkfordead: 30
defined fastagi_log_checkforwait: 60

Are these settings correct?(y/n): [y] y
Gathering expected DB Schema version...
Gathering expected DB Schema version found: |1504|
Writing to configuration file: /etc/astguiclient.conf

STARTING ASTGUICLIENT INSTALLATION PHASE...
Creating /usr/share/astguiclient/LEADS_IN directories...
Creating /var/spool/asterisk/monitor directories...
Creating /var/log/astguiclient/archive directory for backups...
Copying bin scripts to /usr/share/astguiclient ...
Copying libs to /usr/share/astguiclient ...
setting cron scripts to executable...
Copying extras files to /usr/share/astguiclient ...
Copying agi-bin scripts to /var/lib/asterisk/agi-bin ...
setting agi-bin scripts to executable...
Copying sounds to /var/lib/asterisk/sounds...
Creating sound tts directories...
Copying ip_relay scripts to /usr/share/astguiclient...
Setting ip_relay scripts to executable...
Starting ip_relay port forwarding for IAX on 40569, 41569 and 42569
Creating /var/www/html web directories...
Copying web files...
setting web scripts to executable...
Static language files no longer available, use dynamic language features.
Copying sample conf files to /etc/asterisk/...
Creating auto-generated placeholder conf files in /etc/asterisk/...
Updating version information in the database...

|UPDATE servers SET svn_revision='2748',svn_info='/usr/src/astguiclient/trunk
Path: .
Working Copy Root Path: /usr/src/astguiclient/trunk
URL: svn://svn.eflo.net/agc_2-X/trunk
Relative URL: ^/agc_2-X/trunk
Repository Root: svn://svn.eflo.net
Repository UUID: 3d104415-ff17-0410-8863-d5cf3c621b8a
Revision: 2748
Node Kind: directory
Schedule: normal
Last Changed Author: mattf
Last Changed Rev: 2748
Last Changed Date: 2017-05-05 23:32:42 +0700 (Fri, 05 May 2017)


' where server_ip='192.168.2.25';|

|UPDATE system_settings SET svn_revision='2748';|
Version information updated: 2748|192.168.2.25

ASTGUICLIENT VICIDIAL INSTALLATION FINISHED! ENJOY!

- process runtime (170 sec) (2.83333333333333 minutes)


คอนฟิกทั้งหมดนี้เก็บอยู่ในไฟล์ /etc/astguiclient.conf
** งานเร่งด่วนติดต่อที่เบอร์ 085-161-9439 อีเมล์ iamaladin@gmail.com ไลน์ไอดี nuizvoip ครับ ผมหนุ่ยครับ**
nuiz
Diamond Member
 
โพสต์: 7336
ลงทะเบียนเมื่อ: 24 มี.ค. 2010 09:33

ย้อนกลับไปยัง VICIbox - VICIDIAL Call Center Suite

ผู้ใช้งานขณะนี้

กำลังดูบอร์ดนี้: ไม่มีสมาชิกใหม่ และ บุคคลทั่วไป 0 ท่าน

cron