- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
##### grab the full name of the agent
$stmt="SELECT full_name,user_level,hotkeys_active,agent_choose_ingroups,scheduled_callbacks,agentonly_callbacks,agentcall_manual,vicidial_recording,vicidial_transfers,closer_default_blended,user_group,vicidial_recording_override,alter_custphone_override,alert_enabled,agent_shift_enforcement_override,shift_override_flag,allow_alerts,closer_campaigns,agent_choose_territories,custom_one,custom_two,custom_three,custom_four,custom_five from vicidial_users where user='$VD_login' and pass='$VD_pass'";
$rslt=mysql_query($stmt, $link);
if ($mel > 0) {mysql_error_logging($NOW_TIME,$link,$mel,$stmt,'01007',$VD_login,$server_ip,$session_name,$one_mysql_log);}
$row=mysql_fetch_row($rslt);
$LOGfullname = $row[0];
$user_level = $row[1];
$VU_hotkeys_active = $row[2];
$VU_agent_choose_ingroups = $row[3];
$VU_scheduled_callbacks = $row[4];
$agentonly_callbacks = $row[5];
$agentcall_manual = $row[6];
$VU_vicidial_recording = $row[7];
$VU_vicidial_transfers = $row[8];
$VU_closer_default_blended = $row[9];
$VU_user_group = $row[10];
$VU_vicidial_recording_override = $row[11];
$VU_alter_custphone_override = $row[12];
$VU_alert_enabled = $row[13];
$VU_agent_shift_enforcement_override = $row[14];
$VU_shift_override_flag = $row[15];
$VU_allow_alerts = $row[16];
$VU_closer_campaigns = $row[17];
$VU_agent_choose_territories = $row[18];
$VU_custom_one = $row[19];
$VU_custom_two = $row[20];
$VU_custom_three = $row[21];
$VU_custom_four = $row[22];
$VU_custom_five = $row[23];
if ( ($VU_alert_enabled > 0) and ($VU_allow_alerts > 0) ) {$VU_alert_enabled = 'ON';}
else {$VU_alert_enabled = 'OFF';}
$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 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);
$forced_timeclock_login = $row[0];
$shift_enforcement = $row[1];
$LOGgroup_shiftsSQL = eregi_replace(' ','',$row[2]);
$LOGgroup_shiftsSQL = eregi_replace(' ',"','",$LOGgroup_shiftsSQL);
$LOGgroup_shiftsSQL = "shift_id IN('$LOGgroup_shiftsSQL')";
$agent_status_viewable_groups = $row[3];
$agent_status_viewable_groupsSQL = eregi_replace(' ','',$agent_status_viewable_groups);
$agent_status_viewable_groupsSQL = eregi_replace(' ',"','",$agent_status_viewable_groupsSQL);
$agent_status_viewable_groupsSQL = "user_group IN('$agent_status_viewable_groupsSQL')";
$agent_status_view = 0;
if (strlen($agent_status_viewable_groups) > 2)
{$agent_status_view = 1;}
$agent_status_view_time=0;
if ($row[4] == 'Y')
{$agent_status_view_time=1;}
Оказывается, у меня на работе стоит чуть переделанный VICIdial.
Это звездец.
Lure Of Chaos 20.03.2011 23:32 # 0
XYPO3BO3 17.12.2019 17:35 # 0
guest8 17.12.2019 17:38 # −999
bugmenot 21.03.2011 01:02 # 0
RaZeR 21.03.2011 13:33 # 0
Что как бы намекает.
Вопрос - с какой целью нужно "чуть переделывать" системы для калл-центров? Неужели функционала (говнокода?) недостаточно?
bugmenot 21.03.2011 16:02 # 0
ээ, телефонисткам нужен UI же, чтобы действовать в соответствии с кастомизированным сценарием
> функционала (говнокода?)
словечко "функционал" уже подразумевает, кстати
Lure Of Chaos 21.03.2011 22:23 # 0
bugmenot 21.03.2011 22:27 # 0
Lure Of Chaos 21.03.2011 22:30 # 0
-__- 19.12.2019 17:14 # 0
guest8 19.12.2019 17:15 # −999