Added ability to chose the type of callerid sent for inbound ring-agent calls in the in-group: GENERIC, INGROUP, CUSTOMER PHONE and combos.

Added NA Call URL feature to campaigns and in-groups, works like dispo call url but only for non-agent handled calls like DROP, NA, etc...
Changed MULTI_LEAD Auto-Alt-Dial to use Auto-Alt-Dial Statuses set in the campaign automatically, you may need to add auto-alt-statuses
Added a check to admin.php to prevent submission of campaign and in-group changes before the entire form loads
Added call_id as a script and url variable
Added debug logging of dispo/start/add-lead/no-agent URL submissions to a database table

git-svn-id: svn://192.168.202.10@1706 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2011-08-02 05:49:37 +00:00
parent a42869f2e9
commit ed95c85bb8
17 changed files with 1362 additions and 255 deletions
+6 -2
View File
@@ -15,10 +15,11 @@
# 100823-1644 - Added DID variables
# 100902-1344 - Added closecallid, xfercallid, agent_log_id variables
# 110420-1201 - Added web_vars variable
# 110730-2339 - Added call_id variable
#
$version = '2.4-9';
$build = '110420-1201';
$version = '2.4-10';
$build = '110730-2339';
require("dbconnect.php");
@@ -186,6 +187,8 @@ if (isset($_GET["CF_uses_custom_fields"])) {$CF_uses_custom_fields=$_GET["CF_u
elseif (isset($_POST["CF_uses_custom_fields"])) {$CF_uses_custom_fields=$_POST["CF_uses_custom_fields"];}
if (isset($_GET["entry_list_id"])) {$entry_list_id=$_GET["entry_list_id"];}
elseif (isset($_POST["entry_list_id"])) {$entry_list_id=$_POST["entry_list_id"];}
if (isset($_GET["call_id"])) {$call_id=$_GET["call_id"];}
elseif (isset($_POST["call_id"])) {$call_id=$_POST["call_id"];}
if (isset($_GET["web_vars"])) {$web_vars=$_GET["web_vars"];}
elseif (isset($_POST["web_vars"])) {$web_vars=$_POST["web_vars"];}
@@ -475,6 +478,7 @@ $script_text = eregi_replace('--A--closecallid--B--',"$closecallid",$script_text
$script_text = eregi_replace('--A--xfercallid--B--',"$xfercallid",$script_text);
$script_text = eregi_replace('--A--agent_log_id--B--',"$agent_log_id",$script_text);
$script_text = eregi_replace('--A--entry_list_id--B--',"$entry_list_id",$script_text);
$script_text = eregi_replace('--A--call_id--B--',"$call_id",$script_text);
$script_text = eregi_replace('--A--web_vars--B--',"$web_vars",$script_text);
if ($CF_uses_custom_fields=='Y')