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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user