diff --git a/LANG_www/agc_pl/active_list_refresh.php b/LANG_www/agc_pl/active_list_refresh.php index 97811f3a..8bc6a67f 100644 --- a/LANG_www/agc_pl/active_list_refresh.php +++ b/LANG_www/agc_pl/active_list_refresh.php @@ -37,6 +37,7 @@ # 50610-1155 - Added NULL check on MySQL results to reduced errors # 50711-1209 - removed HTTP authentication in favor of user/pass vars # 60421-1155 - check GET/POST vars lines with isset to not trigger PHP NOTICES +# 60619-1118 - Added variable filters to close security holes for login form # require("dbconnect.php"); @@ -79,6 +80,24 @@ if (isset($_GET["textareawidth"])) {$textareawidth=$_GET["textareawidth"];} if (isset($_GET["field_name"])) {$field_name=$_GET["field_name"];} elseif (isset($_POST["field_name"])) {$field_name=$_POST["field_name"];} +### security strip all non-alphanumeric characters out of the variables ### + $user=ereg_replace("[^0-9a-zA-Z]","",$user); + $pass=ereg_replace("[^0-9a-zA-Z]","",$pass); + $ADD=ereg_replace("[^0-9]","",$ADD); + $order=ereg_replace("[^0-9a-zA-Z]","",$order); + $format=ereg_replace("[^0-9a-zA-Z]","",$format); + $bgcolor=ereg_replace("[^\#0-9a-zA-Z]","",$bgcolor); + $txtcolor=ereg_replace("[^\#0-9a-zA-Z]","",$txtcolor); + $txtsize=ereg_replace("[^0-9a-zA-Z]","",$txtsize); + $selectsize=ereg_replace("[^0-9a-zA-Z]","",$selectsize); + $selectfontsize=ereg_replace("[^0-9a-zA-Z]","",$selectfontsize); + $selectedext=ereg_replace("[^ \#\*\:\/\@\.\-\_0-9a-zA-Z]","",$selectedext); + $selectedtrunk=ereg_replace("[^ \#\*\:\/\@\.\-\_0-9a-zA-Z]","",$selectedtrunk); + $selectedlocal=ereg_replace("[^ \#\*\:\/\@\.\-\_0-9a-zA-Z]","",$selectedlocal); + $textareaheight=ereg_replace("[^0-9a-zA-Z]","",$textareaheight); + $textareawidth=ereg_replace("[^0-9a-zA-Z]","",$textareawidth); + $field_name=ereg_replace("[^ \#\*\:\/\@\.\-\_0-9a-zA-Z]","",$field_name); + # default optional vars if not set if (!isset($ADD)) {$ADD="1";} if (!isset($order)) {$order='desc';} @@ -91,8 +110,8 @@ if (!isset($selectfontsize)) {$selectfontsize='10';} if (!isset($textareaheight)) {$textareaheight='10';} if (!isset($textareawidth)) {$textareawidth='20';} -$version = '0.0.7'; -$build = '60421-1155'; +$version = '0.0.8'; +$build = '60619-1118'; $StarTtime = date("U"); $NOW_DATE = date("Y-m-d"); $NOW_TIME = date("Y-m-d H:i:s"); diff --git a/LANG_www/agc_pl/astguiclient.php b/LANG_www/agc_pl/astguiclient.php index 3cef1095..05a50538 100644 --- a/LANG_www/agc_pl/astguiclient.php +++ b/LANG_www/agc_pl/astguiclient.php @@ -143,7 +143,7 @@ $agcDIR = eregi_replace('astguiclient.php','',$agcDIR); { header ("Content-type: text/html; charset=utf-8"); - echo "web client astGUIclient: Login\n"; + echo "klient astGUIclient: Login\n"; echo "\n"; echo "\n"; echo "\n"; @@ -202,7 +202,7 @@ echo "\n"; if ( (strlen($phone_login)<2) or (strlen($phone_pass)<2) ) { -echo "web client astGUIclient: Login telefonu\n"; +echo "klient astGUIclient: Login telefonu\n"; echo "\n"; echo "\n"; echo "
\n"; @@ -239,7 +239,7 @@ $row=mysql_fetch_row($rslt); $authphone=$row[0]; if (!$authphone) { - echo "web client astGUIclient: Login telefonu\n"; + echo "klient astGUIclient: Login telefonu\n"; echo "\n"; echo "\n"; echo "
\n"; @@ -268,7 +268,7 @@ echo " - +
web client astGUIclient\n"; + echo "klient astGUIclient\n"; $stmt="SELECT * from phones where login='$phone_login' and pass='$phone_pass' and active = 'Y';"; if ($DB) {echo "|$stmt|\n";} $rslt=mysql_query($stmt, $link); @@ -484,9 +484,9 @@ if ($enable_fast_refresh < 1) {echo "var refresh_interval = 1000;\n";} var phone_pass = ''; var session_name = ''; var image_livecall_OFF = new Image(); - image_livecall_OFF.src="../agc/images/agc_live_call_OFF.gif"; + image_livecall_OFF.src="../agc/images/agc_live_call_OFF_pl.gif"; var image_livecall_ON = new Image(); - image_livecall_ON.src="../agc/images/agc_live_call_ON.gif"; + image_livecall_ON.src="../agc/images/agc_live_call_ON_pl.gif"; var image_voicemail_OFF = new Image(); image_voicemail_OFF.src="../agc/images/agc_check_voicemail_OFF.gif"; var image_voicemail_ON = new Image(); @@ -2055,7 +2055,7 @@ if ($enable_fast_refresh < 1) {echo "var refresh_interval = 1000;\n";} } // ################################################################################ -// Send Originate command to manager to direct user to skrzka głosowa +// Send Originate command to manager to direct user to skrzynka głosowa function SendCheckVoiceMail() { var xmlhttp=false; @@ -2717,7 +2717,7 @@ echo "\n"; Panel aktywnych lini Panel konferencyjny Sprawdź pocztę głosowąRozmowaRozmowa
diff --git a/LANG_www/agc_pl/call_log_display.php b/LANG_www/agc_pl/call_log_display.php index 5559b62c..e5e93485 100644 --- a/LANG_www/agc_pl/call_log_display.php +++ b/LANG_www/agc_pl/call_log_display.php @@ -27,6 +27,7 @@ # 50711-1202 - removed HTTP authentication in favor of user/pass vars # 60323-1550 - added option for showing different number dialed in log # 60421-1401 - check GET/POST vars lines with isset to not trigger PHP NOTICES +# 60619-1202 - Added variable filters to close security holes for login form # require("dbconnect.php"); @@ -47,6 +48,9 @@ if (isset($_GET["exten"])) {$exten=$_GET["exten"];} if (isset($_GET["protocol"])) {$protocol=$_GET["protocol"];} elseif (isset($_POST["protocol"])) {$protocol=$_POST["protocol"];} +$user=ereg_replace("[^0-9a-zA-Z]","",$user); +$pass=ereg_replace("[^0-9a-zA-Z]","",$pass); + # default optional vars if not set if (!isset($format)) {$format="text";} if (!isset($in_limit)) {$in_limit="100";} @@ -54,8 +58,8 @@ if (!isset($out_limit)) {$out_limit="100";} $number_dialed = 'number_dialed'; #$number_dialed = 'extension'; -$version = '0.0.7'; -$build = '60421-1401'; +$version = '0.0.8'; +$build = '60619-1202'; $StarTtime = date("U"); $NOW_DATE = date("Y-m-d"); $NOW_TIME = date("Y-m-d H:i:s"); diff --git a/LANG_www/agc_pl/conf_exten_check.php b/LANG_www/agc_pl/conf_exten_check.php index d846d899..a6f08d61 100644 --- a/LANG_www/agc_pl/conf_exten_check.php +++ b/LANG_www/agc_pl/conf_exten_check.php @@ -31,6 +31,7 @@ # 51121-1353 - Altered echo statements for several small PHP speed optimizations # 60410-1424 - Added ability to grab calls-being-placed and agent status # 60421-1405 - check GET/POST vars lines with isset to not trigger PHP NOTICES +# 60619-1201 - Added variable filters to close security holes for login form # require("dbconnect.php"); @@ -59,13 +60,16 @@ if (isset($_GET["auto_dial_level"])) {$auto_dial_level=$_GET["auto_dial_level" if (isset($_GET["campagentstdisp"])) {$campagentstdisp=$_GET["campagentstdisp"];} elseif (isset($_POST["campagentstdisp"])) {$campagentstdisp=$_POST["campagentstdisp"];} +$user=ereg_replace("[^0-9a-zA-Z]","",$user); +$pass=ereg_replace("[^0-9a-zA-Z]","",$pass); + # default optional vars if not set if (!isset($format)) {$format="text";} if (!isset($ACTION)) {$ACTION="refresh";} if (!isset($client)) {$client="agc";} -$version = '0.0.8'; -$build = '60421-1405'; +$version = '0.0.9'; +$build = '60619-1201'; $StarTtime = date("U"); $NOW_DATE = date("Y-m-d"); $NOW_TIME = date("Y-m-d H:i:s"); diff --git a/LANG_www/agc_pl/inbound_popup.php b/LANG_www/agc_pl/inbound_popup.php index 3e1b4a9b..79323235 100644 --- a/LANG_www/agc_pl/inbound_popup.php +++ b/LANG_www/agc_pl/inbound_popup.php @@ -29,6 +29,7 @@ # 50503-1244 - added session_name checking for extra security # 50711-1203 - removed HTTP authentication in favor of user/pass vars # 60421-1043 - check GET/POST vars lines with isset to not trigger PHP NOTICES +# 60619-1205 - Added variable filters to close security holes for login form # require("dbconnect.php"); @@ -61,12 +62,14 @@ if (isset($_GET["local_web_callerID_URL_enc"])) {$local_web_callerID_URL_enc=$ if (isset($_GET["local_web_callerID_URL_enc"])) {$local_web_callerID_URL = rawurldecode($local_web_callerID_URL_enc);} else {$local_web_callerID_URL = '';} +$user=ereg_replace("[^0-9a-zA-Z]","",$user); +$pass=ereg_replace("[^0-9a-zA-Z]","",$pass); # default optional vars if not set if (!isset($format)) {$format="text";} -$version = '0.0.5'; -$build = '60421-1043'; +$version = '0.0.6'; +$build = '60619-1205'; $StarTtime = date("U"); $NOW_DATE = date("Y-m-d"); $NOW_TIME = date("Y-m-d H:i:s"); diff --git a/LANG_www/agc_pl/live_exten_check.php b/LANG_www/agc_pl/live_exten_check.php index 137f3c5c..cdf065c5 100644 --- a/LANG_www/agc_pl/live_exten_check.php +++ b/LANG_www/agc_pl/live_exten_check.php @@ -27,6 +27,7 @@ # 50711-1204 - removed HTTP authentication in favor of user/pass vars # 60103-1541 - added favorite extens status display # 60421-1359 - check GET/POST vars lines with isset to not trigger PHP NOTICES +# 60619-1203 - Added variable filters to close security holes for login form # require("dbconnect.php"); @@ -51,11 +52,14 @@ if (isset($_GET["favorites_count"])) {$favorites_count=$_GET["favorites_count if (isset($_GET["favorites_list"])) {$favorites_list=$_GET["favorites_list"];} elseif (isset($_POST["favorites_list"])) {$favorites_list=$_POST["favorites_list"];} +$user=ereg_replace("[^0-9a-zA-Z]","",$user); +$pass=ereg_replace("[^0-9a-zA-Z]","",$pass); + # default optional vars if not set if (!isset($format)) {$format="text";} -$version = '1.1.11'; -$build = '60421-1359'; +$version = '1.1.12'; +$build = '60619-1203'; $StarTtime = date("U"); $NOW_DATE = date("Y-m-d"); $NOW_TIME = date("Y-m-d H:i:s"); diff --git a/LANG_www/agc_pl/park_calls_display.php b/LANG_www/agc_pl/park_calls_display.php index ca88ab59..0458ac80 100644 --- a/LANG_www/agc_pl/park_calls_display.php +++ b/LANG_www/agc_pl/park_calls_display.php @@ -21,6 +21,7 @@ # 50524-1515 - First build of script # 50711-1208 - removed HTTP authentication in favor of user/pass vars # 60421-1111 - check GET/POST vars lines with isset to not trigger PHP NOTICES +# 60619-1205 - Added variable filters to close security holes for login form # require("dbconnect.php"); @@ -41,12 +42,15 @@ if (isset($_GET["exten"])) {$exten=$_GET["exten"];} if (isset($_GET["protocol"])) {$protocol=$_GET["protocol"];} elseif (isset($_POST["protocol"])) {$protocol=$_POST["protocol"];} +$user=ereg_replace("[^0-9a-zA-Z]","",$user); +$pass=ereg_replace("[^0-9a-zA-Z]","",$pass); + # default optional vars if not set if (!isset($format)) {$format="text";} if (!isset($park_limit)) {$park_limit="1000";} -$version = '0.0.3'; -$build = '60421-1111'; +$version = '0.0.4'; +$build = '60619-1205'; $StarTtime = date("U"); $NOW_DATE = date("Y-m-d"); $NOW_TIME = date("Y-m-d H:i:s"); diff --git a/LANG_www/agc_pl/vdc_db_query.php b/LANG_www/agc_pl/vdc_db_query.php index fc5962ab..f1618bf7 100644 --- a/LANG_www/agc_pl/vdc_db_query.php +++ b/LANG_www/agc_pl/vdc_db_query.php @@ -67,6 +67,8 @@ # - $recipient - ('ANYONE,'USERONLY') # - $callback_id - ('12345','12346',...) # - $use_internal_dnc - ('Y','N') +# - $omit_phone_code - ('Y','N') +# - $no_delete_sessions - ('0','1') # changes # 50629-1044 - First build of script @@ -104,10 +106,11 @@ # 60609-1148 - Added ability to check for manual dial numbers in DNC # 60619-1117 - Added variable filters to close security holes for login form # 60623-1414 - Fixed variable filter for phone_code and fixed manual dial logic -# +# 60821-1600 - Added ability to omit the phone code on vicidial lead dialing +# 60821-1647 - Added ability to not delete sessions at logout -$version = '0.0.34'; -$build = '60623-1414'; +$version = '2.0.36'; +$build = '60821-1647'; require("dbconnect.php"); @@ -232,6 +235,8 @@ if (isset($_GET["callback_id"])) {$callback_id=$_GET["callback_id"];} elseif (isset($_POST["callback_id"])) {$callback_id=$_POST["callback_id"];} if (isset($_GET["use_internal_dnc"])) {$use_internal_dnc=$_GET["use_internal_dnc"];} elseif (isset($_POST["use_internal_dnc"])) {$use_internal_dnc=$_POST["use_internal_dnc"];} +if (isset($_GET["omit_phone_code"])) {$omit_phone_code=$_GET["omit_phone_code"];} + elseif (isset($_POST["omit_phone_code"])) {$omit_phone_code=$_POST["omit_phone_code"];} $user=ereg_replace("[^0-9a-zA-Z]","",$user); @@ -534,9 +539,14 @@ if ($ACTION == 'manDiaLnextCaLL') if ($CCID_on) {$CIDstring = "\"$MqueryCID\" <$CCID>";} else {$CIDstring = "$MqueryCID";} + ### whether to omit phone_code or not + if (eregi('Y',$omit_phone_code)) + {$Ndialstring = "$Local_out_prefix$phone_number";} + else + {$Ndialstring = "$Local_out_prefix$phone_code$phone_number";} ### insert the call action into the vicidial_manager table to initiate the call # $stmt = "INSERT INTO vicidial_manager values('','','$NOW_TIME','NEW','N','$server_ip','','Originate','$MqueryCID','Exten: $conf_exten','Context: $ext_context','Channel: $local_DEF$Local_out_prefix$phone_code$phone_number$local_AMP$ext_context','Priority: 1','Callerid: $CIDstring','Timeout: $Local_dial_timeout','','','','');"; - $stmt = "INSERT INTO vicidial_manager values('','','$NOW_TIME','NEW','N','$server_ip','','Originate','$MqueryCID','Exten: $Local_out_prefix$phone_code$phone_number','Context: $ext_context','Channel: $local_DEF$conf_exten$local_AMP$ext_context$Local_persist','Priority: 1','Callerid: $CIDstring','Timeout: $Local_dial_timeout','','','','');"; + $stmt = "INSERT INTO vicidial_manager values('','','$NOW_TIME','NEW','N','$server_ip','','Originate','$MqueryCID','Exten: $Ndialstring','Context: $ext_context','Channel: $local_DEF$conf_exten$local_AMP$ext_context$Local_persist','Priority: 1','Callerid: $CIDstring','Timeout: $Local_dial_timeout','','','','');"; if ($DB) {echo "$stmt\n";} $rslt=mysql_query($stmt, $link); } @@ -653,9 +663,14 @@ if ($ACTION == 'manDiaLonly') if ($CCID_on) {$CIDstring = "\"$MqueryCID\" <$CCID>";} else {$CIDstring = "$MqueryCID";} + ### whether to omit phone_code or not + if (eregi('Y',$omit_phone_code)) + {$Ndialstring = "$Local_out_prefix$phone_number";} + else + {$Ndialstring = "$Local_out_prefix$phone_code$phone_number";} ### insert the call action into the vicidial_manager table to initiate the call # $stmt = "INSERT INTO vicidial_manager values('','','$NOW_TIME','NEW','N','$server_ip','','Originate','$MqueryCID','Exten: $conf_exten','Context: $ext_context','Channel: $local_DEF$Local_out_prefix$phone_code$phone_number$local_AMP$ext_context','Priority: 1','Callerid: $CIDstring','Timeout: $Local_dial_timeout','','','','');"; - $stmt = "INSERT INTO vicidial_manager values('','','$NOW_TIME','NEW','N','$server_ip','','Originate','$MqueryCID','Exten: $Local_out_prefix$phone_code$phone_number','Context: $ext_context','Channel: $local_DEF$conf_exten$local_AMP$ext_context$Local_persist','Priority: 1','Callerid: $CIDstring','Timeout: $Local_dial_timeout','','','','');"; + $stmt = "INSERT INTO vicidial_manager values('','','$NOW_TIME','NEW','N','$server_ip','','Originate','$MqueryCID','Exten: $Ndialstring','Context: $ext_context','Channel: $local_DEF$conf_exten$local_AMP$ext_context$Local_persist','Priority: 1','Callerid: $CIDstring','Timeout: $Local_dial_timeout','','','','');"; if ($DB) {echo "$stmt\n";} $rslt=mysql_query($stmt, $link); @@ -1260,11 +1275,14 @@ else $rslt=mysql_query($stmt, $link); $vul_insert = mysql_affected_rows($link); - ##### Remove the reservation na the vicidial_conferences meetme room - $stmt="UPDATE vicidial_conferences set extension='' where server_ip='$server_ip' and conf_exten='$conf_exten';"; - if ($DB) {echo "$stmt\n";} - $rslt=mysql_query($stmt, $link); - $vc_remove = mysql_affected_rows($link); + if ($no_delete_sessions < 1) + { + ##### Remove the reservation na the vicidial_conferences meetme room + $stmt="UPDATE vicidial_conferences set extension='' where server_ip='$server_ip' and conf_exten='$conf_exten';"; + if ($DB) {echo "$stmt\n";} + $rslt=mysql_query($stmt, $link); + $vc_remove = mysql_affected_rows($link); + } ##### Delete the vicidial_live_agents record for this session $stmt="DELETE from vicidial_live_agents where server_ip='$server_ip' and user ='$user';"; diff --git a/LANG_www/agc_pl/vicidial.php b/LANG_www/agc_pl/vicidial.php index 6a87ebcd..d79ccc02 100644 --- a/LANG_www/agc_pl/vicidial.php +++ b/LANG_www/agc_pl/vicidial.php @@ -119,6 +119,9 @@ # 60810-1011 - Fixed CXFER leave 3way call bugs # 60816-1602 - Added ALLCALLS recording delay option allcalls_delay # 60816-1716 - Fixed customer time display bug and client DST setting +# 60821-1555 - Added option to omit phone_code on dialout of leads +# 60821-1628 - Added ALLFORCE recording option +# 60821-1643 - Added no_delete_sessions option to not delete sessions # require("dbconnect.php"); @@ -164,8 +167,8 @@ if (isset($_GET["relogin"])) {$relogin=$_GET["relogin"];} $forever_stop=0; -$version = '2.0.93'; -$build = '60816-1716'; +$version = '2.0.96'; +$build = '60821-1643'; if ($force_logout) { @@ -199,6 +202,7 @@ $show_campname_pulldown = '1'; # set to 1 to show campaign name na login pulldow $webform_sessionname = '1'; # set to 1 to include the session_name in webform URL $local_consult_xfers = '1'; # set to 1 to send consultative transfers from original server $clientDST = '1'; # set to 1 to check for DST na server for agent time +$no_delete_sessions = '0'; # set to 1 to not delete sessions at logout $TEST_all_statuses = '0'; # TEST variable allows all statuses in dispo screen @@ -270,7 +274,7 @@ $camp_form_code = "web client VICIWybierz: Powtóre zalogowanie\n"; +echo "klient VICIWybierz: Powtórne zalogowanie\n"; echo "\n"; echo "\n"; echo "\n"; @@ -280,7 +284,7 @@ echo "\n"; echo "\n"; echo "


