Matt:
The script AST_VDauto_dial.pl besides being the autodialer, is the one that autopause the agents, right?
What happen if I do the conditional «if ($toPAUSEcount > 0)» never be true? Is it the one that pause the agents, right? Are there any collateral dmage?
And, may you explain me these lines:
- Code: Select all
$stmtA = "SELECT count(*) FROM vicidial_live_agents where server_ip='$server_ip' and last_update_time < '$PDtsSQLdate' and status NOT IN('PAUSED');";
$sthA = $dbhA->prepare($stmtA) or die "preparing: ",$dbhA->errstr;
$sthA->execute or die "executing: $stmtA ", $dbhA->errstr;
$sthArowsC=$sthA->rows;
Thanks in advance.