diff --git a/agc_2-X/trunk/docs/CALL_URL_FEATURES.txt b/agc_2-X/trunk/docs/CALL_URL_FEATURES.txt index d963b6f4..57a96fde 100644 --- a/agc_2-X/trunk/docs/CALL_URL_FEATURES.txt +++ b/agc_2-X/trunk/docs/CALL_URL_FEATURES.txt @@ -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. diff --git a/agc_2-X/trunk/www/agc/vdc_db_query.php b/agc_2-X/trunk/www/agc/vdc_db_query.php index a4a0d9a4..f991e293 100644 --- a/agc_2-X/trunk/www/agc/vdc_db_query.php +++ b/agc_2-X/trunk/www/agc/vdc_db_query.php @@ -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) {