From 3e0261c5034f6ccff849c2c6dec8cd84b622ce2d Mon Sep 17 00:00:00 2001 From: mattf Date: Wed, 17 Mar 2010 17:24:22 +0000 Subject: [PATCH] Added agent_fullscreen User Group option for vicidial.php screen git-svn-id: svn://192.168.202.10@1377 3d104415-ff17-0410-8863-d5cf3c621b8a --- extras/MySQL_AST_CREATE_tables.sql | 5 +++-- extras/upgrade_2.4.sql | 4 ++++ translations/br_language.txt | 2 +- translations/de_language.txt | 2 +- translations/el_language.txt | 2 +- translations/es_language.txt | 2 +- translations/fr_language.txt | 2 +- translations/it_language.txt | 2 +- translations/nl_language.txt | 2 +- translations/pl_language.txt | 2 +- translations/pt_language.txt | 2 +- .../TO_BE_TRANSLATED_2.4.txt | 2 ++ translations/ru_language.txt | 2 +- translations/sk_language.txt | 2 +- translations/tw_language.txt | 2 +- www/agc/vicidial.php | 15 ++++++++++---- www/vicidial/admin.php | 20 +++++++++++++++---- 17 files changed, 48 insertions(+), 22 deletions(-) diff --git a/extras/MySQL_AST_CREATE_tables.sql b/extras/MySQL_AST_CREATE_tables.sql index 36e59b25..8689e31b 100644 --- a/extras/MySQL_AST_CREATE_tables.sql +++ b/extras/MySQL_AST_CREATE_tables.sql @@ -577,7 +577,8 @@ agent_xfer_dial_override ENUM('Y','N') default 'Y', agent_xfer_vm_transfer ENUM('Y','N') default 'Y', agent_xfer_blind_transfer ENUM('Y','N') default 'Y', agent_xfer_dial_with_customer ENUM('Y','N') default 'Y', -agent_xfer_park_customer_dial ENUM('Y','N') default 'Y' +agent_xfer_park_customer_dial ENUM('Y','N') default 'Y', +agent_fullscreen ENUM('Y','N') default 'N' ); CREATE TABLE vicidial_campaigns ( @@ -2138,7 +2139,7 @@ ALTER TABLE vicidial_agent_log_archive MODIFY agent_log_id INT(9) UNSIGNED NOT N CREATE TABLE vicidial_carrier_log_archive LIKE vicidial_carrier_log; -UPDATE system_settings SET db_schema_version='1207',db_schema_update_date=NOW(); +UPDATE system_settings SET db_schema_version='1208',db_schema_update_date=NOW(); GRANT RELOAD ON *.* TO cron@'%'; GRANT RELOAD ON *.* TO cron@localhost; diff --git a/extras/upgrade_2.4.sql b/extras/upgrade_2.4.sql index dd2e0d94..efeb0965 100644 --- a/extras/upgrade_2.4.sql +++ b/extras/upgrade_2.4.sql @@ -169,3 +169,7 @@ ALTER TABLE vicidial_agent_log ADD uniqueid VARCHAR(20) default ''; ALTER TABLE vicidial_agent_log_archive ADD uniqueid VARCHAR(20) default ''; UPDATE system_settings SET db_schema_version='1207',db_schema_update_date=NOW(); + +ALTER TABLE vicidial_user_groups ADD agent_fullscreen ENUM('Y','N') default 'N'; + +UPDATE system_settings SET db_schema_version='1208',db_schema_update_date=NOW(); diff --git a/translations/br_language.txt b/translations/br_language.txt index d47847a9..fe900ccd 100644 --- a/translations/br_language.txt +++ b/translations/br_language.txt @@ -249,7 +249,7 @@ STILL A LIVE CALL! Hang it up then you can log out|VOCÊ ESTÁ EM UMA CHAMADA AT Hide conference call channel information|Ocultar informações de discagem do canal| Show conference call channel information|Mostrar informações de discagem do canal| Logged in as User|Loggado como usuario| -Noone is in your session|Não existe ninguem na sua sessão| +No one is in your session|Não existe ninguem na sua sessão| Customer has hung up|O cliente desligou| End-of-call Disposition Selection|Fim da seleção de status| CLOSER INBOUND GROUP SELECTION|SELECAO DO GRUPO DE ENTRADA DO CLOSER| diff --git a/translations/de_language.txt b/translations/de_language.txt index d04f44df..3825aa09 100644 --- a/translations/de_language.txt +++ b/translations/de_language.txt @@ -223,7 +223,7 @@ STILL A LIVE CALL! Hang it up then you can log out|Abmelden während des Gesprä Hide conference call channel information|Konferenz Informationen verbergen| Show conference call channel information|Konferenz Informationen anzeigen| Logged in as User|Angemeldet als Benutzer| -Noone is in your session|Niemand ist in ihrer Konferenz.| +No one is in your session|Niemand ist in ihrer Konferenz.| Customer has hung up|Kunde hat aufgelegt| End-of-call Disposition Selection|Gesprächsergebnis Auswahl| CLOSER INBOUND GROUP SELECTION|SUPERVISOR INBOUND GRUPPENWAHL| diff --git a/translations/el_language.txt b/translations/el_language.txt index 90c15bf4..779dbbd7 100644 --- a/translations/el_language.txt +++ b/translations/el_language.txt @@ -250,7 +250,7 @@ STILL A LIVE CALL! Hang it up then you can log out|Υπάρχει ΑΚΟΜΑ μ Hide conference call channel information|Απόκρυψη πηροφοριών κλήσης καναλιού συνδιάσκεψης| Show conference call channel information|Παρουσίαση πληροφοριών κλήσης καναλιού διασκέψης| Logged in as User|Σύνδεση ως χρήστης | -Noone is in your session|Κανένας δεν είναι στη σύνοδό σας| +No one is in your session|Κανένας δεν είναι στη σύνοδό σας| Customer has hung up|Ο πελάτης έχει κλείσει το τηλέφωνο| End-of-call Disposition Selection|Επιλογή τερματισμού της κλήσης| CLOSER INBOUND GROUP SELECTION|CLOSER ΕΙΣΕΡΧΟΜΕΝΗ ΕΠΙΛΟΓΗ ΟΜΑΔΑΣ| diff --git a/translations/es_language.txt b/translations/es_language.txt index d9fd36e7..ce11bf71 100644 --- a/translations/es_language.txt +++ b/translations/es_language.txt @@ -250,7 +250,7 @@ STILL A LIVE CALL! Hang it up then you can log out|TODAVÍA UNA LLAMADA ACTIVA! Hide conference call channel information|Ocultar la información del canal Conferencia| Show conference call channel information|Mostrar la información del canal Conferencia| Logged in as User|Usuario| -Noone is in your session|Nadie está en su sesión| +No one is in your session|Nadie está en su sesión| Customer has hung up|El cliente ha colgado| End-of-call Disposition Selection|selección de la disposición del End-of-call| CLOSER INBOUND GROUP SELECTION|SELECCIÓN DEL GRUPO DE ENTRANTES CLOSER| diff --git a/translations/fr_language.txt b/translations/fr_language.txt index 6d2c9ef9..0a0ad879 100644 --- a/translations/fr_language.txt +++ b/translations/fr_language.txt @@ -250,7 +250,7 @@ STILL A LIVE CALL! Hang it up then you can log out|Un APPEL EST EN COURS ! Raccr Hide conference call channel information|Cacher les informations sur la conférence| Show conference call channel information|Montrez les informations sur la conférence| Logged in as User|Utilisateur | -Noone is in your session|Votre session est vide| +No one is in your session|Votre session est vide| Customer has hung up|Le client a raccroché| End-of-call Disposition Selection|Selection du status de fin d'appel| CLOSER INBOUND GROUP SELECTION|UN CHOIX DE GROUPE D'ARRIVÉE PLUS ÉTROIT| diff --git a/translations/it_language.txt b/translations/it_language.txt index 00eba1b3..450af909 100644 --- a/translations/it_language.txt +++ b/translations/it_language.txt @@ -250,7 +250,7 @@ STILL A LIVE CALL! Hang it up then you can log out|LA CHIAMATA IN CORSO E` ANCOR Hide conference call channel information|Nascondi le informazioni relative al canale della conferenza| Show conference call channel information|Mostra le informazioni relative al canale della conferenza| Logged in as User|Loggato come Utente| -Noone is in your session|Non c`è nessuno nella tua sessione| +No one is in your session|Non c`è nessuno nella tua sessione| Customer has hung up|Il cliente ha riagganciato| End-of-call Disposition Selection|Selezione Esito di fine chiamata| CLOSER INBOUND GROUP SELECTION|SELEZIONE del CLOSER INBOUND GROUP| diff --git a/translations/nl_language.txt b/translations/nl_language.txt index 4b2a3527..111114e8 100644 --- a/translations/nl_language.txt +++ b/translations/nl_language.txt @@ -249,7 +249,7 @@ STILL A LIVE CALL! Hang it up then you can log out|IN EEN LIVE GESPREK! Hang op, Hide conference call channel information|Verberg kanaalinformatie van conferentie gesprek| Show conference call channel information|Toon kanaalinformatie van conferentie gesprek| Logged in as User|Ingelogd als gebruiker| -Noone is in your session|Er is niemand in jouw sessie| +No one is in your session|Er is niemand in jouw sessie| Customer has hung up|Klant heeft opgehangen| End-of-call Disposition Selection|Einde Gesprek Dispositie Selectie| CLOSER INBOUND GROUP SELECTION|CLOSER INKOMENDE GROEP SELECTIE| diff --git a/translations/pl_language.txt b/translations/pl_language.txt index c638a83b..64142425 100644 --- a/translations/pl_language.txt +++ b/translations/pl_language.txt @@ -250,7 +250,7 @@ STILL A LIVE CALL! Hang it up then you can log out|JESTEŚ W TRAKCIE ROZMOWY! Ro Hide conference call channel information|Ukryj informacje o kanałach konferencyjnych| Show conference call channel information|Pokaż informacje o kanałach konferencyjnych| Logged in as User|Zalogowany jako| -Noone is in your session|Nikt nie uczestniczy w Twojej sesji| +No one is in your session|Nikt nie uczestniczy w Twojej sesji| Customer has hung up|Klient sie rozłączył| End-of-call Disposition Selection|Koniec rozmowy, wybierz rezultat| CLOSER INBOUND GROUP SELECTION|SELEKCJA GRUPY ZAWNĘTRZNYCH FINALIZUJĄCYCH| diff --git a/translations/pt_language.txt b/translations/pt_language.txt index 022aca01..7e08276a 100644 --- a/translations/pt_language.txt +++ b/translations/pt_language.txt @@ -250,7 +250,7 @@ STILL A LIVE CALL! Hang it up then you can log out|AINDA Uma CHAMADA VIVA! Pendu Hide conference call channel information|Informação da canaleta da chamada de conferência do hide| Show conference call channel information|Mostre a informação da canaleta da chamada de conferência| Logged in as User|Usuário| -Noone is in your session|Noone está em sua sessão| +No one is in your session|Ninguém está na sua sessão| Customer has hung up|O cliente pendurou acima| End-of-call Disposition Selection|Extremidade-$$$-CHAME A Seleção Da Disposição| CLOSER INBOUND GROUP SELECTION|SELEÇÃO DE GRUPO INBOUND MAIS PRÓXIMA| diff --git a/translations/raw_translation_files/TO_BE_TRANSLATED_2.4.txt b/translations/raw_translation_files/TO_BE_TRANSLATED_2.4.txt index 0fdc1625..83f11fa3 100644 --- a/translations/raw_translation_files/TO_BE_TRANSLATED_2.4.txt +++ b/translations/raw_translation_files/TO_BE_TRANSLATED_2.4.txt @@ -51,6 +51,8 @@ Agent Allow Blind Xfer|| Agent Allow Voicemail Message Xfer|| Agent Allow Dial Override Xfer|| Agent Allow Consultative Xfer|| +Agent Fullscreen|| +This option if set to Y will set the height and width of the ViciDial agent screen to the size of the web browser window without any allowance for the Agents View, Calls in Queue View or Calls in Session view. Default is N for no or disabled|| ############################################################ CLIENT diff --git a/translations/ru_language.txt b/translations/ru_language.txt index 96d9fbbf..06cc421c 100644 --- a/translations/ru_language.txt +++ b/translations/ru_language.txt @@ -250,7 +250,7 @@ STILL A LIVE CALL! Hang it up then you can log out|ВСЕ ЕЩЕ АКТИВНЫ Hide conference call channel information|Скрыть информацию о канале конференц-связи| Show conference call channel information|Показать информацию о канале конференц-связи| Logged in as User|Пользователь| -Noone is in your session|Никого нет в вашей сессии| +No one is in your session|Никого нет в вашей сессии| Customer has hung up|Клиент разъединен| End-of-call Disposition Selection|Выбор Диспозиции End-of-call| CLOSER INBOUND GROUP SELECTION|ВЫБОР INBOUND ГРУППЫ CLOSER| diff --git a/translations/sk_language.txt b/translations/sk_language.txt index 3ddf51a0..f75b3e50 100644 --- a/translations/sk_language.txt +++ b/translations/sk_language.txt @@ -250,7 +250,7 @@ STILL A LIVE CALL! Hang it up then you can log out|UŽ PREBIEHA ŽIVÝ HOVOR! Po Hide conference call channel information|Skryť informáciu o konferenčný kanále| Show conference call channel information|Ukázať informáciu o konferenčnom kanále| Logged in as User|Ste prihlásený ako užívateľ| -Noone is in your session|Nikto nie je vo Vašej relácii| +No one is in your session|Nikto nie je vo Vašej relácii| Customer has hung up|Zákazník položil| End-of-call Disposition Selection|Ukončenie hovoru vybranej dispozície| CLOSER INBOUND GROUP SELECTION|Užší výber prichádzajúce skupiny| diff --git a/translations/tw_language.txt b/translations/tw_language.txt index 97b7f4e4..b0cfb4f7 100644 --- a/translations/tw_language.txt +++ b/translations/tw_language.txt @@ -250,7 +250,7 @@ STILL A LIVE CALL! Hang it up then you can log out|電話仍在通話中,請 Hide conference call channel information|隱藏電話會議中的來電通道資訊| Show conference call channel information|顯示電話會議中的來電通道資訊| Logged in as User|以使用者身份登入| -Noone is in your session|無人在你主持的會議中| +No one is in your session|無人在你主持的會議中| Customer has hung up|客戶已掛斷電話| End-of-call Disposition Selection|結束碼選擇| CLOSER INBOUND GROUP SELECTION|CLOSER INBOUND GROUP SELECTION| diff --git a/www/agc/vicidial.php b/www/agc/vicidial.php index 1b02ec95..2a9b7615 100644 --- a/www/agc/vicidial.php +++ b/www/agc/vicidial.php @@ -284,10 +284,11 @@ # 100309-0525 - Added queuemetrics_loginout option # 100313-0053 - Added display options for transfer/conf buttons # 100315-1148 - fix for rare recording_log uniqueid issue on manual dial calls to same number +# 100317-1301 - Added agent_fullscreen User Group option # -$version = '2.4-262'; -$build = '100315-1148'; +$version = '2.4-263'; +$build = '100317-1301'; $mel=1; # Mysql Error Log enabled = 1 $mysql_log_count=64; $one_mysql_log=0; @@ -888,7 +889,7 @@ else $AgentAlert_allowed = $VU_allow_alerts; ### Gather timeclock and shift enforcement restriction settings - $stmt="SELECT forced_timeclock_login,shift_enforcement,group_shifts,agent_status_viewable_groups,agent_status_view_time,agent_call_log_view,agent_xfer_consultative,agent_xfer_dial_override,agent_xfer_vm_transfer,agent_xfer_blind_transfer,agent_xfer_dial_with_customer,agent_xfer_park_customer_dial from vicidial_user_groups where user_group='$VU_user_group';"; + $stmt="SELECT forced_timeclock_login,shift_enforcement,group_shifts,agent_status_viewable_groups,agent_status_view_time,agent_call_log_view,agent_xfer_consultative,agent_xfer_dial_override,agent_xfer_vm_transfer,agent_xfer_blind_transfer,agent_xfer_dial_with_customer,agent_xfer_park_customer_dial,agent_fullscreen from vicidial_user_groups where user_group='$VU_user_group';"; $rslt=mysql_query($stmt, $link); if ($mel > 0) {mysql_error_logging($NOW_TIME,$link,$mel,$stmt,'01052',$VD_login,$server_ip,$session_name,$one_mysql_log);} $row=mysql_fetch_row($rslt); @@ -925,6 +926,7 @@ else {$agent_call_log_view=1;} if ($VU_agent_call_log_view_override == 'N') {$agent_call_log_view=0;} + $agent_fullscreen = $row[12]; ### BEGIN - CHECK TO SEE IF AGENT IS LOGGED IN TO TIMECLOCK, IF NOT, OUTPUT ERROR if ( (ereg('Y',$forced_timeclock_login)) or ( (ereg('ADMIN_EXEMPT',$forced_timeclock_login)) and ($VU_user_level < 8) ) ) @@ -2316,6 +2318,11 @@ if ($stretch_dimensions > 0) if ($JS_browser_height >= 340) {$BROWSER_HEIGHT = ($JS_browser_height - 40);} } +if ($agent_fullscreen=='Y') + { + $BROWSER_WIDTH = ($JS_browser_width - 10); + $BROWSER_HEIGHT = $JS_browser_height; + } $MASTERwidth=($BROWSER_WIDTH - 340); $MASTERheight=($BROWSER_HEIGHT - 200); if ($MASTERwidth < 430) {$MASTERwidth = '430';} @@ -11342,7 +11349,7 @@ Available Agents Transfer: - height=>
Noone is in your session:
+ height=>
No one is in your session:
Go Back

