Added call notes option to dispo call url, issue #611, reported by abostick

git-svn-id: svn://192.168.202.10@1894 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2012-11-30 12:46:39 +00:00
parent 81f9a55e7f
commit 763d04c466
2 changed files with 12 additions and 3 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ dial calls. Default is blank.
Dispo Call URL - This web URL address is not seen by the agent, but it
is called every time a call is dispositioned by an agent if it is
populated. Uses the same variables as the web form fields and scripts.
dispo and talk_time are the variables you can use to retrieve the
dispo, talk_time and call_notes are the variables you can use to retrieve the
agent-defined disposition for the call and the actual talk time in
seconds of the call. This URL can NOT be a relative path. Default is
blank.
+11 -2
View File
@@ -318,10 +318,11 @@
# 121116-1409 - Added QC functionality
# 121120-0838 - Added QM socket-send functionality
# 121124-2357 - Added Other Campaign DNC option
# 121130-0740 - Added call notes option to dispo call url
#
$version = '2.6-216';
$build = '121124-2357';
$version = '2.6-217';
$build = '121130-0740';
$mel=1; # Mysql Error Log enabled = 1
$mysql_log_count=446;
$one_mysql_log=0;
@@ -7419,6 +7420,13 @@ if ($ACTION == 'updateDISPO')
}
$dispo_name = urlencode(trim($status_name));
if (eregi('--A--call_notes',$dispo_call_url))
{
if (strlen($call_notes) > 1)
{$url_call_notes = urlencode(trim($call_notes));}
else
{$url_call_notes = urlencode(" ");}
}
if (eregi('--A--dialed_',$dispo_call_url))
{
@@ -7608,6 +7616,7 @@ if ($ACTION == 'updateDISPO')
$dispo_call_url = eregi_replace('--A--closecallid--B--',urlencode(trim($INclosecallid)),$dispo_call_url);
$dispo_call_url = eregi_replace('--A--xfercallid--B--',urlencode(trim($INxfercallid)),$dispo_call_url);
$dispo_call_url = eregi_replace('--A--call_id--B--',urlencode(trim($MDnextCID)),$dispo_call_url);
$dispo_call_url = eregi_replace('--A--call_notes--B--',"$url_call_notes",$dispo_call_url);
if (strlen($FORMcustom_field_names)>2)
{