"; echo ""; -echo ""; +echo ""; echo "\n"; echo "\n"; echo ""; @@ -306,7 +310,7 @@ if ($user_login_first == 1) { if ( (strlen($VD_login)<1) or (strlen($VD_pass)<1) or (strlen($VD_campaign)<1) ) { - echo "web client VICIWybierz: Logowanie do kampani\n"; + echo "klient VICIWybierz: Logowanie do kampani\n"; echo "\n"; echo "\n"; echo "
Powtóre zalogowanie Powtórne zalogowanie
 
Login telefonu:
\n"; @@ -347,7 +351,7 @@ echo "
web client VICIWybierz: Login\n"; + echo "klient VICIWybierz: Login\n"; echo "\n"; echo "\n"; echo "\n"; @@ -384,7 +388,7 @@ echo "
web client VICIWybierz: Login telefonu\n"; +echo "klient VICIWybierz: Login telefonu\n"; echo "\n"; echo "\n"; echo "\n"; @@ -530,7 +534,7 @@ $VDloginDISPLAY=0; $HKstatusnames = substr("$HKstatusnames", 0, -1); ##### grab the statuses to be dialed for your campaign as well as other campaign settings - $stmt="SELECT dial_status_a,dial_status_b,dial_status_c,dial_status_d,dial_status_e,park_ext,park_file_name,web_form_address,allow_closers,auto_dial_level,dial_timeout,dial_prefix,campaign_cid,campaign_vdad_exten,campaign_rec_exten,campaign_recording,campaign_rec_filename,campaign_script,get_call_launch,am_message_exten,xferconf_a_dtmf,xferconf_a_number,xferconf_b_dtmf,xferconf_b_number,alt_number_dialing,scheduled_callbacks,wrapup_seconds,wrapup_message,closer_campaigns,use_internal_dnc,allcalls_delay FROM vicidial_campaigns where campaign_id = '$VD_campaign';"; + $stmt="SELECT dial_status_a,dial_status_b,dial_status_c,dial_status_d,dial_status_e,park_ext,park_file_name,web_form_address,allow_closers,auto_dial_level,dial_timeout,dial_prefix,campaign_cid,campaign_vdad_exten,campaign_rec_exten,campaign_recording,campaign_rec_filename,campaign_script,get_call_launch,am_message_exten,xferconf_a_dtmf,xferconf_a_number,xferconf_b_dtmf,xferconf_b_number,alt_number_dialing,scheduled_callbacks,wrapup_seconds,wrapup_message,closer_campaigns,use_internal_dnc,allcalls_delay,omit_phone_code FROM vicidial_campaigns where campaign_id = '$VD_campaign';"; $rslt=mysql_query($stmt, $link); if ($DB) {echo "$stmt\n";} $row=mysql_fetch_row($rslt); @@ -565,6 +569,7 @@ $VDloginDISPLAY=0; $closer_campaigns=$row[28]; $use_internal_dnc=$row[29]; $allcalls_delay=$row[30]; + $omit_phone_code=$row[31]; if ( ($VC_scheduled_callbacks=='Y') and ($VU_scheduled_callbacks=='1') ) {$scheduled_callbacks='1';} @@ -623,7 +628,7 @@ $VDloginDISPLAY=0; } if ($VDloginDISPLAY) { - echo "web client VICIWybierz: Logowanie do kampani\n"; + echo "klient VICIWybierz: Logowanie do kampani\n"; echo "\n"; echo "\n"; echo "
\n"; @@ -662,7 +667,7 @@ $row=mysql_fetch_row($rslt); $authphone=$row[0]; if (!$authphone) { - echo "web client VICIWybierz: Login telefonu Error\n"; + echo "klient VICIWybierz: Login telefonu Error\n"; echo "\n"; echo "\n"; echo "
\n"; @@ -692,7 +697,7 @@ echo "
web client VICIWybierz\n"; + echo "klient VICIWybierz\n"; $stmt="SELECT * from phones where login='$phone_login' and pass='$phone_pass' and active = 'Y';"; if ($DB) {echo "|$stmt|\n";} $rslt=mysql_query($stmt, $link); @@ -927,7 +932,7 @@ else } else { - echo "web client VICIWybierz: VICIWybierz Logowanie do kampani\n"; + echo "klient VICIWybierz: VICIWybierz Logowanie do kampani\n"; echo "\n"; echo "\n"; echo "\n"; @@ -949,7 +954,7 @@ echo "
web client VICIWybierz: VICIWybierz Logowanie do kampani\n"; + echo "klient VICIWybierz: VICIWybierz Logowanie do kampani\n"; echo "\n"; echo "\n"; echo "\n"; @@ -1369,60 +1374,62 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";} var wrapup_waiting = 0; var use_internal_dnc = ''; var allcalls_delay = ''; + var omit_phone_code = ''; + var no_delete_sessions = ''; var webform_session = ''; var local_consult_xfers = ''; - var DiaLControl_auto_HTML = "\"Przerwa\"\"Ponów\""; - var DiaLControl_auto_HTML_ready = "\"Przerwa\"\"Ponów\""; - var DiaLControl_auto_HTML_OFF = "\"Przerwa\"\"Ponów\""; + var DiaLControl_auto_HTML = "\"Przerwa\"\"Ponów\""; + var DiaLControl_auto_HTML_ready = "\"Przerwa\"\"Ponów\""; + var DiaLControl_auto_HTML_OFF = "\"Przerwa\"\"Ponów\""; var DiaLControl_manual_HTML = "\"Wybierz"; var image_blank = new Image(); image_blank.src="../agc/images/blank.gif"; var image_livecall_OFF = new Image(); - image_livecall_OFF.src="../agc/images/agc_live_call_OFF.gif"; + image_livecall_OFF.src="../agc/images/agc_live_call_OFF_pl.gif"; var image_livecall_ON = new Image(); - image_livecall_ON.src="../agc/images/agc_live_call_ON.gif"; + image_livecall_ON.src="../agc/images/agc_live_call_ON_pl.gif"; var image_LB_dialnextnumber = new Image(); image_LB_dialnextnumber.src="../agc/images/vdc_LB_dialnextnumber.gif"; var image_LB_hangupcustomer = new Image(); - image_LB_hangupcustomer.src="../agc/images/vdc_LB_hangupcustomer.gif"; + image_LB_hangupcustomer.src="../agc/images/vdc_LB_hangupcustomer_pl.gif"; var image_LB_transferconf = new Image(); - image_LB_transferconf.src="../agc/images/vdc_LB_transferconf.gif"; + image_LB_transferconf.src="../agc/images/vdc_LB_transferconf_pl.gif"; var image_LB_grabparkedcall = new Image(); image_LB_grabparkedcall.src="../agc/images/vdc_LB_grabparkedcall.gif"; var image_LB_parkcall = new Image(); - image_LB_parkcall.src="../agc/images/vdc_LB_parkcall.gif"; + image_LB_parkcall.src="../agc/images/vdc_LB_parkcall_pl.gif"; var image_LB_webform = new Image(); - image_LB_webform.src="../agc/images/vdc_LB_webform.gif"; + image_LB_webform.src="../agc/images/vdc_LB_webform_pl.gif"; var image_LB_stoprecording = new Image(); - image_LB_stoprecording.src="../agc/images/vdc_LB_stoprecording.gif"; + image_LB_stoprecording.src="../agc/images/vdc_LB_stoprecording_pl.gif"; var image_LB_startrecording = new Image(); - image_LB_startrecording.src="../agc/images/vdc_LB_startrecording.gif"; + image_LB_startrecording.src="../agc/images/vdc_LB_startrecording_pl.gif"; var image_LB_pause = new Image(); - image_LB_pause.src="../agc/images/vdc_LB_pause.gif"; + image_LB_pause.src="../agc/images/vdc_LB_pause_pl.gif"; var image_LB_resume = new Image(); - image_LB_resume.src="../agc/images/vdc_LB_resume.gif"; + image_LB_resume.src="../agc/images/vdc_LB_resume_pl.gif"; var image_LB_senddtmf = new Image(); image_LB_senddtmf.src="../agc/images/vdc_LB_senddtmf.gif"; var image_LB_dialnextnumber_OFF = new Image(); image_LB_dialnextnumber_OFF.src="../agc/images/vdc_LB_dialnextnumber_OFF.gif"; var image_LB_hangupcustomer_OFF = new Image(); - image_LB_hangupcustomer_OFF.src="../agc/images/vdc_LB_hangupcustomer_OFF.gif"; + image_LB_hangupcustomer_OFF.src="../agc/images/vdc_LB_hangupcustomer_OFF_pl.gif"; var image_LB_transferconf_OFF = new Image(); - image_LB_transferconf_OFF.src="../agc/images/vdc_LB_transferconf_OFF.gif"; + image_LB_transferconf_OFF.src="../agc/images/vdc_LB_transferconf_OFF_pl.gif"; var image_LB_grabparkedcall_OFF = new Image(); image_LB_grabparkedcall_OFF.src="../agc/images/vdc_LB_grabparkedcall_OFF.gif"; var image_LB_parkcall_OFF = new Image(); - image_LB_parkcall_OFF.src="../agc/images/vdc_LB_parkcall_OFF.gif"; + image_LB_parkcall_OFF.src="../agc/images/vdc_LB_parkcall_OFF_pl.gif"; var image_LB_webform_OFF = new Image(); - image_LB_webform_OFF.src="../agc/images/vdc_LB_webform_OFF.gif"; + image_LB_webform_OFF.src="../agc/images/vdc_LB_webform_OFF_pl.gif"; var image_LB_stoprecording_OFF = new Image(); image_LB_stoprecording_OFF.src="../agc/images/vdc_LB_stoprecording_OFF.gif"; var image_LB_startrecording_OFF = new Image(); image_LB_startrecording_OFF.src="../agc/images/vdc_LB_startrecording_OFF.gif"; var image_LB_pause_OFF = new Image(); - image_LB_pause_OFF.src="../agc/images/vdc_LB_pause_OFF.gif"; + image_LB_pause_OFF.src="../agc/images/vdc_LB_pause_OFF_pl.gif"; var image_LB_resume_OFF = new Image(); - image_LB_resume_OFF.src="../agc/images/vdc_LB_resume_OFF.gif"; + image_LB_resume_OFF.src="../agc/images/vdc_LB_resume_OFF_pl.gif"; var image_LB_senddtmf_OFF = new Image(); image_LB_senddtmf_OFF.src="../agc/images/vdc_LB_senddtmf_OFF.gif"; @@ -1907,16 +1914,31 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";} // filename = filedate + "_" + user_abb; var query_recording_exten = recording_exten; var channelrec = "Local/" + conf_silent_prefix + '' + taskconfrec + "@" + ext_context; - var conf_rec_start_html = "\"Zakończ"; - document.getElementById("RecorDControl").innerHTML = conf_rec_start_html; + var conf_rec_start_html = "\"Zakończ"; + + if (campaign_recording == 'ALLFORCE') + { + document.getElementById("RecorDControl").innerHTML = "\"Rozpocznij"; + } + else + { + document.getElementById("RecorDControl").innerHTML = conf_rec_start_html; + } } if (taskconfrectype == 'StopMonitorConf') { filename = taskconffile; var query_recording_exten = session_id; var channelrec = "Local/" + conf_silent_prefix + '' + taskconfrec + "@" + ext_context; - var conf_rec_start_html = "\"Rozpocznij"; - document.getElementById("RecorDControl").innerHTML = conf_rec_start_html; + var conf_rec_start_html = "\"Rozpocznij"; + if (campaign_recording == 'ALLFORCE') + { + document.getElementById("RecorDControl").innerHTML = "\"Rozpocznij"; + } + else + { + document.getElementById("RecorDControl").innerHTML = conf_rec_start_html; + } } confmonitor_query = "server_ip=" + server_ip + "&session_name=" + session_name + "&user=" + user + "&pass=" + pass + "&ACTION=" + taskconfrectype + "&format=text&channel=" + channelrec + "&filename=" + filename + "&exten=" + query_recording_exten + "&ext_context=" + ext_context + "&ext_priority=1"; xmlhttp.open('POST', 'manager_send.php'); @@ -2111,7 +2133,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";} xferredirect_query = "server_ip=" + server_ip + "&session_name=" + session_name + "&user=" + user + "&pass=" + pass + "&ACTION=RedirectFromPark&format=text&channel=" + redirectdestination + "&call_server_ip=" + redirectdestserverip + "&queryCID=" + queryCID + "&exten=" + dest_dialstring + "&ext_context=" + ext_context + "&ext_priority=1"; - document.getElementById("ParkControl").innerHTML ="\"Zawieszona"; + document.getElementById("ParkControl").innerHTML ="\"Zawieszona"; customerparked=0; } @@ -2219,8 +2241,8 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";} // alert("VICIWybierz Call log entered:\n" + document.vicidial_form.uniqueid.value); if ( (taskMDstage != "start") && (VDstop_rec_after_each_call == 1) ) { - var conf_rec_start_html = "\"Rozpocznij"; - if (campaign_recording == 'NEVER') + var conf_rec_start_html = "\"Rozpocznij"; + if ( (campaign_recording == 'NEVER') || (campaign_recording == 'ALLFORCE') ) { document.getElementById("RecorDControl").innerHTML = "\"Rozpocznij"; } @@ -2286,7 +2308,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";} var CBcounT = xmlhttp.responseText; if (CBcounT == 0) {var CBprint = "NO";} else {var CBprint = CBcounT;} - document.getElementById("CBstatusSpan").innerHTML ="" + CBprint + " Aktywne zadzwoń później"; + document.getElementById("CBstatusSpan").innerHTML ="" + CBprint + " Aktywne inne terminy"; } } @@ -2301,7 +2323,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";} { if ( (AutoDialWaiting == 1) || (VD_live_customer_call==1) || (alt_dial_active==1) ) { - alert("Musisz być w trybie przerwa żeby sprawdzić zadzwoń później"); + alert("Musisz być w trybie przerwa żeby sprawdzić ustawion inne terminy"); } else { @@ -2570,11 +2592,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";} MD_channel_look=0; document.getElementById("MainStatuSSpan").innerHTML = " Called: " + lead_dial_number + " UID: " + CIDcheck + "  "; - document.getElementById("ParkControl").innerHTML ="\"Zawieszona"; + document.getElementById("ParkControl").innerHTML ="\"Zawieszona"; - document.getElementById("HangupControl").innerHTML = "\"Odłącz"; + document.getElementById("HangupControl").innerHTML = "\"Odłącz"; - document.getElementById("XferControl").innerHTML = "\"Transfer"; + document.getElementById("XferControl").innerHTML = "\"Transfer"; document.getElementById("LocalCloser").innerHTML = "\"CLOSER"; @@ -2647,7 +2669,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";} } if (xmlhttp) { - manDiaLnext_query = "server_ip=" + server_ip + "&session_name=" + session_name + "&ACTION=manDiaLnextCaLL&conf_exten=" + session_id + "&user=" + user + "&pass=" + pass + "&campaign=" + campaign + "&ext_context=" + ext_context + "&dial_timeout=" + dial_timeout + "&dial_prefix=" + dial_prefix + "&campaign_cid=" + campaign_cid + "&preview=" + man_preview + "&agent_log_id=" + agent_log_id + "&callback_id=" + mdnCBid + "&lead_id=" + mdnBDleadid + "&phone_code=" + mdnDiaLCodE + "&phone_number=" + mdnPhonENumbeR + "&list_id=" + mdnLisT_id + "&stage=" + mdnStagE + "&use_internal_dnc=" + use_internal_dnc ; + manDiaLnext_query = "server_ip=" + server_ip + "&session_name=" + session_name + "&ACTION=manDiaLnextCaLL&conf_exten=" + session_id + "&user=" + user + "&pass=" + pass + "&campaign=" + campaign + "&ext_context=" + ext_context + "&dial_timeout=" + dial_timeout + "&dial_prefix=" + dial_prefix + "&campaign_cid=" + campaign_cid + "&preview=" + man_preview + "&agent_log_id=" + agent_log_id + "&callback_id=" + mdnCBid + "&lead_id=" + mdnBDleadid + "&phone_code=" + mdnDiaLCodE + "&phone_number=" + mdnPhonENumbeR + "&list_id=" + mdnLisT_id + "&stage=" + mdnStagE + "&use_internal_dnc=" + use_internal_dnc + "&omit_phone_code=" + omit_phone_code; xmlhttp.open('POST', 'vdc_db_query.php'); xmlhttp.setRequestHeader('Content-Type','application/x-www-form-urlencoded; charset=UTF-8'); xmlhttp.send(manDiaLnext_query); @@ -2774,7 +2796,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";} else {web_form_vars = '?' + web_form_vars} - document.getElementById("WebFormSpan").innerHTML = "\"Web\n"; + document.getElementById("WebFormSpan").innerHTML = "\"Web\n"; if (document.vicidial_form.LeadPreview.checked==false) { @@ -2782,9 +2804,9 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";} MD_channel_look=1; custchannellive=1; - document.getElementById("HangupControl").innerHTML = "\"Odłącz"; + document.getElementById("HangupControl").innerHTML = "\"Odłącz"; - if (campaign_recording == 'ALLCALLS') + if ( (campaign_recording == 'ALLCALLS') || (campaign_recording == 'ALLFORCE') ) {all_record = 'YES';} if ( (view_scripts == 1) && (campaign_script.length > 0) ) @@ -2963,7 +2985,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";} } if (xmlhttp) { - manDiaLonly_query = "server_ip=" + server_ip + "&session_name=" + session_name + "&ACTION=manDiaLonly&conf_exten=" + session_id + "&user=" + user + "&pass=" + pass + "&lead_id=" + document.vicidial_form.lead_id.value + "&phone_number=" + manDiaLonly_num + "&phone_code=" + document.vicidial_form.phone_code.value + "&campaign=" + campaign + "&ext_context=" + ext_context + "&dial_timeout=" + dial_timeout + "&dial_prefix=" + dial_prefix + "&campaign_cid=" + campaign_cid; + manDiaLonly_query = "server_ip=" + server_ip + "&session_name=" + session_name + "&ACTION=manDiaLonly&conf_exten=" + session_id + "&user=" + user + "&pass=" + pass + "&lead_id=" + document.vicidial_form.lead_id.value + "&phone_number=" + manDiaLonly_num + "&phone_code=" + document.vicidial_form.phone_code.value + "&campaign=" + campaign + "&ext_context=" + ext_context + "&dial_timeout=" + dial_timeout + "&dial_prefix=" + dial_prefix + "&campaign_cid=" + campaign_cid + "&omit_phone_code=" + omit_phone_code; xmlhttp.open('POST', 'vdc_db_query.php'); xmlhttp.setRequestHeader('Content-Type','application/x-www-form-urlencoded; charset=UTF-8'); xmlhttp.send(manDiaLonly_query); @@ -2988,9 +3010,9 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";} document.getElementById("MainStatuSSpan").innerHTML = " Dzwoni: " + manDiaLonly_num + " UID: " + MDnextCID + "   Czeka na połączenie..."; - document.getElementById("HangupControl").innerHTML = "\"Odłącz"; + document.getElementById("HangupControl").innerHTML = "\"Odłącz"; - if (campaign_recording == 'ALLCALLS') + if ( (campaign_recording == 'ALLCALLS') || (campaign_recording == 'ALLFORCE') ) {all_record = 'YES';} if ( (view_scripts == 1) && (campaign_script.length > 0) ) @@ -3283,11 +3305,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";} document.getElementById("MainStatuSSpan").innerHTML = " Przychodząca: " + document.vicidial_form.phone_number.value + " Group- " + VDIC_data_VDIG[1] + "   " + VDIC_fronter; } - document.getElementById("ParkControl").innerHTML ="\"Zawieszona"; + document.getElementById("ParkControl").innerHTML ="\"Zawieszona"; - document.getElementById("HangupControl").innerHTML = "\"Odłącz"; + document.getElementById("HangupControl").innerHTML = "\"Odłącz"; - document.getElementById("XferControl").innerHTML = "\"Transfer"; + document.getElementById("XferControl").innerHTML = "\"Transfer"; document.getElementById("LocalCloser").innerHTML = "\"CLOSER"; @@ -3363,9 +3385,9 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";} else {web_form_vars = '?' + web_form_vars} - document.getElementById("WebFormSpan").innerHTML = "\"Web\n"; + document.getElementById("WebFormSpan").innerHTML = "\"Web\n"; - if (campaign_recording == 'ALLCALLS') + if ( (campaign_recording == 'ALLCALLS') || (campaign_recording == 'ALLFORCE') ) {all_record = 'YES';} if ( (view_scripts == 1) && (CalL_ScripT_id.length > 0) ) @@ -3473,11 +3495,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";} if (taskrefresh == 'OUT') { - document.getElementById("WebFormSpan").innerHTML = "\"Web\n"; + document.getElementById("WebFormSpan").innerHTML = "\"Web\n"; } else { - document.getElementById("WebFormSpan").innerHTML = "\"Web\n"; + document.getElementById("WebFormSpan").innerHTML = "\"Web\n"; } } @@ -3632,10 +3654,10 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";} lastcustserverip=''; if( document.images ) { document.images['livecall'].src = image_livecall_OFF.src;} - document.getElementById("WebFormSpan").innerHTML = "\"Web"; - document.getElementById("ParkControl").innerHTML = "\"Zawieszona"; - document.getElementById("HangupControl").innerHTML = "\"Odłącz"; - document.getElementById("XferControl").innerHTML = "\"Transfer"; + document.getElementById("WebFormSpan").innerHTML = "\"Web"; + document.getElementById("ParkControl").innerHTML = "\"Zawieszona"; + document.getElementById("HangupControl").innerHTML = "\"Odłącz"; + document.getElementById("XferControl").innerHTML = "\"Transfer"; document.getElementById("LocalCloser").innerHTML = "\"CLOSER"; document.getElementById("InternalCloser").innerHTML = "\"INTERNAL"; document.getElementById("DialBlindTransfer").innerHTML = "\"Dial"; @@ -3900,7 +3922,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";} { var DispoChoice = document.vicidial_form.DispoSelection.value; - if (DispoChoice.length < 1) {alert("Musisz wybrać opcję");} + if (DispoChoice.length < 1) {alert("Musisz wybrać rezultat rozmowy");} else { document.getElementById("CusTInfOSpaN").innerHTML = ""; @@ -3924,7 +3946,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";} var DispoChoice = document.vicidial_form.DispoSelection.value; - if (DispoChoice.length < 1) {alert("Musisz wybrać opcję");} + if (DispoChoice.length < 1) {alert("Musisz wybrać rezultat rozmowy");} else { document.getElementById("CusTInfOSpaN").innerHTML = ""; @@ -4327,7 +4349,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";} } if (xmlhttp) { - VDlogout_query = "server_ip=" + server_ip + "&session_name=" + session_name + "&ACTION=userLOGout&format=text&user=" + user + "&pass=" + pass + "&campaign=" + campaign + "&conf_exten=" + session_id + "&extension=" + extension + "&protocol=" + protocol; + VDlogout_query = "server_ip=" + server_ip + "&session_name=" + session_name + "&ACTION=userLOGout&format=text&user=" + user + "&pass=" + pass + "&campaign=" + campaign + "&conf_exten=" + session_id + "&extension=" + extension + "&protocol=" + protocol + "&no_delete_sessions=" + no_delete_sessions; xmlhttp.open('POST', 'vdc_db_query.php'); xmlhttp.setRequestHeader('Content-Type','application/x-www-form-urlencoded; charset=UTF-8'); xmlhttp.send(VDlogout_query); @@ -4640,7 +4662,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";} document.vicidial_form.LeadLookuP.checked=true; document.getElementById("sessionIDspan").innerHTML = session_id; - if (campaign_recording == 'NEVER') + if ( (campaign_recording == 'NEVER') || (campaign_recording == 'ALLFORCE') ) { document.getElementById("RecorDControl").innerHTML = "\"Rozpocznij"; } @@ -5053,13 +5075,13 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";} { showDiv('HotKeyEntriesBox'); hot_keys_active = 1; - document.getElementById("hotkeysdisplay").innerHTML = "\"Klawisze"; + document.getElementById("hotkeysdisplay").innerHTML = "\"Klawisze"; } else { hideDiv('HotKeyEntriesBox'); hot_keys_active = 0; - document.getElementById("hotkeysdisplay").innerHTML = "\"Klawisze"; + document.getElementById("hotkeysdisplay").innerHTML = "\"Klawisze"; } } @@ -5071,7 +5093,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";} { HKbutton_allowed = 0; showDiv('TransferMain'); - document.getElementById("XferControl").innerHTML = "\"Transfer"; + document.getElementById("XferControl").innerHTML = "\"Transfer"; } else { @@ -5079,7 +5101,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";} hideDiv('TransferMain'); if (showoffvar == 'YES') { - document.getElementById("XferControl").innerHTML = "\"Transfer"; + document.getElementById("XferControl").innerHTML = "\"Transfer"; } } } @@ -5189,7 +5211,7 @@ echo "\n"; - +
VICIWybierz SCRIPT   LIVE     ID sesji: RozmowaRozmowa
@@ -5204,11 +5226,11 @@ echo "\n"; -X Aktywne zadzwoń później
+X Aktywne inne terminy
-
Zadzwoń później dla agenta :
Wybierz link zadzwoń później żeby połączyć się teraz.. +
Inne terminy dla agenta :
Wybierz link inny termin żeby połączyć się teraz..

  @@ -5219,7 +5241,7 @@ echo "\n"; -
