Você está na página 1de 9

installation of convox

1 Digest-MD5-2.36.tar.
2 Digest-SHA1-2.11.tar
3 Net-Telnet-3.03.tar
4 Net-MySQL-0.08.tar
5 Time-HiRes-1.90.tar
6 OLE-Storage_Lite-0.14.tar
7 Spreadsheet-ParseExcel-0.2602.tar
8 asterisk-perl-0.08.tar.gz
9 lame-3.96.1.tar
10 mpg123-0.59r.tar
11 ttyload-0.4.4.tar
12 iftop-0.17.tar
13 pl232src.tar
14 zlib-1.2.3.tar
15 openssh-4.3p2.tar
Digest-MD5
perl Makefile.Pl
make
make test
make install
Digest-SHAI
perl Makefile.Pl
make
make test
make install
Net-Telnet
perl Makefile.Pl
make
make test
make install
Net-mysql
perl Makefile.Pl
make
make test
make install
Time-Hires
perl Makefile.Pl
make
make test
make install
OLE-storage
perl Makefile.Pl
make
make test
make install
Spreadsheet-ParseExcel-0.2602
perl Makefile.Pl
make
make all
make test
make install
asperisk-perl
perl Makefile.Pl
make
make test
make install
lame-3.96.1
./configure
make
make install
mpg123-0.
make linux
make install

