updated docs
changed vicidial.php to update customer info before AXFER or CXFERs git-svn-id: svn://192.168.202.10@519 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
VICIDIAL and QueueMetrics
|
||||
|
||||
This document goes over the features and needed changes made to VICIDIAL to enable it to insert activity records into the queue_log and other tables in MySQL that QueueMetrics uses for it's statistical analysis and reports.
|
||||
This document goes over the features and needed changes made to VICIDIAL to enable it to insert activity records into the queue_log and other tables in MySQL that QueueMetrics uses for it's statistical analysis and reports. This document should not be taken as a HOWTO for proper installation steps to get QueueMetrics working.
|
||||
|
||||
QueueMetrics is a closed-source, commercial product written by Loway Research in Italy. The writers of VICIDIAL do not support or warranty QueueMetrics or it's functionality with VICIDIAL in any way.
|
||||
|
||||
@@ -25,11 +25,19 @@ rpm -i jdk-1_5_0_11-linux-i586.rpm
|
||||
wget http://www.mirrorgeek.com/apache.org/tomcat/tomcat-5/v5.5.20/bin/apache-tomcat-5.5.20.tar.gz
|
||||
gunzip apache-tomcat-5.5.20.tar.gz
|
||||
tar xvf apache-tomcat-5.5.20.tar
|
||||
cd apache-tomcat-5.5.20
|
||||
ln -s apache-tomcat-5.5.20 tomcat
|
||||
cd apache-tomcat-5.5.20
|
||||
|
||||
JAVA_HOME=/usr/java/jdk1.5.0_11/
|
||||
JAVA_OPTS="-Xms256M -Xmx512M"
|
||||
JRE_HOME=/usr/java/jdk1.5.0_11/jre
|
||||
|
||||
or
|
||||
|
||||
JRE_HOME=/usr/java/jre1.6.0/
|
||||
JAVA_HOME=/usr/java/
|
||||
JAVA_OPTS="-Xms256M -Xmx512M"
|
||||
|
||||
export JAVA_HOME
|
||||
export JAVA_OPTS
|
||||
export JRE_HOME
|
||||
@@ -47,6 +55,8 @@ If it did, then you want to add the following lines to your /etc/rc.d/rc.local f
|
||||
export JRE_HOME
|
||||
/usr/local/tomcat/bin/startup.sh
|
||||
|
||||
|
||||
|
||||
cd /usr/local
|
||||
*** download QueueMetrics and place it in /usr/local ***
|
||||
gunzip QueueMetrics-1.1.tar.gz
|
||||
@@ -69,7 +79,13 @@ You now need to add the database tables, configure the web.xml file and configur
|
||||
|
||||
|
||||
|
||||
Now to the database side of things. First the queue_log table:
|
||||
Now to the database side of things.
|
||||
First, give permissions to your user:
|
||||
|
||||
GRANT ALL PRIVILEGES ON queuemetrics.* TO qm@'localhost' IDENTIFIED BY 'qm';
|
||||
GRANT ALL PRIVILEGES ON queuemetrics.* TO qm@'%' IDENTIFIED BY 'qm';
|
||||
|
||||
Second, the queue_log table:
|
||||
|
||||
mysql> describe queue_log;
|
||||
+-----------+------------------+------+-----+---------+-------+
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Asterisk/astguiclient install from scratch. v.2.0.3 2007-01-17
|
||||
Asterisk/astguiclient install from scratch. v.2.0.3 2007-02-XX
|
||||
By the astGUIclient group astguiclient@eflo.net
|
||||
|
||||
**** IMPORTANT - In order for vicidial/astguiclient to function correctly please
|
||||
|
||||
@@ -138,7 +138,7 @@ QueueMetrics URL -<\/B> This is the URL or web site address used to get to your
|
||||
############################################################ CLIENT
|
||||
|
||||
FAST DIAL||
|
||||
YOU MUST BE ENTER A PHONE NUMBER AND DIAL CODE TO USE FAST DIAL||
|
||||
YOU MUST ENTER A PHONE NUMBER AND DIAL CODE TO USE FAST DIAL||
|
||||
SELECT A PAUSE CODE :||
|
||||
ENTER A PAUSE CODE||
|
||||
YOU MUST BE PAUSED TO ENTER A PAUSE CODE IN AUTO-DIAL MODE||
|
||||
|
||||
@@ -146,10 +146,11 @@
|
||||
# 70206-1201 - Fixed allow_closers bug
|
||||
# 70206-1332 - Added vicidial_recording_override users setting function
|
||||
# 70212-1252 - Fixed small issue with CXFER
|
||||
# 70213-1018 - Changed CXFER and AXFER to update customer information before transfer
|
||||
#
|
||||
|
||||
$version = '2.0.117';
|
||||
$build = '70212-1252';
|
||||
$version = '2.0.118';
|
||||
$build = '70213-1018';
|
||||
|
||||
require("dbconnect.php");
|
||||
|
||||
@@ -1736,6 +1737,35 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
// Send Originate command to manager to place a phone call
|
||||
function basic_originate_call(tasknum,taskprefix,taskreverse,taskdialvalue,tasknowait,taskconfxfer)
|
||||
{
|
||||
var regCXFvars = new RegExp("CXFER","g");
|
||||
var tasknum_string = tasknum.toString();
|
||||
if (tasknum_string.match(regCXFvars))
|
||||
{
|
||||
var Ctasknum = tasknum_string.replace(regCXFvars, '');
|
||||
if (Ctasknum.length < 2)
|
||||
{Ctasknum = '990009';}
|
||||
var closerxfercamptail = '_L' + document.vicidial_form.xfercode.value;
|
||||
tasknum = Ctasknum + "*CL_" + campaign + '' + closerxfercamptail + '*CXFER*' + document.vicidial_form.lead_id.value + '**' + document.vicidial_form.phone_number.value + '*' + user + '*';
|
||||
|
||||
CustomerData_update();
|
||||
|
||||
}
|
||||
var regAXFvars = new RegExp("AXFER","g");
|
||||
if (tasknum_string.match(regAXFvars))
|
||||
{
|
||||
var Ctasknum = tasknum_string.replace(regAXFvars, '');
|
||||
if (Ctasknum.length < 2)
|
||||
{Ctasknum = '83009';}
|
||||
var closerxfercamptail = '_L' + document.vicidial_form.xfercode.value;
|
||||
if (closerxfercamptail.length < 3)
|
||||
{closerxfercamptail = 'IVR';}
|
||||
tasknum = Ctasknum + '*' + document.vicidial_form.phone_number.value + '*' + document.vicidial_form.lead_id.value + '*' + campaign + '*' + closerxfercamptail + '*' + user + '*';
|
||||
|
||||
CustomerData_update();
|
||||
|
||||
}
|
||||
|
||||
|
||||
var xmlhttp=false;
|
||||
/*@cc_on @*/
|
||||
/*@if (@_jscript_version >= 5)
|
||||
@@ -1757,27 +1787,6 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
}
|
||||
if (xmlhttp)
|
||||
{
|
||||
var regCXFvars = new RegExp("CXFER","g");
|
||||
var tasknum_string = tasknum.toString();
|
||||
if (tasknum_string.match(regCXFvars))
|
||||
{
|
||||
var Ctasknum = tasknum_string.replace(regCXFvars, '');
|
||||
if (Ctasknum.length < 2)
|
||||
{Ctasknum = '990009';}
|
||||
var closerxfercamptail = '_L' + document.vicidial_form.xfercode.value;
|
||||
tasknum = Ctasknum + "*CL_" + campaign + '' + closerxfercamptail + '*CXFER*' + document.vicidial_form.lead_id.value + '**' + document.vicidial_form.phone_number.value + '*' + user + '*';
|
||||
}
|
||||
var regAXFvars = new RegExp("AXFER","g");
|
||||
if (tasknum_string.match(regAXFvars))
|
||||
{
|
||||
var Ctasknum = tasknum_string.replace(regAXFvars, '');
|
||||
if (Ctasknum.length < 2)
|
||||
{Ctasknum = '83009';}
|
||||
var closerxfercamptail = '_L' + document.vicidial_form.xfercode.value;
|
||||
if (closerxfercamptail.length < 3)
|
||||
{closerxfercamptail = 'IVR';}
|
||||
tasknum = Ctasknum + '*' + document.vicidial_form.phone_number.value + '*' + document.vicidial_form.lead_id.value + '*' + campaign + '*' + closerxfercamptail + '*' + user + '*';
|
||||
}
|
||||
if (taskprefix == 'NO') {var orig_prefix = '';}
|
||||
else {var orig_prefix = agc_dial_prefix;}
|
||||
if (taskreverse == 'YES')
|
||||
@@ -2343,7 +2352,6 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
Nactiveext = null;
|
||||
Nactiveext = xmlhttp.responseText;
|
||||
// alert(xmlhttp.responseText);
|
||||
hideMainXfeR();
|
||||
}
|
||||
}
|
||||
delete xmlhttp;
|
||||
@@ -2686,7 +2694,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
|
||||
if ( (MDDiaLCodEform.length < 1) || (MDPhonENumbeRform.length < 5) )
|
||||
{
|
||||
alert("YOU MUST BE ENTER A PHONE NUMBER AND DIAL CODE TO USE FAST DIAL");
|
||||
alert("YOU MUST ENTER A PHONE NUMBER AND DIAL CODE TO USE FAST DIAL");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user