updates to translated web pages and admin translations files
git-svn-id: svn://192.168.202.10@422 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
# 60410-1424 - Added ability to grab calls-being-placed and agent status
|
||||
# 60421-1405 - check GET/POST vars lines with isset to not trigger PHP NOTICES
|
||||
# 60619-1201 - Added variable filters to close security holes for login form
|
||||
# 61128-2255 - Added update for manual dial vicidial_live_agents
|
||||
#
|
||||
|
||||
require("dbconnect.php");
|
||||
@@ -68,8 +69,8 @@ if (!isset($format)) {$format="text";}
|
||||
if (!isset($ACTION)) {$ACTION="refresh";}
|
||||
if (!isset($client)) {$client="agc";}
|
||||
|
||||
$version = '0.0.9';
|
||||
$build = '60619-1201';
|
||||
$version = '0.0.10';
|
||||
$build = '61128-2255';
|
||||
$StarTtime = date("U");
|
||||
$NOW_DATE = date("Y-m-d");
|
||||
$NOW_TIME = date("Y-m-d H:i:s");
|
||||
@@ -150,8 +151,6 @@ echo "<BODY BGCOLOR=white marginheight=0 marginwidth=0 leftmargin=0 topmargin=0>
|
||||
if ($format=='debug') {echo "\n<!-- $stmt -->";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
|
||||
|
||||
if ($campagentstdisp == 'YES')
|
||||
{
|
||||
### grab the status of this agent to display
|
||||
@@ -179,6 +178,12 @@ echo "<BODY BGCOLOR=white marginheight=0 marginwidth=0 leftmargin=0 topmargin=0>
|
||||
{
|
||||
$Astatus='N';
|
||||
$RingCalls='N';
|
||||
|
||||
### update the vicidial_live_agents every second with a new random number so it is shown to be alive
|
||||
$stmt="UPDATE vicidial_live_agents set random_id='$random' where user='$user' and server_ip='$server_ip';";
|
||||
if ($format=='debug') {echo "\n<!-- $stmt -->";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
}
|
||||
|
||||
echo 'DateTime: ' . $NOW_TIME . '|UnixTime: ' . $StarTtime . '|Status: ' . $Astatus . '|CampCalls: ' . $RingCalls . "|\n";
|
||||
|
||||
@@ -109,10 +109,11 @@
|
||||
# 60821-1600 - Added ability to omit the phone code on vicidial lead dialing
|
||||
# 60821-1647 - Added ability to not delete sessions at logout
|
||||
# 60906-1124 - Added lookup and sending of callback data for CALLBK calls
|
||||
# 61128-2229 - Added vicidial_live_agents and vicidial_auto_calls manual dial entries
|
||||
#
|
||||
|
||||
$version = '2.0.37';
|
||||
$build = '60906-1124';
|
||||
$version = '2.0.38';
|
||||
$build = '61128-2229';
|
||||
|
||||
require("dbconnect.php");
|
||||
|
||||
@@ -572,6 +573,15 @@ if ($ACTION == 'manDiaLnextCaLL')
|
||||
$stmt = "INSERT INTO vicidial_manager values('','','$NOW_TIME','NEW','N','$server_ip','','Originate','$MqueryCID','Exten: $Ndialstring','Context: $ext_context','Channel: $local_DEF$conf_exten$local_AMP$ext_context$Local_persist','Priority: 1','Callerid: $CIDstring','Timeout: $Local_dial_timeout','','','','');";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
$stmt = "INSERT INTO vicidial_auto_calls (server_ip,campaign_id,status,lead_id,callerid,phone_code,phone_number,call_time,call_type) values('$server_ip','$campaign','XFER','$lead_id','$MqueryCID','$phone_code','$phone_number','$NOW_TIME','OUT')";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
### update the agent status to INCALL in vicidial_live_agents
|
||||
$stmt = "UPDATE vicidial_live_agents set status='INCALL',last_call_time='$NOW_TIME',callerid='$MqueryCID',lead_id='$lead_id' where user='$user' and server_ip='$server_ip';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
}
|
||||
|
||||
$comments = eregi_replace("\r",'',$comments);
|
||||
@@ -701,6 +711,15 @@ if ($ACTION == 'manDiaLonly')
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
$stmt = "INSERT INTO vicidial_auto_calls (server_ip,campaign_id,status,lead_id,callerid,phone_code,phone_number,call_time,call_type) values('$server_ip','$campaign','XFER','$lead_id','$MqueryCID','$phone_code','$phone_number','$NOW_TIME','OUT')";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
### update the agent status to INCALL in vicidial_live_agents
|
||||
$stmt = "UPDATE vicidial_live_agents set status='INCALL',last_call_time='$NOW_TIME',callerid='$MqueryCID',lead_id='$lead_id' where user='$user' and server_ip='$server_ip';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
echo "$MqueryCID\n";
|
||||
}
|
||||
}
|
||||
@@ -792,6 +811,10 @@ if ($stage == "start")
|
||||
echo "LOG NOT ENTERED\n";
|
||||
}
|
||||
|
||||
$stmt = "UPDATE vicidial_auto_calls SET uniqueid='$uniqueid' where lead_id='$lead_id';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
# ##### insert log into call_log for manual VICIDiaL call
|
||||
# $stmt = "INSERT INTO call_log (uniqueid,channel,server_ip,extension,number_dialed,caller_code,start_time,start_epoch) values('$uniqueid','$channel','$server_ip','$exten','$phone_code$phone_number','MD $user $lead_id','$NOW_TIME','$StarTtime')";
|
||||
# if ($DB) {echo "$stmt\n";}
|
||||
@@ -860,6 +883,16 @@ if ($stage == "end")
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
$stmt = "UPDATE vicidial_live_agents set status='PAUSED',lead_id='',uniqueid=0,callerid='',channel='',call_server_ip='',last_call_finish='$NOW_TIME' where user='$user' and server_ip='$server_ip';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
}
|
||||
else
|
||||
{
|
||||
$stmt = "DELETE from vicidial_auto_calls lead_id='$lead_id';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
$stmt = "UPDATE vicidial_live_agents set status='PAUSED',lead_id='',uniqueid=0,callerid='',channel='',call_server_ip='',last_call_finish='$NOW_TIME' where user='$user' and server_ip='$server_ip';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
@@ -129,6 +129,7 @@
|
||||
# 61004-1729 - Add ability to control volume per channel in "calls in this session"
|
||||
# 61122-1341 - Added vicidial_user_groups allowed_campaigns restrictions
|
||||
# 61122-1523 - Added more SCRIPT variables
|
||||
# 61128-2229 - Added vicidial_live_agents and vicidial_auto_calls manual dial entries
|
||||
#
|
||||
|
||||
require("dbconnect.php");
|
||||
@@ -174,8 +175,8 @@ if (isset($_GET["relogin"])) {$relogin=$_GET["relogin"];}
|
||||
|
||||
$forever_stop=0;
|
||||
|
||||
$version = '2.0.102';
|
||||
$build = '61122-1523';
|
||||
$version = '2.0.103';
|
||||
$build = '61128-2229';
|
||||
|
||||
if ($force_logout)
|
||||
{
|
||||
@@ -969,8 +970,11 @@ else
|
||||
{
|
||||
print "<!-- campaign is set to manual dial: $auto_dial_level -->\n";
|
||||
|
||||
|
||||
|
||||
$stmt="INSERT INTO vicidial_live_agents (user,server_ip,conf_exten,extension,status,lead_id,campaign_id,uniqueid,callerid,channel,random_id,last_call_time,last_update_time,last_call_finish,user_level) values('$VD_login','$server_ip','$session_id','$SIP_user','PAUSED','','$VD_campaign','','','','$random','$NOW_TIME','$tsNOW_TIME','$NOW_TIME','$user_level');";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
$affected_rows = mysql_affected_rows($link);
|
||||
print "<!-- new vicidial_live_agents record inserted: |$affected_rows| -->\n";
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
# 60410-1424 - Added ability to grab calls-being-placed and agent status
|
||||
# 60421-1405 - check GET/POST vars lines with isset to not trigger PHP NOTICES
|
||||
# 60619-1201 - Added variable filters to close security holes for login form
|
||||
# 61128-2255 - Added update for manual dial vicidial_live_agents
|
||||
#
|
||||
|
||||
require("dbconnect.php");
|
||||
@@ -68,8 +69,8 @@ if (!isset($format)) {$format="text";}
|
||||
if (!isset($ACTION)) {$ACTION="refresh";}
|
||||
if (!isset($client)) {$client="agc";}
|
||||
|
||||
$version = '0.0.9';
|
||||
$build = '60619-1201';
|
||||
$version = '0.0.10';
|
||||
$build = '61128-2255';
|
||||
$StarTtime = date("U");
|
||||
$NOW_DATE = date("Y-m-d");
|
||||
$NOW_TIME = date("Y-m-d H:i:s");
|
||||
@@ -150,8 +151,6 @@ echo "<BODY BGCOLOR=white marginheight=0 marginwidth=0 leftmargin=0 topmargin=0>
|
||||
if ($format=='debug') {echo "\n<!-- $stmt -->";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
|
||||
|
||||
if ($campagentstdisp == 'YES')
|
||||
{
|
||||
### grab the status of this agent to display
|
||||
@@ -179,6 +178,12 @@ echo "<BODY BGCOLOR=white marginheight=0 marginwidth=0 leftmargin=0 topmargin=0>
|
||||
{
|
||||
$Astatus='N';
|
||||
$RingCalls='N';
|
||||
|
||||
### update the vicidial_live_agents every second with a new random number so it is shown to be alive
|
||||
$stmt="UPDATE vicidial_live_agents set random_id='$random' where user='$user' and server_ip='$server_ip';";
|
||||
if ($format=='debug') {echo "\n<!-- $stmt -->";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
}
|
||||
|
||||
echo 'DateTime: ' . $NOW_TIME . '|UnixTime: ' . $StarTtime . '|Status: ' . $Astatus . '|CampCalls: ' . $RingCalls . "|\n";
|
||||
|
||||
@@ -109,10 +109,11 @@
|
||||
# 60821-1600 - Added ability to omit the phone code on vicidial lead dialing
|
||||
# 60821-1647 - Added ability to not delete sessions at logout
|
||||
# 60906-1124 - Added lookup and sending of callback data for CALLBK calls
|
||||
# 61128-2229 - Added vicidial_live_agents and vicidial_auto_calls manual dial entries
|
||||
#
|
||||
|
||||
$version = '2.0.37';
|
||||
$build = '60906-1124';
|
||||
$version = '2.0.38';
|
||||
$build = '61128-2229';
|
||||
|
||||
require("dbconnect.php");
|
||||
|
||||
@@ -572,6 +573,15 @@ if ($ACTION == 'manDiaLnextCaLL')
|
||||
$stmt = "INSERT INTO vicidial_manager values('','','$NOW_TIME','NEW','N','$server_ip','','Originate','$MqueryCID','Exten: $Ndialstring','Context: $ext_context','Channel: $local_DEF$conf_exten$local_AMP$ext_context$Local_persist','Priority: 1','Callerid: $CIDstring','Timeout: $Local_dial_timeout','','','','');";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
$stmt = "INSERT INTO vicidial_auto_calls (server_ip,campaign_id,status,lead_id,callerid,phone_code,phone_number,call_time,call_type) values('$server_ip','$campaign','XFER','$lead_id','$MqueryCID','$phone_code','$phone_number','$NOW_TIME','OUT')";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
### update the agent status to INCALL in vicidial_live_agents
|
||||
$stmt = "UPDATE vicidial_live_agents set status='INCALL',last_call_time='$NOW_TIME',callerid='$MqueryCID',lead_id='$lead_id' where user='$user' and server_ip='$server_ip';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
}
|
||||
|
||||
$comments = eregi_replace("\r",'',$comments);
|
||||
@@ -701,6 +711,15 @@ if ($ACTION == 'manDiaLonly')
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
$stmt = "INSERT INTO vicidial_auto_calls (server_ip,campaign_id,status,lead_id,callerid,phone_code,phone_number,call_time,call_type) values('$server_ip','$campaign','XFER','$lead_id','$MqueryCID','$phone_code','$phone_number','$NOW_TIME','OUT')";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
### update the agent status to INCALL in vicidial_live_agents
|
||||
$stmt = "UPDATE vicidial_live_agents set status='INCALL',last_call_time='$NOW_TIME',callerid='$MqueryCID',lead_id='$lead_id' where user='$user' and server_ip='$server_ip';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
echo "$MqueryCID\n";
|
||||
}
|
||||
}
|
||||
@@ -792,6 +811,10 @@ if ($stage == "start")
|
||||
echo "REGISTRO NÃO DEFINIDO\n";
|
||||
}
|
||||
|
||||
$stmt = "UPDATE vicidial_auto_calls SET uniqueid='$uniqueid' where lead_id='$lead_id';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
# ##### insert log into call_log for manual VICIDiaL call
|
||||
# $stmt = "INSERT INTO call_log (uniqueid,channel,server_ip,extension,number_dialed,caller_code,start_time,start_epoch) values('$uniqueid','$channel','$server_ip','$exten','$phone_code$phone_number','MD $user $lead_id','$NOW_TIME','$StarTtime')";
|
||||
# if ($DB) {echo "$stmt\n";}
|
||||
@@ -860,6 +883,16 @@ if ($stage == "end")
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
$stmt = "UPDATE vicidial_live_agents set status='PAUSED',lead_id='',uniqueid=0,callerid='',channel='',call_server_ip='',last_call_finish='$NOW_TIME' where user='$user' and server_ip='$server_ip';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
}
|
||||
else
|
||||
{
|
||||
$stmt = "DELETE from vicidial_auto_calls lead_id='$lead_id';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
$stmt = "UPDATE vicidial_live_agents set status='PAUSED',lead_id='',uniqueid=0,callerid='',channel='',call_server_ip='',last_call_finish='$NOW_TIME' where user='$user' and server_ip='$server_ip';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
@@ -129,6 +129,7 @@
|
||||
# 61004-1729 - Add ability to control volume per channel in "calls in this session"
|
||||
# 61122-1341 - Added vicidial_user_groups allowed_campaigns restrictions
|
||||
# 61122-1523 - Added more SCRIPT variables
|
||||
# 61128-2229 - Added vicidial_live_agents and vicidial_auto_calls manual dial entries
|
||||
#
|
||||
|
||||
require("dbconnect.php");
|
||||
@@ -174,8 +175,8 @@ if (isset($_GET["relogin"])) {$relogin=$_GET["relogin"];}
|
||||
|
||||
$forever_stop=0;
|
||||
|
||||
$version = '2.0.102';
|
||||
$build = '61122-1523';
|
||||
$version = '2.0.103';
|
||||
$build = '61128-2229';
|
||||
|
||||
if ($force_logout)
|
||||
{
|
||||
@@ -969,8 +970,11 @@ else
|
||||
{
|
||||
print "<!-- A campanha está definida com discagem manual: $auto_dial_level -->\n";
|
||||
|
||||
|
||||
|
||||
$stmt="INSERT INTO vicidial_live_agents (user,server_ip,conf_exten,extension,status,lead_id,campaign_id,uniqueid,callerid,channel,random_id,last_call_time,last_update_time,last_call_finish,user_level) values('$VD_login','$server_ip','$session_id','$SIP_user','PAUSED','','$VD_campaign','','','','$random','$NOW_TIME','$tsNOW_TIME','$NOW_TIME','$user_level');";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
$affected_rows = mysql_affected_rows($link);
|
||||
print "<!-- nova gravação de agente do vicidial inserida: |$affected_rows| -->\n";
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
# 60410-1424 - Added ability to grab calls-being-placed and agent status
|
||||
# 60421-1405 - check GET/POST vars lines with isset to not trigger PHP NOTICES
|
||||
# 60619-1201 - Added variable filters to close security holes for login form
|
||||
# 61128-2255 - Added update for manual dial vicidial_live_agents
|
||||
#
|
||||
|
||||
require("dbconnect.php");
|
||||
@@ -68,8 +69,8 @@ if (!isset($format)) {$format="text";}
|
||||
if (!isset($ACTION)) {$ACTION="refresh";}
|
||||
if (!isset($client)) {$client="agc";}
|
||||
|
||||
$version = '0.0.9';
|
||||
$build = '60619-1201';
|
||||
$version = '0.0.10';
|
||||
$build = '61128-2255';
|
||||
$StarTtime = date("U");
|
||||
$NOW_DATE = date("Y-m-d");
|
||||
$NOW_TIME = date("Y-m-d H:i:s");
|
||||
@@ -150,8 +151,6 @@ echo "<BODY BGCOLOR=white marginheight=0 marginwidth=0 leftmargin=0 topmargin=0>
|
||||
if ($format=='debug') {echo "\n<!-- $stmt -->";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
|
||||
|
||||
if ($campagentstdisp == 'YES')
|
||||
{
|
||||
### grab the status of this agent to display
|
||||
@@ -179,6 +178,12 @@ echo "<BODY BGCOLOR=white marginheight=0 marginwidth=0 leftmargin=0 topmargin=0>
|
||||
{
|
||||
$Astatus='N';
|
||||
$RingCalls='N';
|
||||
|
||||
### update the vicidial_live_agents every second with a new random number so it is shown to be alive
|
||||
$stmt="UPDATE vicidial_live_agents set random_id='$random' where user='$user' and server_ip='$server_ip';";
|
||||
if ($format=='debug') {echo "\n<!-- $stmt -->";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
}
|
||||
|
||||
echo 'DateTime: ' . $NOW_TIME . '|UnixTime: ' . $StarTtime . '|Status: ' . $Astatus . '|CampCalls: ' . $RingCalls . "|\n";
|
||||
|
||||
@@ -109,10 +109,11 @@
|
||||
# 60821-1600 - Added ability to omit the phone code on vicidial lead dialing
|
||||
# 60821-1647 - Added ability to not delete sessions at logout
|
||||
# 60906-1124 - Added lookup and sending of callback data for CALLBK calls
|
||||
# 61128-2229 - Added vicidial_live_agents and vicidial_auto_calls manual dial entries
|
||||
#
|
||||
|
||||
$version = '2.0.37';
|
||||
$build = '60906-1124';
|
||||
$version = '2.0.38';
|
||||
$build = '61128-2229';
|
||||
|
||||
require("dbconnect.php");
|
||||
|
||||
@@ -572,6 +573,15 @@ if ($ACTION == 'manDiaLnextCaLL')
|
||||
$stmt = "INSERT INTO vicidial_manager values('','','$NOW_TIME','NEW','N','$server_ip','','Originate','$MqueryCID','Exten: $Ndialstring','Context: $ext_context','Channel: $local_DEF$conf_exten$local_AMP$ext_context$Local_persist','Priority: 1','Callerid: $CIDstring','Timeout: $Local_dial_timeout','','','','');";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
$stmt = "INSERT INTO vicidial_auto_calls (server_ip,campaign_id,status,lead_id,callerid,phone_code,phone_number,call_time,call_type) values('$server_ip','$campaign','XFER','$lead_id','$MqueryCID','$phone_code','$phone_number','$NOW_TIME','OUT')";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
### update the agent status to INCALL in vicidial_live_agents
|
||||
$stmt = "UPDATE vicidial_live_agents set status='INCALL',last_call_time='$NOW_TIME',callerid='$MqueryCID',lead_id='$lead_id' where user='$user' and server_ip='$server_ip';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
}
|
||||
|
||||
$comments = eregi_replace("\r",'',$comments);
|
||||
@@ -701,6 +711,15 @@ if ($ACTION == 'manDiaLonly')
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
$stmt = "INSERT INTO vicidial_auto_calls (server_ip,campaign_id,status,lead_id,callerid,phone_code,phone_number,call_time,call_type) values('$server_ip','$campaign','XFER','$lead_id','$MqueryCID','$phone_code','$phone_number','$NOW_TIME','OUT')";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
### update the agent status to INCALL in vicidial_live_agents
|
||||
$stmt = "UPDATE vicidial_live_agents set status='INCALL',last_call_time='$NOW_TIME',callerid='$MqueryCID',lead_id='$lead_id' where user='$user' and server_ip='$server_ip';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
echo "$MqueryCID\n";
|
||||
}
|
||||
}
|
||||
@@ -792,6 +811,10 @@ if ($stage == "start")
|
||||
echo "LOG NICHT EINGEGEBEN\n";
|
||||
}
|
||||
|
||||
$stmt = "UPDATE vicidial_auto_calls SET uniqueid='$uniqueid' where lead_id='$lead_id';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
# ##### insert log into call_log for manual VICIDiaL call
|
||||
# $stmt = "INSERT INTO call_log (uniqueid,channel,server_ip,extension,number_dialed,caller_code,start_time,start_epoch) values('$uniqueid','$channel','$server_ip','$exten','$phone_code$phone_number','MD $user $lead_id','$NOW_TIME','$StarTtime')";
|
||||
# if ($DB) {echo "$stmt\n";}
|
||||
@@ -860,6 +883,16 @@ if ($stage == "end")
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
$stmt = "UPDATE vicidial_live_agents set status='PAUSED',lead_id='',uniqueid=0,callerid='',channel='',call_server_ip='',last_call_finish='$NOW_TIME' where user='$user' and server_ip='$server_ip';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
}
|
||||
else
|
||||
{
|
||||
$stmt = "DELETE from vicidial_auto_calls lead_id='$lead_id';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
$stmt = "UPDATE vicidial_live_agents set status='PAUSED',lead_id='',uniqueid=0,callerid='',channel='',call_server_ip='',last_call_finish='$NOW_TIME' where user='$user' and server_ip='$server_ip';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
@@ -129,6 +129,7 @@
|
||||
# 61004-1729 - Add ability to control volume per channel in "calls in this session"
|
||||
# 61122-1341 - Added vicidial_user_groups allowed_campaigns restrictions
|
||||
# 61122-1523 - Added more SCRIPT variables
|
||||
# 61128-2229 - Added vicidial_live_agents and vicidial_auto_calls manual dial entries
|
||||
#
|
||||
|
||||
require("dbconnect.php");
|
||||
@@ -174,8 +175,8 @@ if (isset($_GET["relogin"])) {$relogin=$_GET["relogin"];}
|
||||
|
||||
$forever_stop=0;
|
||||
|
||||
$version = '2.0.102';
|
||||
$build = '61122-1523';
|
||||
$version = '2.0.103';
|
||||
$build = '61128-2229';
|
||||
|
||||
if ($force_logout)
|
||||
{
|
||||
@@ -969,8 +970,11 @@ else
|
||||
{
|
||||
print "<!-- Kampagne ist auf manuelles Wählen eingestellt: $auto_dial_level -->\n";
|
||||
|
||||
|
||||
|
||||
$stmt="INSERT INTO vicidial_live_agents (user,server_ip,conf_exten,extension,status,lead_id,campaign_id,uniqueid,callerid,channel,random_id,last_call_time,last_update_time,last_call_finish,user_level) values('$VD_login','$server_ip','$session_id','$SIP_user','PAUSED','','$VD_campaign','','','','$random','$NOW_TIME','$tsNOW_TIME','$NOW_TIME','$user_level');";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
$affected_rows = mysql_affected_rows($link);
|
||||
print "<!-- neue vicidial_live_agents Aufzeichnung eingesetzt: |$affected_rows| -->\n";
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
# 60410-1424 - Added ability to grab calls-being-placed and agent status
|
||||
# 60421-1405 - check GET/POST vars lines with isset to not trigger PHP NOTICES
|
||||
# 60619-1201 - Added variable filters to close security holes for login form
|
||||
# 61128-2255 - Added update for manual dial vicidial_live_agents
|
||||
#
|
||||
|
||||
require("dbconnect.php");
|
||||
@@ -68,8 +69,8 @@ if (!isset($format)) {$format="text";}
|
||||
if (!isset($ACTION)) {$ACTION="refresh";}
|
||||
if (!isset($client)) {$client="agc";}
|
||||
|
||||
$version = '0.0.9';
|
||||
$build = '60619-1201';
|
||||
$version = '0.0.10';
|
||||
$build = '61128-2255';
|
||||
$StarTtime = date("U");
|
||||
$NOW_DATE = date("Y-m-d");
|
||||
$NOW_TIME = date("Y-m-d H:i:s");
|
||||
@@ -150,8 +151,6 @@ echo "<BODY BGCOLOR=white marginheight=0 marginwidth=0 leftmargin=0 topmargin=0>
|
||||
if ($format=='debug') {echo "\n<!-- $stmt -->";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
|
||||
|
||||
if ($campagentstdisp == 'YES')
|
||||
{
|
||||
### grab the status of this agent to display
|
||||
@@ -179,6 +178,12 @@ echo "<BODY BGCOLOR=white marginheight=0 marginwidth=0 leftmargin=0 topmargin=0>
|
||||
{
|
||||
$Astatus='N';
|
||||
$RingCalls='N';
|
||||
|
||||
### update the vicidial_live_agents every second with a new random number so it is shown to be alive
|
||||
$stmt="UPDATE vicidial_live_agents set random_id='$random' where user='$user' and server_ip='$server_ip';";
|
||||
if ($format=='debug') {echo "\n<!-- $stmt -->";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
}
|
||||
|
||||
echo 'DateTime: ' . $NOW_TIME . '|UnixTime: ' . $StarTtime . '|Κατάσταση: ' . $Astatus . '|CampCalls: ' . $RingCalls . "|\n";
|
||||
|
||||
@@ -109,10 +109,11 @@
|
||||
# 60821-1600 - Added ability to omit the phone code on vicidial lead dialing
|
||||
# 60821-1647 - Added ability to not delete sessions at logout
|
||||
# 60906-1124 - Added lookup and sending of callback data for CALLBK calls
|
||||
# 61128-2229 - Added vicidial_live_agents and vicidial_auto_calls manual dial entries
|
||||
#
|
||||
|
||||
$version = '2.0.37';
|
||||
$build = '60906-1124';
|
||||
$version = '2.0.38';
|
||||
$build = '61128-2229';
|
||||
|
||||
require("dbconnect.php");
|
||||
|
||||
@@ -572,6 +573,15 @@ if ($ACTION == 'manDiaLnextCaLL')
|
||||
$stmt = "INSERT INTO vicidial_manager values('','','$NOW_TIME','NEW','N','$server_ip','','Originate','$MqueryCID','Exten: $Ndialstring','Context: $ext_context','Channel: $local_DEF$conf_exten$local_AMP$ext_context$Local_persist','Priority: 1','Callerid: $CIDstring','Timeout: $Local_dial_timeout','','','','');";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
$stmt = "INSERT INTO vicidial_auto_calls (server_ip,campaign_id,status,lead_id,callerid,phone_code,phone_number,call_time,call_type) values('$server_ip','$campaign','XFER','$lead_id','$MqueryCID','$phone_code','$phone_number','$NOW_TIME','OUT')";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
### update the agent status to INCALL in vicidial_live_agents
|
||||
$stmt = "UPDATE vicidial_live_agents set status='INCALL',last_call_time='$NOW_TIME',callerid='$MqueryCID',lead_id='$lead_id' where user='$user' and server_ip='$server_ip';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
}
|
||||
|
||||
$comments = eregi_replace("\r",'',$comments);
|
||||
@@ -701,6 +711,15 @@ if ($ACTION == 'manDiaLonly')
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
$stmt = "INSERT INTO vicidial_auto_calls (server_ip,campaign_id,status,lead_id,callerid,phone_code,phone_number,call_time,call_type) values('$server_ip','$campaign','XFER','$lead_id','$MqueryCID','$phone_code','$phone_number','$NOW_TIME','OUT')";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
### update the agent status to INCALL in vicidial_live_agents
|
||||
$stmt = "UPDATE vicidial_live_agents set status='INCALL',last_call_time='$NOW_TIME',callerid='$MqueryCID',lead_id='$lead_id' where user='$user' and server_ip='$server_ip';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
echo "$MqueryCID\n";
|
||||
}
|
||||
}
|
||||
@@ -792,6 +811,10 @@ if ($stage == "start")
|
||||
echo "ΔΕΝ ΕΓΙΝΕ ΕΙΣΑΓΩΓΗ ΣΤΗΝ ΚΑΤΑΓΡΑΦΗ ΓΕΓΟΝΟΤΩΝ\n";
|
||||
}
|
||||
|
||||
$stmt = "UPDATE vicidial_auto_calls SET uniqueid='$uniqueid' where lead_id='$lead_id';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
# ##### insert log into call_log for manual VICIDiaL call
|
||||
# $stmt = "INSERT INTO call_log (uniqueid,channel,server_ip,extension,number_dialed,caller_code,start_time,start_epoch) values('$uniqueid','$channel','$server_ip','$exten','$phone_code$phone_number','MD $user $lead_id','$NOW_TIME','$StarTtime')";
|
||||
# if ($DB) {echo "$stmt\n";}
|
||||
@@ -860,6 +883,16 @@ if ($stage == "end")
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
$stmt = "UPDATE vicidial_live_agents set status='PAUSED',lead_id='',uniqueid=0,callerid='',channel='',call_server_ip='',last_call_finish='$NOW_TIME' where user='$user' and server_ip='$server_ip';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
}
|
||||
else
|
||||
{
|
||||
$stmt = "DELETE from vicidial_auto_calls lead_id='$lead_id';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
$stmt = "UPDATE vicidial_live_agents set status='PAUSED',lead_id='',uniqueid=0,callerid='',channel='',call_server_ip='',last_call_finish='$NOW_TIME' where user='$user' and server_ip='$server_ip';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
@@ -129,6 +129,7 @@
|
||||
# 61004-1729 - Add ability to control volume per channel in "calls in this session"
|
||||
# 61122-1341 - Added vicidial_user_groups allowed_campaigns restrictions
|
||||
# 61122-1523 - Added more SCRIPT variables
|
||||
# 61128-2229 - Added vicidial_live_agents and vicidial_auto_calls manual dial entries
|
||||
#
|
||||
|
||||
require("dbconnect.php");
|
||||
@@ -174,8 +175,8 @@ if (isset($_GET["relogin"])) {$relogin=$_GET["relogin"];}
|
||||
|
||||
$forever_stop=0;
|
||||
|
||||
$version = '2.0.102';
|
||||
$build = '61122-1523';
|
||||
$version = '2.0.103';
|
||||
$build = '61128-2229';
|
||||
|
||||
if ($force_logout)
|
||||
{
|
||||
@@ -969,8 +970,11 @@ else
|
||||
{
|
||||
print "<!-- η εκστρατεία τίθεται στη χειρωνακτική κλήση: $auto_dial_level -->\n";
|
||||
|
||||
|
||||
|
||||
$stmt="INSERT INTO vicidial_live_agents (user,server_ip,conf_exten,extension,status,lead_id,campaign_id,uniqueid,callerid,channel,random_id,last_call_time,last_update_time,last_call_finish,user_level) values('$VD_login','$server_ip','$session_id','$SIP_user','PAUSED','','$VD_campaign','','','','$random','$NOW_TIME','$tsNOW_TIME','$NOW_TIME','$user_level');";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
$affected_rows = mysql_affected_rows($link);
|
||||
print "<!-- νέο εισαγωγή εγγραφής vicidial_live_agents: |$affected_rows| -->\n";
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
# 60410-1424 - Added ability to grab calls-being-placed and agent status
|
||||
# 60421-1405 - check GET/POST vars lines with isset to not trigger PHP NOTICES
|
||||
# 60619-1201 - Added variable filters to close security holes for login form
|
||||
# 61128-2255 - Added update for manual dial vicidial_live_agents
|
||||
#
|
||||
|
||||
require("dbconnect.php");
|
||||
@@ -68,8 +69,8 @@ if (!isset($format)) {$format="text";}
|
||||
if (!isset($ACTION)) {$ACTION="refresh";}
|
||||
if (!isset($client)) {$client="agc";}
|
||||
|
||||
$version = '0.0.9';
|
||||
$build = '60619-1201';
|
||||
$version = '0.0.10';
|
||||
$build = '61128-2255';
|
||||
$StarTtime = date("U");
|
||||
$NOW_DATE = date("Y-m-d");
|
||||
$NOW_TIME = date("Y-m-d H:i:s");
|
||||
@@ -150,8 +151,6 @@ echo "<BODY BGCOLOR=white marginheight=0 marginwidth=0 leftmargin=0 topmargin=0>
|
||||
if ($format=='debug') {echo "\n<!-- $stmt -->";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
|
||||
|
||||
if ($campagentstdisp == 'YES')
|
||||
{
|
||||
### grab the status of this agent to display
|
||||
@@ -179,6 +178,12 @@ echo "<BODY BGCOLOR=white marginheight=0 marginwidth=0 leftmargin=0 topmargin=0>
|
||||
{
|
||||
$Astatus='N';
|
||||
$RingCalls='N';
|
||||
|
||||
### update the vicidial_live_agents every second with a new random number so it is shown to be alive
|
||||
$stmt="UPDATE vicidial_live_agents set random_id='$random' where user='$user' and server_ip='$server_ip';";
|
||||
if ($format=='debug') {echo "\n<!-- $stmt -->";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
}
|
||||
|
||||
echo 'DateTime: ' . $NOW_TIME . '|UnixTime: ' . $StarTtime . '|Status: ' . $Astatus . '|CampCalls: ' . $RingCalls . "|\n";
|
||||
|
||||
@@ -109,10 +109,11 @@
|
||||
# 60821-1600 - Added ability to omit the phone code on vicidial lead dialing
|
||||
# 60821-1647 - Added ability to not delete sessions at logout
|
||||
# 60906-1124 - Added lookup and sending of callback data for CALLBK calls
|
||||
# 61128-2229 - Added vicidial_live_agents and vicidial_auto_calls manual dial entries
|
||||
#
|
||||
|
||||
$version = '2.0.37';
|
||||
$build = '60906-1124';
|
||||
$version = '2.0.38';
|
||||
$build = '61128-2229';
|
||||
|
||||
require("dbconnect.php");
|
||||
|
||||
@@ -572,6 +573,15 @@ if ($ACTION == 'manDiaLnextCaLL')
|
||||
$stmt = "INSERT INTO vicidial_manager values('','','$NOW_TIME','NEW','N','$server_ip','','Originate','$MqueryCID','Exten: $Ndialstring','Context: $ext_context','Channel: $local_DEF$conf_exten$local_AMP$ext_context$Local_persist','Priority: 1','Callerid: $CIDstring','Timeout: $Local_dial_timeout','','','','');";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
$stmt = "INSERT INTO vicidial_auto_calls (server_ip,campaign_id,status,lead_id,callerid,phone_code,phone_number,call_time,call_type) values('$server_ip','$campaign','XFER','$lead_id','$MqueryCID','$phone_code','$phone_number','$NOW_TIME','OUT')";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
### update the agent status to INCALL in vicidial_live_agents
|
||||
$stmt = "UPDATE vicidial_live_agents set status='INCALL',last_call_time='$NOW_TIME',callerid='$MqueryCID',lead_id='$lead_id' where user='$user' and server_ip='$server_ip';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
}
|
||||
|
||||
$comments = eregi_replace("\r",'',$comments);
|
||||
@@ -701,6 +711,15 @@ if ($ACTION == 'manDiaLonly')
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
$stmt = "INSERT INTO vicidial_auto_calls (server_ip,campaign_id,status,lead_id,callerid,phone_code,phone_number,call_time,call_type) values('$server_ip','$campaign','XFER','$lead_id','$MqueryCID','$phone_code','$phone_number','$NOW_TIME','OUT')";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
### update the agent status to INCALL in vicidial_live_agents
|
||||
$stmt = "UPDATE vicidial_live_agents set status='INCALL',last_call_time='$NOW_TIME',callerid='$MqueryCID',lead_id='$lead_id' where user='$user' and server_ip='$server_ip';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
echo "$MqueryCID\n";
|
||||
}
|
||||
}
|
||||
@@ -792,6 +811,10 @@ if ($stage == "start")
|
||||
echo "LOG NOT ENTERED\n";
|
||||
}
|
||||
|
||||
$stmt = "UPDATE vicidial_auto_calls SET uniqueid='$uniqueid' where lead_id='$lead_id';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
# ##### insert log into call_log for manual VICIDiaL call
|
||||
# $stmt = "INSERT INTO call_log (uniqueid,channel,server_ip,extension,number_dialed,caller_code,start_time,start_epoch) values('$uniqueid','$channel','$server_ip','$exten','$phone_code$phone_number','MD $user $lead_id','$NOW_TIME','$StarTtime')";
|
||||
# if ($DB) {echo "$stmt\n";}
|
||||
@@ -860,6 +883,16 @@ if ($stage == "end")
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
$stmt = "UPDATE vicidial_live_agents set status='PAUSED',lead_id='',uniqueid=0,callerid='',channel='',call_server_ip='',last_call_finish='$NOW_TIME' where user='$user' and server_ip='$server_ip';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
}
|
||||
else
|
||||
{
|
||||
$stmt = "DELETE from vicidial_auto_calls lead_id='$lead_id';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
$stmt = "UPDATE vicidial_live_agents set status='PAUSED',lead_id='',uniqueid=0,callerid='',channel='',call_server_ip='',last_call_finish='$NOW_TIME' where user='$user' and server_ip='$server_ip';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
@@ -129,6 +129,7 @@
|
||||
# 61004-1729 - Add ability to control volume per channel in "calls in this session"
|
||||
# 61122-1341 - Added vicidial_user_groups allowed_campaigns restrictions
|
||||
# 61122-1523 - Added more SCRIPT variables
|
||||
# 61128-2229 - Added vicidial_live_agents and vicidial_auto_calls manual dial entries
|
||||
#
|
||||
|
||||
require("dbconnect.php");
|
||||
@@ -174,8 +175,8 @@ if (isset($_GET["relogin"])) {$relogin=$_GET["relogin"];}
|
||||
|
||||
$forever_stop=0;
|
||||
|
||||
$version = '2.0.102';
|
||||
$build = '61122-1523';
|
||||
$version = '2.0.103';
|
||||
$build = '61128-2229';
|
||||
|
||||
if ($force_logout)
|
||||
{
|
||||
@@ -969,8 +970,11 @@ else
|
||||
{
|
||||
print "<!-- campaign is set to manual dial: $auto_dial_level -->\n";
|
||||
|
||||
|
||||
|
||||
$stmt="INSERT INTO vicidial_live_agents (user,server_ip,conf_exten,extension,status,lead_id,campaign_id,uniqueid,callerid,channel,random_id,last_call_time,last_update_time,last_call_finish,user_level) values('$VD_login','$server_ip','$session_id','$SIP_user','PAUSED','','$VD_campaign','','','','$random','$NOW_TIME','$tsNOW_TIME','$NOW_TIME','$user_level');";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
$affected_rows = mysql_affected_rows($link);
|
||||
print "<!-- new vicidial_live_agents record inserted: |$affected_rows| -->\n";
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
# 60410-1424 - Added ability to grab calls-being-placed and agent status
|
||||
# 60421-1405 - check GET/POST vars lines with isset to not trigger PHP NOTICES
|
||||
# 60619-1201 - Added variable filters to close security holes for login form
|
||||
# 61128-2255 - Added update for manual dial vicidial_live_agents
|
||||
#
|
||||
|
||||
require("dbconnect.php");
|
||||
@@ -68,8 +69,8 @@ if (!isset($format)) {$format="text";}
|
||||
if (!isset($ACTION)) {$ACTION="refresh";}
|
||||
if (!isset($client)) {$client="agc";}
|
||||
|
||||
$version = '0.0.9';
|
||||
$build = '60619-1201';
|
||||
$version = '0.0.10';
|
||||
$build = '61128-2255';
|
||||
$StarTtime = date("U");
|
||||
$NOW_DATE = date("Y-m-d");
|
||||
$NOW_TIME = date("Y-m-d H:i:s");
|
||||
@@ -150,8 +151,6 @@ echo "<BODY BGCOLOR=white marginheight=0 marginwidth=0 leftmargin=0 topmargin=0>
|
||||
if ($format=='debug') {echo "\n<!-- $stmt -->";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
|
||||
|
||||
if ($campagentstdisp == 'YES')
|
||||
{
|
||||
### grab the status of this agent to display
|
||||
@@ -179,6 +178,12 @@ echo "<BODY BGCOLOR=white marginheight=0 marginwidth=0 leftmargin=0 topmargin=0>
|
||||
{
|
||||
$Astatus='N';
|
||||
$RingCalls='N';
|
||||
|
||||
### update the vicidial_live_agents every second with a new random number so it is shown to be alive
|
||||
$stmt="UPDATE vicidial_live_agents set random_id='$random' where user='$user' and server_ip='$server_ip';";
|
||||
if ($format=='debug') {echo "\n<!-- $stmt -->";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
}
|
||||
|
||||
echo 'DateTime: ' . $NOW_TIME . '|UnixTime: ' . $StarTtime . '|Estado: ' . $Astatus . '|CampCalls: ' . $RingCalls . "|\n";
|
||||
|
||||
@@ -109,10 +109,11 @@
|
||||
# 60821-1600 - Added ability to omit the phone code on vicidial lead dialing
|
||||
# 60821-1647 - Added ability to not delete sessions at logout
|
||||
# 60906-1124 - Added lookup and sending of callback data for CALLBK calls
|
||||
# 61128-2229 - Added vicidial_live_agents and vicidial_auto_calls manual dial entries
|
||||
#
|
||||
|
||||
$version = '2.0.37';
|
||||
$build = '60906-1124';
|
||||
$version = '2.0.38';
|
||||
$build = '61128-2229';
|
||||
|
||||
require("dbconnect.php");
|
||||
|
||||
@@ -572,6 +573,15 @@ if ($ACTION == 'manDiaLnextCaLL')
|
||||
$stmt = "INSERT INTO vicidial_manager values('','','$NOW_TIME','NEW','N','$server_ip','','Originate','$MqueryCID','Exten: $Ndialstring','Context: $ext_context','Channel: $local_DEF$conf_exten$local_AMP$ext_context$Local_persist','Priority: 1','Callerid: $CIDstring','Timeout: $Local_dial_timeout','','','','');";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
$stmt = "INSERT INTO vicidial_auto_calls (server_ip,campaign_id,status,lead_id,callerid,phone_code,phone_number,call_time,call_type) values('$server_ip','$campaign','XFER','$lead_id','$MqueryCID','$phone_code','$phone_number','$NOW_TIME','OUT')";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
### update the agent status to INCALL in vicidial_live_agents
|
||||
$stmt = "UPDATE vicidial_live_agents set status='INCALL',last_call_time='$NOW_TIME',callerid='$MqueryCID',lead_id='$lead_id' where user='$user' and server_ip='$server_ip';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
}
|
||||
|
||||
$comments = eregi_replace("\r",'',$comments);
|
||||
@@ -701,6 +711,15 @@ if ($ACTION == 'manDiaLonly')
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
$stmt = "INSERT INTO vicidial_auto_calls (server_ip,campaign_id,status,lead_id,callerid,phone_code,phone_number,call_time,call_type) values('$server_ip','$campaign','XFER','$lead_id','$MqueryCID','$phone_code','$phone_number','$NOW_TIME','OUT')";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
### update the agent status to INCALL in vicidial_live_agents
|
||||
$stmt = "UPDATE vicidial_live_agents set status='INCALL',last_call_time='$NOW_TIME',callerid='$MqueryCID',lead_id='$lead_id' where user='$user' and server_ip='$server_ip';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
echo "$MqueryCID\n";
|
||||
}
|
||||
}
|
||||
@@ -792,6 +811,10 @@ if ($stage == "start")
|
||||
echo "REGISTRO NO ENTRADO\n";
|
||||
}
|
||||
|
||||
$stmt = "UPDATE vicidial_auto_calls SET uniqueid='$uniqueid' where lead_id='$lead_id';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
# ##### insert log into call_log for manual VICIDiaL call
|
||||
# $stmt = "INSERT INTO call_log (uniqueid,channel,server_ip,extension,number_dialed,caller_code,start_time,start_epoch) values('$uniqueid','$channel','$server_ip','$exten','$phone_code$phone_number','MD $user $lead_id','$NOW_TIME','$StarTtime')";
|
||||
# if ($DB) {echo "$stmt\n";}
|
||||
@@ -860,6 +883,16 @@ if ($stage == "end")
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
$stmt = "UPDATE vicidial_live_agents set status='PAUSED',lead_id='',uniqueid=0,callerid='',channel='',call_server_ip='',last_call_finish='$NOW_TIME' where user='$user' and server_ip='$server_ip';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
}
|
||||
else
|
||||
{
|
||||
$stmt = "DELETE from vicidial_auto_calls lead_id='$lead_id';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
$stmt = "UPDATE vicidial_live_agents set status='PAUSED',lead_id='',uniqueid=0,callerid='',channel='',call_server_ip='',last_call_finish='$NOW_TIME' where user='$user' and server_ip='$server_ip';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
@@ -129,6 +129,7 @@
|
||||
# 61004-1729 - Add ability to control volume per channel in "calls in this session"
|
||||
# 61122-1341 - Added vicidial_user_groups allowed_campaigns restrictions
|
||||
# 61122-1523 - Added more SCRIPT variables
|
||||
# 61128-2229 - Added vicidial_live_agents and vicidial_auto_calls manual dial entries
|
||||
#
|
||||
|
||||
require("dbconnect.php");
|
||||
@@ -174,8 +175,8 @@ if (isset($_GET["relogin"])) {$relogin=$_GET["relogin"];}
|
||||
|
||||
$forever_stop=0;
|
||||
|
||||
$version = '2.0.102';
|
||||
$build = '61122-1523';
|
||||
$version = '2.0.103';
|
||||
$build = '61128-2229';
|
||||
|
||||
if ($force_logout)
|
||||
{
|
||||
@@ -969,8 +970,11 @@ else
|
||||
{
|
||||
print "<!-- la campaña está configurada con marcaje manual: $auto_dial_level -->\n";
|
||||
|
||||
|
||||
|
||||
$stmt="INSERT INTO vicidial_live_agents (user,server_ip,conf_exten,extension,status,lead_id,campaign_id,uniqueid,callerid,channel,random_id,last_call_time,last_update_time,last_call_finish,user_level) values('$VD_login','$server_ip','$session_id','$SIP_user','PAUSED','','$VD_campaign','','','','$random','$NOW_TIME','$tsNOW_TIME','$NOW_TIME','$user_level');";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
$affected_rows = mysql_affected_rows($link);
|
||||
print "<!-- Insertadas las grabaciones nueva de los vicidial_live_agents: |$affected_rows| -->\n";
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
# 60410-1424 - Added ability to grab calls-being-placed and agent status
|
||||
# 60421-1405 - check GET/POST vars lines with isset to not trigger PHP NOTICES
|
||||
# 60619-1201 - Added variable filters to close security holes for login form
|
||||
# 61128-2255 - Added update for manual dial vicidial_live_agents
|
||||
#
|
||||
|
||||
require("dbconnect.php");
|
||||
@@ -68,8 +69,8 @@ if (!isset($format)) {$format="text";}
|
||||
if (!isset($ACTION)) {$ACTION="refresh";}
|
||||
if (!isset($client)) {$client="agc";}
|
||||
|
||||
$version = '0.0.9';
|
||||
$build = '60619-1201';
|
||||
$version = '0.0.10';
|
||||
$build = '61128-2255';
|
||||
$StarTtime = date("U");
|
||||
$NOW_DATE = date("Y-m-d");
|
||||
$NOW_TIME = date("Y-m-d H:i:s");
|
||||
@@ -150,8 +151,6 @@ echo "<BODY BGCOLOR=white marginheight=0 marginwidth=0 leftmargin=0 topmargin=0>
|
||||
if ($format=='debug') {echo "\n<!-- $stmt -->";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
|
||||
|
||||
if ($campagentstdisp == 'YES')
|
||||
{
|
||||
### grab the status of this agent to display
|
||||
@@ -179,6 +178,12 @@ echo "<BODY BGCOLOR=white marginheight=0 marginwidth=0 leftmargin=0 topmargin=0>
|
||||
{
|
||||
$Astatus='N';
|
||||
$RingCalls='N';
|
||||
|
||||
### update the vicidial_live_agents every second with a new random number so it is shown to be alive
|
||||
$stmt="UPDATE vicidial_live_agents set random_id='$random' where user='$user' and server_ip='$server_ip';";
|
||||
if ($format=='debug') {echo "\n<!-- $stmt -->";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
}
|
||||
|
||||
echo 'DateTime: ' . $NOW_TIME . '|UnixTime: ' . $StarTtime . '|Statut: ' . $Astatus . '|CampCalls: ' . $RingCalls . "|\n";
|
||||
|
||||
@@ -109,10 +109,11 @@
|
||||
# 60821-1600 - Added ability to omit the phone code on vicidial lead dialing
|
||||
# 60821-1647 - Added ability to not delete sessions at logout
|
||||
# 60906-1124 - Added lookup and sending of callback data for CALLBK calls
|
||||
# 61128-2229 - Added vicidial_live_agents and vicidial_auto_calls manual dial entries
|
||||
#
|
||||
|
||||
$version = '2.0.37';
|
||||
$build = '60906-1124';
|
||||
$version = '2.0.38';
|
||||
$build = '61128-2229';
|
||||
|
||||
require("dbconnect.php");
|
||||
|
||||
@@ -572,6 +573,15 @@ if ($ACTION == 'manDiaLnextCaLL')
|
||||
$stmt = "INSERT INTO vicidial_manager values('','','$NOW_TIME','NEW','N','$server_ip','','Originate','$MqueryCID','Exten: $Ndialstring','Context: $ext_context','Channel: $local_DEF$conf_exten$local_AMP$ext_context$Local_persist','Priority: 1','Callerid: $CIDstring','Timeout: $Local_dial_timeout','','','','');";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
$stmt = "INSERT INTO vicidial_auto_calls (server_ip,campaign_id,status,lead_id,callerid,phone_code,phone_number,call_time,call_type) values('$server_ip','$campaign','XFER','$lead_id','$MqueryCID','$phone_code','$phone_number','$NOW_TIME','OUT')";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
### update the agent status to INCALL in vicidial_live_agents
|
||||
$stmt = "UPDATE vicidial_live_agents set status='INCALL',last_call_time='$NOW_TIME',callerid='$MqueryCID',lead_id='$lead_id' where user='$user' and server_ip='$server_ip';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
}
|
||||
|
||||
$comments = eregi_replace("\r",'',$comments);
|
||||
@@ -701,6 +711,15 @@ if ($ACTION == 'manDiaLonly')
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
$stmt = "INSERT INTO vicidial_auto_calls (server_ip,campaign_id,status,lead_id,callerid,phone_code,phone_number,call_time,call_type) values('$server_ip','$campaign','XFER','$lead_id','$MqueryCID','$phone_code','$phone_number','$NOW_TIME','OUT')";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
### update the agent status to INCALL in vicidial_live_agents
|
||||
$stmt = "UPDATE vicidial_live_agents set status='INCALL',last_call_time='$NOW_TIME',callerid='$MqueryCID',lead_id='$lead_id' where user='$user' and server_ip='$server_ip';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
echo "$MqueryCID\n";
|
||||
}
|
||||
}
|
||||
@@ -792,6 +811,10 @@ if ($stage == "start")
|
||||
echo "NOTATION NON ENTRÉE\n";
|
||||
}
|
||||
|
||||
$stmt = "UPDATE vicidial_auto_calls SET uniqueid='$uniqueid' where lead_id='$lead_id';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
# ##### insert log into call_log for manual VICIDiaL call
|
||||
# $stmt = "INSERT INTO call_log (uniqueid,channel,server_ip,extension,number_dialed,caller_code,start_time,start_epoch) values('$uniqueid','$channel','$server_ip','$exten','$phone_code$phone_number','MD $user $lead_id','$NOW_TIME','$StarTtime')";
|
||||
# if ($DB) {echo "$stmt\n";}
|
||||
@@ -860,6 +883,16 @@ if ($stage == "end")
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
$stmt = "UPDATE vicidial_live_agents set status='PAUSED',lead_id='',uniqueid=0,callerid='',channel='',call_server_ip='',last_call_finish='$NOW_TIME' where user='$user' and server_ip='$server_ip';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
}
|
||||
else
|
||||
{
|
||||
$stmt = "DELETE from vicidial_auto_calls lead_id='$lead_id';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
$stmt = "UPDATE vicidial_live_agents set status='PAUSED',lead_id='',uniqueid=0,callerid='',channel='',call_server_ip='',last_call_finish='$NOW_TIME' where user='$user' and server_ip='$server_ip';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
@@ -129,6 +129,7 @@
|
||||
# 61004-1729 - Add ability to control volume per channel in "calls in this session"
|
||||
# 61122-1341 - Added vicidial_user_groups allowed_campaigns restrictions
|
||||
# 61122-1523 - Added more SCRIPT variables
|
||||
# 61128-2229 - Added vicidial_live_agents and vicidial_auto_calls manual dial entries
|
||||
#
|
||||
|
||||
require("dbconnect.php");
|
||||
@@ -174,8 +175,8 @@ if (isset($_GET["relogin"])) {$relogin=$_GET["relogin"];}
|
||||
|
||||
$forever_stop=0;
|
||||
|
||||
$version = '2.0.102';
|
||||
$build = '61122-1523';
|
||||
$version = '2.0.103';
|
||||
$build = '61128-2229';
|
||||
|
||||
if ($force_logout)
|
||||
{
|
||||
@@ -969,8 +970,11 @@ else
|
||||
{
|
||||
print "<!-- la campagne est placée au cadran manuel: $auto_dial_level -->\n";
|
||||
|
||||
|
||||
|
||||
$stmt="INSERT INTO vicidial_live_agents (user,server_ip,conf_exten,extension,status,lead_id,campaign_id,uniqueid,callerid,channel,random_id,last_call_time,last_update_time,last_call_finish,user_level) values('$VD_login','$server_ip','$session_id','$SIP_user','PAUSED','','$VD_campaign','','','','$random','$NOW_TIME','$tsNOW_TIME','$NOW_TIME','$user_level');";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
$affected_rows = mysql_affected_rows($link);
|
||||
print "<!-- nouveau disque de vicidial_live_agents inséré: |$affected_rows| -->\n";
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
# 60410-1424 - Added ability to grab calls-being-placed and agent status
|
||||
# 60421-1405 - check GET/POST vars lines with isset to not trigger PHP NOTICES
|
||||
# 60619-1201 - Added variable filters to close security holes for login form
|
||||
# 61128-2255 - Added update for manual dial vicidial_live_agents
|
||||
#
|
||||
|
||||
require("dbconnect.php");
|
||||
@@ -68,8 +69,8 @@ if (!isset($format)) {$format="text";}
|
||||
if (!isset($ACTION)) {$ACTION="refresh";}
|
||||
if (!isset($client)) {$client="agc";}
|
||||
|
||||
$version = '0.0.9';
|
||||
$build = '60619-1201';
|
||||
$version = '0.0.10';
|
||||
$build = '61128-2255';
|
||||
$StarTtime = date("U");
|
||||
$NOW_DATE = date("Y-m-d");
|
||||
$NOW_TIME = date("Y-m-d H:i:s");
|
||||
@@ -150,8 +151,6 @@ echo "<BODY BGCOLOR=white marginheight=0 marginwidth=0 leftmargin=0 topmargin=0>
|
||||
if ($format=='debug') {echo "\n<!-- $stmt -->";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
|
||||
|
||||
if ($campagentstdisp == 'YES')
|
||||
{
|
||||
### grab the status of this agent to display
|
||||
@@ -179,6 +178,12 @@ echo "<BODY BGCOLOR=white marginheight=0 marginwidth=0 leftmargin=0 topmargin=0>
|
||||
{
|
||||
$Astatus='N';
|
||||
$RingCalls='N';
|
||||
|
||||
### update the vicidial_live_agents every second with a new random number so it is shown to be alive
|
||||
$stmt="UPDATE vicidial_live_agents set random_id='$random' where user='$user' and server_ip='$server_ip';";
|
||||
if ($format=='debug') {echo "\n<!-- $stmt -->";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
}
|
||||
|
||||
echo 'DateTime: ' . $NOW_TIME . '|UnixTime: ' . $StarTtime . '|Status: ' . $Astatus . '|CampCalls: ' . $RingCalls . "|\n";
|
||||
|
||||
@@ -109,10 +109,11 @@
|
||||
# 60821-1600 - Added ability to omit the phone code on vicidial lead dialing
|
||||
# 60821-1647 - Added ability to not delete sessions at logout
|
||||
# 60906-1124 - Added lookup and sending of callback data for CALLBK calls
|
||||
# 61128-2229 - Added vicidial_live_agents and vicidial_auto_calls manual dial entries
|
||||
#
|
||||
|
||||
$version = '2.0.37';
|
||||
$build = '60906-1124';
|
||||
$version = '2.0.38';
|
||||
$build = '61128-2229';
|
||||
|
||||
require("dbconnect.php");
|
||||
|
||||
@@ -572,6 +573,15 @@ if ($ACTION == 'manDiaLnextCaLL')
|
||||
$stmt = "INSERT INTO vicidial_manager values('','','$NOW_TIME','NEW','N','$server_ip','','Originate','$MqueryCID','Exten: $Ndialstring','Context: $ext_context','Channel: $local_DEF$conf_exten$local_AMP$ext_context$Local_persist','Priority: 1','Callerid: $CIDstring','Timeout: $Local_dial_timeout','','','','');";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
$stmt = "INSERT INTO vicidial_auto_calls (server_ip,campaign_id,status,lead_id,callerid,phone_code,phone_number,call_time,call_type) values('$server_ip','$campaign','XFER','$lead_id','$MqueryCID','$phone_code','$phone_number','$NOW_TIME','OUT')";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
### update the agent status to INCALL in vicidial_live_agents
|
||||
$stmt = "UPDATE vicidial_live_agents set status='INCALL',last_call_time='$NOW_TIME',callerid='$MqueryCID',lead_id='$lead_id' where user='$user' and server_ip='$server_ip';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
}
|
||||
|
||||
$comments = eregi_replace("\r",'',$comments);
|
||||
@@ -701,6 +711,15 @@ if ($ACTION == 'manDiaLonly')
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
$stmt = "INSERT INTO vicidial_auto_calls (server_ip,campaign_id,status,lead_id,callerid,phone_code,phone_number,call_time,call_type) values('$server_ip','$campaign','XFER','$lead_id','$MqueryCID','$phone_code','$phone_number','$NOW_TIME','OUT')";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
### update the agent status to INCALL in vicidial_live_agents
|
||||
$stmt = "UPDATE vicidial_live_agents set status='INCALL',last_call_time='$NOW_TIME',callerid='$MqueryCID',lead_id='$lead_id' where user='$user' and server_ip='$server_ip';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
echo "$MqueryCID\n";
|
||||
}
|
||||
}
|
||||
@@ -792,6 +811,10 @@ if ($stage == "start")
|
||||
echo "LOG NON INSERITO\n";
|
||||
}
|
||||
|
||||
$stmt = "UPDATE vicidial_auto_calls SET uniqueid='$uniqueid' where lead_id='$lead_id';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
# ##### insert log into call_log for manual VICIDiaL call
|
||||
# $stmt = "INSERT INTO call_log (uniqueid,channel,server_ip,extension,number_dialed,caller_code,start_time,start_epoch) values('$uniqueid','$channel','$server_ip','$exten','$phone_code$phone_number','MD $user $lead_id','$NOW_TIME','$StarTtime')";
|
||||
# if ($DB) {echo "$stmt\n";}
|
||||
@@ -860,6 +883,16 @@ if ($stage == "end")
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
$stmt = "UPDATE vicidial_live_agents set status='PAUSED',lead_id='',uniqueid=0,callerid='',channel='',call_server_ip='',last_call_finish='$NOW_TIME' where user='$user' and server_ip='$server_ip';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
}
|
||||
else
|
||||
{
|
||||
$stmt = "DELETE from vicidial_auto_calls lead_id='$lead_id';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
$stmt = "UPDATE vicidial_live_agents set status='PAUSED',lead_id='',uniqueid=0,callerid='',channel='',call_server_ip='',last_call_finish='$NOW_TIME' where user='$user' and server_ip='$server_ip';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
@@ -129,6 +129,7 @@
|
||||
# 61004-1729 - Add ability to control volume per channel in "calls in this session"
|
||||
# 61122-1341 - Added vicidial_user_groups allowed_campaigns restrictions
|
||||
# 61122-1523 - Added more SCRIPT variables
|
||||
# 61128-2229 - Added vicidial_live_agents and vicidial_auto_calls manual dial entries
|
||||
#
|
||||
|
||||
require("dbconnect.php");
|
||||
@@ -174,8 +175,8 @@ if (isset($_GET["relogin"])) {$relogin=$_GET["relogin"];}
|
||||
|
||||
$forever_stop=0;
|
||||
|
||||
$version = '2.0.102';
|
||||
$build = '61122-1523';
|
||||
$version = '2.0.103';
|
||||
$build = '61128-2229';
|
||||
|
||||
if ($force_logout)
|
||||
{
|
||||
@@ -969,8 +970,11 @@ else
|
||||
{
|
||||
print "<!-- la campagna è regolata per la chiamata manuale: $auto_dial_level -->\n";
|
||||
|
||||
|
||||
|
||||
$stmt="INSERT INTO vicidial_live_agents (user,server_ip,conf_exten,extension,status,lead_id,campaign_id,uniqueid,callerid,channel,random_id,last_call_time,last_update_time,last_call_finish,user_level) values('$VD_login','$server_ip','$session_id','$SIP_user','PAUSED','','$VD_campaign','','','','$random','$NOW_TIME','$tsNOW_TIME','$NOW_TIME','$user_level');";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
$affected_rows = mysql_affected_rows($link);
|
||||
print "<!-- nuovo record operatore attivo inserito: |$affected_rows| -->\n";
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
# 60410-1424 - Added ability to grab calls-being-placed and agent status
|
||||
# 60421-1405 - check GET/POST vars lines with isset to not trigger PHP NOTICES
|
||||
# 60619-1201 - Added variable filters to close security holes for login form
|
||||
# 61128-2255 - Added update for manual dial vicidial_live_agents
|
||||
#
|
||||
|
||||
require("dbconnect.php");
|
||||
@@ -68,8 +69,8 @@ if (!isset($format)) {$format="text";}
|
||||
if (!isset($ACTION)) {$ACTION="refresh";}
|
||||
if (!isset($client)) {$client="agc";}
|
||||
|
||||
$version = '0.0.9';
|
||||
$build = '60619-1201';
|
||||
$version = '0.0.10';
|
||||
$build = '61128-2255';
|
||||
$StarTtime = date("U");
|
||||
$NOW_DATE = date("Y-m-d");
|
||||
$NOW_TIME = date("Y-m-d H:i:s");
|
||||
@@ -150,8 +151,6 @@ echo "<BODY BGCOLOR=white marginheight=0 marginwidth=0 leftmargin=0 topmargin=0>
|
||||
if ($format=='debug') {echo "\n<!-- $stmt -->";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
|
||||
|
||||
if ($campagentstdisp == 'YES')
|
||||
{
|
||||
### grab the status of this agent to display
|
||||
@@ -179,6 +178,12 @@ echo "<BODY BGCOLOR=white marginheight=0 marginwidth=0 leftmargin=0 topmargin=0>
|
||||
{
|
||||
$Astatus='N';
|
||||
$RingCalls='N';
|
||||
|
||||
### update the vicidial_live_agents every second with a new random number so it is shown to be alive
|
||||
$stmt="UPDATE vicidial_live_agents set random_id='$random' where user='$user' and server_ip='$server_ip';";
|
||||
if ($format=='debug') {echo "\n<!-- $stmt -->";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
}
|
||||
|
||||
echo 'DateTime: ' . $NOW_TIME . '|UnixTime: ' . $StarTtime . '|Status: ' . $Astatus . '|CampCalls: ' . $RingCalls . "|\n";
|
||||
|
||||
@@ -109,10 +109,11 @@
|
||||
# 60821-1600 - Added ability to omit the phone code on vicidial lead dialing
|
||||
# 60821-1647 - Added ability to not delete sessions at logout
|
||||
# 60906-1124 - Added lookup and sending of callback data for CALLBK calls
|
||||
# 61128-2229 - Added vicidial_live_agents and vicidial_auto_calls manual dial entries
|
||||
#
|
||||
|
||||
$version = '2.0.37';
|
||||
$build = '60906-1124';
|
||||
$version = '2.0.38';
|
||||
$build = '61128-2229';
|
||||
|
||||
require("dbconnect.php");
|
||||
|
||||
@@ -572,6 +573,15 @@ if ($ACTION == 'manDiaLnextCaLL')
|
||||
$stmt = "INSERT INTO vicidial_manager values('','','$NOW_TIME','NEW','N','$server_ip','','Originate','$MqueryCID','Exten: $Ndialstring','Context: $ext_context','Channel: $local_DEF$conf_exten$local_AMP$ext_context$Local_persist','Priority: 1','Callerid: $CIDstring','Timeout: $Local_dial_timeout','','','','');";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
$stmt = "INSERT INTO vicidial_auto_calls (server_ip,campaign_id,status,lead_id,callerid,phone_code,phone_number,call_time,call_type) values('$server_ip','$campaign','XFER','$lead_id','$MqueryCID','$phone_code','$phone_number','$NOW_TIME','OUT')";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
### update the agent status to INCALL in vicidial_live_agents
|
||||
$stmt = "UPDATE vicidial_live_agents set status='INCALL',last_call_time='$NOW_TIME',callerid='$MqueryCID',lead_id='$lead_id' where user='$user' and server_ip='$server_ip';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
}
|
||||
|
||||
$comments = eregi_replace("\r",'',$comments);
|
||||
@@ -701,6 +711,15 @@ if ($ACTION == 'manDiaLonly')
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
$stmt = "INSERT INTO vicidial_auto_calls (server_ip,campaign_id,status,lead_id,callerid,phone_code,phone_number,call_time,call_type) values('$server_ip','$campaign','XFER','$lead_id','$MqueryCID','$phone_code','$phone_number','$NOW_TIME','OUT')";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
### update the agent status to INCALL in vicidial_live_agents
|
||||
$stmt = "UPDATE vicidial_live_agents set status='INCALL',last_call_time='$NOW_TIME',callerid='$MqueryCID',lead_id='$lead_id' where user='$user' and server_ip='$server_ip';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
echo "$MqueryCID\n";
|
||||
}
|
||||
}
|
||||
@@ -792,6 +811,10 @@ if ($stage == "start")
|
||||
echo "Dziennik nie zapisany\n";
|
||||
}
|
||||
|
||||
$stmt = "UPDATE vicidial_auto_calls SET uniqueid='$uniqueid' where lead_id='$lead_id';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
# ##### insert log into call_log for manual VICIDiaL call
|
||||
# $stmt = "INSERT INTO call_log (uniqueid,channel,server_ip,extension,number_dialed,caller_code,start_time,start_epoch) values('$uniqueid','$channel','$server_ip','$exten','$phone_code$phone_number','MD $user $lead_id','$NOW_TIME','$StarTtime')";
|
||||
# if ($DB) {echo "$stmt\n";}
|
||||
@@ -860,6 +883,16 @@ if ($stage == "end")
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
$stmt = "UPDATE vicidial_live_agents set status='PAUSED',lead_id='',uniqueid=0,callerid='',channel='',call_server_ip='',last_call_finish='$NOW_TIME' where user='$user' and server_ip='$server_ip';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
}
|
||||
else
|
||||
{
|
||||
$stmt = "DELETE from vicidial_auto_calls lead_id='$lead_id';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
$stmt = "UPDATE vicidial_live_agents set status='PAUSED',lead_id='',uniqueid=0,callerid='',channel='',call_server_ip='',last_call_finish='$NOW_TIME' where user='$user' and server_ip='$server_ip';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
@@ -129,6 +129,7 @@
|
||||
# 61004-1729 - Add ability to control volume per channel in "calls in this session"
|
||||
# 61122-1341 - Added vicidial_user_groups allowed_campaigns restrictions
|
||||
# 61122-1523 - Added more SCRIPT variables
|
||||
# 61128-2229 - Added vicidial_live_agents and vicidial_auto_calls manual dial entries
|
||||
#
|
||||
|
||||
require("dbconnect.php");
|
||||
@@ -174,8 +175,8 @@ if (isset($_GET["relogin"])) {$relogin=$_GET["relogin"];}
|
||||
|
||||
$forever_stop=0;
|
||||
|
||||
$version = '2.0.102';
|
||||
$build = '61122-1523';
|
||||
$version = '2.0.103';
|
||||
$build = '61128-2229';
|
||||
|
||||
if ($force_logout)
|
||||
{
|
||||
@@ -969,8 +970,11 @@ else
|
||||
{
|
||||
print "<!-- kampania ustawiona na ręczne wybieranie: $auto_dial_level -->\n";
|
||||
|
||||
|
||||
|
||||
$stmt="INSERT INTO vicidial_live_agents (user,server_ip,conf_exten,extension,status,lead_id,campaign_id,uniqueid,callerid,channel,random_id,last_call_time,last_update_time,last_call_finish,user_level) values('$VD_login','$server_ip','$session_id','$SIP_user','PAUSED','','$VD_campaign','','','','$random','$NOW_TIME','$tsNOW_TIME','$NOW_TIME','$user_level');";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
$affected_rows = mysql_affected_rows($link);
|
||||
print "<!-- nowy rekord vicidial_live_agents wstawiony: |$affected_rows| -->\n";
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
# 60410-1424 - Added ability to grab calls-being-placed and agent status
|
||||
# 60421-1405 - check GET/POST vars lines with isset to not trigger PHP NOTICES
|
||||
# 60619-1201 - Added variable filters to close security holes for login form
|
||||
# 61128-2255 - Added update for manual dial vicidial_live_agents
|
||||
#
|
||||
|
||||
require("dbconnect.php");
|
||||
@@ -68,8 +69,8 @@ if (!isset($format)) {$format="text";}
|
||||
if (!isset($ACTION)) {$ACTION="refresh";}
|
||||
if (!isset($client)) {$client="agc";}
|
||||
|
||||
$version = '0.0.9';
|
||||
$build = '60619-1201';
|
||||
$version = '0.0.10';
|
||||
$build = '61128-2255';
|
||||
$StarTtime = date("U");
|
||||
$NOW_DATE = date("Y-m-d");
|
||||
$NOW_TIME = date("Y-m-d H:i:s");
|
||||
@@ -150,8 +151,6 @@ echo "<BODY BGCOLOR=white marginheight=0 marginwidth=0 leftmargin=0 topmargin=0>
|
||||
if ($format=='debug') {echo "\n<!-- $stmt -->";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
|
||||
|
||||
if ($campagentstdisp == 'YES')
|
||||
{
|
||||
### grab the status of this agent to display
|
||||
@@ -179,6 +178,12 @@ echo "<BODY BGCOLOR=white marginheight=0 marginwidth=0 leftmargin=0 topmargin=0>
|
||||
{
|
||||
$Astatus='N';
|
||||
$RingCalls='N';
|
||||
|
||||
### update the vicidial_live_agents every second with a new random number so it is shown to be alive
|
||||
$stmt="UPDATE vicidial_live_agents set random_id='$random' where user='$user' and server_ip='$server_ip';";
|
||||
if ($format=='debug') {echo "\n<!-- $stmt -->";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
}
|
||||
|
||||
echo 'DateTime: ' . $NOW_TIME . '|UnixTime: ' . $StarTtime . '|Status: ' . $Astatus . '|CampCalls: ' . $RingCalls . "|\n";
|
||||
|
||||
@@ -109,10 +109,11 @@
|
||||
# 60821-1600 - Added ability to omit the phone code on vicidial lead dialing
|
||||
# 60821-1647 - Added ability to not delete sessions at logout
|
||||
# 60906-1124 - Added lookup and sending of callback data for CALLBK calls
|
||||
# 61128-2229 - Added vicidial_live_agents and vicidial_auto_calls manual dial entries
|
||||
#
|
||||
|
||||
$version = '2.0.37';
|
||||
$build = '60906-1124';
|
||||
$version = '2.0.38';
|
||||
$build = '61128-2229';
|
||||
|
||||
require("dbconnect.php");
|
||||
|
||||
@@ -572,6 +573,15 @@ if ($ACTION == 'manDiaLnextCaLL')
|
||||
$stmt = "INSERT INTO vicidial_manager values('','','$NOW_TIME','NEW','N','$server_ip','','Originate','$MqueryCID','Exten: $Ndialstring','Context: $ext_context','Channel: $local_DEF$conf_exten$local_AMP$ext_context$Local_persist','Priority: 1','Callerid: $CIDstring','Timeout: $Local_dial_timeout','','','','');";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
$stmt = "INSERT INTO vicidial_auto_calls (server_ip,campaign_id,status,lead_id,callerid,phone_code,phone_number,call_time,call_type) values('$server_ip','$campaign','XFER','$lead_id','$MqueryCID','$phone_code','$phone_number','$NOW_TIME','OUT')";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
### update the agent status to INCALL in vicidial_live_agents
|
||||
$stmt = "UPDATE vicidial_live_agents set status='INCALL',last_call_time='$NOW_TIME',callerid='$MqueryCID',lead_id='$lead_id' where user='$user' and server_ip='$server_ip';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
}
|
||||
|
||||
$comments = eregi_replace("\r",'',$comments);
|
||||
@@ -701,6 +711,15 @@ if ($ACTION == 'manDiaLonly')
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
$stmt = "INSERT INTO vicidial_auto_calls (server_ip,campaign_id,status,lead_id,callerid,phone_code,phone_number,call_time,call_type) values('$server_ip','$campaign','XFER','$lead_id','$MqueryCID','$phone_code','$phone_number','$NOW_TIME','OUT')";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
### update the agent status to INCALL in vicidial_live_agents
|
||||
$stmt = "UPDATE vicidial_live_agents set status='INCALL',last_call_time='$NOW_TIME',callerid='$MqueryCID',lead_id='$lead_id' where user='$user' and server_ip='$server_ip';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
echo "$MqueryCID\n";
|
||||
}
|
||||
}
|
||||
@@ -792,6 +811,10 @@ if ($stage == "start")
|
||||
echo "REGISTRO NÃO ENTRADO\n";
|
||||
}
|
||||
|
||||
$stmt = "UPDATE vicidial_auto_calls SET uniqueid='$uniqueid' where lead_id='$lead_id';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
# ##### insert log into call_log for manual VICIDiaL call
|
||||
# $stmt = "INSERT INTO call_log (uniqueid,channel,server_ip,extension,number_dialed,caller_code,start_time,start_epoch) values('$uniqueid','$channel','$server_ip','$exten','$phone_code$phone_number','MD $user $lead_id','$NOW_TIME','$StarTtime')";
|
||||
# if ($DB) {echo "$stmt\n";}
|
||||
@@ -860,6 +883,16 @@ if ($stage == "end")
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
$stmt = "UPDATE vicidial_live_agents set status='PAUSED',lead_id='',uniqueid=0,callerid='',channel='',call_server_ip='',last_call_finish='$NOW_TIME' where user='$user' and server_ip='$server_ip';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
}
|
||||
else
|
||||
{
|
||||
$stmt = "DELETE from vicidial_auto_calls lead_id='$lead_id';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
$stmt = "UPDATE vicidial_live_agents set status='PAUSED',lead_id='',uniqueid=0,callerid='',channel='',call_server_ip='',last_call_finish='$NOW_TIME' where user='$user' and server_ip='$server_ip';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
@@ -129,6 +129,7 @@
|
||||
# 61004-1729 - Add ability to control volume per channel in "calls in this session"
|
||||
# 61122-1341 - Added vicidial_user_groups allowed_campaigns restrictions
|
||||
# 61122-1523 - Added more SCRIPT variables
|
||||
# 61128-2229 - Added vicidial_live_agents and vicidial_auto_calls manual dial entries
|
||||
#
|
||||
|
||||
require("dbconnect.php");
|
||||
@@ -174,8 +175,8 @@ if (isset($_GET["relogin"])) {$relogin=$_GET["relogin"];}
|
||||
|
||||
$forever_stop=0;
|
||||
|
||||
$version = '2.0.102';
|
||||
$build = '61122-1523';
|
||||
$version = '2.0.103';
|
||||
$build = '61128-2229';
|
||||
|
||||
if ($force_logout)
|
||||
{
|
||||
@@ -969,8 +970,11 @@ else
|
||||
{
|
||||
print "<!-- a campanha é ajustada ao seletor manual: $auto_dial_level -->\n";
|
||||
|
||||
|
||||
|
||||
$stmt="INSERT INTO vicidial_live_agents (user,server_ip,conf_exten,extension,status,lead_id,campaign_id,uniqueid,callerid,channel,random_id,last_call_time,last_update_time,last_call_finish,user_level) values('$VD_login','$server_ip','$session_id','$SIP_user','PAUSED','','$VD_campaign','','','','$random','$NOW_TIME','$tsNOW_TIME','$NOW_TIME','$user_level');";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
$affected_rows = mysql_affected_rows($link);
|
||||
print "<!-- o registro novo dos vicidial_live_agents introduziu: |$affected_rows| -->\n";
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
+65
-14
@@ -794,12 +794,13 @@ $lead_filter_sql = ereg_replace(";","",$lead_filter_sql);
|
||||
# 61110-1502 - add ability to select NONE in dial statuses, new list_id must not be < 100
|
||||
# 61122-1228 - added user group campaign restrictions
|
||||
# 61122-1535 - changed script_text to unfiltered and added more variables to SCRIPTS
|
||||
# 61129-1028 - Added headers to Users and Phones with clickable order-by titles
|
||||
#
|
||||
|
||||
# make sure you have added a user to the vicidial_users MySQL table with at least user_level 8 to access this page the first time
|
||||
|
||||
$version = '2.0.72';
|
||||
$build = '61122-1535';
|
||||
$version = '2.0.73';
|
||||
$build = '61129-1028';
|
||||
|
||||
$STARTtime = date("U");
|
||||
|
||||
@@ -1206,11 +1207,11 @@ if ( ( (strlen($ADD)>4) && ($ADD < 99998) ) or ($ADD==3) or ($ADD==21) or ($ADD=
|
||||
{
|
||||
if ($campaign_id_value == $campaigns[$p])
|
||||
{
|
||||
echo "<!-- X $p|$campaign_id_value|$campaigns[$p]| -->";
|
||||
# echo "<!-- X $p|$campaign_id_value|$campaigns[$p]| -->";
|
||||
$campaigns_list .= " CHECKED";
|
||||
$campaigns_value .= " $campaign_id_value";
|
||||
}
|
||||
echo "<!-- O $p|$campaign_id_value|$campaigns[$p]| -->";
|
||||
# echo "<!-- O $p|$campaign_id_value|$campaigns[$p]| -->";
|
||||
$p++;
|
||||
}
|
||||
$campaigns_list .= "> $campaign_id_value - $campaign_name_value<BR>\n";
|
||||
@@ -1903,7 +1904,12 @@ echo "<TABLE WIDTH=98% BGCOLOR=#E6E6E6 cellpadding=2 cellspacing=0><TR><TD ALIGN
|
||||
|
||||
<BR>
|
||||
<A NAME="vicidial_scripts-script_text">
|
||||
<B>Script Text -</B> This is where you place the content of a Vicidial Script. Minimum of 2 characters. You can have customer information be auto-populated in this script using "--A--field--B--" where field is one of the following fieldnames: vendor_lead_code, source_id, list_id, gmt_offset_now, called_since_last_reset, phone_code, phone_number, title, first_name, middle_initial, last_name, address1, address2, address3, city, state, province, postal_code, country_code, gender, date_of_birth, alt_phone, email, security_phrase, comments, lead_id, campaign, phone_login, group, channel_group, SQLdate, epoch, uniqueid, customer_zap_channel, server_ip, SIPexten, session_id. For example, this sentence would print the persons name in it----<BR><BR> Hello, can I speak with --A--first_name--B-- --A--last_name--B-- please? Well hello --A--title--B-- --A--last_name--B-- how are you today?<BR><BR> This would read----<BR><BR>Hello, can I speak with John Doe please? Well hello Mr. Doe how are you today?
|
||||
<B>Script Text -</B> This is where you place the content of a Vicidial Script. Minimum of 2 characters. You can have customer information be auto-populated in this script using "--A--field--B--" where field is one of the following fieldnames: vendor_lead_code, source_id, list_id, gmt_offset_now, called_since_last_reset, phone_code, phone_number, title, first_name, middle_initial, last_name, address1, address2, address3, city, state, province, postal_code, country_code, gender, date_of_birth, alt_phone, email, security_phrase, comments, lead_id, campaign, phone_login, group, channel_group, SQLdate, epoch, uniqueid, customer_zap_channel, server_ip, SIPexten, session_id. For example, this sentence would print the persons name in it----<BR><BR> Hello, can I speak with --A--first_name--B-- --A--last_name--B-- please? Well hello --A--title--B-- --A--last_name--B-- how are you today?<BR><BR> This would read----<BR><BR>Hello, can I speak with John Doe please? Well hello Mr. Doe how are you today?<BR><BR> You can also use an iframe to load a separate window within the SCRIPT tab, here is an example with prepopulated variables:
|
||||
|
||||
<DIV style="height:200px;width:400px;background:white;overflow:scroll;font-size:12px;font-family:sans-serif;" id=iframe_example>
|
||||
<iframe src="http://astguiclient.sf.net/test_VICIDIAL_output.php?lead_id=--A--lead_id--B--&vendor_id=--A--vendor_lead_code--B--&list_id=--A--list_id--B--&gmt_offset_now=--A--gmt_offset_now--B--&phone_code=--A--phone_code--B--&phone_number=--A--phone_number--B--&title=--A--title--B--&first_name=--A--first_name--B--&middle_initial=--A--middle_initial--B--&last_name=--A--last_name--B--&address1=--A--address1--B--&address2=--A--address2--B--&address3=--A--address3--B--&city=--A--city--B--&state=--A--state--B--&province=--A--province--B--&postal_code=--A--postal_code--B--&country_code=--A--country_code--B--&gender=--A--gender--B--&date_of_birth=--A--date_of_birth--B--&alt_phone=--A--alt_phone--B--&email=--A--email--B--&security_phrase=--A--security_phrase--B--&comments=--A--comments--B--&user=--A--user--B--&campaign=--A--campaign--B--&phone_login=--A--phone_login--B--&fronter=--A--fronter--B--&closer=--A--user--B--&group=--A--group--B--&channel_group=--A--group--B--&SQLdate=--A--SQLdate--B--&epoch=--A--epoch--B--&uniqueid=--A--uniqueid--B--&customer_zap_channel=--A--customer_zap_channel--B--&server_ip=--A--server_ip--B--&SIPexten=--A--SIPexten--B--&session_id=--A--session_id--B--&phone=--A--phone--B--" style="width:460;height:290;background-color:transparent;" scrolling="auto" frameborder="0" allowtransparency="true" id="popupFrame" name="popupFrame" width="460" height="290">
|
||||
</iframe>
|
||||
</DIV>
|
||||
|
||||
<BR>
|
||||
<A NAME="vicidial_scripts-active">
|
||||
@@ -2643,6 +2649,7 @@ $script_text = eregi_replace('--A--email--B--',"$email",$script_text);
|
||||
$script_text = eregi_replace('--A--security_phrase--B--',"$security_phrase",$script_text);
|
||||
$script_text = eregi_replace('--A--comments--B--',"$comments",$script_text);
|
||||
$script_text = eregi_replace('--A--fullname--B--',"$RGfullname",$script_text);
|
||||
$script_text = eregi_replace('--A--fronter--B--',"$RGuser",$script_text);
|
||||
$script_text = eregi_replace('--A--user--B--',"$RGuser",$script_text);
|
||||
$script_text = eregi_replace('--A--lead_id--B--',"$RGlead_id",$script_text);
|
||||
$script_text = eregi_replace('--A--campaign--B--',"$RGcampaign",$script_text);
|
||||
@@ -6319,6 +6326,7 @@ else
|
||||
echo "This campaign has $hopper_leads leads in the dial hopper<br><br>\n";
|
||||
echo "<a href=\"./AST_VICIDIAL_hopperlist.php?group=$campaign_id\">Click here to see what leads are in the hopper right now</a><br><br>\n";
|
||||
echo "<a href=\"$PHP_SELF?ADD=81&campaign_id=$campaign_id\">Click here to see all CallBack Holds in this campaign</a><BR><BR>\n";
|
||||
echo "<a href=\"./AST_VDADstats.php?group=$campaign_id\">Click here to see a VDAD report for this campaign</a><BR><BR>\n";
|
||||
echo "</b></center>\n";
|
||||
|
||||
|
||||
@@ -6676,6 +6684,7 @@ else
|
||||
echo "This campaign has $hopper_leads leads in the dial hopper<br><br>\n";
|
||||
echo "<a href=\"./AST_VICIDIAL_hopperlist.php?group=$campaign_id\">Click here to see what leads are in the hopper right now</a><br><br>\n";
|
||||
echo "<a href=\"$PHP_SELF?ADD=81&campaign_id=$campaign_id\">Click here to see all CallBack Holds in this campaign</a><BR><BR>\n";
|
||||
echo "<a href=\"./AST_VDADstats.php?group=$campaign_id\">Click here to see a VDAD report for this campaign</a><BR><BR>\n";
|
||||
echo "</b></center>\n";
|
||||
|
||||
echo "<br>\n";
|
||||
@@ -7120,6 +7129,8 @@ echo "</TABLE></center>\n";
|
||||
|
||||
echo "</table></center><br>\n";
|
||||
|
||||
echo "<a href=\"./AST_CLOSERstats.php?group=$group_id\">Click here to see a report for this campaign</a><BR><BR>\n";
|
||||
|
||||
echo "<center><b>\n";
|
||||
|
||||
if ($LOGdelete_ingroups > 0)
|
||||
@@ -7733,7 +7744,7 @@ echo "</TABLE></center></form>\n";
|
||||
### vicidial server trunk records for this server
|
||||
echo "<br><br><b>VICIDIAL TRUNKS FOR THIS SERVER: $NWB#vicidial_server_trunks$NWE</b><br>\n";
|
||||
echo "<TABLE width=500 cellspacing=3>\n";
|
||||
echo "<tr><td>CAMPAIGN</td><td>TRUNKS</td><td>RESTRICTION</td><td> </td><td>DELETE</td></tr>\n";
|
||||
echo "<tr><td> CAMPAIGN</td><td> TRUNKS </td><td> RESTRICTION </td><td> </td><td> DELETE </td></tr>\n";
|
||||
|
||||
$stmt="SELECT * from vicidial_server_trunks where server_ip='$server_ip' order by campaign_id";
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
@@ -8091,7 +8102,7 @@ if ($ADD==82)
|
||||
{
|
||||
echo "<TABLE><TR><TD>\n";
|
||||
echo "<center><TABLE width=600 cellspacing=0 cellpadding=1>\n";
|
||||
echo "<tr bgcolor=black><td><font size=1 color=white>LEAD</td><td><font size=1 color=white>LIST</td><td><font size=1 color=white>CAMPAIGN</td><td><font size=1 color=white>ENTRY DATE</td><td><font size=1 color=white>CALLBACK DATE</td><td><font size=1 color=white>USER</td><td><font size=1 color=white>RECIPIENT</td><td><font size=1 color=white>STATUS</td></tr>\n";
|
||||
echo "<tr bgcolor=black><td><font size=1 color=white>LEAD</td><td><font size=1 color=white>LIST</td><td><font size=1 color=white> CAMPAIGN</td><td><font size=1 color=white>ENTRY DATE</td><td><font size=1 color=white>CALLBACK DATE</td><td><font size=1 color=white>USER</td><td><font size=1 color=white>RECIPIENT</td><td><font size=1 color=white>STATUS</td></tr>\n";
|
||||
|
||||
$o=0;
|
||||
while ($cb_to_print > $o) {
|
||||
@@ -8130,14 +8141,33 @@ echo "</TABLE></center>\n";
|
||||
if ($ADD==0)
|
||||
{
|
||||
echo "<TABLE><TR><TD>\n";
|
||||
echo "<FONT FACE=\"ARIAL,HELVETICA\" COLOR=BLACK SIZE=2>";
|
||||
echo "<FONT FACE=\"ARIAL,HELVETICA\" COLOR=BLACK SIZE=2>";
|
||||
|
||||
$stmt="SELECT * from vicidial_users order by full_name";
|
||||
$USERlink='stage=USERIDDOWN';
|
||||
$NAMElink='stage=NAMEDOWN';
|
||||
$LEVELlink='stage=LEVELDOWN';
|
||||
$GROUPlink='stage=GROUPDOWN';
|
||||
$SQLorder='order by full_name';
|
||||
if (eregi("USERIDUP",$stage)) {$SQLorder='order by user asc'; $USERlink='stage=USERIDDOWN';}
|
||||
if (eregi("USERIDDOWN",$stage)) {$SQLorder='order by user desc'; $USERlink='stage=USERIDUP';}
|
||||
if (eregi("NAMEUP",$stage)) {$SQLorder='order by full_name asc'; $NAMElink='stage=NAMEDOWN';}
|
||||
if (eregi("NAMEDOWN",$stage)) {$SQLorder='order by full_name desc'; $NAMElink='stage=NAMEUP';}
|
||||
if (eregi("LEVELUP",$stage)) {$SQLorder='order by user_level asc'; $LEVELlink='stage=LEVELDOWN';}
|
||||
if (eregi("LEVELDOWN",$stage)) {$SQLorder='order by user_level desc'; $LEVELlink='stage=LEVELUP';}
|
||||
if (eregi("GROUPUP",$stage)) {$SQLorder='order by user_group asc'; $GROUPlink='stage=GROUPDOWN';}
|
||||
if (eregi("GROUPDOWN",$stage)) {$SQLorder='order by user_group desc'; $GROUPlink='stage=GROUPUP';}
|
||||
$stmt="SELECT * from vicidial_users $SQLorder";
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
$people_to_print = mysql_num_rows($rslt);
|
||||
|
||||
echo "<br>USER LISTINGS:\n";
|
||||
echo "<center><TABLE width=600 cellspacing=0 cellpadding=1>\n";
|
||||
echo "<tr bgcolor=black>";
|
||||
echo "<td><a href=\"$PHP_SELF?ADD=0&$USERlink\"><font size=1 color=white><B>USER ID</B></a></td>";
|
||||
echo "<td><a href=\"$PHP_SELF?ADD=0&$NAMElink\"><font size=1 color=white><B>FULL NAME</B></a></td>";
|
||||
echo "<td><a href=\"$PHP_SELF?ADD=0&$LEVELlink\"><font size=1 color=white><B>LEVEL</B></a></td>";
|
||||
echo "<td><a href=\"$PHP_SELF?ADD=0&$GROUPlink\"><font size=1 color=white><B>GROUP</B></a></td>";
|
||||
echo "<td align=center><font size=1 color=white><B>LINKS</B></td></tr>\n";
|
||||
|
||||
$o=0;
|
||||
while ($people_to_print > $o) {
|
||||
@@ -8146,7 +8176,7 @@ echo "<center><TABLE width=600 cellspacing=0 cellpadding=1>\n";
|
||||
{$bgcolor='bgcolor="#B9CBFD"';}
|
||||
else
|
||||
{$bgcolor='bgcolor="#9BB9FB"';}
|
||||
echo "<tr $bgcolor><td><font size=1>$row[1]</td><td><font size=1>$row[3]</td><td><font size=1>$row[4]</td><td><font size=1>$row[5]</td>";
|
||||
echo "<tr $bgcolor><td><a href=\"$PHP_SELF?ADD=3&user=$row[1]\"><font size=1 color=black>$row[1]</a></td><td><font size=1>$row[3]</td><td><font size=1>$row[4]</td><td><font size=1>$row[5]</td>";
|
||||
echo "<td><font size=1><a href=\"$PHP_SELF?ADD=3&user=$row[1]\">MODIFY</a> | <a href=\"./user_stats.php?user=$row[1]\">STATS</a> | <a href=\"./user_status.php?user=$row[1]\">STATUS</a> | <a href=\"./AST_agent_time_sheet.php?agent=$row[1]\">TIME</a></td></tr>\n";
|
||||
$o++;
|
||||
}
|
||||
@@ -8467,15 +8497,36 @@ echo "</TABLE></center>\n";
|
||||
if ($ADD==10000000000)
|
||||
{
|
||||
echo "<TABLE><TR><TD>\n";
|
||||
echo "<FONT FACE=\"ARIAL,HELVETICA\" COLOR=BLACK SIZE=2>";
|
||||
|
||||
echo "<FONT FACE=\"ARIAL,HELVETICA\" COLOR=BLACK SIZE=2>";
|
||||
|
||||
$stmt="SELECT * from phones order by extension,server_ip";
|
||||
$EXTENlink='stage=EXTENDOWN';
|
||||
$PROTOlink='stage=PROTODOWN';
|
||||
$SERVERlink='stage=SERVERDOWN';
|
||||
$STATUSlink='stage=STATUSDOWN';
|
||||
$SQLorder='order by extension,server_ip';
|
||||
if (eregi("EXTENUP",$stage)) {$SQLorder='order by extension asc'; $EXTENlink='stage=EXTENDOWN';}
|
||||
if (eregi("EXTENDOWN",$stage)) {$SQLorder='order by extension desc'; $EXTENlink='stage=EXTENUP';}
|
||||
if (eregi("PROTOUP",$stage)) {$SQLorder='order by protocol asc'; $PROTOlink='stage=PROTODOWN';}
|
||||
if (eregi("PROTODOWN",$stage)) {$SQLorder='order by protocol desc'; $PROTOlink='stage=PROTOUP';}
|
||||
if (eregi("SERVERUP",$stage)) {$SQLorder='order by server_ip asc'; $SERVERlink='stage=SERVERDOWN';}
|
||||
if (eregi("SERVERDOWN",$stage)) {$SQLorder='order by server_ip desc'; $SERVERlink='stage=SERVERUP';}
|
||||
if (eregi("STATUSUP",$stage)) {$SQLorder='order by status asc'; $STATUSlink='stage=STATUSDOWN';}
|
||||
if (eregi("STATUSDOWN",$stage)) {$SQLorder='order by status desc'; $STATUSlink='stage=STATUSUP';}
|
||||
$stmt="SELECT * from phones $SQLorder";
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
$phones_to_print = mysql_num_rows($rslt);
|
||||
|
||||
echo "<br>PHONE LISTINGS:\n";
|
||||
echo "<center><TABLE width=600 cellspacing=0 cellpadding=1>\n";
|
||||
echo "<tr bgcolor=black>";
|
||||
echo "<td><a href=\"$PHP_SELF?ADD=10000000000&$EXTENlink\"><font size=1 color=white><B>EXTEN</B></a></td>";
|
||||
echo "<td><a href=\"$PHP_SELF?ADD=10000000000&$PROTOlink\"><font size=1 color=white><B>PROTO</B></a></td>";
|
||||
echo "<td><a href=\"$PHP_SELF?ADD=10000000000&$SERVERlink\"><font size=1 color=white><B>SERVER</B></a></td>";
|
||||
echo "<td colspan=2><font size=1 color=white><B>DIALPLAN</B></td>";
|
||||
echo "<td><a href=\"$PHP_SELF?ADD=10000000000&$STATUSlink\"><font size=1 color=white><B>STATUS</B></a></td>";
|
||||
echo "<td><font size=1 color=white><B>NAME</B></td>";
|
||||
echo "<td colspan=2><font size=1 color=white><B>VMAIL</B></td>";
|
||||
echo "<td align=center><font size=1 color=white><B>LINKS</B></td></tr>\n";
|
||||
|
||||
$o=0;
|
||||
while ($phones_to_print > $o) {
|
||||
@@ -8484,7 +8535,7 @@ echo "<center><TABLE width=600 cellspacing=0 cellpadding=1>\n";
|
||||
{$bgcolor='bgcolor="#B9CBFD"';}
|
||||
else
|
||||
{$bgcolor='bgcolor="#9BB9FB"';}
|
||||
echo "<tr $bgcolor><td><font size=1>$row[0]</td><td><font size=1>$row[16]</td><td><font size=1>$row[5]</td><td><font size=1>$row[1]</td><td><font size=1>$row[2]</td><td><font size=1>$row[8]</td><td><font size=1>$row[11]</td><td><font size=1>$row[14]</td><td><font size=1>$row[15]</td>";
|
||||
echo "<tr $bgcolor><td><a href=\"$PHP_SELF?ADD=31111111111&extension=$row[0]&server_ip=$row[5]\"><font size=1 color=black>$row[0]</font></a></td><td><font size=1>$row[16]</td><td><font size=1>$row[5]</td><td><font size=1>$row[1]</td><td><font size=1>$row[2]</td><td><font size=1>$row[8]</td><td><font size=1>$row[11]</td><td><font size=1>$row[14]</td><td><font size=1>$row[15]</td>";
|
||||
echo "<td><font size=1><a href=\"$PHP_SELF?ADD=31111111111&extension=$row[0]&server_ip=$row[5]\">MODIFY</a> | <a href=\"./phone_stats.php?extension=$row[0]&server_ip=$row[5]\">STATS</a></td></tr>\n";
|
||||
$o++;
|
||||
}
|
||||
|
||||
@@ -794,12 +794,13 @@ $lead_filter_sql = ereg_replace(";","",$lead_filter_sql);
|
||||
# 61110-1502 - add ability to select NONE in dial statuses, new list_id must not be < 100
|
||||
# 61122-1228 - added user group campaign restrictions
|
||||
# 61122-1535 - changed script_text to unfiltered and added more variables to SCRIPTS
|
||||
# 61129-1028 - Added headers to Users and Phones with clickable order-by titles
|
||||
#
|
||||
|
||||
# make sure you have added a user to the vicidial_users MySQL table with at least user_level 8 to access this page the first time
|
||||
|
||||
$version = '2.0.72';
|
||||
$build = '61122-1535';
|
||||
$version = '2.0.73';
|
||||
$build = '61129-1028';
|
||||
|
||||
$STARTtime = date("U");
|
||||
|
||||
@@ -1177,18 +1178,18 @@ if ( ( (strlen($ADD)>4) && ($ADD < 99998) ) or ($ADD==3) or ($ADD==21) or ($ADD=
|
||||
}
|
||||
|
||||
$campaigns_value='';
|
||||
$campaigns_list='<B><input type="checkbox" name="campaigns[]" value="-ALL-KAMPAGNEN-"';
|
||||
$campaigns_list='<B><input type="checkbox" name="campaigns[]" value="-ALL-CAMPAIGNS-"';
|
||||
$p=0;
|
||||
while ($p<100)
|
||||
{
|
||||
if (eregi('ALL-KAMPAGNEN',$campaigns[$p]))
|
||||
if (eregi('ALL-CAMPAIGNS',$campaigns[$p]))
|
||||
{
|
||||
$campaigns_list.=" CHECKED";
|
||||
$campaigns_value .= " -ALL-KAMPAGNEN- -";
|
||||
$campaigns_value .= " -ALL-CAMPAIGNS- -";
|
||||
}
|
||||
$p++;
|
||||
}
|
||||
$campaigns_list.="> ALL-KAMPAGNEN - BENUTZER KÖNNEN JEDE MÖGLICHE KAMPAGNE ANSEHEN</B><BR>\n";
|
||||
$campaigns_list.="> ALL-CAMPAIGNS - BENUTZER KÖNNEN JEDE MÖGLICHE KAMPAGNE ANSEHEN</B><BR>\n";
|
||||
|
||||
$stmt="SELECT campaign_id,campaign_name from vicidial_campaigns order by campaign_id";
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
@@ -1206,11 +1207,11 @@ if ( ( (strlen($ADD)>4) && ($ADD < 99998) ) or ($ADD==3) or ($ADD==21) or ($ADD=
|
||||
{
|
||||
if ($campaign_id_value == $campaigns[$p])
|
||||
{
|
||||
echo "<!-- X $p|$campaign_id_value|$campaigns[$p]| -->";
|
||||
# echo "<!-- X $p|$campaign_id_value|$campaigns[$p]| -->";
|
||||
$campaigns_list .= " CHECKED";
|
||||
$campaigns_value .= " $campaign_id_value";
|
||||
}
|
||||
echo "<!-- O $p|$campaign_id_value|$campaigns[$p]| -->";
|
||||
# echo "<!-- O $p|$campaign_id_value|$campaigns[$p]| -->";
|
||||
$p++;
|
||||
}
|
||||
$campaigns_list .= "> $campaign_id_value - $campaign_name_value<BR>\n";
|
||||
@@ -1425,7 +1426,7 @@ echo "<TABLE WIDTH=98% BGCOLOR=#E6E6E6 cellpadding=2 cellspacing=0><TR><TD ALIGN
|
||||
|
||||
<BR><BR><BR><BR>
|
||||
|
||||
<B><FONT SIZE=3>VICIDIAL_KAMPAGNENTABELLE</FONT></B><BR><BR>
|
||||
<B><FONT SIZE=3>VICIDIAL_CAMPAIGNSTABELLE</FONT></B><BR><BR>
|
||||
<A NAME="vicidial_campaigns-campaign_id">
|
||||
<BR>
|
||||
<B>Kampagne Identifikation -</B> Dieses ist der kurze Name der Kampagne,es ist nicht editable nach Ausgangsunterordnung, kann nicht Räumeenthalten und muß zwischen 2 und 8 Buchstaben im lengt seinh.
|
||||
@@ -1880,7 +1881,7 @@ echo "<TABLE WIDTH=98% BGCOLOR=#E6E6E6 cellpadding=2 cellspacing=0><TR><TD ALIGN
|
||||
<BR>
|
||||
<A NAME="vicidial_user_groups-allowed_campaigns">
|
||||
<BR>
|
||||
<B>Erlaubte Kampagnen - dieses ist eine auswählbare Liste der Kampagnen,zu denen Mitglieder dieser Benutzergruppe innen protokollieren könnenin. Die ALL-KAMPAGNEN Wahl erlaubt den Benutzern in dieser Gruppe, injeder möglicher Kampagne auf dem System innen zu sehen und zuprotokollieren.
|
||||
<B>Erlaubte Kampagnen -</B> dieses ist eine auswählbare Liste der Kampagnen,zu denen Mitglieder dieser Benutzergruppe innen protokollieren könnenin. Die ALL-CAMPAIGNS Wahl erlaubt den Benutzern in dieser Gruppe, injeder möglicher Kampagne auf dem System innen zu sehen und zuprotokollieren.
|
||||
|
||||
|
||||
|
||||
@@ -1903,7 +1904,12 @@ echo "<TABLE WIDTH=98% BGCOLOR=#E6E6E6 cellpadding=2 cellspacing=0><TR><TD ALIGN
|
||||
|
||||
<BR>
|
||||
<A NAME="vicidial_scripts-script_text">
|
||||
<B>Index-Text -</B> This is where you place the content of a Vicidial Script. Minimum of 2 characters. You can have customer information be auto-populated in this script using "--A--field--B--" where field is one of the following fieldnames: vendor_lead_code, source_id, list_id, gmt_offset_now, called_since_last_reset, phone_code, phone_number, title, first_name, middle_initial, last_name, address1, address2, address3, city, state, province, postal_code, country_code, gender, date_of_birth, alt_phone, email, security_phrase, comments, lead_id, campaign, phone_login, group, channel_group, SQLdate, epoch, uniqueid, customer_zap_channel, server_ip, SIPexten, session_id. For example, this sentence would print the persons name in it----<BR><BR> Hello, can I speak with --A--first_name--B-- --A--last_name--B-- please? Well hello --A--title--B-- --A--last_name--B-- how are you today?<BR><BR> This would read----<BR><BR>Hello, can I speak with John Doe please? Well hello Mr. Doe how are you today?
|
||||
<B>Index-Text -</B> This is where you place the content of a Vicidial Script. Minimum of 2 characters. You can have customer information be auto-populated in this script using "--A--field--B--" where field is one of the following fieldnames: vendor_lead_code, source_id, list_id, gmt_offset_now, called_since_last_reset, phone_code, phone_number, title, first_name, middle_initial, last_name, address1, address2, address3, city, state, province, postal_code, country_code, gender, date_of_birth, alt_phone, email, security_phrase, comments, lead_id, campaign, phone_login, group, channel_group, SQLdate, epoch, uniqueid, customer_zap_channel, server_ip, SIPexten, session_id. For example, this sentence would print the persons name in it----<BR><BR> Hello, can I speak with --A--first_name--B-- --A--last_name--B-- please? Well hello --A--title--B-- --A--last_name--B-- how are you today?<BR><BR> This would read----<BR><BR>Hello, can I speak with John Doe please? Well hello Mr. Doe how are you today?<BR><BR> You can also use an iframe to load a separate window within the SCRIPT tab, here is an example with prepopulated variables:
|
||||
|
||||
<DIV style="height:200px;width:400px;background:white;overflow:scroll;font-size:12px;font-family:sans-serif;" id=iframe_example>
|
||||
<iframe src="http://astguiclient.sf.net/test_VICIDIAL_output.php?lead_id=--A--lead_id--B--&vendor_id=--A--vendor_lead_code--B--&list_id=--A--list_id--B--&gmt_offset_now=--A--gmt_offset_now--B--&phone_code=--A--phone_code--B--&phone_number=--A--phone_number--B--&title=--A--title--B--&first_name=--A--first_name--B--&middle_initial=--A--middle_initial--B--&last_name=--A--last_name--B--&address1=--A--address1--B--&address2=--A--address2--B--&address3=--A--address3--B--&city=--A--city--B--&state=--A--state--B--&province=--A--province--B--&postal_code=--A--postal_code--B--&country_code=--A--country_code--B--&gender=--A--gender--B--&date_of_birth=--A--date_of_birth--B--&alt_phone=--A--alt_phone--B--&email=--A--email--B--&security_phrase=--A--security_phrase--B--&comments=--A--comments--B--&user=--A--user--B--&campaign=--A--campaign--B--&phone_login=--A--phone_login--B--&fronter=--A--fronter--B--&closer=--A--user--B--&group=--A--group--B--&channel_group=--A--group--B--&SQLdate=--A--SQLdate--B--&epoch=--A--epoch--B--&uniqueid=--A--uniqueid--B--&customer_zap_channel=--A--customer_zap_channel--B--&server_ip=--A--server_ip--B--&SIPexten=--A--SIPexten--B--&session_id=--A--session_id--B--&phone=--A--phone--B--" style="width:460;height:290;background-color:transparent;" scrolling="auto" frameborder="0" allowtransparency="true" id="popupFrame" name="popupFrame" width="460" height="290">
|
||||
</iframe>
|
||||
</DIV>
|
||||
|
||||
<BR>
|
||||
<A NAME="vicidial_scripts-active">
|
||||
@@ -2451,12 +2457,12 @@ Die VICIDIAL grundlegende Netz-gegründete Leitung Ladevorrichtung isteinfach en
|
||||
<BR>
|
||||
<A NAME="servers-vicidial_balance_active">
|
||||
<BR>
|
||||
<B>VICIDIAL Balance Wählen - dieses einstellend, fangen Sie zuY läßt den Bediener Balance Anrufe für Kampagnen in VICIDIAL legenauf, damit das definierte Vorwahlknopfniveau getroffen werden kann,selbst wenn es keine Mittel gibt, die in diese Kampagne auf diesemBediener geloggt werden. Rückstellung ist N.
|
||||
<B>VICIDIAL Balance Wählen -</B> dieses einstellend, fangen Sie zuY läßt den Bediener Balance Anrufe für Kampagnen in VICIDIAL legenauf, damit das definierte Vorwahlknopfniveau getroffen werden kann,selbst wenn es keine Mittel gibt, die in diese Kampagne auf diesemBediener geloggt werden. Rückstellung ist N.
|
||||
|
||||
<BR>
|
||||
<A NAME="servers-balance_trunks_offlimits">
|
||||
<BR>
|
||||
<B>VICIDIAL Balance Offlimits - diese Einstellung definiert die ZahlStämmen, um die VICIDIAL Balance nicht zu erlauben, die wählt, um zuverwenden. Z.B. wenn Sie haben, wird 40 maximale vicidial Stämme undBalance offlimits bis 10 eingestellt, die Sie nur in der LageSIND, 30Hauptluftlinien für VICIDIAL Balance das Wählen zu benutzen.Rückstellung ist 0.
|
||||
<B>VICIDIAL Balance Offlimits -</B> diese Einstellung definiert die ZahlStämmen, um die VICIDIAL Balance nicht zu erlauben, die wählt, um zuverwenden. Z.B. wenn Sie haben, wird 40 maximale vicidial Stämme undBalance offlimits bis 10 eingestellt, die Sie nur in der LageSIND, 30Hauptluftlinien für VICIDIAL Balance das Wählen zu benutzen.Rückstellung ist 0.
|
||||
|
||||
|
||||
<BR><BR><BR><BR>
|
||||
@@ -2476,7 +2482,7 @@ Die VICIDIAL grundlegende Netz-gegründete Leitung Ladevorrichtung isteinfach en
|
||||
|
||||
<BR><BR><BR><BR>
|
||||
|
||||
<B><FONT SIZE=3>VICIDIAL_SERVER_STÄMMETABELLE</FONT></B><BR><BR>
|
||||
<B><FONT SIZE=3>VICIDIAL_SERVER_TRUNKSTABELLE</FONT></B><BR><BR>
|
||||
<A NAME="vicidial_server_trunks">
|
||||
<BR>
|
||||
<B>VICIDIAL Bediener-Stämme erlaubt Ihnen, die gehenden Leitungeneinzuschränken, die auf diesem Bediener für die Kampagne benutztwerden, die auf einer Prokampagne Grundlage wählt. Sie haben dieWahl, zum einer spezifischen Zeilenzahl durch nur eine Kampagneverwendet zu werden aufzuheben,, sowie das Lassen dieser Kampagneüber seine reservierten Linien laufen in was Linien geöffnetbleiben, wie, lang an den Gruppenzeilen, die durch vicidial auf diesemBediener benutzt werden, sind kleiner als die Maximum VICIDIALStammeinstellung. Erlaubt Haben nicht irgendwelche dieserAufzeichnungen die Kampagne, die die Linie zuerst wählt, um da vieleLinien zu haben, während sie unter der Maximum VICIDIAL erhalten kannStammeinstellung.</B>
|
||||
@@ -2643,6 +2649,7 @@ $script_text = eregi_replace('--A--email--B--',"$email",$script_text);
|
||||
$script_text = eregi_replace('--A--security_phrase--B--',"$security_phrase",$script_text);
|
||||
$script_text = eregi_replace('--A--comments--B--',"$comments",$script_text);
|
||||
$script_text = eregi_replace('--A--fullname--B--',"$RGfullname",$script_text);
|
||||
$script_text = eregi_replace('--A--fronter--B--',"$RGuser",$script_text);
|
||||
$script_text = eregi_replace('--A--user--B--',"$RGuser",$script_text);
|
||||
$script_text = eregi_replace('--A--lead_id--B--',"$RGlead_id",$script_text);
|
||||
$script_text = eregi_replace('--A--campaign--B--',"$RGcampaign",$script_text);
|
||||
@@ -3607,7 +3614,7 @@ if ($ADD==211111)
|
||||
}
|
||||
else
|
||||
{
|
||||
$stmt="INSERT INTO vicidial_user_groups(user_group,group_name,allowed_campaigns) values('$user_group','$group_name','-ALL-KAMPAGNEN-');";
|
||||
$stmt="INSERT INTO vicidial_user_groups(user_group,group_name,allowed_campaigns) values('$user_group','$group_name','-ALL-CAMPAIGNS-');";
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
echo "<br><B>BENUTZER-GRUPPE ADDIERT: $user_group</B>\n";
|
||||
@@ -5970,7 +5977,7 @@ else
|
||||
|
||||
if ( ($LOGcampaign_detail < 1) and ($ADD==31) ) {$ADD=34;} # send to Basic if not allowed
|
||||
|
||||
if ( ($ADD==31) and ( (!eregi("$campaign_id",$LOGallowed_campaigns)) and (!eregi("ALL-KAMPAGNEN",$LOGallowed_campaigns)) ) )
|
||||
if ( ($ADD==31) and ( (!eregi("$campaign_id",$LOGallowed_campaigns)) and (!eregi("ALL-CAMPAIGNS",$LOGallowed_campaigns)) ) )
|
||||
{$ADD=30;} # send to not allowed screen if not in vicidial_user_groups allowed_campaigns list
|
||||
|
||||
if ($ADD==31)
|
||||
@@ -6319,6 +6326,7 @@ else
|
||||
echo "Diese Kampagne hat$hopper_leads Leitungen im Vorwahlknopfzufuhrbehälter<br><br>\n";
|
||||
echo "<a href=\"./AST_VICIDIAL_hopperlist.php?group=$campaign_id\">Klicken Sie hier, um zu sehen, welche Leitungen im Zufuhrbehälter imAugenblick sind</a><br><br>\n";
|
||||
echo "<a href=\"$PHP_SELF?ADD=81&campaign_id=$campaign_id\">Klicken Sie hier, um alle Wiederholungsbesuch Einflüsse in dieserKampagne zu sehen</a><BR><BR>\n";
|
||||
echo "<a href=\"./AST_VDADstats.php?group=$campaign_id\">Click here to see a VDAD report for this campaign</a><BR><BR>\n";
|
||||
echo "</b></center>\n";
|
||||
|
||||
|
||||
@@ -6464,7 +6472,7 @@ if ($LOGdelete_campaigns > 0)
|
||||
# ADD=34 modify campaign info in the system - Basic View
|
||||
######################
|
||||
|
||||
if ( ($ADD==34) and ( (!eregi("$campaign_id",$LOGallowed_campaigns)) and (!eregi("ALL-KAMPAGNEN",$LOGallowed_campaigns)) ) )
|
||||
if ( ($ADD==34) and ( (!eregi("$campaign_id",$LOGallowed_campaigns)) and (!eregi("ALL-CAMPAIGNS",$LOGallowed_campaigns)) ) )
|
||||
{$ADD=30;} # send to not allowed screen if not in vicidial_user_groups allowed_campaigns list
|
||||
|
||||
if ($ADD==34)
|
||||
@@ -6676,6 +6684,7 @@ else
|
||||
echo "Diese Kampagne hat$hopper_leads Leitungen im Vorwahlknopfzufuhrbehälter<br><br>\n";
|
||||
echo "<a href=\"./AST_VICIDIAL_hopperlist.php?group=$campaign_id\">Klicken Sie hier, um zu sehen, welche Leitungen im Zufuhrbehälter imAugenblick sind</a><br><br>\n";
|
||||
echo "<a href=\"$PHP_SELF?ADD=81&campaign_id=$campaign_id\">Klicken Sie hier, um alle Wiederholungsbesuch Einflüsse in dieserKampagne zu sehen</a><BR><BR>\n";
|
||||
echo "<a href=\"./AST_VDADstats.php?group=$campaign_id\">Click here to see a VDAD report for this campaign</a><BR><BR>\n";
|
||||
echo "</b></center>\n";
|
||||
|
||||
echo "<br>\n";
|
||||
@@ -7120,6 +7129,8 @@ echo "</TABLE></center>\n";
|
||||
|
||||
echo "</table></center><br>\n";
|
||||
|
||||
echo "<a href=\"./AST_CLOSERstats.php?group=$group_id\">Click here to see a report for this campaign</a><BR><BR>\n";
|
||||
|
||||
echo "<center><b>\n";
|
||||
|
||||
if ($LOGdelete_ingroups > 0)
|
||||
@@ -7733,7 +7744,7 @@ echo "</TABLE></center></form>\n";
|
||||
### vicidial server trunk records for this server
|
||||
echo "<br><br><b>VICIDIAL STÄMME FÜR DIESEN BEDIENER: $NWB#vicidial_server_trunks$NWE</b><br>\n";
|
||||
echo "<TABLE width=500 cellspacing=3>\n";
|
||||
echo "<tr><td>CAMPAIGN</td><td>STÄMME</td><td>BESCHRÄNKUNG</td><td> </td><td>LÖSCHUNG</td></tr>\n";
|
||||
echo "<tr><td> KAMPAGNE</td><td> STÄMME </td><td> BESCHRÄNKUNG </td><td> </td><td> DELETE </td></tr>\n";
|
||||
|
||||
$stmt="SELECT * from vicidial_server_trunks where server_ip='$server_ip' order by campaign_id";
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
@@ -7763,11 +7774,11 @@ echo "</table>\n";
|
||||
echo "<br><b>ADDIEREN SIE NEUEN STAMM-SATZ DES BEDIENER-VICIDIAL</b><BR><form action=$PHP_SELF method=POST>\n";
|
||||
echo "<input type=hidden name=ADD value=221111111111>\n";
|
||||
echo "<input type=hidden name=server_ip value=\"$server_ip\">\n";
|
||||
echo "STÄMME: <input size=6 maxlength=4 name=dedicated_trunks><BR>\n";
|
||||
echo "CAMPAIGN: <select size=1 name=campaign_id>\n";
|
||||
echo "TRUNKS: <input size=6 maxlength=4 name=dedicated_trunks><BR>\n";
|
||||
echo "KAMPAGNE: <select size=1 name=campaign_id>\n";
|
||||
echo "$campaigns_list\n";
|
||||
echo "</select><BR>\n";
|
||||
echo "BESCHRÄNKUNG: <select size=1 name=trunk_restriction><option>MAXIMUM_LIMIT</option><option>OVERFLOW_ALLOWED</option></select><BR>\n";
|
||||
echo "RESTRICTION: <select size=1 name=trunk_restriction><option>MAXIMUM_LIMIT</option><option>OVERFLOW_ALLOWED</option></select><BR>\n";
|
||||
echo "<input type=submit name=submit value=ADD><BR>\n";
|
||||
|
||||
echo "</center></FORM><br>\n";
|
||||
@@ -8091,7 +8102,7 @@ if ($ADD==82)
|
||||
{
|
||||
echo "<TABLE><TR><TD>\n";
|
||||
echo "<center><TABLE width=600 cellspacing=0 cellpadding=1>\n";
|
||||
echo "<tr bgcolor=black><td><font size=1 color=white>LEAD</td><td><font size=1 color=white>LIST</td><td><font size=1 color=white>CAMPAIGN</td><td><font size=1 color=white>ENTRYDATUM</td><td><font size=1 color=white>CALLBACKDATUM</td><td><font size=1 color=white>USER</td><td><font size=1 color=white>RECIPIENT</td><td><font size=1 color=white>STATUS</td></tr>\n";
|
||||
echo "<tr bgcolor=black><td><font size=1 color=white>LEAD</td><td><font size=1 color=white>LIST</td><td><font size=1 color=white> KAMPAGNE</td><td><font size=1 color=white>ENTRYDATUM</td><td><font size=1 color=white>CALLBACKDATUM</td><td><font size=1 color=white>USER</td><td><font size=1 color=white>RECIPIENT</td><td><font size=1 color=white>STATUS</td></tr>\n";
|
||||
|
||||
$o=0;
|
||||
while ($cb_to_print > $o) {
|
||||
@@ -8130,14 +8141,33 @@ echo "</TABLE></center>\n";
|
||||
if ($ADD==0)
|
||||
{
|
||||
echo "<TABLE><TR><TD>\n";
|
||||
echo "<FONT FACE=\"ARIAL,HELVETICA\" COLOR=BLACK SIZE=2>";
|
||||
echo "<FONT FACE=\"ARIAL,HELVETICA\" COLOR=BLACK SIZE=2>";
|
||||
|
||||
$stmt="SELECT * from vicidial_users order by full_name";
|
||||
$USERlink='stage=USERIDDOWN';
|
||||
$NAMElink='stage=NAMEDOWN';
|
||||
$LEVELlink='stage=LEVELDOWN';
|
||||
$GROUPlink='stage=GROUPDOWN';
|
||||
$SQLorder='order by full_name';
|
||||
if (eregi("USERIDUP",$stage)) {$SQLorder='order by user asc'; $USERlink='stage=USERIDDOWN';}
|
||||
if (eregi("USERIDDOWN",$stage)) {$SQLorder='order by user desc'; $USERlink='stage=USERIDUP';}
|
||||
if (eregi("NAMEUP",$stage)) {$SQLorder='order by full_name asc'; $NAMElink='stage=NAMEDOWN';}
|
||||
if (eregi("NAMEDOWN",$stage)) {$SQLorder='order by full_name desc'; $NAMElink='stage=NAMEUP';}
|
||||
if (eregi("LEVELUP",$stage)) {$SQLorder='order by user_level asc'; $LEVELlink='stage=LEVELDOWN';}
|
||||
if (eregi("LEVELDOWN",$stage)) {$SQLorder='order by user_level desc'; $LEVELlink='stage=LEVELUP';}
|
||||
if (eregi("GROUPUP",$stage)) {$SQLorder='order by user_group asc'; $GROUPlink='stage=GROUPDOWN';}
|
||||
if (eregi("GROUPDOWN",$stage)) {$SQLorder='order by user_group desc'; $GROUPlink='stage=GROUPUP';}
|
||||
$stmt="SELECT * from vicidial_users $SQLorder";
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
$people_to_print = mysql_num_rows($rslt);
|
||||
|
||||
echo "<br>BENUTZER-AUFLISTUNGEN:\n";
|
||||
echo "<center><TABLE width=600 cellspacing=0 cellpadding=1>\n";
|
||||
echo "<tr bgcolor=black>";
|
||||
echo "<td><a href=\"$PHP_SELF?ADD=0&$USERlink\"><font size=1 color=white><B>USER ID</B></a></td>";
|
||||
echo "<td><a href=\"$PHP_SELF?ADD=0&$NAMElink\"><font size=1 color=white><B>FULL NAME</B></a></td>";
|
||||
echo "<td><a href=\"$PHP_SELF?ADD=0&$LEVELlink\"><font size=1 color=white><B>LEVEL</B></a></td>";
|
||||
echo "<td><a href=\"$PHP_SELF?ADD=0&$GROUPlink\"><font size=1 color=white><B>GROUP</B></a></td>";
|
||||
echo "<td align=center><font size=1 color=white><B>LINKS</B></td></tr>\n";
|
||||
|
||||
$o=0;
|
||||
while ($people_to_print > $o) {
|
||||
@@ -8146,7 +8176,7 @@ echo "<center><TABLE width=600 cellspacing=0 cellpadding=1>\n";
|
||||
{$bgcolor='bgcolor="#B9CBFD"';}
|
||||
else
|
||||
{$bgcolor='bgcolor="#9BB9FB"';}
|
||||
echo "<tr $bgcolor><td><font size=1>$row[1]</td><td><font size=1>$row[3]</td><td><font size=1>$row[4]</td><td><font size=1>$row[5]</td>";
|
||||
echo "<tr $bgcolor><td><a href=\"$PHP_SELF?ADD=3&user=$row[1]\"><font size=1 color=black>$row[1]</a></td><td><font size=1>$row[3]</td><td><font size=1>$row[4]</td><td><font size=1>$row[5]</td>";
|
||||
echo "<td><font size=1><a href=\"$PHP_SELF?ADD=3&user=$row[1]\">ÄNDERN Sie</a> | <a href=\"./user_stats.php?user=$row[1]\">Notfall</a> | <a href=\"./user_status.php?user=$row[1]\">STATUS</a> | <a href=\"./AST_agent_time_sheet.php?agent=$row[1]\">TIME</a></td></tr>\n";
|
||||
$o++;
|
||||
}
|
||||
@@ -8467,15 +8497,36 @@ echo "</TABLE></center>\n";
|
||||
if ($ADD==10000000000)
|
||||
{
|
||||
echo "<TABLE><TR><TD>\n";
|
||||
echo "<FONT FACE=\"ARIAL,HELVETICA\" COLOR=BLACK SIZE=2>";
|
||||
|
||||
echo "<FONT FACE=\"ARIAL,HELVETICA\" COLOR=BLACK SIZE=2>";
|
||||
|
||||
$stmt="SELECT * from phones order by extension,server_ip";
|
||||
$EXTENlink='stage=EXTENDOWN';
|
||||
$PROTOlink='stage=PROTODOWN';
|
||||
$SERVERlink='stage=SERVERDOWN';
|
||||
$STATUSlink='stage=STATUSDOWN';
|
||||
$SQLorder='order by extension,server_ip';
|
||||
if (eregi("EXTENUP",$stage)) {$SQLorder='order by extension asc'; $EXTENlink='stage=EXTENDOWN';}
|
||||
if (eregi("EXTENDOWN",$stage)) {$SQLorder='order by extension desc'; $EXTENlink='stage=EXTENUP';}
|
||||
if (eregi("PROTOUP",$stage)) {$SQLorder='order by protocol asc'; $PROTOlink='stage=PROTODOWN';}
|
||||
if (eregi("PROTODOWN",$stage)) {$SQLorder='order by protocol desc'; $PROTOlink='stage=PROTOUP';}
|
||||
if (eregi("SERVERUP",$stage)) {$SQLorder='order by server_ip asc'; $SERVERlink='stage=SERVERDOWN';}
|
||||
if (eregi("SERVERDOWN",$stage)) {$SQLorder='order by server_ip desc'; $SERVERlink='stage=SERVERUP';}
|
||||
if (eregi("STATUSUP",$stage)) {$SQLorder='order by status asc'; $STATUSlink='stage=STATUSDOWN';}
|
||||
if (eregi("STATUSDOWN",$stage)) {$SQLorder='order by status desc'; $STATUSlink='stage=STATUSUP';}
|
||||
$stmt="SELECT * from phones $SQLorder";
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
$phones_to_print = mysql_num_rows($rslt);
|
||||
|
||||
echo "<br>TELEFON-AUFLISTUNGEN:\n";
|
||||
echo "<center><TABLE width=600 cellspacing=0 cellpadding=1>\n";
|
||||
echo "<tr bgcolor=black>";
|
||||
echo "<td><a href=\"$PHP_SELF?ADD=10000000000&$EXTENlink\"><font size=1 color=white><B>EXTEN</B></a></td>";
|
||||
echo "<td><a href=\"$PHP_SELF?ADD=10000000000&$PROTOlink\"><font size=1 color=white><B>PROTO</B></a></td>";
|
||||
echo "<td><a href=\"$PHP_SELF?ADD=10000000000&$SERVERlink\"><font size=1 color=white><B>SERVER</B></a></td>";
|
||||
echo "<td colspan=2><font size=1 color=white><B>DIALPLAN</B></td>";
|
||||
echo "<td><a href=\"$PHP_SELF?ADD=10000000000&$STATUSlink\"><font size=1 color=white><B>STATUS</B></a></td>";
|
||||
echo "<td><font size=1 color=white><B>NAME</B></td>";
|
||||
echo "<td colspan=2><font size=1 color=white><B>VMAIL</B></td>";
|
||||
echo "<td align=center><font size=1 color=white><B>LINKS</B></td></tr>\n";
|
||||
|
||||
$o=0;
|
||||
while ($phones_to_print > $o) {
|
||||
@@ -8484,7 +8535,7 @@ echo "<center><TABLE width=600 cellspacing=0 cellpadding=1>\n";
|
||||
{$bgcolor='bgcolor="#B9CBFD"';}
|
||||
else
|
||||
{$bgcolor='bgcolor="#9BB9FB"';}
|
||||
echo "<tr $bgcolor><td><font size=1>$row[0]</td><td><font size=1>$row[16]</td><td><font size=1>$row[5]</td><td><font size=1>$row[1]</td><td><font size=1>$row[2]</td><td><font size=1>$row[8]</td><td><font size=1>$row[11]</td><td><font size=1>$row[14]</td><td><font size=1>$row[15]</td>";
|
||||
echo "<tr $bgcolor><td><a href=\"$PHP_SELF?ADD=31111111111&extension=$row[0]&server_ip=$row[5]\"><font size=1 color=black>$row[0]</font></a></td><td><font size=1>$row[16]</td><td><font size=1>$row[5]</td><td><font size=1>$row[1]</td><td><font size=1>$row[2]</td><td><font size=1>$row[8]</td><td><font size=1>$row[11]</td><td><font size=1>$row[14]</td><td><font size=1>$row[15]</td>";
|
||||
echo "<td><font size=1><a href=\"$PHP_SELF?ADD=31111111111&extension=$row[0]&server_ip=$row[5]\">ÄNDERN Sie</a> | <a href=\"./phone_stats.php?extension=$row[0]&server_ip=$row[5]\">Notfall</a></td></tr>\n";
|
||||
$o++;
|
||||
}
|
||||
|
||||
@@ -794,12 +794,13 @@ $lead_filter_sql = ereg_replace(";","",$lead_filter_sql);
|
||||
# 61110-1502 - add ability to select NONE in dial statuses, new list_id must not be < 100
|
||||
# 61122-1228 - added user group campaign restrictions
|
||||
# 61122-1535 - changed script_text to unfiltered and added more variables to SCRIPTS
|
||||
# 61129-1028 - Added headers to Users and Phones with clickable order-by titles
|
||||
#
|
||||
|
||||
# make sure you have added a user to the vicidial_users MySQL table with at least user_level 8 to access this page the first time
|
||||
|
||||
$version = '2.0.72';
|
||||
$build = '61122-1535';
|
||||
$version = '2.0.73';
|
||||
$build = '61129-1028';
|
||||
|
||||
$STARTtime = date("U");
|
||||
|
||||
@@ -1177,18 +1178,18 @@ if ( ( (strlen($ADD)>4) && ($ADD < 99998) ) or ($ADD==3) or ($ADD==21) or ($ADD=
|
||||
}
|
||||
|
||||
$campaigns_value='';
|
||||
$campaigns_list='<B><input type="checkbox" name="campaigns[]" value="-ALL-ΕΚΣΤΡΑΤΕΙΕΣ-"';
|
||||
$campaigns_list='<B><input type="checkbox" name="campaigns[]" value="-ALL-CAMPAIGNS-"';
|
||||
$p=0;
|
||||
while ($p<100)
|
||||
{
|
||||
if (eregi('ALL-ΕΚΣΤΡΑΤΕΙΕΣ',$campaigns[$p]))
|
||||
if (eregi('ALL-CAMPAIGNS',$campaigns[$p]))
|
||||
{
|
||||
$campaigns_list.=" CHECKED";
|
||||
$campaigns_value .= " -ALL-ΕΚΣΤΡΑΤΕΙΕΣ- -";
|
||||
$campaigns_value .= " -ALL-CAMPAIGNS- -";
|
||||
}
|
||||
$p++;
|
||||
}
|
||||
$campaigns_list.="> ALL-ΕΚΣΤΡΑΤΕΙΕΣ - ΟΙ ΧΡΗΣΤΕΣ ΜΠΟΡΟΥΝ ΝΑ ΔΟΥΝ ΟΠΟΙΑΔΗΠΟΤΕ ΕΚΣΤΡΑΤΕΙΑ</B><BR>\n";
|
||||
$campaigns_list.="> ALL-CAMPAIGNS - ΟΙ ΧΡΗΣΤΕΣ ΜΠΟΡΟΥΝ ΝΑ ΔΟΥΝ ΟΠΟΙΑΔΗΠΟΤΕ ΕΚΣΤΡΑΤΕΙΑ</B><BR>\n";
|
||||
|
||||
$stmt="SELECT campaign_id,campaign_name from vicidial_campaigns order by campaign_id";
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
@@ -1206,11 +1207,11 @@ if ( ( (strlen($ADD)>4) && ($ADD < 99998) ) or ($ADD==3) or ($ADD==21) or ($ADD=
|
||||
{
|
||||
if ($campaign_id_value == $campaigns[$p])
|
||||
{
|
||||
echo "<!-- X $p|$campaign_id_value|$campaigns[$p]| -->";
|
||||
# echo "<!-- X $p|$campaign_id_value|$campaigns[$p]| -->";
|
||||
$campaigns_list .= " CHECKED";
|
||||
$campaigns_value .= " $campaign_id_value";
|
||||
}
|
||||
echo "<!-- O $p|$campaign_id_value|$campaigns[$p]| -->";
|
||||
# echo "<!-- O $p|$campaign_id_value|$campaigns[$p]| -->";
|
||||
$p++;
|
||||
}
|
||||
$campaigns_list .= "> $campaign_id_value - $campaign_name_value<BR>\n";
|
||||
@@ -1425,7 +1426,7 @@ echo "<TABLE WIDTH=98% BGCOLOR=#E6E6E6 cellpadding=2 cellspacing=0><TR><TD ALIGN
|
||||
|
||||
<BR><BR><BR><BR>
|
||||
|
||||
<B><FONT SIZE=3>VICIDIAL_ΕΚΣΤΡΑΤΕΙΕΣ ΠΙΝΑΚΑΣ</FONT></B><BR><BR>
|
||||
<B><FONT SIZE=3>VICIDIAL_CAMPAIGNS ΠΙΝΑΚΑΣ</FONT></B><BR><BR>
|
||||
<A NAME="vicidial_campaigns-campaign_id">
|
||||
<BR>
|
||||
<B>ID Εκστρατείας -</B> Αυτό είναι το σύντομο όνομα της εκστρατείας, δεν μπορεί να διορθωθεί μετά από την αρχική παράδοση, δεν μπορεί να περιέχει κενά και πρέπει να είναι μεταξύ 2 και 8 χαρακτήρεςh.
|
||||
@@ -1880,7 +1881,7 @@ echo "<TABLE WIDTH=98% BGCOLOR=#E6E6E6 cellpadding=2 cellspacing=0><TR><TD ALIGN
|
||||
<BR>
|
||||
<A NAME="vicidial_user_groups-allowed_campaigns">
|
||||
<BR>
|
||||
<B>Εκστρατείες - αυτό είναι ένας επιλέξιμος κατάλογος εκστρατειώνστον οποίο τα μέλη αυτής της ομάδας χρηστών μπορούν νασυνδεθούν. Η επιλογή όλος-ΕΚΣΤΡΑΤΕΙΩΝ επιτρέπει στους χρήστες σεαυτήν την ομάδα για να δει και να συνδεθεί σε οποιαδήποτεεκστρατεία στο σύστημα.
|
||||
<B>Εκστρατείες -</B> αυτό είναι ένας επιλέξιμος κατάλογος εκστρατειώνστον οποίο τα μέλη αυτής της ομάδας χρηστών μπορούν νασυνδεθούν. Η επιλογή όλος-ΕΚΣΤΡΑΤΕΙΩΝ επιτρέπει στους χρήστες σεαυτήν την ομάδα για να δει και να συνδεθεί σε οποιαδήποτεεκστρατεία στο σύστημα.
|
||||
|
||||
|
||||
|
||||
@@ -1903,7 +1904,12 @@ echo "<TABLE WIDTH=98% BGCOLOR=#E6E6E6 cellpadding=2 cellspacing=0><TR><TD ALIGN
|
||||
|
||||
<BR>
|
||||
<A NAME="vicidial_scripts-script_text">
|
||||
<B>Κείμενο χειρόγραφου -</B> This is where you place the content of a Vicidial Script. Minimum of 2 characters. You can have customer information be auto-populated in this script using "--A--field--B--" where field is one of the following fieldnames: vendor_lead_code, source_id, list_id, gmt_offset_now, called_since_last_reset, phone_code, phone_number, title, first_name, middle_initial, last_name, address1, address2, address3, city, state, province, postal_code, country_code, gender, date_of_birth, alt_phone, email, security_phrase, comments, lead_id, campaign, phone_login, group, channel_group, SQLdate, epoch, uniqueid, customer_zap_channel, server_ip, SIPexten, session_id. For example, this sentence would print the persons name in it----<BR><BR> Hello, can I speak with --A--first_name--B-- --A--last_name--B-- please? Well hello --A--title--B-- --A--last_name--B-- how are you today?<BR><BR> This would read----<BR><BR>Hello, can I speak with John Doe please? Well hello Mr. Doe how are you today?
|
||||
<B>Κείμενο χειρόγραφου -</B> This is where you place the content of a Vicidial Script. Minimum of 2 characters. You can have customer information be auto-populated in this script using "--A--field--B--" where field is one of the following fieldnames: vendor_lead_code, source_id, list_id, gmt_offset_now, called_since_last_reset, phone_code, phone_number, title, first_name, middle_initial, last_name, address1, address2, address3, city, state, province, postal_code, country_code, gender, date_of_birth, alt_phone, email, security_phrase, comments, lead_id, campaign, phone_login, group, channel_group, SQLdate, epoch, uniqueid, customer_zap_channel, server_ip, SIPexten, session_id. For example, this sentence would print the persons name in it----<BR><BR> Hello, can I speak with --A--first_name--B-- --A--last_name--B-- please? Well hello --A--title--B-- --A--last_name--B-- how are you today?<BR><BR> This would read----<BR><BR>Hello, can I speak with John Doe please? Well hello Mr. Doe how are you today?<BR><BR> You can also use an iframe to load a separate window within the SCRIPT tab, here is an example with prepopulated variables:
|
||||
|
||||
<DIV style="height:200px;width:400px;background:white;overflow:scroll;font-size:12px;font-family:sans-serif;" id=iframe_example>
|
||||
<iframe src="http://astguiclient.sf.net/test_VICIDIAL_output.php?lead_id=--A--lead_id--B--&vendor_id=--A--vendor_lead_code--B--&list_id=--A--list_id--B--&gmt_offset_now=--A--gmt_offset_now--B--&phone_code=--A--phone_code--B--&phone_number=--A--phone_number--B--&title=--A--title--B--&first_name=--A--first_name--B--&middle_initial=--A--middle_initial--B--&last_name=--A--last_name--B--&address1=--A--address1--B--&address2=--A--address2--B--&address3=--A--address3--B--&city=--A--city--B--&state=--A--state--B--&province=--A--province--B--&postal_code=--A--postal_code--B--&country_code=--A--country_code--B--&gender=--A--gender--B--&date_of_birth=--A--date_of_birth--B--&alt_phone=--A--alt_phone--B--&email=--A--email--B--&security_phrase=--A--security_phrase--B--&comments=--A--comments--B--&user=--A--user--B--&campaign=--A--campaign--B--&phone_login=--A--phone_login--B--&fronter=--A--fronter--B--&closer=--A--user--B--&group=--A--group--B--&channel_group=--A--group--B--&SQLdate=--A--SQLdate--B--&epoch=--A--epoch--B--&uniqueid=--A--uniqueid--B--&customer_zap_channel=--A--customer_zap_channel--B--&server_ip=--A--server_ip--B--&SIPexten=--A--SIPexten--B--&session_id=--A--session_id--B--&phone=--A--phone--B--" style="width:460;height:290;background-color:transparent;" scrolling="auto" frameborder="0" allowtransparency="true" id="popupFrame" name="popupFrame" width="460" height="290">
|
||||
</iframe>
|
||||
</DIV>
|
||||
|
||||
<BR>
|
||||
<A NAME="vicidial_scripts-active">
|
||||
@@ -2452,12 +2458,12 @@ echo "<TABLE WIDTH=98% BGCOLOR=#E6E6E6 cellpadding=2 cellspacing=0><TR><TD ALIGN
|
||||
<BR>
|
||||
<A NAME="servers-vicidial_balance_active">
|
||||
<BR>
|
||||
<B>VICIDIAL σχηματισμός ισορροπίας - που θέτει αυτόν τον τομέαστο Υ θα επιτρέψει στον κεντρικό υπολογιστή για να τοποθετήσει τιςκλήσεις ισορροπίας για τις εκστρατείες σε VICIDIAL έτσι ώστετο καθορισμένο επίπεδο πινάκων μπορεί να συναντηθεί ακόμα κι ανδεν υπάρχει κανένας πράκτορας που συνδέεται με εκείνη τηνεκστρατεία σε αυτόν τον κεντρικό υπολογιστή. Η προεπιλογή είναιν.
|
||||
<B>VICIDIAL σχηματισμός ισορροπίας -</B> που θέτει αυτόν τον τομέαστο Υ θα επιτρέψει στον κεντρικό υπολογιστή για να τοποθετήσει τιςκλήσεις ισορροπίας για τις εκστρατείες σε VICIDIAL έτσι ώστετο καθορισμένο επίπεδο πινάκων μπορεί να συναντηθεί ακόμα κι ανδεν υπάρχει κανένας πράκτορας που συνδέεται με εκείνη τηνεκστρατεία σε αυτόν τον κεντρικό υπολογιστή. Η προεπιλογή είναιν.
|
||||
|
||||
<BR>
|
||||
<A NAME="servers-balance_trunks_offlimits">
|
||||
<BR>
|
||||
<B>VICIDIAL ισορροπία Offlimits - αυτή η ρύθμιση καθορίζει τοναριθμό κορμών για να μην επιτρέψει το σχηματισμό ισορροπίαςVICIDIAL στη χρήση. Παραδείγματος χάριν εάν να έχοντας 40ανώτατους vicidial κορμούς και η ισορροπία offlimits τίθεται10 θα είστε σε θέση μόνο να χρησιμοποιήσετε 30 γραμμές κορμώνγια το σχηματισμό ισορροπίας VICIDIAL. Η προεπιλογή είναι 0.
|
||||
<B>VICIDIAL ισορροπία Offlimits -</B> αυτή η ρύθμιση καθορίζει τοναριθμό κορμών για να μην επιτρέψει το σχηματισμό ισορροπίαςVICIDIAL στη χρήση. Παραδείγματος χάριν εάν να έχοντας 40ανώτατους vicidial κορμούς και η ισορροπία offlimits τίθεται10 θα είστε σε θέση μόνο να χρησιμοποιήσετε 30 γραμμές κορμώνγια το σχηματισμό ισορροπίας VICIDIAL. Η προεπιλογή είναι 0.
|
||||
|
||||
|
||||
<BR><BR><BR><BR>
|
||||
@@ -2477,7 +2483,7 @@ echo "<TABLE WIDTH=98% BGCOLOR=#E6E6E6 cellpadding=2 cellspacing=0><TR><TD ALIGN
|
||||
|
||||
<BR><BR><BR><BR>
|
||||
|
||||
<B><FONT SIZE=3>VICIDIAL_SERVER_ΚΟΡΜΟΙ ΠΙΝΑΚΑΣ</FONT></B><BR><BR>
|
||||
<B><FONT SIZE=3>VICIDIAL_SERVER_TRUNKS ΠΙΝΑΚΑΣ</FONT></B><BR><BR>
|
||||
<A NAME="vicidial_server_trunks">
|
||||
<BR>
|
||||
<B>VICIDIAL οι κορμοί κεντρικών υπολογιστών επιτρέπουν σε σας γιανα περιορίσουν τις εξερχόμενες γραμμές που χρησιμοποιούνται σεαυτόν τον κεντρικό υπολογιστή για το σχηματισμό εκστρατείας σεμια βάση ανά-εκστρατείας. Έχετε την επιλογή να διατηρήσετε ένανσυγκεκριμένο αριθμό γραμμών που χρησιμοποιούνται από μόνο μιαεκστρατεία καθώς επίσης και επιτρέποντας ότι εκστρατεία πουκάνει πέρα από τις διατηρημένες γραμμές του ο,τιδήποτε γραμμέςπαραμένουν ανοικτές, όπως πολύ στις συνολικές γραμμές πουχρησιμοποιούνται από vicidial σε αυτόν τον κεντρικό υπολογιστήείναι λιγότερο από η ανώτατη ρύθμιση κορμών VICIDIAL. Ηκατοχή οποιωνδήποτε από αυτά τα αρχεία θα επιτρέψει τηνεκστρατεία που σχηματίζει τη γραμμή για να έχει πρώτα τόσεςγραμμές όσες και μπορεί να πάρει κάτω από την ανώτατη ρύθμισηκορμών VICIDIAL.</B>
|
||||
@@ -2644,6 +2650,7 @@ $script_text = eregi_replace('--A--email--B--',"$email",$script_text);
|
||||
$script_text = eregi_replace('--A--security_phrase--B--',"$security_phrase",$script_text);
|
||||
$script_text = eregi_replace('--A--comments--B--',"$comments",$script_text);
|
||||
$script_text = eregi_replace('--A--fullname--B--',"$RGfullname",$script_text);
|
||||
$script_text = eregi_replace('--A--fronter--B--',"$RGuser",$script_text);
|
||||
$script_text = eregi_replace('--A--user--B--',"$RGuser",$script_text);
|
||||
$script_text = eregi_replace('--A--lead_id--B--',"$RGlead_id",$script_text);
|
||||
$script_text = eregi_replace('--A--campaign--B--',"$RGcampaign",$script_text);
|
||||
@@ -3608,7 +3615,7 @@ if ($ADD==211111)
|
||||
}
|
||||
else
|
||||
{
|
||||
$stmt="INSERT INTO vicidial_user_groups(user_group,group_name,allowed_campaigns) values('$user_group','$group_name','-ALL-ΕΚΣΤΡΑΤΕΙΕΣ-');";
|
||||
$stmt="INSERT INTO vicidial_user_groups(user_group,group_name,allowed_campaigns) values('$user_group','$group_name','-ALL-CAMPAIGNS-');";
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
echo "<br><B>ΟΜΑΔΑ ΧΡΗΣΤΗ ΠΡΟΣΤΕΘΗΚΕ: $user_group</B>\n";
|
||||
@@ -5971,7 +5978,7 @@ else
|
||||
|
||||
if ( ($LOGcampaign_detail < 1) and ($ADD==31) ) {$ADD=34;} # send to Basic if not allowed
|
||||
|
||||
if ( ($ADD==31) and ( (!eregi("$campaign_id",$LOGallowed_campaigns)) and (!eregi("ALL-ΕΚΣΤΡΑΤΕΙΕΣ",$LOGallowed_campaigns)) ) )
|
||||
if ( ($ADD==31) and ( (!eregi("$campaign_id",$LOGallowed_campaigns)) and (!eregi("ALL-CAMPAIGNS",$LOGallowed_campaigns)) ) )
|
||||
{$ADD=30;} # send to not allowed screen if not in vicidial_user_groups allowed_campaigns list
|
||||
|
||||
if ($ADD==31)
|
||||
@@ -6320,6 +6327,7 @@ else
|
||||
echo "Αυτή η εκστρατεία έχει$hopper_leads >οδηγοί στον hopper κλήσεων<<br><br>\n";
|
||||
echo "<a href=\"./AST_VICIDIAL_hopperlist.php?group=$campaign_id\">Πατήστε εδώ για να δείτε ποιοι οδηγοί είναι στον hopper τώρα</a><br><br>\n";
|
||||
echo "<a href=\"$PHP_SELF?ADD=81&campaign_id=$campaign_id\">Επιλέξτε εδώ για να δείτε τις κρατειμένες Επανακλήσεις σε αυτήν την εκστρατεία</a><BR><BR>\n";
|
||||
echo "<a href=\"./AST_VDADstats.php?group=$campaign_id\">Click here to see a VDAD report for this campaign</a><BR><BR>\n";
|
||||
echo "</b></center>\n";
|
||||
|
||||
|
||||
@@ -6465,7 +6473,7 @@ if ($LOGdelete_campaigns > 0)
|
||||
# ADD=34 modify campaign info in the system - Basic View
|
||||
######################
|
||||
|
||||
if ( ($ADD==34) and ( (!eregi("$campaign_id",$LOGallowed_campaigns)) and (!eregi("ALL-ΕΚΣΤΡΑΤΕΙΕΣ",$LOGallowed_campaigns)) ) )
|
||||
if ( ($ADD==34) and ( (!eregi("$campaign_id",$LOGallowed_campaigns)) and (!eregi("ALL-CAMPAIGNS",$LOGallowed_campaigns)) ) )
|
||||
{$ADD=30;} # send to not allowed screen if not in vicidial_user_groups allowed_campaigns list
|
||||
|
||||
if ($ADD==34)
|
||||
@@ -6677,6 +6685,7 @@ else
|
||||
echo "Αυτή η εκστρατεία έχει$hopper_leads >οδηγοί στον hopper κλήσεων<<br><br>\n";
|
||||
echo "<a href=\"./AST_VICIDIAL_hopperlist.php?group=$campaign_id\">Πατήστε εδώ για να δείτε ποιοι οδηγοί είναι στον hopper τώρα</a><br><br>\n";
|
||||
echo "<a href=\"$PHP_SELF?ADD=81&campaign_id=$campaign_id\">Επιλέξτε εδώ για να δείτε τις κρατειμένες Επανακλήσεις σε αυτήν την εκστρατεία</a><BR><BR>\n";
|
||||
echo "<a href=\"./AST_VDADstats.php?group=$campaign_id\">Click here to see a VDAD report for this campaign</a><BR><BR>\n";
|
||||
echo "</b></center>\n";
|
||||
|
||||
echo "<br>\n";
|
||||
@@ -7121,6 +7130,8 @@ echo "</TABLE></center>\n";
|
||||
|
||||
echo "</table></center><br>\n";
|
||||
|
||||
echo "<a href=\"./AST_CLOSERstats.php?group=$group_id\">Click here to see a report for this campaign</a><BR><BR>\n";
|
||||
|
||||
echo "<center><b>\n";
|
||||
|
||||
if ($LOGdelete_ingroups > 0)
|
||||
@@ -7734,7 +7745,7 @@ echo "</TABLE></center></form>\n";
|
||||
### vicidial server trunk records for this server
|
||||
echo "<br><br><b>VICIDIAL ΚΟΡΜΟΙ ΓΙΑ ΑΥΤΟΝ ΤΟΝ ΚΕΝΤΡΙΚΟ ΥΠΟΛΟΓΙΣΤΉ: $NWB#vicidial_server_trunks$NWE</b><br>\n";
|
||||
echo "<TABLE width=500 cellspacing=3>\n";
|
||||
echo "<tr><td>CAMPAIGN</td><td>ΚΟΡΜΟΙ</td><td>ΠΕΡΙΟΡΙΣΜΟΣ</td><td> </td><td>ΔΙΑΓΡΑΦΗ</td></tr>\n";
|
||||
echo "<tr><td>ΕΚΣΤΡΑΤΕΙΑ</td><td> ΚΟΡΜΟΙ </td><td> ΠΕΡΙΟΡΙΣΜΟΣ </td><td> </td><td> DELETE </td></tr>\n";
|
||||
|
||||
$stmt="SELECT * from vicidial_server_trunks where server_ip='$server_ip' order by campaign_id";
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
@@ -7764,11 +7775,11 @@ echo "</table>\n";
|
||||
echo "<br><b>ΠΡΟΣΘΕΣΤΕ ΤΟ ΝΕΟ ΑΡΧΕΊΟ ΚΟΡΜΏΝ ΚΕΝΤΡΙΚΩΝ ΥΠΟΛΟΓΙΣΤΏΝ VICIDIAL</b><BR><form action=$PHP_SELF method=POST>\n";
|
||||
echo "<input type=hidden name=ADD value=221111111111>\n";
|
||||
echo "<input type=hidden name=server_ip value=\"$server_ip\">\n";
|
||||
echo "ΚΟΡΜΟΙ: <input size=6 maxlength=4 name=dedicated_trunks><BR>\n";
|
||||
echo "CAMPAIGN: <select size=1 name=campaign_id>\n";
|
||||
echo "TRUNKS: <input size=6 maxlength=4 name=dedicated_trunks><BR>\n";
|
||||
echo "ΕΚΣΤΡΑΤΕΙΑ: <select size=1 name=campaign_id>\n";
|
||||
echo "$campaigns_list\n";
|
||||
echo "</select><BR>\n";
|
||||
echo "ΠΕΡΙΟΡΙΣΜΟΣ: <select size=1 name=trunk_restriction><option>MAXIMUM_LIMIT</option><option>OVERFLOW_ALLOWED</option></select><BR>\n";
|
||||
echo "RESTRICTION: <select size=1 name=trunk_restriction><option>MAXIMUM_LIMIT</option><option>OVERFLOW_ALLOWED</option></select><BR>\n";
|
||||
echo "<input type=submit name=submit value=ΠΡΟΣΘΗΚΗ><BR>\n";
|
||||
|
||||
echo "</center></FORM><br>\n";
|
||||
@@ -8092,7 +8103,7 @@ if ($ADD==82)
|
||||
{
|
||||
echo "<TABLE><TR><TD>\n";
|
||||
echo "<center><TABLE width=600 cellspacing=0 cellpadding=1>\n";
|
||||
echo "<tr bgcolor=black><td><font size=1 color=white>LEAD</td><td><font size=1 color=white>LIST</td><td><font size=1 color=white>CAMPAIGN</td><td><font size=1 color=white>ENTRY ΗΜΕΡΑ</td><td><font size=1 color=white>CALLBACK ΗΜΕΡΑ</td><td><font size=1 color=white>USER</td><td><font size=1 color=white>RECIPIENT</td><td><font size=1 color=white>ΚΑΤΑΣΤΑΣΗ</td></tr>\n";
|
||||
echo "<tr bgcolor=black><td><font size=1 color=white>LEAD</td><td><font size=1 color=white>LIST</td><td><font size=1 color=white>ΕΚΣΤΡΑΤΕΙΑ</td><td><font size=1 color=white>ENTRY ΗΜΕΡΑ</td><td><font size=1 color=white>CALLBACK ΗΜΕΡΑ</td><td><font size=1 color=white>USER</td><td><font size=1 color=white>RECIPIENT</td><td><font size=1 color=white>ΚΑΤΑΣΤΑΣΗ</td></tr>\n";
|
||||
|
||||
$o=0;
|
||||
while ($cb_to_print > $o) {
|
||||
@@ -8131,14 +8142,33 @@ echo "</TABLE></center>\n";
|
||||
if ($ADD==0)
|
||||
{
|
||||
echo "<TABLE><TR><TD>\n";
|
||||
echo "<FONT FACE=\"ARIAL,HELVETICA\" COLOR=BLACK SIZE=2>";
|
||||
echo "<FONT FACE=\"ARIAL,HELVETICA\" COLOR=BLACK SIZE=2>";
|
||||
|
||||
$stmt="SELECT * from vicidial_users order by full_name";
|
||||
$USERlink='stage=USERIDDOWN';
|
||||
$NAMElink='stage=NAMEDOWN';
|
||||
$LEVELlink='stage=LEVELDOWN';
|
||||
$GROUPlink='stage=GROUPDOWN';
|
||||
$SQLorder='order by full_name';
|
||||
if (eregi("USERIDUP",$stage)) {$SQLorder='order by user asc'; $USERlink='stage=USERIDDOWN';}
|
||||
if (eregi("USERIDDOWN",$stage)) {$SQLorder='order by user desc'; $USERlink='stage=USERIDUP';}
|
||||
if (eregi("NAMEUP",$stage)) {$SQLorder='order by full_name asc'; $NAMElink='stage=NAMEDOWN';}
|
||||
if (eregi("NAMEDOWN",$stage)) {$SQLorder='order by full_name desc'; $NAMElink='stage=NAMEUP';}
|
||||
if (eregi("LEVELUP",$stage)) {$SQLorder='order by user_level asc'; $LEVELlink='stage=LEVELDOWN';}
|
||||
if (eregi("LEVELDOWN",$stage)) {$SQLorder='order by user_level desc'; $LEVELlink='stage=LEVELUP';}
|
||||
if (eregi("GROUPUP",$stage)) {$SQLorder='order by user_group asc'; $GROUPlink='stage=GROUPDOWN';}
|
||||
if (eregi("GROUPDOWN",$stage)) {$SQLorder='order by user_group desc'; $GROUPlink='stage=GROUPUP';}
|
||||
$stmt="SELECT * from vicidial_users $SQLorder";
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
$people_to_print = mysql_num_rows($rslt);
|
||||
|
||||
echo "<br>ΛΙΣΤΕΣ ΧΡΗΣΤΗ:\n";
|
||||
echo "<center><TABLE width=600 cellspacing=0 cellpadding=1>\n";
|
||||
echo "<tr bgcolor=black>";
|
||||
echo "<td><a href=\"$PHP_SELF?ADD=0&$USERlink\"><font size=1 color=white><B>USER ID</B></a></td>";
|
||||
echo "<td><a href=\"$PHP_SELF?ADD=0&$NAMElink\"><font size=1 color=white><B>FULL NAME</B></a></td>";
|
||||
echo "<td><a href=\"$PHP_SELF?ADD=0&$LEVELlink\"><font size=1 color=white><B>LEVEL</B></a></td>";
|
||||
echo "<td><a href=\"$PHP_SELF?ADD=0&$GROUPlink\"><font size=1 color=white><B>GROUP</B></a></td>";
|
||||
echo "<td align=center><font size=1 color=white><B>LINKS</B></td></tr>\n";
|
||||
|
||||
$o=0;
|
||||
while ($people_to_print > $o) {
|
||||
@@ -8147,7 +8177,7 @@ echo "<center><TABLE width=600 cellspacing=0 cellpadding=1>\n";
|
||||
{$bgcolor='bgcolor="#B9CBFD"';}
|
||||
else
|
||||
{$bgcolor='bgcolor="#9BB9FB"';}
|
||||
echo "<tr $bgcolor><td><font size=1>$row[1]</td><td><font size=1>$row[3]</td><td><font size=1>$row[4]</td><td><font size=1>$row[5]</td>";
|
||||
echo "<tr $bgcolor><td><a href=\"$PHP_SELF?ADD=3&user=$row[1]\"><font size=1 color=black>$row[1]</a></td><td><font size=1>$row[3]</td><td><font size=1>$row[4]</td><td><font size=1>$row[5]</td>";
|
||||
echo "<td><font size=1><a href=\"$PHP_SELF?ADD=3&user=$row[1]\">ΤΡΟΠΟΠΟΙΗΣΗ</a> | <a href=\"./user_stats.php?user=$row[1]\">ΣΤΑΤΙΣΤΙΚΑ</a> | <a href=\"./user_status.php?user=$row[1]\">ΚΑΤΑΣΤΑΣΗ</a> | <a href=\"./AST_agent_time_sheet.php?agent=$row[1]\">TIME</a></td></tr>\n";
|
||||
$o++;
|
||||
}
|
||||
@@ -8468,15 +8498,36 @@ echo "</TABLE></center>\n";
|
||||
if ($ADD==10000000000)
|
||||
{
|
||||
echo "<TABLE><TR><TD>\n";
|
||||
echo "<FONT FACE=\"ARIAL,HELVETICA\" COLOR=BLACK SIZE=2>";
|
||||
|
||||
echo "<FONT FACE=\"ARIAL,HELVETICA\" COLOR=BLACK SIZE=2>";
|
||||
|
||||
$stmt="SELECT * from phones order by extension,server_ip";
|
||||
$EXTENlink='stage=EXTENDOWN';
|
||||
$PROTOlink='stage=PROTODOWN';
|
||||
$SERVERlink='stage=SERVERDOWN';
|
||||
$STATUSlink='stage=STATUSDOWN';
|
||||
$SQLorder='order by extension,server_ip';
|
||||
if (eregi("EXTENUP",$stage)) {$SQLorder='order by extension asc'; $EXTENlink='stage=EXTENDOWN';}
|
||||
if (eregi("EXTENDOWN",$stage)) {$SQLorder='order by extension desc'; $EXTENlink='stage=EXTENUP';}
|
||||
if (eregi("PROTOUP",$stage)) {$SQLorder='order by protocol asc'; $PROTOlink='stage=PROTODOWN';}
|
||||
if (eregi("PROTODOWN",$stage)) {$SQLorder='order by protocol desc'; $PROTOlink='stage=PROTOUP';}
|
||||
if (eregi("SERVERUP",$stage)) {$SQLorder='order by server_ip asc'; $SERVERlink='stage=SERVERDOWN';}
|
||||
if (eregi("SERVERDOWN",$stage)) {$SQLorder='order by server_ip desc'; $SERVERlink='stage=SERVERUP';}
|
||||
if (eregi("STATUSUP",$stage)) {$SQLorder='order by status asc'; $STATUSlink='stage=STATUSDOWN';}
|
||||
if (eregi("STATUSDOWN",$stage)) {$SQLorder='order by status desc'; $STATUSlink='stage=STATUSUP';}
|
||||
$stmt="SELECT * from phones $SQLorder";
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
$phones_to_print = mysql_num_rows($rslt);
|
||||
|
||||
echo "<br>ΕΝΤΑΓΜΕΝΑ ΤΗΛΕΦΩΝΑ:\n";
|
||||
echo "<center><TABLE width=600 cellspacing=0 cellpadding=1>\n";
|
||||
echo "<tr bgcolor=black>";
|
||||
echo "<td><a href=\"$PHP_SELF?ADD=10000000000&$EXTENlink\"><font size=1 color=white><B>EXTEN</B></a></td>";
|
||||
echo "<td><a href=\"$PHP_SELF?ADD=10000000000&$PROTOlink\"><font size=1 color=white><B>PROTO</B></a></td>";
|
||||
echo "<td><a href=\"$PHP_SELF?ADD=10000000000&$SERVERlink\"><font size=1 color=white><B>SERVER</B></a></td>";
|
||||
echo "<td colspan=2><font size=1 color=white><B>DIALPLAN</B></td>";
|
||||
echo "<td><a href=\"$PHP_SELF?ADD=10000000000&$STATUSlink\"><font size=1 color=white><B>ΚΑΤΑΣΤΑΣΗ</B></a></td>";
|
||||
echo "<td><font size=1 color=white><B>ΟΝΟΜΑ</B></td>";
|
||||
echo "<td colspan=2><font size=1 color=white><B>VMAIL</B></td>";
|
||||
echo "<td align=center><font size=1 color=white><B>LINKS</B></td></tr>\n";
|
||||
|
||||
$o=0;
|
||||
while ($phones_to_print > $o) {
|
||||
@@ -8485,7 +8536,7 @@ echo "<center><TABLE width=600 cellspacing=0 cellpadding=1>\n";
|
||||
{$bgcolor='bgcolor="#B9CBFD"';}
|
||||
else
|
||||
{$bgcolor='bgcolor="#9BB9FB"';}
|
||||
echo "<tr $bgcolor><td><font size=1>$row[0]</td><td><font size=1>$row[16]</td><td><font size=1>$row[5]</td><td><font size=1>$row[1]</td><td><font size=1>$row[2]</td><td><font size=1>$row[8]</td><td><font size=1>$row[11]</td><td><font size=1>$row[14]</td><td><font size=1>$row[15]</td>";
|
||||
echo "<tr $bgcolor><td><a href=\"$PHP_SELF?ADD=31111111111&extension=$row[0]&server_ip=$row[5]\"><font size=1 color=black>$row[0]</font></a></td><td><font size=1>$row[16]</td><td><font size=1>$row[5]</td><td><font size=1>$row[1]</td><td><font size=1>$row[2]</td><td><font size=1>$row[8]</td><td><font size=1>$row[11]</td><td><font size=1>$row[14]</td><td><font size=1>$row[15]</td>";
|
||||
echo "<td><font size=1><a href=\"$PHP_SELF?ADD=31111111111&extension=$row[0]&server_ip=$row[5]\">ΤΡΟΠΟΠΟΙΗΣΗ</a> | <a href=\"./phone_stats.php?extension=$row[0]&server_ip=$row[5]\">ΣΤΑΤΙΣΤΙΚΑ</a></td></tr>\n";
|
||||
$o++;
|
||||
}
|
||||
|
||||
@@ -794,12 +794,13 @@ $lead_filter_sql = ereg_replace(";","",$lead_filter_sql);
|
||||
# 61110-1502 - add ability to select NONE in dial statuses, new list_id must not be < 100
|
||||
# 61122-1228 - added user group campaign restrictions
|
||||
# 61122-1535 - changed script_text to unfiltered and added more variables to SCRIPTS
|
||||
# 61129-1028 - Added headers to Users and Phones with clickable order-by titles
|
||||
#
|
||||
|
||||
# make sure you have added a user to the vicidial_users MySQL table with at least user_level 8 to access this page the first time
|
||||
|
||||
$version = '2.0.72';
|
||||
$build = '61122-1535';
|
||||
$version = '2.0.73';
|
||||
$build = '61129-1028';
|
||||
|
||||
$STARTtime = date("U");
|
||||
|
||||
@@ -1206,11 +1207,11 @@ if ( ( (strlen($ADD)>4) && ($ADD < 99998) ) or ($ADD==3) or ($ADD==21) or ($ADD=
|
||||
{
|
||||
if ($campaign_id_value == $campaigns[$p])
|
||||
{
|
||||
echo "<!-- X $p|$campaign_id_value|$campaigns[$p]| -->";
|
||||
# echo "<!-- X $p|$campaign_id_value|$campaigns[$p]| -->";
|
||||
$campaigns_list .= " CHECKED";
|
||||
$campaigns_value .= " $campaign_id_value";
|
||||
}
|
||||
echo "<!-- O $p|$campaign_id_value|$campaigns[$p]| -->";
|
||||
# echo "<!-- O $p|$campaign_id_value|$campaigns[$p]| -->";
|
||||
$p++;
|
||||
}
|
||||
$campaigns_list .= "> $campaign_id_value - $campaign_name_value<BR>\n";
|
||||
@@ -1903,7 +1904,12 @@ echo "<TABLE WIDTH=98% BGCOLOR=#E6E6E6 cellpadding=2 cellspacing=0><TR><TD ALIGN
|
||||
|
||||
<BR>
|
||||
<A NAME="vicidial_scripts-script_text">
|
||||
<B>Script Text -</B> This is where you place the content of a Vicidial Script. Minimum of 2 characters. You can have customer information be auto-populated in this script using "--A--field--B--" where field is one of the following fieldnames: vendor_lead_code, source_id, list_id, gmt_offset_now, called_since_last_reset, phone_code, phone_number, title, first_name, middle_initial, last_name, address1, address2, address3, city, state, province, postal_code, country_code, gender, date_of_birth, alt_phone, email, security_phrase, comments, lead_id, campaign, phone_login, group, channel_group, SQLdate, epoch, uniqueid, customer_zap_channel, server_ip, SIPexten, session_id. For example, this sentence would print the persons name in it----<BR><BR> Hello, can I speak with --A--first_name--B-- --A--last_name--B-- please? Well hello --A--title--B-- --A--last_name--B-- how are you today?<BR><BR> This would read----<BR><BR>Hello, can I speak with John Doe please? Well hello Mr. Doe how are you today?
|
||||
<B>Script Text -</B> This is where you place the content of a Vicidial Script. Minimum of 2 characters. You can have customer information be auto-populated in this script using "--A--field--B--" where field is one of the following fieldnames: vendor_lead_code, source_id, list_id, gmt_offset_now, called_since_last_reset, phone_code, phone_number, title, first_name, middle_initial, last_name, address1, address2, address3, city, state, province, postal_code, country_code, gender, date_of_birth, alt_phone, email, security_phrase, comments, lead_id, campaign, phone_login, group, channel_group, SQLdate, epoch, uniqueid, customer_zap_channel, server_ip, SIPexten, session_id. For example, this sentence would print the persons name in it----<BR><BR> Hello, can I speak with --A--first_name--B-- --A--last_name--B-- please? Well hello --A--title--B-- --A--last_name--B-- how are you today?<BR><BR> This would read----<BR><BR>Hello, can I speak with John Doe please? Well hello Mr. Doe how are you today?<BR><BR> You can also use an iframe to load a separate window within the SCRIPT tab, here is an example with prepopulated variables:
|
||||
|
||||
<DIV style="height:200px;width:400px;background:white;overflow:scroll;font-size:12px;font-family:sans-serif;" id=iframe_example>
|
||||
<iframe src="http://astguiclient.sf.net/test_VICIDIAL_output.php?lead_id=--A--lead_id--B--&vendor_id=--A--vendor_lead_code--B--&list_id=--A--list_id--B--&gmt_offset_now=--A--gmt_offset_now--B--&phone_code=--A--phone_code--B--&phone_number=--A--phone_number--B--&title=--A--title--B--&first_name=--A--first_name--B--&middle_initial=--A--middle_initial--B--&last_name=--A--last_name--B--&address1=--A--address1--B--&address2=--A--address2--B--&address3=--A--address3--B--&city=--A--city--B--&state=--A--state--B--&province=--A--province--B--&postal_code=--A--postal_code--B--&country_code=--A--country_code--B--&gender=--A--gender--B--&date_of_birth=--A--date_of_birth--B--&alt_phone=--A--alt_phone--B--&email=--A--email--B--&security_phrase=--A--security_phrase--B--&comments=--A--comments--B--&user=--A--user--B--&campaign=--A--campaign--B--&phone_login=--A--phone_login--B--&fronter=--A--fronter--B--&closer=--A--user--B--&group=--A--group--B--&channel_group=--A--group--B--&SQLdate=--A--SQLdate--B--&epoch=--A--epoch--B--&uniqueid=--A--uniqueid--B--&customer_zap_channel=--A--customer_zap_channel--B--&server_ip=--A--server_ip--B--&SIPexten=--A--SIPexten--B--&session_id=--A--session_id--B--&phone=--A--phone--B--" style="width:460;height:290;background-color:transparent;" scrolling="auto" frameborder="0" allowtransparency="true" id="popupFrame" name="popupFrame" width="460" height="290">
|
||||
</iframe>
|
||||
</DIV>
|
||||
|
||||
<BR>
|
||||
<A NAME="vicidial_scripts-active">
|
||||
@@ -2643,6 +2649,7 @@ $script_text = eregi_replace('--A--email--B--',"$email",$script_text);
|
||||
$script_text = eregi_replace('--A--security_phrase--B--',"$security_phrase",$script_text);
|
||||
$script_text = eregi_replace('--A--comments--B--',"$comments",$script_text);
|
||||
$script_text = eregi_replace('--A--fullname--B--',"$RGfullname",$script_text);
|
||||
$script_text = eregi_replace('--A--fronter--B--',"$RGuser",$script_text);
|
||||
$script_text = eregi_replace('--A--user--B--',"$RGuser",$script_text);
|
||||
$script_text = eregi_replace('--A--lead_id--B--',"$RGlead_id",$script_text);
|
||||
$script_text = eregi_replace('--A--campaign--B--',"$RGcampaign",$script_text);
|
||||
@@ -6319,6 +6326,7 @@ else
|
||||
echo "This campaign has $hopper_leads leads in the dial hopper<br><br>\n";
|
||||
echo "<a href=\"./AST_VICIDIAL_hopperlist.php?group=$campaign_id\">Click here to see what leads are in the hopper right now</a><br><br>\n";
|
||||
echo "<a href=\"$PHP_SELF?ADD=81&campaign_id=$campaign_id\">Click here to see all CallBack Holds in this campaign</a><BR><BR>\n";
|
||||
echo "<a href=\"./AST_VDADstats.php?group=$campaign_id\">Click here to see a VDAD report for this campaign</a><BR><BR>\n";
|
||||
echo "</b></center>\n";
|
||||
|
||||
|
||||
@@ -6676,6 +6684,7 @@ else
|
||||
echo "This campaign has $hopper_leads leads in the dial hopper<br><br>\n";
|
||||
echo "<a href=\"./AST_VICIDIAL_hopperlist.php?group=$campaign_id\">Click here to see what leads are in the hopper right now</a><br><br>\n";
|
||||
echo "<a href=\"$PHP_SELF?ADD=81&campaign_id=$campaign_id\">Click here to see all CallBack Holds in this campaign</a><BR><BR>\n";
|
||||
echo "<a href=\"./AST_VDADstats.php?group=$campaign_id\">Click here to see a VDAD report for this campaign</a><BR><BR>\n";
|
||||
echo "</b></center>\n";
|
||||
|
||||
echo "<br>\n";
|
||||
@@ -7120,6 +7129,8 @@ echo "</TABLE></center>\n";
|
||||
|
||||
echo "</table></center><br>\n";
|
||||
|
||||
echo "<a href=\"./AST_CLOSERstats.php?group=$group_id\">Click here to see a report for this campaign</a><BR><BR>\n";
|
||||
|
||||
echo "<center><b>\n";
|
||||
|
||||
if ($LOGdelete_ingroups > 0)
|
||||
@@ -7733,7 +7744,7 @@ echo "</TABLE></center></form>\n";
|
||||
### vicidial server trunk records for this server
|
||||
echo "<br><br><b>VICIDIAL TRUNKS FOR THIS SERVER: $NWB#vicidial_server_trunks$NWE</b><br>\n";
|
||||
echo "<TABLE width=500 cellspacing=3>\n";
|
||||
echo "<tr><td>CAMPAIGN</td><td>TRUNKS</td><td>RESTRICTION</td><td> </td><td>DELETE</td></tr>\n";
|
||||
echo "<tr><td> CAMPAIGN</td><td> TRUNKS </td><td> RESTRICTION </td><td> </td><td> DELETE </td></tr>\n";
|
||||
|
||||
$stmt="SELECT * from vicidial_server_trunks where server_ip='$server_ip' order by campaign_id";
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
@@ -8091,7 +8102,7 @@ if ($ADD==82)
|
||||
{
|
||||
echo "<TABLE><TR><TD>\n";
|
||||
echo "<center><TABLE width=600 cellspacing=0 cellpadding=1>\n";
|
||||
echo "<tr bgcolor=black><td><font size=1 color=white>LEAD</td><td><font size=1 color=white>LIST</td><td><font size=1 color=white>CAMPAIGN</td><td><font size=1 color=white>ENTRY DATE</td><td><font size=1 color=white>CALLBACK DATE</td><td><font size=1 color=white>USER</td><td><font size=1 color=white>RECIPIENT</td><td><font size=1 color=white>STATUS</td></tr>\n";
|
||||
echo "<tr bgcolor=black><td><font size=1 color=white>LEAD</td><td><font size=1 color=white>LIST</td><td><font size=1 color=white> CAMPAIGN</td><td><font size=1 color=white>ENTRY DATE</td><td><font size=1 color=white>CALLBACK DATE</td><td><font size=1 color=white>USER</td><td><font size=1 color=white>RECIPIENT</td><td><font size=1 color=white>STATUS</td></tr>\n";
|
||||
|
||||
$o=0;
|
||||
while ($cb_to_print > $o) {
|
||||
@@ -8130,14 +8141,33 @@ echo "</TABLE></center>\n";
|
||||
if ($ADD==0)
|
||||
{
|
||||
echo "<TABLE><TR><TD>\n";
|
||||
echo "<FONT FACE=\"ARIAL,HELVETICA\" COLOR=BLACK SIZE=2>";
|
||||
echo "<FONT FACE=\"ARIAL,HELVETICA\" COLOR=BLACK SIZE=2>";
|
||||
|
||||
$stmt="SELECT * from vicidial_users order by full_name";
|
||||
$USERlink='stage=USERIDDOWN';
|
||||
$NAMElink='stage=NAMEDOWN';
|
||||
$LEVELlink='stage=LEVELDOWN';
|
||||
$GROUPlink='stage=GROUPDOWN';
|
||||
$SQLorder='order by full_name';
|
||||
if (eregi("USERIDUP",$stage)) {$SQLorder='order by user asc'; $USERlink='stage=USERIDDOWN';}
|
||||
if (eregi("USERIDDOWN",$stage)) {$SQLorder='order by user desc'; $USERlink='stage=USERIDUP';}
|
||||
if (eregi("NAMEUP",$stage)) {$SQLorder='order by full_name asc'; $NAMElink='stage=NAMEDOWN';}
|
||||
if (eregi("NAMEDOWN",$stage)) {$SQLorder='order by full_name desc'; $NAMElink='stage=NAMEUP';}
|
||||
if (eregi("LEVELUP",$stage)) {$SQLorder='order by user_level asc'; $LEVELlink='stage=LEVELDOWN';}
|
||||
if (eregi("LEVELDOWN",$stage)) {$SQLorder='order by user_level desc'; $LEVELlink='stage=LEVELUP';}
|
||||
if (eregi("GROUPUP",$stage)) {$SQLorder='order by user_group asc'; $GROUPlink='stage=GROUPDOWN';}
|
||||
if (eregi("GROUPDOWN",$stage)) {$SQLorder='order by user_group desc'; $GROUPlink='stage=GROUPUP';}
|
||||
$stmt="SELECT * from vicidial_users $SQLorder";
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
$people_to_print = mysql_num_rows($rslt);
|
||||
|
||||
echo "<br>USER LISTINGS:\n";
|
||||
echo "<center><TABLE width=600 cellspacing=0 cellpadding=1>\n";
|
||||
echo "<tr bgcolor=black>";
|
||||
echo "<td><a href=\"$PHP_SELF?ADD=0&$USERlink\"><font size=1 color=white><B>USER ID</B></a></td>";
|
||||
echo "<td><a href=\"$PHP_SELF?ADD=0&$NAMElink\"><font size=1 color=white><B>FULL NAME</B></a></td>";
|
||||
echo "<td><a href=\"$PHP_SELF?ADD=0&$LEVELlink\"><font size=1 color=white><B>LEVEL</B></a></td>";
|
||||
echo "<td><a href=\"$PHP_SELF?ADD=0&$GROUPlink\"><font size=1 color=white><B>GROUP</B></a></td>";
|
||||
echo "<td align=center><font size=1 color=white><B>LINKS</B></td></tr>\n";
|
||||
|
||||
$o=0;
|
||||
while ($people_to_print > $o) {
|
||||
@@ -8146,7 +8176,7 @@ echo "<center><TABLE width=600 cellspacing=0 cellpadding=1>\n";
|
||||
{$bgcolor='bgcolor="#B9CBFD"';}
|
||||
else
|
||||
{$bgcolor='bgcolor="#9BB9FB"';}
|
||||
echo "<tr $bgcolor><td><font size=1>$row[1]</td><td><font size=1>$row[3]</td><td><font size=1>$row[4]</td><td><font size=1>$row[5]</td>";
|
||||
echo "<tr $bgcolor><td><a href=\"$PHP_SELF?ADD=3&user=$row[1]\"><font size=1 color=black>$row[1]</a></td><td><font size=1>$row[3]</td><td><font size=1>$row[4]</td><td><font size=1>$row[5]</td>";
|
||||
echo "<td><font size=1><a href=\"$PHP_SELF?ADD=3&user=$row[1]\">MODIFY</a> | <a href=\"./user_stats.php?user=$row[1]\">STATS</a> | <a href=\"./user_status.php?user=$row[1]\">STATUS</a> | <a href=\"./AST_agent_time_sheet.php?agent=$row[1]\">TIME</a></td></tr>\n";
|
||||
$o++;
|
||||
}
|
||||
@@ -8467,15 +8497,36 @@ echo "</TABLE></center>\n";
|
||||
if ($ADD==10000000000)
|
||||
{
|
||||
echo "<TABLE><TR><TD>\n";
|
||||
echo "<FONT FACE=\"ARIAL,HELVETICA\" COLOR=BLACK SIZE=2>";
|
||||
|
||||
echo "<FONT FACE=\"ARIAL,HELVETICA\" COLOR=BLACK SIZE=2>";
|
||||
|
||||
$stmt="SELECT * from phones order by extension,server_ip";
|
||||
$EXTENlink='stage=EXTENDOWN';
|
||||
$PROTOlink='stage=PROTODOWN';
|
||||
$SERVERlink='stage=SERVERDOWN';
|
||||
$STATUSlink='stage=STATUSDOWN';
|
||||
$SQLorder='order by extension,server_ip';
|
||||
if (eregi("EXTENUP",$stage)) {$SQLorder='order by extension asc'; $EXTENlink='stage=EXTENDOWN';}
|
||||
if (eregi("EXTENDOWN",$stage)) {$SQLorder='order by extension desc'; $EXTENlink='stage=EXTENUP';}
|
||||
if (eregi("PROTOUP",$stage)) {$SQLorder='order by protocol asc'; $PROTOlink='stage=PROTODOWN';}
|
||||
if (eregi("PROTODOWN",$stage)) {$SQLorder='order by protocol desc'; $PROTOlink='stage=PROTOUP';}
|
||||
if (eregi("SERVERUP",$stage)) {$SQLorder='order by server_ip asc'; $SERVERlink='stage=SERVERDOWN';}
|
||||
if (eregi("SERVERDOWN",$stage)) {$SQLorder='order by server_ip desc'; $SERVERlink='stage=SERVERUP';}
|
||||
if (eregi("STATUSUP",$stage)) {$SQLorder='order by status asc'; $STATUSlink='stage=STATUSDOWN';}
|
||||
if (eregi("STATUSDOWN",$stage)) {$SQLorder='order by status desc'; $STATUSlink='stage=STATUSUP';}
|
||||
$stmt="SELECT * from phones $SQLorder";
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
$phones_to_print = mysql_num_rows($rslt);
|
||||
|
||||
echo "<br>PHONE LISTINGS:\n";
|
||||
echo "<center><TABLE width=600 cellspacing=0 cellpadding=1>\n";
|
||||
echo "<tr bgcolor=black>";
|
||||
echo "<td><a href=\"$PHP_SELF?ADD=10000000000&$EXTENlink\"><font size=1 color=white><B>EXTEN</B></a></td>";
|
||||
echo "<td><a href=\"$PHP_SELF?ADD=10000000000&$PROTOlink\"><font size=1 color=white><B>PROTO</B></a></td>";
|
||||
echo "<td><a href=\"$PHP_SELF?ADD=10000000000&$SERVERlink\"><font size=1 color=white><B>SERVER</B></a></td>";
|
||||
echo "<td colspan=2><font size=1 color=white><B>DIALPLAN</B></td>";
|
||||
echo "<td><a href=\"$PHP_SELF?ADD=10000000000&$STATUSlink\"><font size=1 color=white><B>STATUS</B></a></td>";
|
||||
echo "<td><font size=1 color=white><B>NAME</B></td>";
|
||||
echo "<td colspan=2><font size=1 color=white><B>VMAIL</B></td>";
|
||||
echo "<td align=center><font size=1 color=white><B>LINKS</B></td></tr>\n";
|
||||
|
||||
$o=0;
|
||||
while ($phones_to_print > $o) {
|
||||
@@ -8484,7 +8535,7 @@ echo "<center><TABLE width=600 cellspacing=0 cellpadding=1>\n";
|
||||
{$bgcolor='bgcolor="#B9CBFD"';}
|
||||
else
|
||||
{$bgcolor='bgcolor="#9BB9FB"';}
|
||||
echo "<tr $bgcolor><td><font size=1>$row[0]</td><td><font size=1>$row[16]</td><td><font size=1>$row[5]</td><td><font size=1>$row[1]</td><td><font size=1>$row[2]</td><td><font size=1>$row[8]</td><td><font size=1>$row[11]</td><td><font size=1>$row[14]</td><td><font size=1>$row[15]</td>";
|
||||
echo "<tr $bgcolor><td><a href=\"$PHP_SELF?ADD=31111111111&extension=$row[0]&server_ip=$row[5]\"><font size=1 color=black>$row[0]</font></a></td><td><font size=1>$row[16]</td><td><font size=1>$row[5]</td><td><font size=1>$row[1]</td><td><font size=1>$row[2]</td><td><font size=1>$row[8]</td><td><font size=1>$row[11]</td><td><font size=1>$row[14]</td><td><font size=1>$row[15]</td>";
|
||||
echo "<td><font size=1><a href=\"$PHP_SELF?ADD=31111111111&extension=$row[0]&server_ip=$row[5]\">MODIFY</a> | <a href=\"./phone_stats.php?extension=$row[0]&server_ip=$row[5]\">STATS</a></td></tr>\n";
|
||||
$o++;
|
||||
}
|
||||
|
||||
@@ -794,12 +794,13 @@ $lead_filter_sql = ereg_replace(";","",$lead_filter_sql);
|
||||
# 61110-1502 - add ability to select NONE in dial statuses, new list_id must not be < 100
|
||||
# 61122-1228 - added user group campaign restrictions
|
||||
# 61122-1535 - changed script_text to unfiltered and added more variables to SCRIPTS
|
||||
# 61129-1028 - Added headers to Users and Phones with clickable order-by titles
|
||||
#
|
||||
|
||||
# make sure you have added a user to the vicidial_users MySQL table with at least user_level 8 to access this page the first time
|
||||
|
||||
$version = '2.0.72';
|
||||
$build = '61122-1535';
|
||||
$version = '2.0.73';
|
||||
$build = '61129-1028';
|
||||
|
||||
$STARTtime = date("U");
|
||||
|
||||
@@ -1177,18 +1178,18 @@ if ( ( (strlen($ADD)>4) && ($ADD < 99998) ) or ($ADD==3) or ($ADD==21) or ($ADD=
|
||||
}
|
||||
|
||||
$campaigns_value='';
|
||||
$campaigns_list='<B><input type="checkbox" name="campaigns[]" value="-ALL-CAMPAÑAS-"';
|
||||
$campaigns_list='<B><input type="checkbox" name="campaigns[]" value="-ALL-CAMPAIGNS-"';
|
||||
$p=0;
|
||||
while ($p<100)
|
||||
{
|
||||
if (eregi('ALL-CAMPAÑAS',$campaigns[$p]))
|
||||
if (eregi('ALL-CAMPAIGNS',$campaigns[$p]))
|
||||
{
|
||||
$campaigns_list.=" CHECKED";
|
||||
$campaigns_value .= " -ALL-CAMPAÑAS- -";
|
||||
$campaigns_value .= " -ALL-CAMPAIGNS- -";
|
||||
}
|
||||
$p++;
|
||||
}
|
||||
$campaigns_list.="> ALL-CAMPAÑAS - LOS USUARIOS PUEDEN VISIÓN CUALQUIER CAMPAÑA</B><BR>\n";
|
||||
$campaigns_list.="> ALL-CAMPAIGNS - LOS USUARIOS PUEDEN VISIÓN CUALQUIER CAMPAÑA</B><BR>\n";
|
||||
|
||||
$stmt="SELECT campaign_id,campaign_name from vicidial_campaigns order by campaign_id";
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
@@ -1206,11 +1207,11 @@ if ( ( (strlen($ADD)>4) && ($ADD < 99998) ) or ($ADD==3) or ($ADD==21) or ($ADD=
|
||||
{
|
||||
if ($campaign_id_value == $campaigns[$p])
|
||||
{
|
||||
echo "<!-- X $p|$campaign_id_value|$campaigns[$p]| -->";
|
||||
# echo "<!-- X $p|$campaign_id_value|$campaigns[$p]| -->";
|
||||
$campaigns_list .= " CHECKED";
|
||||
$campaigns_value .= " $campaign_id_value";
|
||||
}
|
||||
echo "<!-- O $p|$campaign_id_value|$campaigns[$p]| -->";
|
||||
# echo "<!-- O $p|$campaign_id_value|$campaigns[$p]| -->";
|
||||
$p++;
|
||||
}
|
||||
$campaigns_list .= "> $campaign_id_value - $campaign_name_value<BR>\n";
|
||||
@@ -1425,7 +1426,7 @@ echo "<TABLE WIDTH=98% BGCOLOR=#E6E6E6 cellpadding=2 cellspacing=0><TR><TD ALIGN
|
||||
|
||||
<BR><BR><BR><BR>
|
||||
|
||||
<B><FONT SIZE=3>VICIDIAL_CAMPAÑAS TABLA</FONT></B><BR><BR>
|
||||
<B><FONT SIZE=3>VICIDIAL_CAMPAIGNS TABLA</FONT></B><BR><BR>
|
||||
<A NAME="vicidial_campaigns-campaign_id">
|
||||
<BR>
|
||||
<B>Identificación de la campaña -</B> Úste es el nombre corto de la campaña, él no es editable después de la sumisión inicial, no puede contener espacios y debe estar entre 2 y 8 caracteres en longitudh.
|
||||
@@ -1880,7 +1881,7 @@ echo "<TABLE WIDTH=98% BGCOLOR=#E6E6E6 cellpadding=2 cellspacing=0><TR><TD ALIGN
|
||||
<BR>
|
||||
<A NAME="vicidial_user_groups-allowed_campaigns">
|
||||
<BR>
|
||||
<B>Campañas permitidas - ésta es una lista seleccionable de lascampañas a las cuales los miembros de este grupo de usuario puedenabrirse una sesión. La opción de ALL-CAMPAÑAS permite que losusuarios en este grupo consideren y se abran una sesión a cualquiercampaña en el sistema.
|
||||
<B>Campañas permitidas -</B> ésta es una lista seleccionable de lascampañas a las cuales los miembros de este grupo de usuario puedenabrirse una sesión. La opción de ALL-CAMPAIGNS permite que losusuarios en este grupo consideren y se abran una sesión a cualquiercampaña en el sistema.
|
||||
|
||||
|
||||
|
||||
@@ -1903,7 +1904,12 @@ echo "<TABLE WIDTH=98% BGCOLOR=#E6E6E6 cellpadding=2 cellspacing=0><TR><TD ALIGN
|
||||
|
||||
<BR>
|
||||
<A NAME="vicidial_scripts-script_text">
|
||||
<B>Texto de la escritura -</B> This is where you place the content of a Vicidial Script. Minimum of 2 characters. You can have customer information be auto-populated in this script using "--A--field--B--" where field is one of the following fieldnames: vendor_lead_code, source_id, list_id, gmt_offset_now, called_since_last_reset, phone_code, phone_number, title, first_name, middle_initial, last_name, address1, address2, address3, city, state, province, postal_code, country_code, gender, date_of_birth, alt_phone, email, security_phrase, comments, lead_id, campaign, phone_login, group, channel_group, SQLdate, epoch, uniqueid, customer_zap_channel, server_ip, SIPexten, session_id. For example, this sentence would print the persons name in it----<BR><BR> Hello, can I speak with --A--first_name--B-- --A--last_name--B-- please? Well hello --A--title--B-- --A--last_name--B-- how are you today?<BR><BR> This would read----<BR><BR>Hello, can I speak with John Doe please? Well hello Mr. Doe how are you today?
|
||||
<B>Texto de la escritura -</B> This is where you place the content of a Vicidial Script. Minimum of 2 characters. You can have customer information be auto-populated in this script using "--A--field--B--" where field is one of the following fieldnames: vendor_lead_code, source_id, list_id, gmt_offset_now, called_since_last_reset, phone_code, phone_number, title, first_name, middle_initial, last_name, address1, address2, address3, city, state, province, postal_code, country_code, gender, date_of_birth, alt_phone, email, security_phrase, comments, lead_id, campaign, phone_login, group, channel_group, SQLdate, epoch, uniqueid, customer_zap_channel, server_ip, SIPexten, session_id. For example, this sentence would print the persons name in it----<BR><BR> Hello, can I speak with --A--first_name--B-- --A--last_name--B-- please? Well hello --A--title--B-- --A--last_name--B-- how are you today?<BR><BR> This would read----<BR><BR>Hello, can I speak with John Doe please? Well hello Mr. Doe how are you today?<BR><BR> You can also use an iframe to load a separate window within the SCRIPT tab, here is an example with prepopulated variables:
|
||||
|
||||
<DIV style="height:200px;width:400px;background:white;overflow:scroll;font-size:12px;font-family:sans-serif;" id=iframe_example>
|
||||
<iframe src="http://astguiclient.sf.net/test_VICIDIAL_output.php?lead_id=--A--lead_id--B--&vendor_id=--A--vendor_lead_code--B--&list_id=--A--list_id--B--&gmt_offset_now=--A--gmt_offset_now--B--&phone_code=--A--phone_code--B--&phone_number=--A--phone_number--B--&title=--A--title--B--&first_name=--A--first_name--B--&middle_initial=--A--middle_initial--B--&last_name=--A--last_name--B--&address1=--A--address1--B--&address2=--A--address2--B--&address3=--A--address3--B--&city=--A--city--B--&state=--A--state--B--&province=--A--province--B--&postal_code=--A--postal_code--B--&country_code=--A--country_code--B--&gender=--A--gender--B--&date_of_birth=--A--date_of_birth--B--&alt_phone=--A--alt_phone--B--&email=--A--email--B--&security_phrase=--A--security_phrase--B--&comments=--A--comments--B--&user=--A--user--B--&campaign=--A--campaign--B--&phone_login=--A--phone_login--B--&fronter=--A--fronter--B--&closer=--A--user--B--&group=--A--group--B--&channel_group=--A--group--B--&SQLdate=--A--SQLdate--B--&epoch=--A--epoch--B--&uniqueid=--A--uniqueid--B--&customer_zap_channel=--A--customer_zap_channel--B--&server_ip=--A--server_ip--B--&SIPexten=--A--SIPexten--B--&session_id=--A--session_id--B--&phone=--A--phone--B--" style="width:460;height:290;background-color:transparent;" scrolling="auto" frameborder="0" allowtransparency="true" id="popupFrame" name="popupFrame" width="460" height="290">
|
||||
</iframe>
|
||||
</DIV>
|
||||
|
||||
<BR>
|
||||
<A NAME="vicidial_scripts-active">
|
||||
@@ -2451,12 +2457,12 @@ El VICIDIAL tela-baso' cargador del plomo se diseña simplemente llevar un file(
|
||||
<BR>
|
||||
<A NAME="servers-vicidial_balance_active">
|
||||
<BR>
|
||||
<B>El marcar del balance de VICIDIAL - fijar este campo a Y permitiráque el servidor ponga las llamadas del balance para las campañas enVICIDIAL para poder resolver el nivel definido del dial incluso si nohay agentes registrados en esa campaña en este servidor. El defectoes N.
|
||||
<B>El marcar del balance de VICIDIAL -</B> fijar este campo a Y permitiráque el servidor ponga las llamadas del balance para las campañas enVICIDIAL para poder resolver el nivel definido del dial incluso si nohay agentes registrados en esa campaña en este servidor. El defectoes N.
|
||||
|
||||
<BR>
|
||||
<A NAME="servers-balance_trunks_offlimits">
|
||||
<BR>
|
||||
<B>Balance Offlimits de VICIDIAL - este ajuste define el número detroncos para no permitir el balance de VICIDIAL que marca parautilizar. Por ejemplo si usted tiene 40 troncos y offlimits vicidialmáximos del balance se fijan a 10 que usted podrá solamenteutilizar 30 líneas interurbanas para marcar del balance de VICIDIAL.El defecto es 0.
|
||||
<B>Balance Offlimits de VICIDIAL -</B> este ajuste define el número detroncos para no permitir el balance de VICIDIAL que marca parautilizar. Por ejemplo si usted tiene 40 troncos y offlimits vicidialmáximos del balance se fijan a 10 que usted podrá solamenteutilizar 30 líneas interurbanas para marcar del balance de VICIDIAL.El defecto es 0.
|
||||
|
||||
|
||||
<BR><BR><BR><BR>
|
||||
@@ -2476,7 +2482,7 @@ El VICIDIAL tela-baso' cargador del plomo se diseña simplemente llevar un file(
|
||||
|
||||
<BR><BR><BR><BR>
|
||||
|
||||
<B><FONT SIZE=3>VICIDIAL_SERVER_TRONCOS TABLA</FONT></B><BR><BR>
|
||||
<B><FONT SIZE=3>VICIDIAL_SERVER_TRUNKS TABLA</FONT></B><BR><BR>
|
||||
<A NAME="vicidial_server_trunks">
|
||||
<BR>
|
||||
<B>Los troncos del servidor de VICIDIAL permiten que usted restrinja laslíneas salientes que se utilizan en este servidor para la campañaque marca sobre una base de la por-campaña. Usted tiene la opciónpara reservar un número de las líneas específico que se utilizaránpor solamente una campaña así como permitir que esa campañafuncione sobre sus líneas reservadas en cualesquiera líneas siguensiendo abiertas, según lo en las líneas totales usadas por vicidialen este servidor es de largo menos que fijar de los troncos delmáximo VICIDIAL. No tener cualesquiera de estos expedientespermitirá la campaña que marca la línea primero para tener tantaslíneas mientras que puede conseguir bajo fijar de los troncos delmáximo VICIDIAL.</B>
|
||||
@@ -2643,6 +2649,7 @@ $script_text = eregi_replace('--A--email--B--',"$email",$script_text);
|
||||
$script_text = eregi_replace('--A--security_phrase--B--',"$security_phrase",$script_text);
|
||||
$script_text = eregi_replace('--A--comments--B--',"$comments",$script_text);
|
||||
$script_text = eregi_replace('--A--fullname--B--',"$RGfullname",$script_text);
|
||||
$script_text = eregi_replace('--A--fronter--B--',"$RGuser",$script_text);
|
||||
$script_text = eregi_replace('--A--user--B--',"$RGuser",$script_text);
|
||||
$script_text = eregi_replace('--A--lead_id--B--',"$RGlead_id",$script_text);
|
||||
$script_text = eregi_replace('--A--campaign--B--',"$RGcampaign",$script_text);
|
||||
@@ -3607,7 +3614,7 @@ if ($ADD==211111)
|
||||
}
|
||||
else
|
||||
{
|
||||
$stmt="INSERT INTO vicidial_user_groups(user_group,group_name,allowed_campaigns) values('$user_group','$group_name','-ALL-CAMPAÑAS-');";
|
||||
$stmt="INSERT INTO vicidial_user_groups(user_group,group_name,allowed_campaigns) values('$user_group','$group_name','-ALL-CAMPAIGNS-');";
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
echo "<br><B>GRUPO DE USUARIO AÑADIDO: $user_group</B>\n";
|
||||
@@ -5970,7 +5977,7 @@ else
|
||||
|
||||
if ( ($LOGcampaign_detail < 1) and ($ADD==31) ) {$ADD=34;} # send to Basic if not allowed
|
||||
|
||||
if ( ($ADD==31) and ( (!eregi("$campaign_id",$LOGallowed_campaigns)) and (!eregi("ALL-CAMPAÑAS",$LOGallowed_campaigns)) ) )
|
||||
if ( ($ADD==31) and ( (!eregi("$campaign_id",$LOGallowed_campaigns)) and (!eregi("ALL-CAMPAIGNS",$LOGallowed_campaigns)) ) )
|
||||
{$ADD=30;} # send to not allowed screen if not in vicidial_user_groups allowed_campaigns list
|
||||
|
||||
if ($ADD==31)
|
||||
@@ -6319,6 +6326,7 @@ else
|
||||
echo "Esta campaña tiene $hopper_leads Leads en el Hopper<br><br>\n";
|
||||
echo "<a href=\"./AST_VICIDIAL_hopperlist.php?group=$campaign_id\">Chasque aquí para ver qué plomos están en la tolva ahora</a><br><br>\n";
|
||||
echo "<a href=\"$PHP_SELF?ADD=81&campaign_id=$campaign_id\">Chasque aquí para ver todos los asimientos del servicio repetido en esta campaña</a><BR><BR>\n";
|
||||
echo "<a href=\"./AST_VDADstats.php?group=$campaign_id\">Click here to see a VDAD report for this campaign</a><BR><BR>\n";
|
||||
echo "</b></center>\n";
|
||||
|
||||
|
||||
@@ -6464,7 +6472,7 @@ if ($LOGdelete_campaigns > 0)
|
||||
# ADD=34 modify campaign info in the system - Basic View
|
||||
######################
|
||||
|
||||
if ( ($ADD==34) and ( (!eregi("$campaign_id",$LOGallowed_campaigns)) and (!eregi("ALL-CAMPAÑAS",$LOGallowed_campaigns)) ) )
|
||||
if ( ($ADD==34) and ( (!eregi("$campaign_id",$LOGallowed_campaigns)) and (!eregi("ALL-CAMPAIGNS",$LOGallowed_campaigns)) ) )
|
||||
{$ADD=30;} # send to not allowed screen if not in vicidial_user_groups allowed_campaigns list
|
||||
|
||||
if ($ADD==34)
|
||||
@@ -6676,6 +6684,7 @@ else
|
||||
echo "Esta campaña tiene $hopper_leads Leads en el Hopper<br><br>\n";
|
||||
echo "<a href=\"./AST_VICIDIAL_hopperlist.php?group=$campaign_id\">Chasque aquí para ver qué plomos están en la tolva ahora</a><br><br>\n";
|
||||
echo "<a href=\"$PHP_SELF?ADD=81&campaign_id=$campaign_id\">Chasque aquí para ver todos los asimientos del servicio repetido en esta campaña</a><BR><BR>\n";
|
||||
echo "<a href=\"./AST_VDADstats.php?group=$campaign_id\">Click here to see a VDAD report for this campaign</a><BR><BR>\n";
|
||||
echo "</b></center>\n";
|
||||
|
||||
echo "<br>\n";
|
||||
@@ -7120,6 +7129,8 @@ echo "</TABLE></center>\n";
|
||||
|
||||
echo "</table></center><br>\n";
|
||||
|
||||
echo "<a href=\"./AST_CLOSERstats.php?group=$group_id\">Click here to see a report for this campaign</a><BR><BR>\n";
|
||||
|
||||
echo "<center><b>\n";
|
||||
|
||||
if ($LOGdelete_ingroups > 0)
|
||||
@@ -7733,7 +7744,7 @@ echo "</TABLE></center></form>\n";
|
||||
### vicidial server trunk records for this server
|
||||
echo "<br><br><b>TRONCOS DE VICIDIAL PARA ESTE SERVIDOR: $NWB#vicidial_server_trunks$NWE</b><br>\n";
|
||||
echo "<TABLE width=500 cellspacing=3>\n";
|
||||
echo "<tr><td>CAMPAIGN</td><td>TRONCOS</td><td>RESTRICCIÓN</td><td> </td><td>ELIMINAR</td></tr>\n";
|
||||
echo "<tr><td> CAMPAÑA</td><td> TRONCOS </td><td> RESTRICCIÓN </td><td> </td><td> DELETE </td></tr>\n";
|
||||
|
||||
$stmt="SELECT * from vicidial_server_trunks where server_ip='$server_ip' order by campaign_id";
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
@@ -7763,11 +7774,11 @@ echo "</table>\n";
|
||||
echo "<br><b>AGREGUE EL NUEVO EXPEDIENTE DEL TRONCO DEL SERVIDOR VICIDIAL</b><BR><form action=$PHP_SELF method=POST>\n";
|
||||
echo "<input type=hidden name=ADD value=221111111111>\n";
|
||||
echo "<input type=hidden name=server_ip value=\"$server_ip\">\n";
|
||||
echo "TRONCOS: <input size=6 maxlength=4 name=dedicated_trunks><BR>\n";
|
||||
echo "CAMPAIGN: <select size=1 name=campaign_id>\n";
|
||||
echo "TRUNKS: <input size=6 maxlength=4 name=dedicated_trunks><BR>\n";
|
||||
echo "CAMPAÑA: <select size=1 name=campaign_id>\n";
|
||||
echo "$campaigns_list\n";
|
||||
echo "</select><BR>\n";
|
||||
echo "RESTRICCIÓN: <select size=1 name=trunk_restriction><option>MAXIMUM_LIMIT</option><option>OVERFLOW_ALLOWED</option></select><BR>\n";
|
||||
echo "RESTRICTION: <select size=1 name=trunk_restriction><option>MAXIMUM_LIMIT</option><option>OVERFLOW_ALLOWED</option></select><BR>\n";
|
||||
echo "<input type=submit name=submit value=ADD><BR>\n";
|
||||
|
||||
echo "</center></FORM><br>\n";
|
||||
@@ -8091,7 +8102,7 @@ if ($ADD==82)
|
||||
{
|
||||
echo "<TABLE><TR><TD>\n";
|
||||
echo "<center><TABLE width=600 cellspacing=0 cellpadding=1>\n";
|
||||
echo "<tr bgcolor=black><td><font size=1 color=white>LEAD</td><td><font size=1 color=white>LIST</td><td><font size=1 color=white>CAMPAIGN</td><td><font size=1 color=white>ENTRY FECHA</td><td><font size=1 color=white>CALLBACK FECHA</td><td><font size=1 color=white>USER</td><td><font size=1 color=white>RECIPIENT</td><td><font size=1 color=white>ESTADO</td></tr>\n";
|
||||
echo "<tr bgcolor=black><td><font size=1 color=white>LEAD</td><td><font size=1 color=white>LIST</td><td><font size=1 color=white> CAMPAÑA</td><td><font size=1 color=white>ENTRY FECHA</td><td><font size=1 color=white>CALLBACK FECHA</td><td><font size=1 color=white>USER</td><td><font size=1 color=white>RECIPIENT</td><td><font size=1 color=white>ESTADO</td></tr>\n";
|
||||
|
||||
$o=0;
|
||||
while ($cb_to_print > $o) {
|
||||
@@ -8130,14 +8141,33 @@ echo "</TABLE></center>\n";
|
||||
if ($ADD==0)
|
||||
{
|
||||
echo "<TABLE><TR><TD>\n";
|
||||
echo "<FONT FACE=\"ARIAL,HELVETICA\" COLOR=BLACK SIZE=2>";
|
||||
echo "<FONT FACE=\"ARIAL,HELVETICA\" COLOR=BLACK SIZE=2>";
|
||||
|
||||
$stmt="SELECT * from vicidial_users order by full_name";
|
||||
$USERlink='stage=USERIDDOWN';
|
||||
$NAMElink='stage=NAMEDOWN';
|
||||
$LEVELlink='stage=LEVELDOWN';
|
||||
$GROUPlink='stage=GROUPDOWN';
|
||||
$SQLorder='order by full_name';
|
||||
if (eregi("USERIDUP",$stage)) {$SQLorder='order by user asc'; $USERlink='stage=USERIDDOWN';}
|
||||
if (eregi("USERIDDOWN",$stage)) {$SQLorder='order by user desc'; $USERlink='stage=USERIDUP';}
|
||||
if (eregi("NAMEUP",$stage)) {$SQLorder='order by full_name asc'; $NAMElink='stage=NAMEDOWN';}
|
||||
if (eregi("NAMEDOWN",$stage)) {$SQLorder='order by full_name desc'; $NAMElink='stage=NAMEUP';}
|
||||
if (eregi("LEVELUP",$stage)) {$SQLorder='order by user_level asc'; $LEVELlink='stage=LEVELDOWN';}
|
||||
if (eregi("LEVELDOWN",$stage)) {$SQLorder='order by user_level desc'; $LEVELlink='stage=LEVELUP';}
|
||||
if (eregi("GROUPUP",$stage)) {$SQLorder='order by user_group asc'; $GROUPlink='stage=GROUPDOWN';}
|
||||
if (eregi("GROUPDOWN",$stage)) {$SQLorder='order by user_group desc'; $GROUPlink='stage=GROUPUP';}
|
||||
$stmt="SELECT * from vicidial_users $SQLorder";
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
$people_to_print = mysql_num_rows($rslt);
|
||||
|
||||
echo "<br>USUARIOS:\n";
|
||||
echo "<center><TABLE width=600 cellspacing=0 cellpadding=1>\n";
|
||||
echo "<tr bgcolor=black>";
|
||||
echo "<td><a href=\"$PHP_SELF?ADD=0&$USERlink\"><font size=1 color=white><B>USER ID</B></a></td>";
|
||||
echo "<td><a href=\"$PHP_SELF?ADD=0&$NAMElink\"><font size=1 color=white><B>FULL NAME</B></a></td>";
|
||||
echo "<td><a href=\"$PHP_SELF?ADD=0&$LEVELlink\"><font size=1 color=white><B>LEVEL</B></a></td>";
|
||||
echo "<td><a href=\"$PHP_SELF?ADD=0&$GROUPlink\"><font size=1 color=white><B>GROUP</B></a></td>";
|
||||
echo "<td align=center><font size=1 color=white><B>LINKS</B></td></tr>\n";
|
||||
|
||||
$o=0;
|
||||
while ($people_to_print > $o) {
|
||||
@@ -8146,7 +8176,7 @@ echo "<center><TABLE width=600 cellspacing=0 cellpadding=1>\n";
|
||||
{$bgcolor='bgcolor="#B9CBFD"';}
|
||||
else
|
||||
{$bgcolor='bgcolor="#9BB9FB"';}
|
||||
echo "<tr $bgcolor><td><font size=1>$row[1]</td><td><font size=1>$row[3]</td><td><font size=1>$row[4]</td><td><font size=1>$row[5]</td>";
|
||||
echo "<tr $bgcolor><td><a href=\"$PHP_SELF?ADD=3&user=$row[1]\"><font size=1 color=black>$row[1]</a></td><td><font size=1>$row[3]</td><td><font size=1>$row[4]</td><td><font size=1>$row[5]</td>";
|
||||
echo "<td><font size=1><a href=\"$PHP_SELF?ADD=3&user=$row[1]\">MODIFICAR</a> | <a href=\"./user_stats.php?user=$row[1]\">ESTADÍSTICAS</a> | <a href=\"./user_status.php?user=$row[1]\">ESTADO</a> | <a href=\"./AST_agent_time_sheet.php?agent=$row[1]\">TIME</a></td></tr>\n";
|
||||
$o++;
|
||||
}
|
||||
@@ -8467,15 +8497,36 @@ echo "</TABLE></center>\n";
|
||||
if ($ADD==10000000000)
|
||||
{
|
||||
echo "<TABLE><TR><TD>\n";
|
||||
echo "<FONT FACE=\"ARIAL,HELVETICA\" COLOR=BLACK SIZE=2>";
|
||||
|
||||
echo "<FONT FACE=\"ARIAL,HELVETICA\" COLOR=BLACK SIZE=2>";
|
||||
|
||||
$stmt="SELECT * from phones order by extension,server_ip";
|
||||
$EXTENlink='stage=EXTENDOWN';
|
||||
$PROTOlink='stage=PROTODOWN';
|
||||
$SERVERlink='stage=SERVERDOWN';
|
||||
$STATUSlink='stage=STATUSDOWN';
|
||||
$SQLorder='order by extension,server_ip';
|
||||
if (eregi("EXTENUP",$stage)) {$SQLorder='order by extension asc'; $EXTENlink='stage=EXTENDOWN';}
|
||||
if (eregi("EXTENDOWN",$stage)) {$SQLorder='order by extension desc'; $EXTENlink='stage=EXTENUP';}
|
||||
if (eregi("PROTOUP",$stage)) {$SQLorder='order by protocol asc'; $PROTOlink='stage=PROTODOWN';}
|
||||
if (eregi("PROTODOWN",$stage)) {$SQLorder='order by protocol desc'; $PROTOlink='stage=PROTOUP';}
|
||||
if (eregi("SERVERUP",$stage)) {$SQLorder='order by server_ip asc'; $SERVERlink='stage=SERVERDOWN';}
|
||||
if (eregi("SERVERDOWN",$stage)) {$SQLorder='order by server_ip desc'; $SERVERlink='stage=SERVERUP';}
|
||||
if (eregi("STATUSUP",$stage)) {$SQLorder='order by status asc'; $STATUSlink='stage=STATUSDOWN';}
|
||||
if (eregi("STATUSDOWN",$stage)) {$SQLorder='order by status desc'; $STATUSlink='stage=STATUSUP';}
|
||||
$stmt="SELECT * from phones $SQLorder";
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
$phones_to_print = mysql_num_rows($rslt);
|
||||
|
||||
echo "<br>LISTADOS DE TELÉFONOS:\n";
|
||||
echo "<center><TABLE width=600 cellspacing=0 cellpadding=1>\n";
|
||||
echo "<tr bgcolor=black>";
|
||||
echo "<td><a href=\"$PHP_SELF?ADD=10000000000&$EXTENlink\"><font size=1 color=white><B>EXTEN</B></a></td>";
|
||||
echo "<td><a href=\"$PHP_SELF?ADD=10000000000&$PROTOlink\"><font size=1 color=white><B>PROTO</B></a></td>";
|
||||
echo "<td><a href=\"$PHP_SELF?ADD=10000000000&$SERVERlink\"><font size=1 color=white><B>SERVER</B></a></td>";
|
||||
echo "<td colspan=2><font size=1 color=white><B>DIALPLAN</B></td>";
|
||||
echo "<td><a href=\"$PHP_SELF?ADD=10000000000&$STATUSlink\"><font size=1 color=white><B>ESTADO</B></a></td>";
|
||||
echo "<td><font size=1 color=white><B>NOMBRE</B></td>";
|
||||
echo "<td colspan=2><font size=1 color=white><B>VMAIL</B></td>";
|
||||
echo "<td align=center><font size=1 color=white><B>LINKS</B></td></tr>\n";
|
||||
|
||||
$o=0;
|
||||
while ($phones_to_print > $o) {
|
||||
@@ -8484,7 +8535,7 @@ echo "<center><TABLE width=600 cellspacing=0 cellpadding=1>\n";
|
||||
{$bgcolor='bgcolor="#B9CBFD"';}
|
||||
else
|
||||
{$bgcolor='bgcolor="#9BB9FB"';}
|
||||
echo "<tr $bgcolor><td><font size=1>$row[0]</td><td><font size=1>$row[16]</td><td><font size=1>$row[5]</td><td><font size=1>$row[1]</td><td><font size=1>$row[2]</td><td><font size=1>$row[8]</td><td><font size=1>$row[11]</td><td><font size=1>$row[14]</td><td><font size=1>$row[15]</td>";
|
||||
echo "<tr $bgcolor><td><a href=\"$PHP_SELF?ADD=31111111111&extension=$row[0]&server_ip=$row[5]\"><font size=1 color=black>$row[0]</font></a></td><td><font size=1>$row[16]</td><td><font size=1>$row[5]</td><td><font size=1>$row[1]</td><td><font size=1>$row[2]</td><td><font size=1>$row[8]</td><td><font size=1>$row[11]</td><td><font size=1>$row[14]</td><td><font size=1>$row[15]</td>";
|
||||
echo "<td><font size=1><a href=\"$PHP_SELF?ADD=31111111111&extension=$row[0]&server_ip=$row[5]\">MODIFICAR</a> | <a href=\"./phone_stats.php?extension=$row[0]&server_ip=$row[5]\">ESTADÍSTICAS</a></td></tr>\n";
|
||||
$o++;
|
||||
}
|
||||
|
||||
@@ -1085,9 +1085,9 @@ Adapt Intensity Modifier|Passen Sie Intensität Modifizierfaktor An|
|
||||
Dial Level Difference Target|Vorwahlknopf-Waagerecht ausgerichtetes Unterschied-Ziel|
|
||||
### START translations for 2.0.2 release ###
|
||||
VICIDIAL Server Trunks allows you to restrict the outgoing lines that are used on this server for campaign dialing on a per-campaign basis. You have the option to reserve a specific number of lines to be used by only one campaign as well as allowing that campaign to run over its reserved lines into whatever lines remain open, as long at the total lines used by vicidial on this server is less than the Max VICIDIAL Trunks setting. Not having any of these records will allow the campaign that dials the line first to have as many lines as it can get under the Max VICIDIAL Trunks setting|VICIDIAL Bediener-Stämme erlaubt Ihnen, die gehenden Leitungeneinzuschränken, die auf diesem Bediener für die Kampagne benutztwerden, die auf einer Prokampagne Grundlage wählt. Sie haben dieWahl, zum einer spezifischen Zeilenzahl durch nur eine Kampagneverwendet zu werden aufzuheben,, sowie das Lassen dieser Kampagneüber seine reservierten Linien laufen in was Linien geöffnetbleiben, wie, lang an den Gruppenzeilen, die durch vicidial auf diesemBediener benutzt werden, sind kleiner als die Maximum VICIDIALStammeinstellung. Erlaubt Haben nicht irgendwelche dieserAufzeichnungen die Kampagne, die die Linie zuerst wählt, um da vieleLinien zu haben, während sie unter der Maximum VICIDIAL erhalten kannStammeinstellung|
|
||||
VICIDIAL Balance Dialing -<\/B> Setting this field to Y will allow the server to place balance calls for campaigns in VICIDIAL so that the defined dial level can be met even if there are no agents logged into that campaign on this server. Default is N|VICIDIAL Balance Wählen - dieses einstellend, fangen Sie zuY läßt den Bediener Balance Anrufe für Kampagnen in VICIDIAL legenauf, damit das definierte Vorwahlknopfniveau getroffen werden kann,selbst wenn es keine Mittel gibt, die in diese Kampagne auf diesemBediener geloggt werden. Rückstellung ist N|
|
||||
VICIDIAL Balance Offlimits -<\/B> This setting defines the number of trunks to not allow VICIDIAL balance dialing to use. For example if you have 40 max vicidial trunks and balance offlimits is set to 10 you will only be able to use 30 trunk lines for VICIDIAL balance dialing. Default is 0|VICIDIAL Balance Offlimits - diese Einstellung definiert die ZahlStämmen, um die VICIDIAL Balance nicht zu erlauben, die wählt, um zuverwenden. Z.B. wenn Sie haben, wird 40 maximale vicidial Stämme undBalance offlimits bis 10 eingestellt, die Sie nur in der LageSIND, 30Hauptluftlinien für VICIDIAL Balance das Wählen zu benutzen.Rückstellung ist 0|
|
||||
Allowed Campaigns -<\/B> This is a selectable list of Campaigns to which members of this user group can log in to. The ALL-CAMPAIGNS option allows the users in this group to see and log in to any campaign on the system|Erlaubte Kampagnen - dieses ist eine auswählbare Liste der Kampagnen,zu denen Mitglieder dieser Benutzergruppe innen protokollieren könnenin. Die ALL-CAMPAIGNS Wahl erlaubt den Benutzern in dieser Gruppe, injeder möglicher Kampagne auf dem System innen zu sehen und zuprotokollieren|
|
||||
VICIDIAL Balance Dialing -<\/B> Setting this field to Y will allow the server to place balance calls for campaigns in VICIDIAL so that the defined dial level can be met even if there are no agents logged into that campaign on this server. Default is N|VICIDIAL Balance Wählen -</B> dieses einstellend, fangen Sie zuY läßt den Bediener Balance Anrufe für Kampagnen in VICIDIAL legenauf, damit das definierte Vorwahlknopfniveau getroffen werden kann,selbst wenn es keine Mittel gibt, die in diese Kampagne auf diesemBediener geloggt werden. Rückstellung ist N|
|
||||
VICIDIAL Balance Offlimits -<\/B> This setting defines the number of trunks to not allow VICIDIAL balance dialing to use. For example if you have 40 max vicidial trunks and balance offlimits is set to 10 you will only be able to use 30 trunk lines for VICIDIAL balance dialing. Default is 0|VICIDIAL Balance Offlimits -</B> diese Einstellung definiert die ZahlStämmen, um die VICIDIAL Balance nicht zu erlauben, die wählt, um zuverwenden. Z.B. wenn Sie haben, wird 40 maximale vicidial Stämme undBalance offlimits bis 10 eingestellt, die Sie nur in der LageSIND, 30Hauptluftlinien für VICIDIAL Balance das Wählen zu benutzen.Rückstellung ist 0|
|
||||
Allowed Campaigns -<\/B> This is a selectable list of Campaigns to which members of this user group can log in to. The ALL-CAMPAIGNS option allows the users in this group to see and log in to any campaign on the system|Erlaubte Kampagnen -</B> dieses ist eine auswählbare Liste der Kampagnen,zu denen Mitglieder dieser Benutzergruppe innen protokollieren könnenin. Die ALL-CAMPAIGNS Wahl erlaubt den Benutzern in dieser Gruppe, injeder möglicher Kampagne auf dem System innen zu sehen und zuprotokollieren|
|
||||
VICIDIAL SERVER TRUNK RECORD NOT ADDED|VICIDIAL BEDIENER-STAMM-SATZ NICHT ADDIERT|
|
||||
there is already a server-trunk record for this campaign|es gibt bereits eine Bediener-Stamm Aufzeichnung für diese Kampagne|
|
||||
the number of vicidial trunks is too high|die Zahl vicidial Stämmen ist zu hoch|
|
||||
|
||||
@@ -1096,9 +1096,9 @@ Adapt Intensity Modifier|Προσαρμόστε τον τροποποιητή έ
|
||||
Dial Level Difference Target|Στόχος διαφοράς επιπέδων πινάκων|
|
||||
### START translations for 2.0.2 release ###
|
||||
VICIDIAL Server Trunks allows you to restrict the outgoing lines that are used on this server for campaign dialing on a per-campaign basis. You have the option to reserve a specific number of lines to be used by only one campaign as well as allowing that campaign to run over its reserved lines into whatever lines remain open, as long at the total lines used by vicidial on this server is less than the Max VICIDIAL Trunks setting. Not having any of these records will allow the campaign that dials the line first to have as many lines as it can get under the Max VICIDIAL Trunks setting|VICIDIAL οι κορμοί κεντρικών υπολογιστών επιτρέπουν σε σας γιανα περιορίσουν τις εξερχόμενες γραμμές που χρησιμοποιούνται σεαυτόν τον κεντρικό υπολογιστή για το σχηματισμό εκστρατείας σεμια βάση ανά-εκστρατείας. Έχετε την επιλογή να διατηρήσετε ένανσυγκεκριμένο αριθμό γραμμών που χρησιμοποιούνται από μόνο μιαεκστρατεία καθώς επίσης και επιτρέποντας ότι εκστρατεία πουκάνει πέρα από τις διατηρημένες γραμμές του ο,τιδήποτε γραμμέςπαραμένουν ανοικτές, όπως πολύ στις συνολικές γραμμές πουχρησιμοποιούνται από vicidial σε αυτόν τον κεντρικό υπολογιστήείναι λιγότερο από η ανώτατη ρύθμιση κορμών VICIDIAL. Ηκατοχή οποιωνδήποτε από αυτά τα αρχεία θα επιτρέψει τηνεκστρατεία που σχηματίζει τη γραμμή για να έχει πρώτα τόσεςγραμμές όσες και μπορεί να πάρει κάτω από την ανώτατη ρύθμισηκορμών VICIDIAL|
|
||||
VICIDIAL Balance Dialing -<\/B> Setting this field to Y will allow the server to place balance calls for campaigns in VICIDIAL so that the defined dial level can be met even if there are no agents logged into that campaign on this server. Default is N|VICIDIAL σχηματισμός ισορροπίας - που θέτει αυτόν τον τομέαστο Υ θα επιτρέψει στον κεντρικό υπολογιστή για να τοποθετήσει τιςκλήσεις ισορροπίας για τις εκστρατείες σε VICIDIAL έτσι ώστετο καθορισμένο επίπεδο πινάκων μπορεί να συναντηθεί ακόμα κι ανδεν υπάρχει κανένας πράκτορας που συνδέεται με εκείνη τηνεκστρατεία σε αυτόν τον κεντρικό υπολογιστή. Η προεπιλογή είναιν|
|
||||
VICIDIAL Balance Offlimits -<\/B> This setting defines the number of trunks to not allow VICIDIAL balance dialing to use. For example if you have 40 max vicidial trunks and balance offlimits is set to 10 you will only be able to use 30 trunk lines for VICIDIAL balance dialing. Default is 0|VICIDIAL ισορροπία Offlimits - αυτή η ρύθμιση καθορίζει τοναριθμό κορμών για να μην επιτρέψει το σχηματισμό ισορροπίαςVICIDIAL στη χρήση. Παραδείγματος χάριν εάν να έχοντας 40ανώτατους vicidial κορμούς και η ισορροπία offlimits τίθεται10 θα είστε σε θέση μόνο να χρησιμοποιήσετε 30 γραμμές κορμώνγια το σχηματισμό ισορροπίας VICIDIAL. Η προεπιλογή είναι 0|
|
||||
Allowed Campaigns -<\/B> This is a selectable list of Campaigns to which members of this user group can log in to. The ALL-CAMPAIGNS option allows the users in this group to see and log in to any campaign on the system|Εκστρατείες - αυτό είναι ένας επιλέξιμος κατάλογος εκστρατειώνστον οποίο τα μέλη αυτής της ομάδας χρηστών μπορούν νασυνδεθούν. Η επιλογή όλος-ΕΚΣΤΡΑΤΕΙΩΝ επιτρέπει στους χρήστες σεαυτήν την ομάδα για να δει και να συνδεθεί σε οποιαδήποτεεκστρατεία στο σύστημα|
|
||||
VICIDIAL Balance Dialing -<\/B> Setting this field to Y will allow the server to place balance calls for campaigns in VICIDIAL so that the defined dial level can be met even if there are no agents logged into that campaign on this server. Default is N|VICIDIAL σχηματισμός ισορροπίας -</B> που θέτει αυτόν τον τομέαστο Υ θα επιτρέψει στον κεντρικό υπολογιστή για να τοποθετήσει τιςκλήσεις ισορροπίας για τις εκστρατείες σε VICIDIAL έτσι ώστετο καθορισμένο επίπεδο πινάκων μπορεί να συναντηθεί ακόμα κι ανδεν υπάρχει κανένας πράκτορας που συνδέεται με εκείνη τηνεκστρατεία σε αυτόν τον κεντρικό υπολογιστή. Η προεπιλογή είναιν|
|
||||
VICIDIAL Balance Offlimits -<\/B> This setting defines the number of trunks to not allow VICIDIAL balance dialing to use. For example if you have 40 max vicidial trunks and balance offlimits is set to 10 you will only be able to use 30 trunk lines for VICIDIAL balance dialing. Default is 0|VICIDIAL ισορροπία Offlimits -</B> αυτή η ρύθμιση καθορίζει τοναριθμό κορμών για να μην επιτρέψει το σχηματισμό ισορροπίαςVICIDIAL στη χρήση. Παραδείγματος χάριν εάν να έχοντας 40ανώτατους vicidial κορμούς και η ισορροπία offlimits τίθεται10 θα είστε σε θέση μόνο να χρησιμοποιήσετε 30 γραμμές κορμώνγια το σχηματισμό ισορροπίας VICIDIAL. Η προεπιλογή είναι 0|
|
||||
Allowed Campaigns -<\/B> This is a selectable list of Campaigns to which members of this user group can log in to. The ALL-CAMPAIGNS option allows the users in this group to see and log in to any campaign on the system|Εκστρατείες -</B> αυτό είναι ένας επιλέξιμος κατάλογος εκστρατειώνστον οποίο τα μέλη αυτής της ομάδας χρηστών μπορούν νασυνδεθούν. Η επιλογή όλος-ΕΚΣΤΡΑΤΕΙΩΝ επιτρέπει στους χρήστες σεαυτήν την ομάδα για να δει και να συνδεθεί σε οποιαδήποτεεκστρατεία στο σύστημα|
|
||||
VICIDIAL SERVER TRUNK RECORD NOT ADDED|VICIDIAL ΑΡΧΕΙΟ ΚΟΡΜΩΝ ΚΕΝΤΡΙΚΩΝ ΥΠΟΛΟΓΙΣΤΏΝ ΠΡΟΣΤΙΘΕΜΕΝΟ|
|
||||
there is already a server-trunk record for this campaign|υπάρχει ήδη ένα αρχείο υπολογιστής-κορμών για αυτήν τηνεκστρατεία|
|
||||
the number of vicidial trunks is too high|ο αριθμός vicidial κορμών είναι πάρα πολύ υψηλός|
|
||||
|
||||
@@ -1093,9 +1093,9 @@ Adapt Intensity Modifier|Adapte El Modificante De la Intensidad|
|
||||
Dial Level Difference Target|Blanco Llana De la Diferencia Del Dial|
|
||||
### START translations for 2.0.2 release ###
|
||||
VICIDIAL Server Trunks allows you to restrict the outgoing lines that are used on this server for campaign dialing on a per-campaign basis. You have the option to reserve a specific number of lines to be used by only one campaign as well as allowing that campaign to run over its reserved lines into whatever lines remain open, as long at the total lines used by vicidial on this server is less than the Max VICIDIAL Trunks setting. Not having any of these records will allow the campaign that dials the line first to have as many lines as it can get under the Max VICIDIAL Trunks setting|Los troncos del servidor de VICIDIAL permiten que usted restrinja laslíneas salientes que se utilizan en este servidor para la campañaque marca sobre una base de la por-campaña. Usted tiene la opciónpara reservar un número de las líneas específico que se utilizaránpor solamente una campaña así como permitir que esa campañafuncione sobre sus líneas reservadas en cualesquiera líneas siguensiendo abiertas, según lo en las líneas totales usadas por vicidialen este servidor es de largo menos que fijar de los troncos delmáximo VICIDIAL. No tener cualesquiera de estos expedientespermitirá la campaña que marca la línea primero para tener tantaslíneas mientras que puede conseguir bajo fijar de los troncos delmáximo VICIDIAL|
|
||||
VICIDIAL Balance Dialing -<\/B> Setting this field to Y will allow the server to place balance calls for campaigns in VICIDIAL so that the defined dial level can be met even if there are no agents logged into that campaign on this server. Default is N|El marcar del balance de VICIDIAL - fijar este campo a Y permitiráque el servidor ponga las llamadas del balance para las campañas enVICIDIAL para poder resolver el nivel definido del dial incluso si nohay agentes registrados en esa campaña en este servidor. El defectoes N|
|
||||
VICIDIAL Balance Offlimits -<\/B> This setting defines the number of trunks to not allow VICIDIAL balance dialing to use. For example if you have 40 max vicidial trunks and balance offlimits is set to 10 you will only be able to use 30 trunk lines for VICIDIAL balance dialing. Default is 0|Balance Offlimits de VICIDIAL - este ajuste define el número detroncos para no permitir el balance de VICIDIAL que marca parautilizar. Por ejemplo si usted tiene 40 troncos y offlimits vicidialmáximos del balance se fijan a 10 que usted podrá solamenteutilizar 30 líneas interurbanas para marcar del balance de VICIDIAL.El defecto es 0|
|
||||
Allowed Campaigns -<\/B> This is a selectable list of Campaigns to which members of this user group can log in to. The ALL-CAMPAIGNS option allows the users in this group to see and log in to any campaign on the system|Campañas permitidas - ésta es una lista seleccionable de lascampañas a las cuales los miembros de este grupo de usuario puedenabrirse una sesión. La opción de ALL-CAMPAIGNS permite que losusuarios en este grupo consideren y se abran una sesión a cualquiercampaña en el sistema|
|
||||
VICIDIAL Balance Dialing -<\/B> Setting this field to Y will allow the server to place balance calls for campaigns in VICIDIAL so that the defined dial level can be met even if there are no agents logged into that campaign on this server. Default is N|El marcar del balance de VICIDIAL -</B> fijar este campo a Y permitiráque el servidor ponga las llamadas del balance para las campañas enVICIDIAL para poder resolver el nivel definido del dial incluso si nohay agentes registrados en esa campaña en este servidor. El defectoes N|
|
||||
VICIDIAL Balance Offlimits -<\/B> This setting defines the number of trunks to not allow VICIDIAL balance dialing to use. For example if you have 40 max vicidial trunks and balance offlimits is set to 10 you will only be able to use 30 trunk lines for VICIDIAL balance dialing. Default is 0|Balance Offlimits de VICIDIAL -</B> este ajuste define el número detroncos para no permitir el balance de VICIDIAL que marca parautilizar. Por ejemplo si usted tiene 40 troncos y offlimits vicidialmáximos del balance se fijan a 10 que usted podrá solamenteutilizar 30 líneas interurbanas para marcar del balance de VICIDIAL.El defecto es 0|
|
||||
Allowed Campaigns -<\/B> This is a selectable list of Campaigns to which members of this user group can log in to. The ALL-CAMPAIGNS option allows the users in this group to see and log in to any campaign on the system|Campañas permitidas -</B> ésta es una lista seleccionable de lascampañas a las cuales los miembros de este grupo de usuario puedenabrirse una sesión. La opción de ALL-CAMPAIGNS permite que losusuarios en este grupo consideren y se abran una sesión a cualquiercampaña en el sistema|
|
||||
VICIDIAL SERVER TRUNK RECORD NOT ADDED|EXPEDIENTE DEL TRONCO DEL SERVIDOR DE VICIDIAL NO AGREGADO|
|
||||
there is already a server-trunk record for this campaign|hay ya un expediente del servidor-tronco para esta campaña|
|
||||
the number of vicidial trunks is too high|el número de troncos vicidial es demasiado alto|
|
||||
|
||||
Reference in New Issue
Block a user