Nowy Wybieranie ręczne LEAD FOR :

Wpisz poniżej informacje o numerze pod który chcesz zadzwonić. +
Ręczne wybieranie numeru dla :

Wpisz poniżej informacje o numerze pod który chcesz zadzwonić.

Calls Dialing: -
Opcja na numerze:

+
Rezultat rozmowy:

-
@@ -5326,13 +5348,13 @@ Twój Status:
Calls Dialing:
Klient sie rozłączył:
Wróć

- Finish and Disposition Call + Zakończ i wprowadź rezultat rozmowy
-
Call Wrapup +
Call Wrapup sekundy remaining in wrapup



@@ -5358,8 +5380,8 @@ Twój Status:
Calls Dialing: -
DISPOSITION Rozmowa :       Rozłącz się ponownie       minimalizuj
- Koniec rozmowy, wybierz opcję +
REZULTAT ROZMOWY :       Rozłącz się ponownie       minimalizuj
+ Koniec rozmowy, wybierz rezultat
Zatrzymaj dzwonienie
Wyczyść formularz | @@ -5372,7 +5394,7 @@ Twój Status:
Calls Dialing: -
Wybierz datę zadzwoń później :
+
Wybierz datę inny termin :
Wybierz datę poniżej   @@ -5404,7 +5426,7 @@ Twój Status:
Calls Dialing: Tylko moje zadzwoń później
";} + {echo " Tylko moje inne terminy
";} ?> Notatki:

