LICENSE: AGPLv2 # # CHANGELOG: # 131019-0848 - Moved help from admin.php # 131029-2058 - Added auto-restart asterisk help # 131208-1635 - Added help for max dead, dispo and pause time campaign options # 140126-1023 - Added VMAIL_NO_INST options # 140126-2254 - Added voicemail_instructions option for phones # 140404-1104 - Added new DID filter options # 140418-0915 - Added users and campaigns max_inbound_calls # 140423-1637 - Added manual_dial_search_checkbox and hide_call_log_info # 140425-0912 - Added modify_custom_dialplans # 140425-1306 - Added queuemetrics_pause_type # 140509-2211 - Added frozen_server_call_clear # 140521-2020 - Changed alt_number_dialing and added timer_alt_seconds # 140617-2021 - Added vicidial_users wrapup_seconds_override option # 140621-2151 - Added inbound did new filtering options # 140623-2220 - Added wrapup_bypass and wrapup_message change to allow script use # 140625-1934 - Added wrapup_after_hotkey # 140705-0928 - Added custom list fields help section # 140706-0935 - Added callback_time_24hour # 140902-0815 - Added callback_active_limit and callback_active_limit_override # 141123-1019 - Added help for new campaign comments options # 141124-2144 - Added show_previous_callback # 141124-2231 - Added clear_script # 141204-0605 - Added enable_languages # 141204-2209 - Added QXZ function output # 141211-1647 - Added cpd_unknown_action and lists-na_call_url # 141212-0945 - Added user_choose_language, selected_language and language_method # 141230-1503 - Added code for on-the-fly language translations display # 150107-1954 - Added users-ignore_group_on_search # 150111-1542 - Added lists-local_call_time and manual_dial_search_filter # 150117-1439 - Added NAME option to campaigns-status_display_fields # 150120-0636 - Hide non-functional agent_extended_alt_dial campaign feature # 150204-1246 - Small fixes, issue #826 # 150210-0659 - Added LOCK options for manual_dial_search_checkbox # 150217-0657 - Added vmail show on login option # 150218-0800 - Added Callbacks Bulk Move help # 150223-1548 - Added DYN option to am_message_exten # 150307-2317 - Added custom meetme enter options # 150404-0934 - Added enable_did_entry_list_id and related DID options # require("dbconnect_mysqli.php"); require("functions.php"); ############################################# ##### START SYSTEM_SETTINGS LOOKUP ##### $stmt = "SELECT use_non_latin,enable_queuemetrics_logging,enable_vtiger_integration,qc_features_active,outbound_autodial_active,sounds_central_control_active,enable_second_webform,user_territories_active,custom_fields_enabled,admin_web_directory,webphone_url,first_login_trigger,hosted_settings,default_phone_registration_password,default_phone_login_password,default_server_password,test_campaign_calls,active_voicemail_server,voicemail_timezones,default_voicemail_timezone,default_local_gmt,campaign_cid_areacodes_enabled,pllb_grouping_limit,did_ra_extensions_enabled,expanded_list_stats,contacts_enabled,alt_log_server_ip,alt_log_dbname,alt_log_login,alt_log_pass,tables_use_alt_log_db,call_menu_qualify_enabled,admin_list_counts,allow_voicemail_greeting,svn_revision,allow_emails,level_8_disable_add,pass_key,pass_hash_enabled,disable_auto_dial,country_code_list_stats,enable_languages,language_method FROM system_settings;"; $rslt=mysql_to_mysqli($stmt, $link); if ($DB) {echo "$stmt\n";} $qm_conf_ct = mysqli_num_rows($rslt); if ($qm_conf_ct > 0) { $row=mysqli_fetch_row($rslt); $non_latin = $row[0]; $SSenable_queuemetrics_logging = $row[1]; $SSenable_vtiger_integration = $row[2]; $SSqc_features_active = $row[3]; $SSoutbound_autodial_active = $row[4]; $SSsounds_central_control_active = $row[5]; $SSenable_second_webform = $row[6]; $SSuser_territories_active = $row[7]; $SScustom_fields_enabled = $row[8]; $SSadmin_web_directory = $row[9]; $SSwebphone_url = $row[10]; $SSfirst_login_trigger = $row[11]; $SShosted_settings = $row[12]; $SSdefault_phone_registration_password =$row[13]; $SSdefault_phone_login_password = $row[14]; $SSdefault_server_password = $row[15]; $SStest_campaign_calls = $row[16]; $SSactive_voicemail_server = $row[17]; $SSvoicemail_timezones = $row[18]; $SSdefault_voicemail_timezone = $row[19]; $SSdefault_local_gmt = $row[20]; $SScampaign_cid_areacodes_enabled = $row[21]; $SSpllb_grouping_limit = $row[22]; $SSdid_ra_extensions_enabled = $row[23]; $SSexpanded_list_stats = $row[24]; $SScontacts_enabled = $row[25]; $SSalt_log_server_ip = $row[26]; $SSalt_log_dbname = $row[27]; $SSalt_log_login = $row[28]; $SSalt_log_pass = $row[29]; $SStables_use_alt_log_db = $row[30]; $SScall_menu_qualify_enabled = $row[31]; $SSadmin_list_counts = $row[32]; $SSallow_voicemail_greeting = $row[33]; $SSsvn_revision = $row[34]; $SSallow_emails = $row[35]; $SSlevel_8_disable_add = $row[36]; $SSpass_key = $row[37]; $SSpass_hash_enabled = $row[38]; $SSdisable_auto_dial = $row[39]; $SScountry_code_list_stats = $row[40]; $SSenable_languages = $row[41]; $SSlanguage_method = $row[42]; } ##### END SETTINGS LOOKUP ##### ########################################### $PHP_AUTH_USER=$_SERVER['PHP_AUTH_USER']; $PHP_AUTH_PW=$_SERVER['PHP_AUTH_PW']; $PHP_AUTH_PW = preg_replace('/\'|\"|\\\\|;/', '',$PHP_AUTH_PW); $PHP_AUTH_USER = preg_replace('/\'|\"|\\\\|;/', '',$PHP_AUTH_USER); $stmt="SELECT selected_language from vicidial_users where user='$PHP_AUTH_USER';"; if ($DB) {echo "|$stmt|\n";} $rslt=mysql_to_mysqli($stmt, $link); $sl_ct = mysqli_num_rows($rslt); if ($sl_ct > 0) { $row=mysqli_fetch_row($rslt); $VUselected_language = $row[0]; } $user_auth=0; $auth=0; $reports_auth=0; $qc_auth=0; $auth_message = user_authorization($PHP_AUTH_USER,$PHP_AUTH_PW,'QC',1); if ($auth_message == 'GOOD') {$user_auth=1;} if ($user_auth > 0) { $stmt="SELECT count(*) from vicidial_users where user='$PHP_AUTH_USER' and user_level > 7;"; if ($DB) {echo "|$stmt|\n";} $rslt=mysql_to_mysqli($stmt, $link); $row=mysqli_fetch_row($rslt); $auth=$row[0]; $stmt="SELECT count(*) from vicidial_users where user='$PHP_AUTH_USER' and user_level > 6 and view_reports > 0;"; if ($DB) {echo "|$stmt|\n";} $rslt=mysql_to_mysqli($stmt, $link); $row=mysqli_fetch_row($rslt); $reports_auth=$row[0]; $stmt="SELECT count(*) from vicidial_users where user='$PHP_AUTH_USER' and user_level > 1 and qc_enabled > 0;"; if ($DB) {echo "|$stmt|\n";} $rslt=mysql_to_mysqli($stmt, $link); $row=mysqli_fetch_row($rslt); $qc_auth=$row[0]; $reports_only_user=0; $qc_only_user=0; if ( ($reports_auth > 0) and ($auth < 1) ) { $ADD=999999; $reports_only_user=1; } if ( ($qc_auth > 0) and ($reports_auth < 1) and ($auth < 1) ) { if ( ($ADD != '881') and ($ADD != '100000000000000') ) { $ADD=100000000000000; } $qc_only_user=1; } if ( ($qc_auth < 1) and ($reports_auth < 1) and ($auth < 1) ) { $VDdisplayMESSAGE = "You do not have permission to be here"; Header ("Content-type: text/html; charset=utf-8"); echo "$VDdisplayMESSAGE: |$PHP_AUTH_USER|$auth_message|\n"; exit; } } else { $VDdisplayMESSAGE = "Login incorrect, please try again"; if ($auth_message == 'LOCK') { $VDdisplayMESSAGE = "Too many login attempts, try again in 15 minutes"; Header ("Content-type: text/html; charset=utf-8"); echo "$VDdisplayMESSAGE: |$PHP_AUTH_USER|$auth_message|\n"; exit; } Header("WWW-Authenticate: Basic realm=\"CONTACT-CENTER-ADMIN\""); Header("HTTP/1.0 401 Unauthorized"); echo "$VDdisplayMESSAGE: |$PHP_AUTH_USER|$PHP_AUTH_PW|$auth_message|\n"; exit; } ###################### # display the HELP SCREENS ###################### header ("Content-type: text/html; charset=utf-8"); echo "\n"; echo "\n"; echo "\n"; echo "
\n"; echo "
ADMINISTRATION: HELP