ttyload
make
make install
libpcap-0.9.4
./configure
make
make install
iftop
./configure
make
make install
pl232src/src
make linux
make
make install
zlib-1.2
./configure
make
make install
Openssh
./configure
make
make install
edit httpd.conf (/etc/httpd/conf)
add this line
AddType application/x-httpd-php .php .phtml
after this line
AddType application/x-compress.z
AddType application/xgzip .gz
go to /var/www/html
vi test.php
type this line
<?php phpinfo() ?> then save and exit
1,libpri-.1.2
make
make install
zaptel-1.2
vi Makefile
remove '#' before ztdummy (save and exit)
make linux26
make install
asterisk-1.2
copy app_amd.c from amd directory and paste in asterisk/apps
edit Makefile in apps
add this line
app_amd.so after app_mixmonitor.so app_stack.so
open cli.c in asterisk-1.2.5
search for the line
#define CONCISE_FOrmat_
replace ! with :
make
make install
make samples
2,zaptel-1.4.7.1
./configure
make
make install
3,asterisk-1.4.
./configure
make
make install
4,asterisk-addons-1.2 asterisk-addons-1.4.2
make all ./configure
make install make, make install
5,asterisk-sounds
make install
Go to this address do modification in this file.
etc/httpd/conf/httpd.conf
asterisk packages.
1. libpri-1.2.3.tar.gz
2. zaptel-1.2.9.1.tar.gz
3. extarct Amd.tar.gz.and copy files where u have to copy.
if u r installing asterisk-1.2.5or 10.or 23.or 11
4. asterisk-1.2.5.tar.gz
asterisk-1.2.5/apps/Makefile.
asterisk-1.2.5/cli.c
5. asterisk-addons-1.2.4.tar.gz
6. asterisk-sounds-1.2.1.tar.gz
astguiclient installation.
1. astguiclient_2.0.1.zip.
extarct this zip into /usr/src
perl install.pl
creating database for ats
First go to mysql promt
copy this line from SCRATHC INSTALLTION past in mysql terminal and
press enter
msql>create database asterisk;
copy this line from SCRATHC INSTALLTION past in mysql terminal and
press enter
msql>GRANT SELECT,INSERT,UPDATE,DELETE on asterisk.* TO cron@'%'
IDENTIFIED BY '1234';
msql>GRANT SELECT,INSERT,UPDATE,DELETE on asterisk.* TO cron@localhost
IDENTIFIED BY '1234';
copy this line from SCRATHC INSTALLTION past in mysql terminal and
press enter
msql>use asterisk;
copy this line from SCRATHC INSTALLTION past in mysql terminal and
press enter
msql>\. /usr/share/astguiclient/MySQL_AST_CREATE_tables.sql
copy this line from SCRATHC INSTALLTION past in mysql terminal and
press enter
msql>GRANT SELECT on asterisk.phones TO idcheck@'%' IDENTIFIED BY
'1234';
GRANT SELECT on asterisk.phones TO idcheck@localhost IDENTIFIED BY
'1234';
insert into servers
(server_id,server_description,server_ip,active,asterisk_version)values('TESTast
erisk','Test install of Asterisk server',
'10.10.10.15','Y','1.2.12.1');
insert into server_updater values('10.10.10.15','');
insert into phones (extension, dialplan_number, voicemail_id, phone_ip,
computer_ip, server_ip, login, pass, status, active, phone_type,
fullname, company, picture, messages, old_messages, protocol)
values('gs102','102','102','10.10.10.16','10.10.9.16','10.10.10.15','gs102','te
st',
'ADMIN','Y','Grandstream BT 102','Test Admin
Phone','TEST','','0','0','SIP');
insert into conferences values('8600011','10.10.10.15','');
insert into conferences values('8600012','10.10.10.15','');
insert into conferences values('8600013','10.10.10.15','');
insert into conferences values('8600014','10.10.10.15','');
insert into conferences values('8600015','10.10.10.15','');
insert into conferences values('8600016','10.10.10.15','');
insert into conferences values('8600017','10.10.10.15','');
insert into conferences values('8600018','10.10.10.15','');
insert into conferences values('8600019','10.10.10.15','');
insert into conferences values('8600020','10.10.10.15','');
insert into conferences values('8600021','10.10.10.15','');
insert into conferences values('8600022','10.10.10.15','');
insert into conferences values('8600023','10.10.10.15','');
insert into conferences values('8600024','10.10.10.15','');
insert into conferences values('8600025','10.10.10.15','');
insert into conferences values('8600026','10.10.10.15','');
insert into conferences values('8600027','10.10.10.15','');
insert into conferences values('8600028','10.10.10.15','');
insert into conferences values('8600029','10.10.10.15','');
then open another terminal copy this line from SCRATHC INSTALLTION past
in mysql terminal and press enter then you will see installtion of ten
lines
msql>/usr/share/astguiclient/ADMIN_area_code_populate.pl
copy this line from SCRATHC INSTALLTION past into a text file and make
changes at ip address mysql terminal and press enter
insert into vicidial_users
(user,pass,full_name,user_level,user_group,load_leads,campaign_detail,ast_admin
_access)
values('6666','1234','Admin','9','ADMIN','1','1','1');
insert into vicidial_conferences values('8601001','192.168.1.80','');
insert into vicidial_conferences values('8601002','192.168.1.80','');
insert into vicidial_conferences values('8601003','192.168.1.80','');
insert into vicidial_conferences values('8601004','192.168.1.80','');
insert into vicidial_conferences values('8601005','192.168.1.80','');
insert into vicidial_conferences values('8601006','192.168.1.80','');
insert into vicidial_conferences values('8601007','192.168.1.80','');
insert into vicidial_conferences values('8601008','192.168.1.80','');
insert into vicidial_conferences values('8601009','192.168.1.80','');
insert into vicidial_conferences values('8601010','192.168.1.80','');
insert into vicidial_conferences values('8601011','192.168.1.80','');
insert into vicidial_conferences values('8601012','192.168.1.80','');
insert into vicidial_conferences values('8601013','192.168.1.80','');
insert into vicidial_conferences values('8601014','192.168.1.80','');
insert into vicidial_conferences values('8601015','192.168.1.80','');
insert into vicidial_conferences values('8601016','192.168.1.80','');
insert into vicidial_conferences values('8601017','192.168.1.80','');
insert into vicidial_conferences values('8601018','192.168.1.80','');
insert into vicidial_conferences values('8601019','192.168.1.80','');
insert into vicidial_conferences values('8601020','192.168.1.80','');
insert into vicidial_conferences values('8601021','10.10.10.15','');
insert into vicidial_conferences values('8601022','10.10.10.15','');
insert into vicidial_conferences values('8601023','10.10.10.15','');
insert into vicidial_conferences values('8601024','10.10.10.15','');
insert into vicidial_conferences values('8601025','10.10.10.15','');
insert into vicidial_conferences values('8601026','10.10.10.15','');
insert into vicidial_conferences values('8601027','10.10.10.15','');
insert into vicidial_conferences values('8601028','10.10.10.15','');
insert into vicidial_conferences values('8601029','10.10.10.15','');
insert into vicidial_conferences values('8601030','10.10.10.15','');
insert into vicidial_conferences values('8601031','10.10.10.15','');
insert into vicidial_conferences values('8601032','10.10.10.15','');
insert into vicidial_conferences values('8601033','10.10.10.15','');
insert into vicidial_conferences values('8601034','10.10.10.15','');
insert into vicidial_conferences values('8601035','10.10.10.15','');
insert into vicidial_conferences values('8601036','10.10.10.15','');
insert into vicidial_conferences values('8601037','10.10.10.15','');
insert into vicidial_conferences values('8601038','10.10.10.15','');
insert into vicidial_conferences values('8601039','10.10.10.15','');
insert into vicidial_conferences values('8601040','10.10.10.15','');
insert into vicidial_conferences values('8601041','10.10.10.15','');
insert into vicidial_conferences values('8601042','10.10.10.15','');
insert into vicidial_conferences values('8601043','10.10.10.15','');
insert into vicidial_conferences values('8601044','10.10.10.15','');
insert into vicidial_conferences values('8601045','10.10.10.15','');
insert into vicidial_conferences values('8601046','10.10.10.15','');
insert into vicidial_conferences values('8601047','10.10.10.15','');
insert into vicidial_conferences values('8601048','10.10.10.15','');
insert into vicidial_conferences values('8601049','10.10.10.15','');
insert into vicidial_conferences values('8601050','10.10.10.15','');
copy this line from SCRATHC INSTALLTION past in new terminal and press
enter
- cd /usr/share/astguiclient
and press i u can paste u r data paste u r data into that file then
press esc then type : and then wq press enter.
crontab -e
- add the following entries(here's what we used):
(Note if you have not edited the AST_CRON_mix_recordings.pl script

to FTP to a different server, then you should use the
AST_CRON_mix_recordings_BASIC.pl file in it's place)
### recording mixing for Asterisk run every 5 minutes
1,6,11,16,21,26,31,36,41,46,51,56 * * * 1,2,3,4,5,6 /usr/share/astguiclient/AST_
CRON_mix_recordings_BASIC.pl
### keepalive script for Asterisk updaters
* * * * * /usr/share/astguiclient/ADMIN_keepalive_AST_update.pl
### keepalive script for Asterisk manager queue system
* * * * * /usr/share/astguiclient/ADMIN_keepalive_AST_send_listen.pl
### keepalive script for Asterisk VICIDIAL autodial system
* * * * * /usr/share/astguiclient/ADMIN_keepalive_AST_VDautodial.pl
### keepalive script for VICIDIAL remote agents
* * * * * /usr/share/astguiclient/ADMIN_keepalive_AST_VDremote_agents.pl
### keepalive script for VICIDIAL predictive script
* * * * * /usr/share/astguiclient/ADMIN_keepalive_AST_VDadapt.pl
### kill Hangup script for Asterisk updaters
* * * * * /usr/share/astguiclient/AST_manager_kill_hung_congested.pl
### updater for voicemail
* * * * * /usr/share/astguiclient/AST_vm_update.pl
### updater for conference validator
* * * * * /usr/share/astguiclient/AST_conf_update.pl
### flush queue DB table every hour for entries older than 1 hour
11 * * * * /usr/share/astguiclient/AST_flush_DBqueue.pl -q
### fix the vicidial_agent_log once every hour
33 * * * * /usr/share/astguiclient/AST_cleanup_agent_log.pl
### updater for VICIDIAL hopper
* * * * * /usr/share/astguiclient/AST_VDhopper.pl -q
### adjust the GMT offset for the leads in the vicidial_list table
1 1 * * * /usr/share/astguiclient/ADMIN_adjust_GMTnow_on_leads.pl --debug
### reset several temporary-info tables in the database
2 1 * * * /usr/share/astguiclient/AST_reset_mysql_vars.pl
### optimize the database tables within the asterisk database
3 1 * * * /usr/share/astguiclient/AST_DB_optimize.pl
## adjust time on the server with ntp
30 * * * * /usr/local/bin/ntpdate -u 18.145.0.30 2>/dev/null 1>&2
### VICIDIAL agent time log weekly summary report generation
2 0 * * 0 /usr/share/astguiclient/AST_agent_week.pl
copy this line from SCRATHC INSTALLTION past in mysql terminal and
press enter
insert into vicidial_statuses values('NEW','New Lead','N');
insert into vicidial_statuses values('QUEUE','Lead To Be Called','N');
insert into vicidial_statuses values('INCALL','Lead Being Called','N');
insert into vicidial_statuses values('DROP','Agent Not Available','N');
insert into vicidial_statuses values('NA','No Answer AutoDial','N');
insert into vicidial_statuses values('CALLBK','Call Back','Y');
insert into vicidial_statuses values('A','Answering Machine','Y');
insert into vicidial_statuses values('B','Busy','Y');
insert into vicidial_statuses values('DC','Disconnected Number','Y');
insert into vicidial_statuses values('DEC','Declined Sale','Y');
insert into vicidial_statuses values('DNC','DO NOT CALL','Y');
insert into vicidial_statuses values('SALE','Sale Made','Y');
insert into vicidial_statuses values('N','No Answer','Y');
insert into vicidial_statuses values('NI','Not Interested','Y');
insert into vicidial_statuses values('NP','No Pitch No Price','Y');
insert into vicidial_statuses values('XFER','Call Transferred','Y');
MYSQL ATS CHANGES U HAVE TO DO THIS IF U R INSTALLING IN ATS.
THIS CHANGES FOR DISPOSITION.
Create table disposition( op0 varchar(10) NOT NULL,op1 varchar(20) NOT NULL,
op2 varchar(10) NOT NULL, op3 varchar(10) NOT NULL);
commit;
THIS CHANGES FOR REAL TIME SCREEN.
drop tables vicidial_live_agents;
drop tables vicidial_auto_calls;
copy tables syntax from table.txt and paste in mysql .
CREATE TABLE vicidial_live_agents (
live_agent_id INT(9) UNSIGNED AUTO_INCREMENT PRIMARY KEY UNIQUE NOT
NULL,
user VARCHAR(20),
server_ip VARCHAR(15) NOT NULL,
conf_exten VARCHAR(20),
extension VARCHAR(100),
status ENUM('READY','QUEUE','INCALL','PAUSED','CLOSER') default
'PAUSED',
lead_id INT(9) UNSIGNED NOT NULL,
campaign_id VARCHAR(8),
uniqueid DOUBLE(18,7),
callerid VARCHAR(20),
phone_no varchar(20),
channel VARCHAR(100),
random_id INT(8) UNSIGNED,
last_call_time DATETIME,
last_update_time TIMESTAMP,
last_call_finish DATETIME,
closer_campaigns TEXT,
call_server_ip VARCHAR(15),
user_level INT(2) default '0',
index (random_id),
index (last_call_time),
index (last_update_time),
index (last_call_finish)
);
CREATE TABLE vicidial_auto_calls (
auto_call_id INT(9) UNSIGNED AUTO_INCREMENT PRIMARY KEY UNIQUE NOT
NULL,
server_ip VARCHAR(15) NOT NULL,
campaign_id VARCHAR(20),
status
ENUM('SENT','RINGING','LIVE','XFER','PAUSED','CLOSER','BUSY','DISCONNECT','TEMP
','UNAVAIL','PRI FAIL') default 'PAUSED',
lead_id INT(9) UNSIGNED NOT NULL,
uniqueid DOUBLE(18,7),
callerid VARCHAR(20),
channel VARCHAR(100),
phone_code VARCHAR(10),
phone_number VARCHAR(12),
call_time DATETIME,
call_type ENUM('IN','OUT') default 'OUT',
index (uniqueid),
index (callerid),
index (call_time)
);
THIS CHANGES FOR CALLBACKS.
for callbacks do this.
alter table vicidial_hopper modify status enum('READY','QUEUE','INCALL','DONE',
'CALLBK') default 'READY';
update vicidial_hopper set status='' where status='' and status!='READY';
to check callbacks r coming do this.
select status,count(*) from vicidial_hopper group by status;
===================================================
multi
alter table vicidial_campaigns add alt_number_dial text after use_internal_dnc;
alter table vicidial_hopper add todial enum('QUEUE','QUEUE1','QUEUE2','QUEUE3','
CALBK') default 'QUEUE';
================================================================
disposition table.
Create table disposition( op0 varchar(10) NOT NULL,op1 varchar(20) NOT NULL,
op2 varchar(10) NOT NULL, op3 varchar(10) NOT NULL);
=========================================================================
ip updater
update servers set server_ip='192.168.1.80';
update server_updater set server_ip='192.168.1.80';
update phones set server_ip='192.168.1.80';
update vicidial_conferences set server_ip='192.168.1.80';
======================================================================
Wrapup changes
alter table vicidial_live_agents modify status enum('READY','QUEUE','INCALL',
'PAUSED','CLOSER','WRAPUP') default 'PAUSED' ;

Você também pode gostar