fixed SO call route issue

added DID stats display to user_stats.php script

git-svn-id: svn://192.168.202.10@1318 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2010-01-26 15:06:15 +00:00
parent 236cd83d76
commit 97254df98c
6 changed files with 421 additions and 333 deletions
+2 -2
View File
@@ -1497,11 +1497,11 @@ while ( ($drop_timer <= $DROP_TIME) && ($wait_in_queue > 0) )
################################################################
##### Attempt to send call to an agent on this server only #####
if ($agent_search_method =~ /^SO/)
{$agent_search_method = 'LO';}
if ( ($agent_search_method =~ /^SO|^LO/) && ($skipLOSO < 1) )
{
if ($agent_search_method =~ /^SO/)
{$agent_search_method = 'LO';}
### Get count of number of calls in this group that are ahead of this call
$stmtA = "SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='$VARserver_ip' and campaign_id = '$channel_group' and call_time < \"$SQLdateBEGIN\" and lead_id != '$insert_lead_id';";
if ($AGILOG) {$agi_string = "|$stmtA|"; &agi_output;}