Discussions about development of VICIDIAL and astGUIclient
Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
by Acidshock » Thu Jul 12, 2012 3:42 pm
Can someone explain the dead call detection to me? I went through the AST_timeonVDADdial.php file and found this snippet of code. Is the script looking for the callerid of the call in the list of active channels and if it doesnt see it it assumes the call is dead?
- Code: Select all
if (eregi("INCALL",$Lstatus))
{
$stmtP="select count(*) from parked_channels where channel_group='$Acallerid[$i]';";
$rsltP=mysql_query($stmtP,$link);
$rowP=mysql_fetch_row($rsltP);
$parked_channel = $rowP[0];
if ($parked_channel > 0)
{
$Astatus[$i] = 'PARK';
$Lstatus = 'PARK';
$status = ' PARK ';
}
else
{
if (!ereg("$Acallerid[$i]\|",$callerids))
{
$Acall_time[$i]=$Astate_change[$i];
$Astatus[$i] = 'DEAD';
$Lstatus = 'DEAD';
$status = ' DEAD ';
}
}
VERSION: 2.14-698a | BUILD: 190207-2301 | Asterisk:13.24.1-vici | Vicibox 8.1.2
-
Acidshock
-
- Posts: 429
- Joined: Wed Mar 03, 2010 3:19 pm
by williamconley » Fri Jul 13, 2012 2:02 pm
dead call is when the agent is in a "live" call, but there is noone else in the conference room. this means that the "client" has hung up and the agent is now talking to themselves. while this may be necessary for a few seconds to complete a comment or fishing typing a name ... the agent is expected to push the hangup button within a few short seconds. during this period the call is "dead".
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
-
williamconley
-
- Posts: 20019
- Joined: Wed Oct 31, 2007 4:17 pm
- Location: Davenport, FL (By Disney!)
-
Return to Development
Who is online
Users browsing this forum: No registered users and 171 guests