@@ -5431,7 +5453,7 @@ Twój Status:
Calls Dialing: Kanał Tylko moje zadzwoń później
";} + {echo " Tylko moje inne terminy
";} ?>
@@ -5488,14 +5510,14 @@ Plik nagrania:
Nagrywaj ID:
-Rozpocznij nagrywanie
+Rozpocznij nagrywanie

-Web Formularz
+Web Formularz

-Zawieszona rozmowa
-Transfer - Konferencja
+Zawieszona rozmowa
+Transfer - Konferencja

-Odłącz kilenta
+Odłącz kilenta

Wyślij tonowo
@@ -5513,12 +5535,12 @@ Nagrywaj ID:
- + - + @@ -5558,10 +5580,10 @@ else
sekundy:   Kanał:   Cust Time:   Kanał:   Zegar:
Informacje o kliencie:
Tytuł:   Pierwsze:   MI:   Ostatnie:   Imię:   2 Imię:   Nazwisko:
Adres1:
-
wersja web client VICIWybierz:     BUILD:               Serwer:              
+ diff --git a/LANG_www/agc_pl/voicemail_check.php b/LANG_www/agc_pl/voicemail_check.php index 19080a5d..0f4925f8 100644 --- a/LANG_www/agc_pl/voicemail_check.php +++ b/LANG_www/agc_pl/voicemail_check.php @@ -21,6 +21,7 @@ # 50503-1241 - added session_name checking for extra security # 50711-1201 - removed HTTP authentication in favor of user/pass vars # 60421-1147 - check GET/POST vars lines with isset to not trigger PHP NOTICES +# 60619-1204 - Added variable filters to close security holes for login form # require("dbconnect.php"); @@ -39,11 +40,14 @@ if (isset($_GET["format"])) {$format=$_GET["format"];} if (isset($_GET["vmail_box"])) {$vmail_box=$_GET["vmail_box"];} elseif (isset($_POST["vmail_box"])) {$vmail_box=$_POST["vmail_box"];} +$user=ereg_replace("[^0-9a-zA-Z]","",$user); +$pass=ereg_replace("[^0-9a-zA-Z]","",$pass); + # default optional vars if not set if (!isset($format)) {$format="text";} -$version = '0.0.4'; -$build = '60421-1147'; +$version = '0.0.5'; +$build = '60619-1204'; $StarTtime = date("U"); $NOW_DATE = date("Y-m-d"); $NOW_TIME = date("Y-m-d H:i:s"); @@ -103,7 +107,7 @@ echo " if (strlen($vmail_box)<1) { $channel_live=0; - echo "skrzka głosowa $vmail_box nie jest prawidłowy\n"; + echo "skrzynka głosowa $vmail_box nie jest prawidłowy\n"; exit; } else
wersja klienta VICIWybierz:     BUILD:               Serwer:              
Pokaż informacje o konferencjach
0) && ( ($user_level>=$HKuser_level) or ($VU_hotkeys_active > 0) ) ) { ?> -Klawisze skrótu nieaktywne +Klawisze skrótu nieaktywne