From 3ddac2df9e3d13c0995e20fa7f38d0de0b9a946b Mon Sep 17 00:00:00 2001 From: mattf Date: Mon, 6 Aug 2007 19:21:55 +0000 Subject: [PATCH] added Presets Dial links to vicidial.php above the agent mute button. git-svn-id: svn://192.168.202.10@664 3d104415-ff17-0410-8863-d5cf3c621b8a --- www/agc/vicidial.php | 37 ++++++++++++++++++++++++++++++++----- 1 file changed, 32 insertions(+), 5 deletions(-) diff --git a/www/agc/vicidial.php b/www/agc/vicidial.php index 301eac6e..8bfa1844 100644 --- a/www/agc/vicidial.php +++ b/www/agc/vicidial.php @@ -159,10 +159,11 @@ # 70320-1501 - Added option to allow retry of leave-3way-call from dispo screen # 70322-1545 - Added sipsak display ability # 70510-1319 - Added onUnload force Logout +# 70806-1530 - Added Presets Dial links above agent mute button # -$version = '2.0.130'; -$build = '70510-1319'; +$version = '2.0.131'; +$build = '70806-1530'; require("dbconnect.php"); @@ -241,6 +242,7 @@ $local_consult_xfers = '1'; # set to 1 to send consultative transfers from origi $clientDST = '1'; # set to 1 to check for DST on server for agent time $no_delete_sessions = '0'; # set to 1 to not delete sessions at logout $volumecontrol_active = '1'; # set to 1 to allow agents to alter volume of channels +$PreseT_DiaL_LinKs = '1'; # set to 1 to show a DIAL link for Dial Presets $TEST_all_statuses = '0'; # TEST variable allows all statuses in dispo screen @@ -4690,6 +4692,20 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";} document.vicidial_form.conf_dtmf.value = CalL_XC_b_Dtmf; document.vicidial_form.xfernumber.value = CalL_XC_b_NuMber; } + + function DtMf_PreSet_a_DiaL() + { + document.vicidial_form.conf_dtmf.value = CalL_XC_a_Dtmf; + document.vicidial_form.xfernumber.value = CalL_XC_a_NuMber; + basic_originate_call(CalL_XC_a_NuMber,'NO','YES',session_id,'YES'); + } + function DtMf_PreSet_b_DiaL() + { + document.vicidial_form.conf_dtmf.value = CalL_XC_b_Dtmf; + document.vicidial_form.xfernumber.value = CalL_XC_b_NuMber; + basic_originate_call(CalL_XC_b_NuMber,'NO','YES',session_id,'YES'); + } + // ################################################################################ // Show message that customer has hungup the call before agent has function CustomerChanneLGone() @@ -5986,7 +6002,17 @@ echo "\n";
- + + D1 - DIAL\n"; + echo "
\n"; + echo "D2 - DIAL\n"; + } + else {echo "
\n";} + ?> +


@@ -6060,16 +6086,17 @@ Your Status:
Calls Dialing: CODE Hangup Xfer Line Hangup Both Lines - +
Number to call   seconds   channel - OVERRIDE   + DIAL OVERRIDE   D1 D2 +
Dial With Customer