From 637283797e5ce0485dbbdbb63d058dcc36a2f67e Mon Sep 17 00:00:00 2001 From: mattf Date: Wed, 15 Oct 2008 08:06:31 +0000 Subject: [PATCH] fixed bug in vicidial.php related to button deactivation in transfer-conference frame git-svn-id: svn://192.168.202.10@977 3d104415-ff17-0410-8863-d5cf3c621b8a --- www/agc/vicidial.php | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/www/agc/vicidial.php b/www/agc/vicidial.php index 8a89192d..10a24182 100644 --- a/www/agc/vicidial.php +++ b/www/agc/vicidial.php @@ -196,10 +196,11 @@ # 81011-1403 - Fixed bugs in leave3way when transferring a manual dial call # 81012-1729 - Added INBOUND_MAN dial method to allow manual list dialing and inbound calls # 81013-1644 - Fixed bug in leave 3way for manual dial fronters +# 81015-0405 - Fixed bug related to hangups on 3way calls # -$version = '2.0.5-174'; -$build = '81013-1644'; +$version = '2.0.5-175'; +$build = '81015-0405'; require("dbconnect.php"); @@ -2821,7 +2822,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";} // Covers the following types: XFER, VMAIL, ENTRY, CONF, PARK, FROMPARK, XfeRLOCAL, XfeRINTERNAL, XfeRBLIND, VfeRVMAIL function mainxfer_send_redirect(taskvar,taskxferconf,taskserverip,taskdebugnote) { - conf_dialed=1; + // conf_dialed=1; if (auto_dial_level == 0) {RedirecTxFEr = 1;} var xmlhttpXF=false; /*@cc_on @*/ @@ -5142,8 +5143,8 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";} delete xmlhttp; } } - else {process_post_hangup=1;} - if (process_post_hangup==1) + else {process_post_hangup=1;} + if (process_post_hangup==1) { XD_live_customer_call = 0; XD_live_call_secondS = 0; @@ -5357,6 +5358,12 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";} function WeBForMDispoSelect_submit() { leaving_threeway=0; + document.vicidial_form.callchannel.value = ''; + document.vicidial_form.callserverip.value = ''; + document.vicidial_form.xferchannel.value = ''; + document.getElementById("DialWithCustomer").innerHTML ="\"Dial"; + document.getElementById("ParkCustomerDial").innerHTML ="\"Park"; + document.getElementById("HangupBothLines").innerHTML ="\"Hangup"; var DispoChoice = document.vicidial_form.DispoSelection.value; @@ -5382,7 +5389,13 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";} function DispoSelect_submit() { leaving_threeway=0; - + document.vicidial_form.callchannel.value = ''; + document.vicidial_form.callserverip.value = ''; + document.vicidial_form.xferchannel.value = ''; + document.getElementById("DialWithCustomer").innerHTML ="\"Dial"; + document.getElementById("ParkCustomerDial").innerHTML ="\"Park"; + document.getElementById("HangupBothLines").innerHTML ="\"Hangup"; + var DispoChoice = document.vicidial_form.DispoSelection.value; if (DispoChoice.length < 1) {alert("You Must Select a Disposition");}