Added ig_xfer_list_sort campaign setting
git-svn-id: svn://192.168.202.10@3597 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -1086,7 +1086,8 @@ cid_group_id_two VARCHAR(20) default '---DISABLED---',
|
|||||||
incall_tally_threshold_seconds SMALLINT(5) UNSIGNED default '0',
|
incall_tally_threshold_seconds SMALLINT(5) UNSIGNED default '0',
|
||||||
auto_alt_threshold TINYINT(3) UNSIGNED default '0',
|
auto_alt_threshold TINYINT(3) UNSIGNED default '0',
|
||||||
pause_max_url TEXT,
|
pause_max_url TEXT,
|
||||||
agent_hide_hangup ENUM('Y','N') default 'N'
|
agent_hide_hangup ENUM('Y','N') default 'N',
|
||||||
|
ig_xfer_list_sort ENUM('GROUP_ID_UP','GROUP_ID_DOWN','GROUP_NAME_UP','GROUP_NAME_DOWN','PRIORITY_UP','PRIORITY_DOWN') default 'GROUP_ID_UP'
|
||||||
) ENGINE=MyISAM;
|
) ENGINE=MyISAM;
|
||||||
|
|
||||||
CREATE TABLE vicidial_lists (
|
CREATE TABLE vicidial_lists (
|
||||||
@@ -5079,4 +5080,4 @@ INSERT INTO vicidial_settings_containers(container_id,container_notes,container_
|
|||||||
|
|
||||||
UPDATE system_settings set vdc_agent_api_active='1';
|
UPDATE system_settings set vdc_agent_api_active='1';
|
||||||
|
|
||||||
UPDATE system_settings SET db_schema_version='1657',db_schema_update_date=NOW(),reload_timestamp=NOW();
|
UPDATE system_settings SET db_schema_version='1658',db_schema_update_date=NOW(),reload_timestamp=NOW();
|
||||||
|
|||||||
@@ -1917,3 +1917,7 @@ CREATE TABLE vicidial_dial_cid_log_archive LIKE vicidial_dial_cid_log;
|
|||||||
CREATE UNIQUE INDEX caller_code_date on vicidial_dial_cid_log_archive (caller_code,call_date);
|
CREATE UNIQUE INDEX caller_code_date on vicidial_dial_cid_log_archive (caller_code,call_date);
|
||||||
|
|
||||||
UPDATE system_settings SET db_schema_version='1657',db_schema_update_date=NOW() where db_schema_version < 1657;
|
UPDATE system_settings SET db_schema_version='1657',db_schema_update_date=NOW() where db_schema_version < 1657;
|
||||||
|
|
||||||
|
ALTER TABLE vicidial_campaigns ADD ig_xfer_list_sort ENUM('GROUP_ID_UP','GROUP_ID_DOWN','GROUP_NAME_UP','GROUP_NAME_DOWN','PRIORITY_UP','PRIORITY_DOWN') default 'GROUP_ID_UP';
|
||||||
|
|
||||||
|
UPDATE system_settings SET db_schema_version='1658',db_schema_update_date=NOW() where db_schema_version < 1658;
|
||||||
|
|||||||
@@ -690,10 +690,11 @@
|
|||||||
# 220303-2018 - Changes to some input variable filters
|
# 220303-2018 - Changes to some input variable filters
|
||||||
# 220309-2215 - Fix for issue with pausing when calling agent phone again while already paused
|
# 220309-2215 - Fix for issue with pausing when calling agent phone again while already paused
|
||||||
# 220310-0935 - Added more time-sync detailed logging
|
# 220310-0935 - Added more time-sync detailed logging
|
||||||
|
# 220506-0902 - Added ig_xfer_list_sort campaign setting
|
||||||
#
|
#
|
||||||
|
|
||||||
$version = '2.14-658c';
|
$version = '2.14-659c';
|
||||||
$build = '220310-0935';
|
$build = '220506-0902';
|
||||||
$php_script = 'vicidial.php';
|
$php_script = 'vicidial.php';
|
||||||
$mel=1; # Mysql Error Log enabled = 1
|
$mel=1; # Mysql Error Log enabled = 1
|
||||||
$mysql_log_count=98;
|
$mysql_log_count=98;
|
||||||
@@ -2292,7 +2293,7 @@ else
|
|||||||
$HKstatusnames = substr("$HKstatusnames", 0, -1);
|
$HKstatusnames = substr("$HKstatusnames", 0, -1);
|
||||||
|
|
||||||
##### grab the campaign settings
|
##### grab the campaign settings
|
||||||
$stmt="SELECT 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,agent_pause_codes_active,no_hopper_leads_logins,campaign_allow_inbound,manual_dial_list_id,default_xfer_group,xfer_groups,disable_alter_custphone,display_queue_count,manual_dial_filter,agent_clipboard_copy,use_campaign_dnc,three_way_call_cid,dial_method,three_way_dial_prefix,web_form_target,vtiger_screen_login,agent_allow_group_alias,default_group_alias,quick_transfer_button,prepopulate_transfer_preset,view_calls_in_queue,view_calls_in_queue_launch,call_requeue_button,pause_after_each_call,no_hopper_dialing,agent_dial_owner_only,agent_display_dialable_leads,web_form_address_two,agent_select_territories,crm_popup_login,crm_login_address,timer_action,timer_action_message,timer_action_seconds,start_call_url,dispo_call_url,xferconf_c_number,xferconf_d_number,xferconf_e_number,use_custom_cid,scheduled_callbacks_alert,scheduled_callbacks_count,manual_dial_override,blind_monitor_warning,blind_monitor_message,blind_monitor_filename,timer_action_destination,enable_xfer_presets,hide_xfer_number_to_dial,manual_dial_prefix,customer_3way_hangup_logging,customer_3way_hangup_seconds,customer_3way_hangup_action,ivr_park_call,manual_preview_dial,api_manual_dial,manual_dial_call_time_check,my_callback_option,per_call_notes,agent_lead_search,agent_lead_search_method,queuemetrics_phone_environment,auto_pause_precall,auto_pause_precall_code,auto_resume_precall,manual_dial_cid,custom_3way_button_transfer,callback_days_limit,disable_dispo_screen,disable_dispo_status,screen_labels,status_display_fields,pllb_grouping,pllb_grouping_limit,in_group_dial,in_group_dial_select,pause_after_next_call,owner_populate,manual_dial_lead_id,dead_max,dispo_max,pause_max,dead_max_dispo,dispo_max_dispo,max_inbound_calls,manual_dial_search_checkbox,hide_call_log_info,timer_alt_seconds,wrapup_bypass,wrapup_after_hotkey,callback_active_limit,callback_active_limit_override,comments_all_tabs,comments_dispo_screen,comments_callback_screen,qc_comment_history,show_previous_callback,clear_script,manual_dial_search_filter,web_form_address_three,manual_dial_override_field,status_display_ingroup,customer_gone_seconds,agent_display_fields,manual_dial_timeout,manual_auto_next,manual_auto_show,allow_required_fields,dead_to_dispo,agent_xfer_validation,ready_max_logout,callback_display_days,three_way_record_stop,hangup_xfer_record_start,max_inbound_calls_outcome,manual_auto_next_options,agent_screen_time_display,pause_max_dispo,script_top_dispo,routing_initiated_recordings,dead_trigger_seconds,dead_trigger_action,dead_trigger_repeat,dead_trigger_filename,scheduled_callbacks_force_dial,callback_hours_block,callback_display_days,scheduled_callbacks_timezones_container,three_way_volume_buttons,manual_dial_validation,mute_recordings,leave_vm_no_dispo,leave_vm_message_group_id,campaign_script_two,browser_alert_sound,browser_alert_volume,three_way_record_stop_exception,pause_max_exceptions,transfer_button_launch,leave_3way_start_recording,leave_3way_start_recording_exception,calls_waiting_vl_one,calls_waiting_vl_two,in_man_dial_next_ready_seconds,in_man_dial_next_ready_seconds_override,transfer_no_dispo,local_call_time,pause_max_url,agent_hide_hangup FROM vicidial_campaigns where campaign_id = '$VD_campaign';";
|
$stmt="SELECT 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,agent_pause_codes_active,no_hopper_leads_logins,campaign_allow_inbound,manual_dial_list_id,default_xfer_group,xfer_groups,disable_alter_custphone,display_queue_count,manual_dial_filter,agent_clipboard_copy,use_campaign_dnc,three_way_call_cid,dial_method,three_way_dial_prefix,web_form_target,vtiger_screen_login,agent_allow_group_alias,default_group_alias,quick_transfer_button,prepopulate_transfer_preset,view_calls_in_queue,view_calls_in_queue_launch,call_requeue_button,pause_after_each_call,no_hopper_dialing,agent_dial_owner_only,agent_display_dialable_leads,web_form_address_two,agent_select_territories,crm_popup_login,crm_login_address,timer_action,timer_action_message,timer_action_seconds,start_call_url,dispo_call_url,xferconf_c_number,xferconf_d_number,xferconf_e_number,use_custom_cid,scheduled_callbacks_alert,scheduled_callbacks_count,manual_dial_override,blind_monitor_warning,blind_monitor_message,blind_monitor_filename,timer_action_destination,enable_xfer_presets,hide_xfer_number_to_dial,manual_dial_prefix,customer_3way_hangup_logging,customer_3way_hangup_seconds,customer_3way_hangup_action,ivr_park_call,manual_preview_dial,api_manual_dial,manual_dial_call_time_check,my_callback_option,per_call_notes,agent_lead_search,agent_lead_search_method,queuemetrics_phone_environment,auto_pause_precall,auto_pause_precall_code,auto_resume_precall,manual_dial_cid,custom_3way_button_transfer,callback_days_limit,disable_dispo_screen,disable_dispo_status,screen_labels,status_display_fields,pllb_grouping,pllb_grouping_limit,in_group_dial,in_group_dial_select,pause_after_next_call,owner_populate,manual_dial_lead_id,dead_max,dispo_max,pause_max,dead_max_dispo,dispo_max_dispo,max_inbound_calls,manual_dial_search_checkbox,hide_call_log_info,timer_alt_seconds,wrapup_bypass,wrapup_after_hotkey,callback_active_limit,callback_active_limit_override,comments_all_tabs,comments_dispo_screen,comments_callback_screen,qc_comment_history,show_previous_callback,clear_script,manual_dial_search_filter,web_form_address_three,manual_dial_override_field,status_display_ingroup,customer_gone_seconds,agent_display_fields,manual_dial_timeout,manual_auto_next,manual_auto_show,allow_required_fields,dead_to_dispo,agent_xfer_validation,ready_max_logout,callback_display_days,three_way_record_stop,hangup_xfer_record_start,max_inbound_calls_outcome,manual_auto_next_options,agent_screen_time_display,pause_max_dispo,script_top_dispo,routing_initiated_recordings,dead_trigger_seconds,dead_trigger_action,dead_trigger_repeat,dead_trigger_filename,scheduled_callbacks_force_dial,callback_hours_block,callback_display_days,scheduled_callbacks_timezones_container,three_way_volume_buttons,manual_dial_validation,mute_recordings,leave_vm_no_dispo,leave_vm_message_group_id,campaign_script_two,browser_alert_sound,browser_alert_volume,three_way_record_stop_exception,pause_max_exceptions,transfer_button_launch,leave_3way_start_recording,leave_3way_start_recording_exception,calls_waiting_vl_one,calls_waiting_vl_two,in_man_dial_next_ready_seconds,in_man_dial_next_ready_seconds_override,transfer_no_dispo,local_call_time,pause_max_url,agent_hide_hangup,ig_xfer_list_sort FROM vicidial_campaigns where campaign_id = '$VD_campaign';";
|
||||||
$rslt=mysql_to_mysqli($stmt, $link);
|
$rslt=mysql_to_mysqli($stmt, $link);
|
||||||
if ($mel > 0) {mysql_error_logging($NOW_TIME,$link,$mel,$stmt,'01013',$VD_login,$server_ip,$session_name,$one_mysql_log);}
|
if ($mel > 0) {mysql_error_logging($NOW_TIME,$link,$mel,$stmt,'01013',$VD_login,$server_ip,$session_name,$one_mysql_log);}
|
||||||
if ($DB) {echo "$stmt\n";}
|
if ($DB) {echo "$stmt\n";}
|
||||||
@@ -2473,6 +2474,7 @@ else
|
|||||||
$local_call_time = $row[173];
|
$local_call_time = $row[173];
|
||||||
$pause_max_url = $row[174];
|
$pause_max_url = $row[174];
|
||||||
$agent_hide_hangup = $row[175];
|
$agent_hide_hangup = $row[175];
|
||||||
|
$ig_xfer_list_sort = $row[176];
|
||||||
|
|
||||||
$agent_hide_hangup_ACTIVE=0; $agent_hide_hangup_ACTIVE_style='';
|
$agent_hide_hangup_ACTIVE=0; $agent_hide_hangup_ACTIVE_style='';
|
||||||
if ( ($agent_hide_hangup == 'Y') and ($SSagent_hide_hangup > 0) )
|
if ( ($agent_hide_hangup == 'Y') and ($SSagent_hide_hangup > 0) )
|
||||||
@@ -3123,8 +3125,15 @@ else
|
|||||||
$VARxfergroups="''";
|
$VARxfergroups="''";
|
||||||
if ($allow_closers == 'Y')
|
if ($allow_closers == 'Y')
|
||||||
{
|
{
|
||||||
|
$xfer_list_sortSQL = 'order by group_id';
|
||||||
|
if ($ig_xfer_list_sort == 'GROUP_ID_UP') {$xfer_list_sortSQL = 'order by group_id';}
|
||||||
|
if ($ig_xfer_list_sort == 'GROUP_ID_DOWN') {$xfer_list_sortSQL = 'order by group_id desc';}
|
||||||
|
if ($ig_xfer_list_sort == 'GROUP_NAME_UP') {$xfer_list_sortSQL = 'order by group_name';}
|
||||||
|
if ($ig_xfer_list_sort == 'GROUP_NAME_DOWN') {$xfer_list_sortSQL = 'order by group_name desc';}
|
||||||
|
if ($ig_xfer_list_sort == 'PRIORITY_UP') {$xfer_list_sortSQL = 'order by queue_priority';}
|
||||||
|
if ($ig_xfer_list_sort == 'PRIORITY_DOWN') {$xfer_list_sortSQL = 'order by queue_priority desc';}
|
||||||
$VARxfergroups='';
|
$VARxfergroups='';
|
||||||
$stmt="select group_id,group_name from vicidial_inbound_groups where active = 'Y' and group_id IN($xfer_groups) order by group_id limit 800;";
|
$stmt="SELECT group_id,group_name from vicidial_inbound_groups where active = 'Y' and group_id IN($xfer_groups) $xfer_list_sortSQL limit 800;";
|
||||||
$rslt=mysql_to_mysqli($stmt, $link);
|
$rslt=mysql_to_mysqli($stmt, $link);
|
||||||
if ($mel > 0) {mysql_error_logging($NOW_TIME,$link,$mel,$stmt,'01016',$VD_login,$server_ip,$session_name,$one_mysql_log);}
|
if ($mel > 0) {mysql_error_logging($NOW_TIME,$link,$mel,$stmt,'01016',$VD_login,$server_ip,$session_name,$one_mysql_log);}
|
||||||
if ($DB) {echo "$stmt\n";}
|
if ($DB) {echo "$stmt\n";}
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -1,4 +1,4 @@
|
|||||||
# version: 20220418230401
|
# version: 20220506091101
|
||||||
users-user User ID <QXZ>This field is where you put the users ID number, can be up to 8 digits in length, Must be at least 2 characters in length.</QXZ>
|
users-user User ID <QXZ>This field is where you put the users ID number, can be up to 8 digits in length, Must be at least 2 characters in length.</QXZ>
|
||||||
users-pass Password <QXZ>This field is where you put the users password. Must be at least 2 characters in length. Only letters and numbers are allowed in user passwords. A medium strength user password will be at least 10 characters in length, and a strong user password will be at least 20 characters in length and have letters as well as at least one number. It is recommended that you use a longer password if possible, stringing together several unrelated words with no spaces, and a number somewhere in the string. The maximum size of a password is 100 characters.</QXZ>
|
users-pass Password <QXZ>This field is where you put the users password. Must be at least 2 characters in length. Only letters and numbers are allowed in user passwords. A medium strength user password will be at least 10 characters in length, and a strong user password will be at least 20 characters in length and have letters as well as at least one number. It is recommended that you use a longer password if possible, stringing together several unrelated words with no spaces, and a number somewhere in the string. The maximum size of a password is 100 characters.</QXZ>
|
||||||
users-force_change_password Force Change Password <QXZ>If this option is set to Y then the user will be prompted to change their password the next time they log in to the administration webpage or the agent screen. Default is N.</QXZ>
|
users-force_change_password Force Change Password <QXZ>If this option is set to Y then the user will be prompted to change their password the next time they log in to the administration webpage or the agent screen. Default is N.</QXZ>
|
||||||
@@ -130,6 +130,7 @@ campaigns-allow_emails Allow Emails <QXZ>This is where you can set whether this
|
|||||||
campaigns-allow_chats Allow Chats <QXZ>This is where you can set whether the users of this campaign will be able to conduct chats in addition to receive phone calls.</QXZ>
|
campaigns-allow_chats Allow Chats <QXZ>This is where you can set whether the users of this campaign will be able to conduct chats in addition to receive phone calls.</QXZ>
|
||||||
campaigns-default_xfer_group Default Transfer Group <QXZ>This field is the default In-Group that will be automatically selected when the agent goes to the transfer-conference frame in their agent interface.</QXZ>
|
campaigns-default_xfer_group Default Transfer Group <QXZ>This field is the default In-Group that will be automatically selected when the agent goes to the transfer-conference frame in their agent interface.</QXZ>
|
||||||
campaigns-agent_xfer_validation Agent Transfer In-Group Validation <QXZ>This option involves the agents that show up in the agent selection screen when an agent is transferring a call to another agent using an AGENTDIRECT in-group. Enabling this option will ensure that the agents listed as available to transfer to have selected the AGENTDIRECT in-group that was chosen by the agent originating the transfer. For example, if the originating agent has selected the AGENTDIRECT_2 in-group, then when that agent clicks on the AGENTS link to select another agent to transfer the call to, only agents that have selected to take calls from the AGENTDIRECT_2 in-group will be shown.</QXZ>
|
campaigns-agent_xfer_validation Agent Transfer In-Group Validation <QXZ>This option involves the agents that show up in the agent selection screen when an agent is transferring a call to another agent using an AGENTDIRECT in-group. Enabling this option will ensure that the agents listed as available to transfer to have selected the AGENTDIRECT in-group that was chosen by the agent originating the transfer. For example, if the originating agent has selected the AGENTDIRECT_2 in-group, then when that agent clicks on the AGENTS link to select another agent to transfer the call to, only agents that have selected to take calls from the AGENTDIRECT_2 in-group will be shown.</QXZ>
|
||||||
|
campaigns-ig_xfer_list_sort Transfer In-Group Sort Order <QXZ>This setting allows you to select the order in which the Transfer Inbound Groups are displayed within the Local Closer pull-down menu on the agent screen. GROUP_ID will sort by the Inbound Group ID, GROUP_NAME will sort by the Inbound Group Name, and PRIORITY will sort by the Queue Priority. Selecting an option with UP in it will sort with the lowest alphanumeric value at the top, while selecting an option with DOWN in it will sort with the lowest alphanumeric value at the bottom of the select list. Default is GROUP_ID_UP.</QXZ>
|
||||||
campaigns-xfer_groups Allowed Transfer Groups <QXZ>With these checkbox listings you can select the groups that agents in this campaign can transfer calls to. Allow Closers must be enabled for this option to show up.</QXZ>
|
campaigns-xfer_groups Allowed Transfer Groups <QXZ>With these checkbox listings you can select the groups that agents in this campaign can transfer calls to. Allow Closers must be enabled for this option to show up.</QXZ>
|
||||||
campaigns-campaign_allow_inbound Allow Inbound and Blended <QXZ>This is where you can set whether the users of this campaign will have the option to take inbound calls with this campaign. If you want to do blended inbound and outbound then this must be set to Y. If you only want to do outbound dialing on this campaign set this to N. Default is N.</QXZ>
|
campaigns-campaign_allow_inbound Allow Inbound and Blended <QXZ>This is where you can set whether the users of this campaign will have the option to take inbound calls with this campaign. If you want to do blended inbound and outbound then this must be set to Y. If you only want to do outbound dialing on this campaign set this to N. Default is N.</QXZ>
|
||||||
campaigns-dial_status Dial Status <QXZ>This is where you set the statuses that you are wanting to dial on within the lists that are active for the campaign below. To add another status to dial, select it from the drop-down list and click ADD. To remove one of the dial statuses, click on the REMOVE link next to the status you want to remove.</QXZ>
|
campaigns-dial_status Dial Status <QXZ>This is where you set the statuses that you are wanting to dial on within the lists that are active for the campaign below. To add another status to dial, select it from the drop-down list and click ADD. To remove one of the dial statuses, click on the REMOVE link next to the status you want to remove.</QXZ>
|
||||||
|
|||||||
Reference in New Issue
Block a user