Call Agent Again diff --git a/www/vicidial/admin.php b/www/vicidial/admin.php index 40320374..66403657 100644 --- a/www/vicidial/admin.php +++ b/www/vicidial/admin.php @@ -1211,6 +1211,8 @@ if (isset($_GET["agent_xfer_dial_with_customer"])) {$agent_xfer_dial_with_cust elseif (isset($_POST["agent_xfer_dial_with_customer"])) {$agent_xfer_dial_with_customer=$_POST["agent_xfer_dial_with_customer"];} if (isset($_GET["agent_xfer_park_customer_dial"])) {$agent_xfer_park_customer_dial=$_GET["agent_xfer_park_customer_dial"];} elseif (isset($_POST["agent_xfer_park_customer_dial"])) {$agent_xfer_park_customer_dial=$_POST["agent_xfer_park_customer_dial"];} +if (isset($_GET["agent_fullscreen"])) {$agent_fullscreen=$_GET["agent_fullscreen"];} + elseif (isset($_POST["agent_fullscreen"])) {$agent_fullscreen=$_POST["agent_fullscreen"];} if (isset($script_id)) {$script_id= strtoupper($script_id);} @@ -1493,6 +1495,7 @@ if ($non_latin < 1) $agent_xfer_blind_transfer = ereg_replace("[^NY]","",$agent_xfer_blind_transfer); $agent_xfer_dial_with_customer = ereg_replace("[^NY]","",$agent_xfer_dial_with_customer); $agent_xfer_park_customer_dial = ereg_replace("[^NY]","",$agent_xfer_park_customer_dial); + $agent_fullscreen = ereg_replace("[^NY]","",$agent_fullscreen); $qc_enabled = ereg_replace("[^0-9NY]","",$qc_enabled); $active = ereg_replace("[^0-9NY]","",$active); @@ -2124,11 +2127,12 @@ else # 100309-0510 - Added queuemetrics_loginout option # 100311-2348 - Added CallCard links and settings # 100313-0020 - Added User Group agent screen transfer-conf button display options +# 100317-1244 - Added User Group agent_fullscreen option # # make sure you have added a user to the vicidial_users MySQL table with at least user_level 8 to access this page the first time -$admin_version = '2.4-245'; -$build = '100313-0020'; +$admin_version = '2.4-246'; +$build = '100317-1244'; $STARTtime = date("U"); $SQLdate = date("Y-m-d H:i:s"); @@ -4901,6 +4905,11 @@ if ($ADD==99999)
Agent Transfer Options - These options allow for the disabling of specific buttons in the Transfer Conference section of the Agent interface. Default is Y for yes or enabled. +
+ +
+ Agent Fullscreen - This option if set to Y will set the height and width of the ViciDial agent screen to the size of the web browser window without any allowance for the Agents View, Calls in Queue View or Calls in Session view. Default is N for no or disabled. + 0) { @@ -12635,7 +12644,7 @@ if ($ADD==411111) $p++; } - $stmt="UPDATE vicidial_user_groups set user_group='$user_group', group_name='$group_name',allowed_campaigns='$campaigns_value',qc_allowed_campaigns='$qc_campaigns_value',qc_allowed_inbound_groups='$qc_groups_value',group_shifts='$GROUP_shifts',forced_timeclock_login='$forced_timeclock_login',shift_enforcement='$shift_enforcement',agent_status_viewable_groups='$VGROUP_vgroups',agent_status_view_time='$agent_status_view_time',agent_call_log_view='$agent_call_log_view',agent_xfer_consultative='$agent_xfer_consultative',agent_xfer_dial_override='$agent_xfer_dial_override',agent_xfer_vm_transfer='$agent_xfer_vm_transfer',agent_xfer_blind_transfer='$agent_xfer_blind_transfer',agent_xfer_dial_with_customer='$agent_xfer_dial_with_customer',agent_xfer_park_customer_dial='$agent_xfer_park_customer_dial' where user_group='$OLDuser_group';"; + $stmt="UPDATE vicidial_user_groups set user_group='$user_group', group_name='$group_name',allowed_campaigns='$campaigns_value',qc_allowed_campaigns='$qc_campaigns_value',qc_allowed_inbound_groups='$qc_groups_value',group_shifts='$GROUP_shifts',forced_timeclock_login='$forced_timeclock_login',shift_enforcement='$shift_enforcement',agent_status_viewable_groups='$VGROUP_vgroups',agent_status_view_time='$agent_status_view_time',agent_call_log_view='$agent_call_log_view',agent_xfer_consultative='$agent_xfer_consultative',agent_xfer_dial_override='$agent_xfer_dial_override',agent_xfer_vm_transfer='$agent_xfer_vm_transfer',agent_xfer_blind_transfer='$agent_xfer_blind_transfer',agent_xfer_dial_with_customer='$agent_xfer_dial_with_customer',agent_xfer_park_customer_dial='$agent_xfer_park_customer_dial',agent_fullscreen='$agent_fullscreen' where user_group='$OLDuser_group';"; $rslt=mysql_query($stmt, $link); echo "
USER GROUP MODIFIED\n"; @@ -20672,7 +20681,7 @@ if ($ADD==311111) echo "\n"; + echo "\n"; + if ($SSqc_features_active > 0) { echo "
\n"; echo ""; - $stmt="SELECT user_group,group_name,allowed_campaigns,qc_allowed_campaigns,qc_allowed_inbound_groups,group_shifts,forced_timeclock_login,shift_enforcement,agent_status_viewable_groups,agent_status_view_time,agent_call_log_view,agent_xfer_consultative,agent_xfer_dial_override,agent_xfer_vm_transfer,agent_xfer_blind_transfer,agent_xfer_dial_with_customer,agent_xfer_park_customer_dial from vicidial_user_groups where user_group='$user_group';"; + $stmt="SELECT user_group,group_name,allowed_campaigns,qc_allowed_campaigns,qc_allowed_inbound_groups,group_shifts,forced_timeclock_login,shift_enforcement,agent_status_viewable_groups,agent_status_view_time,agent_call_log_view,agent_xfer_consultative,agent_xfer_dial_override,agent_xfer_vm_transfer,agent_xfer_blind_transfer,agent_xfer_dial_with_customer,agent_xfer_park_customer_dial,agent_fullscreen from vicidial_user_groups where user_group='$user_group';"; $rslt=mysql_query($stmt, $link); $row=mysql_fetch_row($rslt); $user_group = $row[0]; @@ -20689,6 +20698,7 @@ if ($ADD==311111) $agent_xfer_blind_transfer = $row[14]; $agent_xfer_dial_with_customer = $row[15]; $agent_xfer_park_customer_dial = $row[16]; + $agent_fullscreen = $row[17]; echo ""; @@ -20788,6 +20798,8 @@ if ($ADD==311111) echo "
Agent Allow Park Customer Dial Xfer: $NWB#vicidial_user_groups-agent_xfer_options$NWE
Agent Fullscreen: $NWB#vicidial_user_groups-agent_fullscreen$NWE
QC Allowed Campaigns:
$NWB#vicidial_user_groups-qc_allowed_campaigns$NWE
\n";