Added agi-AGENT_dial_in.agi script to allow for agent dial-in to vicidial sessions.

bug fixes in CLOSER report and agent PHP scripts

git-svn-id: svn://192.168.202.10@987 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2008-10-23 08:31:31 +00:00
parent abc7e3e261
commit d5b0a056f1
13 changed files with 518 additions and 12 deletions
+5
View File
@@ -791,6 +791,11 @@ if ($ACTION=="RedirectXtraCXNeW")
$row=mysql_fetch_row($rslt);
$exten = $row[0];
if ( (ereg("^8300",$extension)) and ($protocol == 'Local') )
{
$extension = "$extension$user";
}
$stmtD="UPDATE vicidial_conferences set extension='$protocol/$extension' where server_ip='$server_ip' and conf_exten='$exten' limit 1;";
if ($format=='debug') {echo "\n<!-- $stmtD -->";}
$rslt=mysql_query($stmtD, $link);