\n"; ?> USERS TABLE


-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

- 0) { ?>

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

- 0) { ?>

- 0) { ?>

-

-

-

-

-

- 0) { ?>

-

- 0) { ?>

-

-

-

-

- 0) { ?>

-

-









-

-

-

-

-

-

-

-

-

-call_date, phone_number_dialed, status, user, full_name, campaign_id/in-group, vendor_lead_code, source_id, list_id, gmt_offset_now, phone_code, phone_number, title, first_name, middle_initial, last_name, address1, address2, address3, city, state, province, postal_code, country_code, gender, date_of_birth, alt_phone, email, security_phrase, comments, length_in_sec, user_group, alt_dial/queue_seconds, rank, owner"); ?>

-

-

-

-

-

-



CAMPAIGNS TABLE


-

-

-

-

-

-

-

-

-

-

-

-

-

-

This is where you can set the custom web page frame that the web form will be opened in when the user clicks on the WEB FORM button. Default is _blank."); ?>

- 0) { ?>

Allow Emails"); ?> -

-

- 0) { ?>

-

-

-:
  -
  -
  -
  -
  -
  -
  -
  -
  -
  -
  -
  -
  -
  -
  -
  -
  -
  -
  -
  -

-

-

-

-Number of Active Agents * Auto Dial Level * ( 60 seconds / Dial Timeout ) * Auto Hopper Multiplier
Default is Y."); ?>

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-
-
-
-
-
-
-
-
-
-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

- 0) { ?>

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-
  -
  -
  -
  -
  -
  -
  -
  -

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

Enabling this option will allow the Custom User 3 field to override the Scheduled Callbacks Active Limit. Default is N for disabled."); ?>

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

- 0) { ?>

-

-

-

This allows one of the following actions to be triggered upon a QC agent receiving a new record."); ?>

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-



LISTS TABLE


-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-



Lists Custom Fields Help


-


-

-

-

-

-

-

-

-

-

-

-

-

-

-

-



INBOUND_GROUPS TABLE


-

-

-

-

-

-

-

-
  -
  -
  -
  -
  -
  -
  -
  -
  -
  -
  -
  -
  -
  -



-

-

-

-

-

This option allows you to ignore the list ID Script Override option for calls coming into this In-Group. Setting this to Y will ignore any List ID script settings. Default is N."); ?>

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-: nbdy-avail-to-take-call|vm-goodbye.

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

- 0) { ?>

-

-

-

This allows one of the following actions to be triggered upon a QC agent receiving a new record."); ?>

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-



INBOUND_DIDS TABLE



-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-
-
-
-
-
-


-

-

-

-

-

-

-

-

-

-This section allows you to enable DIDs to have extension overrides for remote agent routed calls through in-groups. The User Start must be a valid Remote Agent User Start or if you want the Extension Override entry to work for all calls then you can use ---ALL--- in the User Start field. If there are multiple entries for the same DID and User Start then the active entries will be used in a round robin method."); ?>



CALL MENU TABLE


-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-
.

-

-





-

-

-

-



REMOTE_AGENTS TABLE


-

-

-

-

-

-

-

-

-

-



EXTENSION_GROUPS TABLE


-

-

-

-



CAMPAIGN_LISTS


"; ?>



CAMPAIGN_STATUSES TABLE


"; if ($SSoutbound_autodial_active > 0) { ?>



CAMPAIGN_HOTKEYS TABLE






LEAD_RECYCLE TABLE






AUTO ALT DIAL STATUSES






AGENT PAUSE CODES






CAMPAIGN PRESETS






CAMPAIGN CID AREACODES






USER_GROUPS TABLE


-

-

-

-

-

-

-

-

-

-

-

-

-

- 5) { ?>

-

-

- 0) { ?>

-

-



SCRIPTS TABLE


-
-
-

-
-
Hello, can I speak with --A--first_name--B-- --A--last_name--B-- please? Well hello --A--title--B-- --A--last_name--B-- how are you today?

This would read----

Hello, can I speak with John Doe please? Well hello Mr. Doe how are you today?

You can also use an iframe to load a separate window within the SCRIPT tab, here is an example with prepopulated variables:"); ?>
<iframe src="http://www.sample.net/test_output.php?lead_id=--A--lead_id--B--&vendor_id=--A--vendor_lead_code--B--&list_id=--A--list_id--B--&gmt_offset_now=--A--gmt_offset_now--B--&phone_code=--A--phone_code--B--&phone_number=--A--phone_number--B--&title=--A--title--B--&first_name=--A--first_name--B--&middle_initial=--A--middle_initial--B--&last_name=--A--last_name--B--&address1=--A--address1--B--&address2=--A--address2--B--&address3=--A--address3--B--&city=--A--city--B--&state=--A--state--B--&province=--A--province--B--&postal_code=--A--postal_code--B--&country_code=--A--country_code--B--&gender=--A--gender--B--&date_of_birth=--A--date_of_birth--B--&alt_phone=--A--alt_phone--B--&email=--A--email--B--&security_phrase=--A--security_phrase--B--&comments=--A--comments--B--&user=--A--user--B--&campaign=--A--campaign--B--&phone_login=--A--phone_login--B--&fronter=--A--fronter--B--&closer=--A--user--B--&group=--A--group--B--&channel_group=--A--group--B--&SQLdate=--A--SQLdate--B--&epoch=--A--epoch--B--&uniqueid=--A--uniqueid--B--&customer_zap_channel=--A--customer_zap_channel--B--&server_ip=--A--server_ip--B--&SIPexten=--A--SIPexten--B--&session_id=--A--session_id--B--&dialed_number=--A--dialed_number--B--&dialed_label=--A--dialed_label--B--&rank=--A--rank--B--&owner=--A--owner--B--&phone=--A--phone--B--&camp_script=--A--camp_script--B--&in_script=--A--in_script--B--&script_width=--A--script_width--B--&script_height=--A--script_height--B--&recording_filename=--A--recording_filename--B--&recording_id=--A--recording_id--B--&user_custom_one=--A--user_custom_one--B--&user_custom_two=--A--user_custom_two--B--&user_custom_three=--A--user_custom_three--B--&user_custom_four=--A--user_custom_four--B--&user_custom_five=--A--user_custom_five--B--&preset_number_a=--A--preset_number_a--B--&preset_number_b=--A--preset_number_b--B--&preset_number_c=--A--preset_number_c--B--&preset_number_d=--A--preset_number_d--B--&preset_number_e=--A--preset_number_e--B--&preset_number_f=--A--preset_number_f--B--&preset_dtmf_a=--A--preset_dtmf_a--B--&preset_dtmf_b=--A--preset_dtmf_b--B--&did_id=--A--did_id--B--&did_extension=--A--did_extension--B--&did_pattern=--A--did_pattern--B--&did_description=--A--did_description--B--&closecallid=--A--closecallid--B--&xfercallid=--A--xfercallid--B--&agent_log_id=--A--agent_log_id--B--&entry_list_id=--A--entry_list_id--B--&call_id=--A--call_id--B--&&user_group=--A--user_group--B--&&" style="width:580;height:290;background-color:transparent;" scrolling="auto" frameborder="0" allowtransparency="true" id="popupFrame" name="popupFrame" width="460" height="290" STYLE="z-index:17"> </iframe>



- 0) { ?>



LEAD_FILTERS TABLE


-
-
-

-
- 4 and called_count < 8 -."); } ?>



CALL TIMES TABLE


-
-
-

-
-
-
-
-
-

-
-
-
-
-



SHIFTS TABLE


-
-

-
-
-
-
-
-



-



MUSIC_ON_HOLD TABLE


-
-
-

-
-
-



TTS_PROMPTS TABLE


-
-
-

-
-
- <break time='1000ms'/>



VOICEMAIL TABLE


-

-

-

-

-

-

-

-

-

-

- 0) { ?>



LIST LOADER FUNCTIONALITY





-

-

-



PHONES TABLE


-

-

-
-
-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-
-
-
-
-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-



SERVERS TABLE


-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-



conf_templates TABLE


-

-

-

-



server_carriers TABLE


-

-

-

-

-

-

-

-

-

-

-

-



CONFERENCES TABLE


-

- 0) { ?>



SERVER_TRUNKS TABLE






SYSTEM_SETTINGS TABLE


-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-
MS_DASH_24HR 2008-06-24 23:59:59 -
US_SLASH_24HR 06/24/2008 23:59:59 -
EU_SLASH_24HR 24/06/2008 23:59:59 -
AL_TEXT_24HR JUN 24 23:59:59 -
MS_DASH_AMPM 2008-06-24 11:59:59 PM -
US_SLASH_AMPM 06/24/2008 11:59:59 PM -
EU_SLASH_AMPM 24/06/2008 11:59:59 PM -
AL_TEXT_AMPM JUN 24 11:59:59 PM -


-
MS_DASH_24HR 2008-06-24 23:59:59 -
US_SLASH_24HR 06/24/2008 23:59:59 -
EU_SLASH_24HR 24/06/2008 23:59:59 -
AL_TEXT_24HR JUN 24 23:59:59 -
MS_DASH_AMPM 2008-06-24 11:59:59 PM -
US_SLASH_AMPM 06/24/2008 11:59:59 PM -
EU_SLASH_AMPM 24/06/2008 11:59:59 PM -
AL_TEXT_AMPM JUN 24 11:59:59 PM -


-
US_DASH 000-000-0000 -
US_PARN (000)000-0000 -
MS_NODS 0000000000 -
UK_DASH 00 0000-0000 -
AU_SPAC 000 000 000 -
IT_DASH 0000-000-000 -
FR_SPAC 00 00 00 00 00 -


-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-



STATUSES TABLE






SCREEN_LABELS TABLE



-

-

-

-

-



STATUS_CATEGORIES TABLE


The Sale Category and Dead Lead Category are both used by the List Suggestion system when analyzing list statistics."); ?>



0) { ?> EMAIL ACCOUNTS




-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-



CUSTOM TEMPLATE MAKER




In order to begin creating your new listloader template, you must first load a lead file that has the layout you wish to create the template for. Click Choose file, and open the file on your computer you wish to use. This will upload a copy to your server and process it to determine the file type and delimiter (for TXT files)."); ?>

-

-

-

-

-

-
.



Maximum System Stats Reports


0) { ?>



QC STATUS CODES


-






-
TIME CLOCK = Time the agent been logged in to the time clock."); ?>
AGENT TIME = Total time on the system (WAIT + TALK + DISPO + PAUSE)."); ?>
WAIT = Time the agent waits for a call."); ?>
TALK = Time the agent talks to a customer or is in dead state (DEAD + CUSTOMER)."); ?>
DISPO = Time the agent uses at the disposition screen (where the agent picks NI, SALE etc)."); ?>
PAUSE = Time the agent is in pause mode (LOGIN + LAGGED + ...)."); ?>
DEAD = Time the agent is in a call where the customer has hung up."); ?>
CUSTOMER = Time the agent is in a live call with a customer."); ?>

LOGIN = The pause code when going from login directly to pause."); ?>
LAGGED = The time the agent had some network problem or similar."); ?>
ANDIAL = This pause code triggers if the agent been on dispo screen for longer than 1000 seconds."); ?>


-
CALLS = Total number of calls sent to the user."); ?>
CIcalls = Total number of call where there was a Human Answer which is set under Admin -> System Statuses."); ?>
DNC/CI% = How much in percent DNC (Do Not Call) per Human Answers."); ?>
System Statuses."); ?>

-

CALLS = Total number of calls sent to the user."); ?>
TIME = Total time of these (PAUSE + WAIT + TALK + DISPO)."); ?>
PAUSE = Amount of time being paused in related to call handling."); ?>
AVG means Average so everything -AVG is for example amount of PAUSE-time divided by total number of calls: (PAUSE / CALLS = PAUSAVG)"); ?>
WAIT = Time the agent waits for a call."); ?>
TALK = Time the agent talks to a customer or is in dead state (DEAD + CUSTOMER)."); ?>
DISPO = Time the agent uses at the disposition screen (where the agent picks NI, SALE etc)."); ?>
DEAD = Time the agent is in a call where the customer has hung up."); ?>
CUSTOMER = Time the agent is in a live call with a customer."); ?>
System Statuses."); ?>

TOTAL = Total time on the system (WAIT + TALK + DISPO + PAUSE)."); ?>
NONPAUSE = Everything except pause (WAIT + TALK + DISPO)."); ?>
PAUSE = Only Pause."); ?>

LOGIN = The pause code when going from login directly to pause."); ?>
LAGGED = The time the agent had some network problem or similar."); ?>
ANDIAL = This pause code triggers if the agent been on dispo screen for longer than 1000 seconds."); ?>








-

-
-
-
-
-
-

-







-

-

-

-

-

-

-

-