From 24dc1ff66d19f37b9691f4318a2190f895f0b4ed Mon Sep 17 00:00:00 2001 From: mattf Date: Mon, 10 Mar 2008 08:02:30 +0000 Subject: [PATCH] Changed license to AGPLv2 Added VICIDIAL_fix_lead_statuses.pl script git-svn-id: svn://192.168.202.10@788 3d104415-ff17-0410-8863-d5cf3c621b8a --- agc_2-X/trunk/UPGRADE | 22 +- agc_2-X/trunk/agi/VD_amd.agi | 2 +- agc_2-X/trunk/agi/VD_amd_post.agi | 2 +- agc_2-X/trunk/agi/VD_auto_post_VERIFY.agi | 4 +- .../agi/agi-IVR_recording_verification.agi | 2 +- agc_2-X/trunk/agi/agi-VDAD_ALL_inbound.agi | 2 +- agc_2-X/trunk/agi/agi-VDAD_ALL_outbound.agi | 2 +- agc_2-X/trunk/agi/agi-VDAD_pin_IVR.agi | 4 +- agc_2-X/trunk/agi/agi-VDADfixCXFER.agi | 4 +- .../agi/agi-VDADinbound_NI_DNC_CIDlookup.agi | 4 +- agc_2-X/trunk/agi/agi-VDADlisten_DTMF.agi | 4 +- agc_2-X/trunk/agi/agi-VDADselective_CID.agi | 2 +- .../agi/agi-VDADselective_CID_hangup.agi | 4 +- agc_2-X/trunk/agi/agi-dtmf.agi | 2 +- agc_2-X/trunk/agi/agi-record_prompts.agi | 2 + agc_2-X/trunk/agi/call_inbound.agi | 4 +- agc_2-X/trunk/agi/debug_speak.agi | 4 +- agc_2-X/trunk/agi/invalid_speak.agi | 4 +- agc_2-X/trunk/agi/park_CID.agi | 4 +- .../trunk/bin/ADMIN_adjust_GMTnow_on_leads.pl | 4 +- agc_2-X/trunk/bin/ADMIN_area_code_populate.pl | 5 +- agc_2-X/trunk/bin/ADMIN_keepalive_ALL.pl | 2 +- agc_2-X/trunk/bin/ADMIN_restart_roll_logs.pl | 8 +- agc_2-X/trunk/bin/ADMIN_update_server_ip.pl | 4 +- .../trunk/bin/AST_CRON_GSM_SALE_recordings.pl | 4 +- .../trunk/bin/AST_CRON_audio_1_move_VDonly.pl | 4 +- .../trunk/bin/AST_CRON_audio_1_move_mix.pl | 4 +- .../trunk/bin/AST_CRON_audio_2_compress.pl | 4 +- agc_2-X/trunk/bin/AST_CRON_audio_3_ftp.pl | 4 +- .../trunk/bin/AST_CRON_purge_recordings.pl | 4 +- .../trunk/bin/AST_DB_lead_status_change.pl | 2 +- agc_2-X/trunk/bin/AST_DB_optimize.pl | 4 +- agc_2-X/trunk/bin/AST_DB_tz_divide.pl | 4 +- agc_2-X/trunk/bin/AST_SWAMPauto_dial.pl | 2 +- agc_2-X/trunk/bin/AST_VDadapt.pl | 4 +- agc_2-X/trunk/bin/AST_VDauto_dial.pl | 2 +- agc_2-X/trunk/bin/AST_VDauto_dial_FILL.pl | 2 +- agc_2-X/trunk/bin/AST_VDhopper.pl | 2 +- agc_2-X/trunk/bin/AST_VDhopper_MIXtest.pl | 2 +- agc_2-X/trunk/bin/AST_VDremote_agents.pl | 4 +- agc_2-X/trunk/bin/AST_VDsales_export.pl | 6 +- agc_2-X/trunk/bin/AST_agent_daily_SPH.pl | 2 + agc_2-X/trunk/bin/AST_agent_daily_SPHfront.pl | 2 + agc_2-X/trunk/bin/AST_agent_day.pl | 6 +- agc_2-X/trunk/bin/AST_agent_logout.pl | 2 +- agc_2-X/trunk/bin/AST_agent_week.pl | 6 +- agc_2-X/trunk/bin/AST_agent_week_tally.pl | 6 +- agc_2-X/trunk/bin/AST_cleanup_agent_log.pl | 5 +- agc_2-X/trunk/bin/AST_conf_update.pl | 4 +- agc_2-X/trunk/bin/AST_flush_DBqueue.pl | 4 +- .../bin/AST_manager_kill_hung_congested.pl | 12 +- agc_2-X/trunk/bin/AST_manager_listen.pl | 12 +- agc_2-X/trunk/bin/AST_manager_send.pl | 4 +- agc_2-X/trunk/bin/AST_phone_update.pl | 4 +- agc_2-X/trunk/bin/AST_reset_mysql_vars.pl | 5 +- agc_2-X/trunk/bin/AST_send_action_child.pl | 2 +- .../trunk/bin/AST_sourceID_summary_export.pl | 6 +- agc_2-X/trunk/bin/AST_update.pl | 2 +- agc_2-X/trunk/bin/AST_vm_update.pl | 4 +- agc_2-X/trunk/bin/FastAGI_log.pl | 2 +- agc_2-X/trunk/bin/VICIDIAL_DEDUPE_leads.pl | 4 +- .../trunk/bin/VICIDIAL_IN_new_leads_file.pl | 4 +- .../trunk/bin/VICIDIAL_fix_list_statuses.pl | 177 +++++++ .../trunk/bin/build_translation_www_files.pl | 8 +- agc_2-X/trunk/bin/start_asterisk_boot.pl | 5 +- agc_2-X/trunk/docs/LICENSE.txt | 469 +++++++++--------- agc_2-X/trunk/docs/REQUIRED_APPS_INSTALL.txt | 2 +- agc_2-X/trunk/install.pl | 2 +- agc_2-X/trunk/www/agc/active_list_refresh.php | 58 +-- agc_2-X/trunk/www/agc/astguiclient.php | 2 +- agc_2-X/trunk/www/agc/call_log_display.php | 40 +- agc_2-X/trunk/www/agc/conf_exten_check.php | 4 +- agc_2-X/trunk/www/agc/dbconnect.php | 6 +- agc_2-X/trunk/www/agc/inbound_popup.php | 48 +- agc_2-X/trunk/www/agc/live_exten_check.php | 36 +- agc_2-X/trunk/www/agc/manager_send.php | 4 +- agc_2-X/trunk/www/agc/park_calls_display.php | 36 +- agc_2-X/trunk/www/agc/vdc_db_query.php | 2 +- agc_2-X/trunk/www/agc/vicidial.php | 2 +- agc_2-X/trunk/www/agc/voicemail_check.php | 34 +- .../trunk/www/vicidial/AST_CLOSERstats.php | 8 +- agc_2-X/trunk/www/vicidial/AST_VDADstats.php | 8 +- .../www/vicidial/AST_VICIDIAL_hopperlist.php | 8 +- .../www/vicidial/AST_admin_log_display.php | 8 +- .../www/vicidial/AST_agent_disposition.php | 14 +- .../www/vicidial/AST_agent_performance.php | 8 +- .../vicidial/AST_agent_performance_detail.php | 8 +- .../www/vicidial/AST_agent_time_sheet.php | 8 +- .../vicidial/AST_agent_time_sheet_archive.php | 8 +- .../www/vicidial/AST_inboundEXTstats.php | 2 +- .../AST_inboundEXTstats_department.php | 2 +- agc_2-X/trunk/www/vicidial/AST_parkstats.php | 8 +- .../www/vicidial/AST_server_performance.php | 2 +- agc_2-X/trunk/www/vicidial/AST_timeonVDAD.php | 8 +- .../trunk/www/vicidial/AST_timeonVDADall.php | 2 +- .../www/vicidial/AST_timeonVDADallREC.php | 4 +- .../www/vicidial/AST_timeonVDADallSUMMARY.php | 2 +- agc_2-X/trunk/www/vicidial/AST_timeonpark.php | 8 +- agc_2-X/trunk/www/vicidial/admin.php | 5 +- .../trunk/www/vicidial/admin_modify_lead.php | 2 +- .../trunk/www/vicidial/admin_search_lead.php | 12 +- .../www/vicidial/closer-fronter_popup.php | 8 +- .../www/vicidial/closer-fronter_popup2.php | 8 +- agc_2-X/trunk/www/vicidial/closer.php | 8 +- agc_2-X/trunk/www/vicidial/closer_dispo.php | 12 +- agc_2-X/trunk/www/vicidial/closer_popup.php | 12 +- agc_2-X/trunk/www/vicidial/dbconnect.php | 6 +- .../trunk/www/vicidial/group_hourly_stats.php | 8 +- agc_2-X/trunk/www/vicidial/listloader.pl | 9 +- agc_2-X/trunk/www/vicidial/listloaderMAIN.php | 2 +- .../www/vicidial/listloader_rowdisplay.pl | 10 +- .../trunk/www/vicidial/listloader_super.pl | 9 +- agc_2-X/trunk/www/vicidial/log_test.php | 2 +- .../www/vicidial/new_listloader_superL.php | 2 +- agc_2-X/trunk/www/vicidial/phone_stats.php | 2 +- .../trunk/www/vicidial/record_conf_1_hour.php | 8 +- agc_2-X/trunk/www/vicidial/remote_dispo.php | 14 +- .../www/vicidial/spreadsheet_sales_viewer.pl | 9 +- agc_2-X/trunk/www/vicidial/user_stats.php | 8 +- agc_2-X/trunk/www/vicidial/user_status.php | 8 +- agc_2-X/trunk/www/vicidial/vdremote.php | 6 +- .../www/vicidial/vicidial_sales_viewer.php | 4 +- agc_2-X/trunk/www/vicidial/voice_lab.php | 14 +- agc_2-X/trunk/www/vicidial/vtiger_search.php | 8 +- agc_2-X/trunk/www/vicidial/welcome.php | 3 +- 125 files changed, 852 insertions(+), 655 deletions(-) create mode 100644 agc_2-X/trunk/bin/VICIDIAL_fix_list_statuses.pl diff --git a/agc_2-X/trunk/UPGRADE b/agc_2-X/trunk/UPGRADE index ec4a515b..a201a2cc 100644 --- a/agc_2-X/trunk/UPGRADE +++ b/agc_2-X/trunk/UPGRADE @@ -7,37 +7,41 @@ NOTE: Upgrading from 1.1.12-3 to 2.0.1 is at the bottom ########## UPGRADING FROM 2.0.4 TO 2.0.5 ########## -1. install new files: +1. Note the license change from GPLv2 to AGPLv2. This change was made to close + the ASP loophole for code distribution that was present in the GPLv2 + license. Please read the docs/LICENSE.txt file for more information + +2. install new files: perl ./install.pl NOTES: If you have customized any scripts in the bin or agi folders, then make sure you back them up before running the install.pl script. This script will replace existing files in the astguiclient installation. -2. upgrade the MySQL asterisk database: +3. upgrade the MySQL asterisk database: mysql use asterisk \. /path/from/root/extras/upgrade_2.0.5.sql quit -3. Several of the MySQL tables have been changed to a HEAP type to reside in +4. Several of the MySQL tables have been changed to a HEAP type to reside in memory to improve performance. -4. Added the ability for inbound and blended agents to choose their selected +5. Added the ability for inbound and blended agents to choose their selected in-groups without logging out. The new GROUPS link at the top of the agent screen(vicidial.php) can be used when an agent is Paused to change their selected groups and whether they are set to do Blended calling or not. There is also a new log with the details of what groups an agent has selected each time in the user stats page. -5. Queue Priority has been added allowing for the prioritization of one in-group +6. Queue Priority has been added allowing for the prioritization of one in-group over another in-group or outbound campaign(when in blended mode) -6. Drop call action has been added to both inbound and outbound calling. You +7. Drop call action has been added to both inbound and outbound calling. You can now send a call that would drop into an inbound group. The call will still be recorded as a DROP in it's original in-group or campaign, but the lead information will move on to the drop in-group. -7. Audio recording mixing/compression/ftping scripts have been completely +8. Audio recording mixing/compression/ftping scripts have been completely rewritten and separated into different scripts for better fault tolerance. Also, you have the option of compression in to the following formats: WAV, GSM, MP3 and OGG @@ -46,10 +50,10 @@ NOTE: Upgrading from 1.1.12-3 to 2.0.1 is at the bottom - AST_CRON_audio_2_compress.pl - AST_CRON_audio_3_ftp.pl -8. The 8 outbound agi-VDADtransfer scripts are in process of being consolidated +9. The 8 outbound agi-VDADtransfer scripts are in process of being consolidated into a single AGI script: agi-VDAD_ALL_outbound.agi -9. The start of a new QC (Quality Control) feature [non functional right now] +10. The start of a new QC (Quality Control) feature [non functional right now] diff --git a/agc_2-X/trunk/agi/VD_amd.agi b/agc_2-X/trunk/agi/VD_amd.agi index 162bf7d8..1b467b64 100644 --- a/agc_2-X/trunk/agi/VD_amd.agi +++ b/agc_2-X/trunk/agi/VD_amd.agi @@ -18,7 +18,7 @@ # exten => 8369,6,AGI(agi-VDAD_LB_transfer.agi,${EXTEN}) # exten => 8369,7,Hangup # -# Copyright (C) 2007 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2007 Matt Florell LICENSE: AGPLv2 # # changes: # 60206-1434 first build diff --git a/agc_2-X/trunk/agi/VD_amd_post.agi b/agc_2-X/trunk/agi/VD_amd_post.agi index 88691897..07bfbb67 100644 --- a/agc_2-X/trunk/agi/VD_amd_post.agi +++ b/agc_2-X/trunk/agi/VD_amd_post.agi @@ -25,7 +25,7 @@ # exten => 8320,3,AGI(VD_amd_post.agi,${EXTEN}) # exten => 8320,4,Hangup # -# Copyright (C) 2007 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2007 Matt Florell LICENSE: AGPLv2 # # changes: # 60217-1119 first build diff --git a/agc_2-X/trunk/agi/VD_auto_post_VERIFY.agi b/agc_2-X/trunk/agi/VD_auto_post_VERIFY.agi index 85d786a7..3d937289 100644 --- a/agc_2-X/trunk/agi/VD_auto_post_VERIFY.agi +++ b/agc_2-X/trunk/agi/VD_auto_post_VERIFY.agi @@ -1,6 +1,6 @@ #!/usr/bin/perl # -# VD_auto_post_VERIFY.agi version 0.1 *DBI-version* +# VD_auto_post_VERIFY.agi version 2.0.5 *DBI-version* # # NOTE: This script is only used with auto-message campaigns with dynamic data # @@ -14,7 +14,7 @@ #exten => 8320,3,Hangup # # -# Copyright (C) 2006 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # changes: # 60915-1616 - first build diff --git a/agc_2-X/trunk/agi/agi-IVR_recording_verification.agi b/agc_2-X/trunk/agi/agi-IVR_recording_verification.agi index 5eba5c82..bfc4aa26 100644 --- a/agc_2-X/trunk/agi/agi-IVR_recording_verification.agi +++ b/agc_2-X/trunk/agi/agi-IVR_recording_verification.agi @@ -42,7 +42,7 @@ #exten => _83002*,5,Hangup # # -# Copyright (C) 2007 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2007 Matt Florell LICENSE: AGPLv2 # # CHANGELOG # 70912-1105 - First build, non-functional diff --git a/agc_2-X/trunk/agi/agi-VDAD_ALL_inbound.agi b/agc_2-X/trunk/agi/agi-VDAD_ALL_inbound.agi index 48eedd64..1d07d606 100644 --- a/agc_2-X/trunk/agi/agi-VDAD_ALL_inbound.agi +++ b/agc_2-X/trunk/agi/agi-VDAD_ALL_inbound.agi @@ -40,7 +40,7 @@ #exten => 1234,2,AGI(agi-VDAD_ALL_inbound.agi,CID-----LB-----INB-----7274515134-----Closer-----park----------999-----1-----OUTB) #exten => 1234,3,Hangup # -# Copyright (C) 2008 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # changes: # 70828-0924 - First Build diff --git a/agc_2-X/trunk/agi/agi-VDAD_ALL_outbound.agi b/agc_2-X/trunk/agi/agi-VDAD_ALL_outbound.agi index 93db6157..a61b32ec 100644 --- a/agc_2-X/trunk/agi/agi-VDAD_ALL_outbound.agi +++ b/agc_2-X/trunk/agi/agi-VDAD_ALL_outbound.agi @@ -28,7 +28,7 @@ #exten => 8368,4,AGI(agi-VDAD_ALL_outbound.agi,NORMAL-----LB) #exten => 8368,5,Hangup # -# Copyright (C) 2008 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # changes: # 80218-2027 - First Build diff --git a/agc_2-X/trunk/agi/agi-VDAD_pin_IVR.agi b/agc_2-X/trunk/agi/agi-VDAD_pin_IVR.agi index aa628ff1..4310ceb4 100644 --- a/agc_2-X/trunk/agi/agi-VDAD_pin_IVR.agi +++ b/agc_2-X/trunk/agi/agi-VDAD_pin_IVR.agi @@ -1,6 +1,6 @@ #!/usr/bin/perl # -# agi-VDAD_pin_IVR.agi version 0.2 *DBI-version* +# agi-VDAD_pin_IVR.agi version 2.0.5 *DBI-version* # # At the end of a call, the agent transfers customer to this script # @@ -23,7 +23,7 @@ #exten => _83209.,2,AGI(agi-VDAD_pin_IVR.agi,${EXTEN}) #exten => _83209.,3,Hangup # -# Copyright (C) 2007 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # changes: # 60802-1304 - first build diff --git a/agc_2-X/trunk/agi/agi-VDADfixCXFER.agi b/agc_2-X/trunk/agi/agi-VDADfixCXFER.agi index 35d18dcd..dc1046bb 100644 --- a/agc_2-X/trunk/agi/agi-VDADfixCXFER.agi +++ b/agc_2-X/trunk/agi/agi-VDADfixCXFER.agi @@ -1,6 +1,6 @@ #!/usr/bin/perl # -# agi-VDADfixCXFER.agi version 0.4 *DBI-version* +# agi-VDADfixCXFER.agi version 2.0.5 *DBI-version* # # runs when a Consultative transfer is released by the vicidial fronter as the # call arrives on another channel so that the vicidial_live_agents record is @@ -12,7 +12,7 @@ # exten => _8600XXX*.,1,AGI(agi-VDADfixCXFER.agi) # exten => _010*010*010*015*8600XXX*.,1,AGI(agi-VDADfixCXFER.agi) # -# Copyright (C) 2007 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # CHANGELOG: # 60809-1749 - First build diff --git a/agc_2-X/trunk/agi/agi-VDADinbound_NI_DNC_CIDlookup.agi b/agc_2-X/trunk/agi/agi-VDADinbound_NI_DNC_CIDlookup.agi index 6143ecbf..88ab0af1 100644 --- a/agc_2-X/trunk/agi/agi-VDADinbound_NI_DNC_CIDlookup.agi +++ b/agc_2-X/trunk/agi/agi-VDADinbound_NI_DNC_CIDlookup.agi @@ -1,6 +1,6 @@ #!/usr/bin/perl # -# agi-VDADinbound_NI_DNC_CIDlookup.agi version 0.1 *DBI-version* +# agi-VDADinbound_NI_DNC_CIDlookup.agi version 2.0.5 *DBI-version* # # runs when a call comes in from an inbound call. This script will # play a message and take input to automatically change customer lead to NI or DNC. @@ -13,7 +13,7 @@ #exten => 1234,4,AGI(agi-VDADinbound_NI_DNC_CIDlookup.agi) #exten => 1234,5,Hangup # -# Copyright (C) 2006 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # changes: # 60914-1051 - First draft diff --git a/agc_2-X/trunk/agi/agi-VDADlisten_DTMF.agi b/agc_2-X/trunk/agi/agi-VDADlisten_DTMF.agi index 5026cf71..bf389c96 100644 --- a/agc_2-X/trunk/agi/agi-VDADlisten_DTMF.agi +++ b/agc_2-X/trunk/agi/agi-VDADlisten_DTMF.agi @@ -1,6 +1,6 @@ #!/usr/bin/perl # -# agi-VDADlisten_DTMF.agi version 0.3 *DBI-version* +# agi-VDADlisten_DTMF.agi version 2.0.5 *DBI-version* # # To be initiated by an agent so during a call. Agent will click a PIN NUMBER # link on a web form webpage that will Originate a new call to this script @@ -24,7 +24,7 @@ #exten => _83009.,1,AGI(agi-VDADlisten_DTMF.agi,${EXTEN}) #exten => _83009.,2,Hangup # -# Copyright (C) 2007 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # changes: # 60206-1434 first build diff --git a/agc_2-X/trunk/agi/agi-VDADselective_CID.agi b/agc_2-X/trunk/agi/agi-VDADselective_CID.agi index 0e143713..86fc4caf 100644 --- a/agc_2-X/trunk/agi/agi-VDADselective_CID.agi +++ b/agc_2-X/trunk/agi/agi-VDADselective_CID.agi @@ -12,7 +12,7 @@ #exten => _91NXXNXXXXXX,3,Dial(${TRUNKX}/${EXTEN:1},55,tTo) #exten => _91NXXNXXXXXX,4,Hangup # -# Copyright (C) 2006 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # changes: # 60918-1042 - First build diff --git a/agc_2-X/trunk/agi/agi-VDADselective_CID_hangup.agi b/agc_2-X/trunk/agi/agi-VDADselective_CID_hangup.agi index 1260de28..90dae7f5 100644 --- a/agc_2-X/trunk/agi/agi-VDADselective_CID_hangup.agi +++ b/agc_2-X/trunk/agi/agi-VDADselective_CID_hangup.agi @@ -1,6 +1,6 @@ #!/usr/bin/perl # -# agi-VDADselective_CID_hangup.agi version 0.1 *NO DB Connection* +# agi-VDADselective_CID_hangup.agi version 2.0.5 *NO DB Connection* # # Will hangup a call if it is not within the specified area codes # @@ -11,7 +11,7 @@ #exten => 8352,2,Playback(85100001) #exten => 8352,3,Hangup # -# Copyright (C) 2006 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # changes: # 60918-1151 - First build diff --git a/agc_2-X/trunk/agi/agi-dtmf.agi b/agc_2-X/trunk/agi/agi-dtmf.agi index 91cbf375..b2b95eea 100644 --- a/agc_2-X/trunk/agi/agi-dtmf.agi +++ b/agc_2-X/trunk/agi/agi-dtmf.agi @@ -7,7 +7,7 @@ # Accepted values are: 1 2 3 4 5 6 7 8 9 0 # * , # comma means pause for 1 second # -# Copyright (C) 2006 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2006 Matt Florell LICENSE: AGPLv2 # $|=1; diff --git a/agc_2-X/trunk/agi/agi-record_prompts.agi b/agc_2-X/trunk/agi/agi-record_prompts.agi index 35d8fe83..465e721c 100644 --- a/agc_2-X/trunk/agi/agi-record_prompts.agi +++ b/agc_2-X/trunk/agi/agi-record_prompts.agi @@ -29,6 +29,8 @@ # - vm-msgsaved # - vm-goodbye # +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 +# # CHANGELOG # 71226-1303 - Added option to change format GSM/WAV and timeout through flags # diff --git a/agc_2-X/trunk/agi/call_inbound.agi b/agc_2-X/trunk/agi/call_inbound.agi index f3477c03..49078c0e 100644 --- a/agc_2-X/trunk/agi/call_inbound.agi +++ b/agc_2-X/trunk/agi/call_inbound.agi @@ -1,6 +1,6 @@ #!/usr/bin/perl # -# call_inbound.agi version 0.3 *DBI-version* +# call_inbound.agi version 2.0.5 *DBI-version* # # runs at the beginning and ending of every inbound call received # @@ -17,7 +17,7 @@ # # # -# Copyright (C) 2006 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # changes: # 60731-1435 - changed to use DBI-DBD::mysql diff --git a/agc_2-X/trunk/agi/debug_speak.agi b/agc_2-X/trunk/agi/debug_speak.agi index ceeca504..5039bbd3 100644 --- a/agc_2-X/trunk/agi/debug_speak.agi +++ b/agc_2-X/trunk/agi/debug_speak.agi @@ -1,6 +1,6 @@ #!/usr/bin/perl # -# debug_speak.agi version 0.1 +# debug_speak.agi version 2.0.5 # # runs during any extension and speaks the extension sent to it while # printing the extension as well as lots of info about the call to STDERR @@ -11,7 +11,7 @@ #exten => _XXXX,1,AGI(debug_speak.agi,${EXTEN}) #exten => _XXXX,3,Hangup # -# Copyright (C) 2006 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # $V = 1; # set to 1 for verbose mode diff --git a/agc_2-X/trunk/agi/invalid_speak.agi b/agc_2-X/trunk/agi/invalid_speak.agi index 2b7dd9f8..ee7466ab 100644 --- a/agc_2-X/trunk/agi/invalid_speak.agi +++ b/agc_2-X/trunk/agi/invalid_speak.agi @@ -1,6 +1,6 @@ #!/usr/bin/perl # -# invalid_speak.agi version 0.1 +# invalid_speak.agi version 2.0.5 # # runs during an invalid extension and speaks the extension sent to it while printing to STDERR # @@ -28,7 +28,7 @@ #exten => _**XXXX*,3,Hangup # # -# Copyright (C) 2006 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # $V = 0; # set to 1 for verbose mode diff --git a/agc_2-X/trunk/agi/park_CID.agi b/agc_2-X/trunk/agi/park_CID.agi index ef8a0ad5..02b5e730 100644 --- a/agc_2-X/trunk/agi/park_CID.agi +++ b/agc_2-X/trunk/agi/park_CID.agi @@ -1,6 +1,6 @@ #!/usr/bin/perl # -# park_CID.agi version 0.3 *DBI-version* +# park_CID.agi version 2.0.5 *DBI-version* # # runs before the park extension to populate the parked_channels entry with the channel's callerid # @@ -12,7 +12,7 @@ # exten => 8301,3,Playback(park) # exten => 8301,4,Hangup # -# Copyright (C) 2006 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # changes: # 60731-1423 - changed to use DBI-DBD::mysql diff --git a/agc_2-X/trunk/bin/ADMIN_adjust_GMTnow_on_leads.pl b/agc_2-X/trunk/bin/ADMIN_adjust_GMTnow_on_leads.pl index 5028f408..b37e9202 100644 --- a/agc_2-X/trunk/bin/ADMIN_adjust_GMTnow_on_leads.pl +++ b/agc_2-X/trunk/bin/ADMIN_adjust_GMTnow_on_leads.pl @@ -1,13 +1,13 @@ #!/usr/bin/perl -# ADMIN_adjust_GMTnow_on_leads.pl *DBI-version* +# ADMIN_adjust_GMTnow_on_leads.pl verison 2.0.5 # # program goes throught the vicidial_list table and adjusts the gmt_offset_now # field to change it to today's offset if needed because of Daylight Saving Time # # run every time you load leads into the vicidial_list table # -# Copyright (C) 2007 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # # CHANGES diff --git a/agc_2-X/trunk/bin/ADMIN_area_code_populate.pl b/agc_2-X/trunk/bin/ADMIN_area_code_populate.pl index dcf9dab7..c6155817 100644 --- a/agc_2-X/trunk/bin/ADMIN_area_code_populate.pl +++ b/agc_2-X/trunk/bin/ADMIN_area_code_populate.pl @@ -1,7 +1,8 @@ #!/usr/bin/perl -# ADMIN_area_code_populate.pl version 0.3 *DBI-version* # -# Copyright (C) 2006 Joe Johnson,Matt Florell LICENSE: GPLv2 +# ADMIN_area_code_populate.pl version 2.0.5 +# +# Copyright (C) 2008 Joe Johnson,Matt Florell LICENSE: AGPLv2 # # Description: # server application that allows load areacodes into to asterisk list database diff --git a/agc_2-X/trunk/bin/ADMIN_keepalive_ALL.pl b/agc_2-X/trunk/bin/ADMIN_keepalive_ALL.pl index 4ec3f004..cd18d1e7 100644 --- a/agc_2-X/trunk/bin/ADMIN_keepalive_ALL.pl +++ b/agc_2-X/trunk/bin/ADMIN_keepalive_ALL.pl @@ -6,7 +6,7 @@ # Replaces all other ADMIN_keepalive scripts # Uses /etc/astguiclient.conf file to know which processes to keepalive # -# Copyright (C) 2008 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # # 61011-1348 - first build diff --git a/agc_2-X/trunk/bin/ADMIN_restart_roll_logs.pl b/agc_2-X/trunk/bin/ADMIN_restart_roll_logs.pl index 3fc0c12b..6d9567bf 100644 --- a/agc_2-X/trunk/bin/ADMIN_restart_roll_logs.pl +++ b/agc_2-X/trunk/bin/ADMIN_restart_roll_logs.pl @@ -1,8 +1,12 @@ #!/usr/bin/perl -# ADMIN_restart_roll_logs.pl - script to roll the Asterisk logs on machine restart +# +# ADMIN_restart_roll_logs.pl version 2.0.5 +# +# script to roll the Asterisk logs on machine restart +# # have this run on the astersik server # -# Copyright (C) 2006 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time); diff --git a/agc_2-X/trunk/bin/ADMIN_update_server_ip.pl b/agc_2-X/trunk/bin/ADMIN_update_server_ip.pl index 2ce4ba30..a3291a92 100644 --- a/agc_2-X/trunk/bin/ADMIN_update_server_ip.pl +++ b/agc_2-X/trunk/bin/ADMIN_update_server_ip.pl @@ -1,12 +1,12 @@ #!/usr/bin/perl - +# # ADMIN_update_server_ip.pl - updates IP address in DB and conf file # # This script is designed to update all database tables and the local # astguiclient.conf file to reflect a change in IP address. The script will # automatically default to the first eth address in the ifconfig output. # -# Copyright (C) 2007 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # CHANGELOG # 71205-2144 - added display of extensions.conf example for call routing diff --git a/agc_2-X/trunk/bin/AST_CRON_GSM_SALE_recordings.pl b/agc_2-X/trunk/bin/AST_CRON_GSM_SALE_recordings.pl index c4a2dc7d..75e1ae72 100644 --- a/agc_2-X/trunk/bin/AST_CRON_GSM_SALE_recordings.pl +++ b/agc_2-X/trunk/bin/AST_CRON_GSM_SALE_recordings.pl @@ -1,6 +1,6 @@ #!/usr/bin/perl # -# AST_CRON_GSM_SALE_recordings.pl +# AST_CRON_GSM_SALE_recordings.pl version 2.0.5 # # IMPORTANT!!! used to delete recordings!!! # @@ -13,7 +13,7 @@ # This program assumes that recordings are saved as .wav # should be easy to change this code if you use .gsm instead # -# Copyright (C) 2007 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # # 1112-1245 - first build diff --git a/agc_2-X/trunk/bin/AST_CRON_audio_1_move_VDonly.pl b/agc_2-X/trunk/bin/AST_CRON_audio_1_move_VDonly.pl index e8a601eb..96349e9e 100644 --- a/agc_2-X/trunk/bin/AST_CRON_audio_1_move_VDonly.pl +++ b/agc_2-X/trunk/bin/AST_CRON_audio_1_move_VDonly.pl @@ -25,7 +25,7 @@ # This program assumes that recordings are saved by Asterisk as .wav # should be easy to change this code if you use .gsm instead # -# Copyright (C) 2008 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # # 80302-1958 - First Build @@ -155,7 +155,7 @@ foreach(@FILES) $size2 = (-s "$dir1/$FILES[$i]"); if ($DBX) {print "$FILES[$i] $size2\n\n";} - if ( ($FILES[$i] !~ /out\.wav|out\.gsm/i) && ($size1 eq $size2) && (length($FILES[$i]) > 4)) + if ( ($FILES[$i] !~ /out\.wav|out\.gsm|lost\+found/i) && ($size1 eq $size2) && (length($FILES[$i]) > 4)) { $INfile = $FILES[$i]; $OUTfile = $FILES[$i]; diff --git a/agc_2-X/trunk/bin/AST_CRON_audio_1_move_mix.pl b/agc_2-X/trunk/bin/AST_CRON_audio_1_move_mix.pl index c86bad40..f4672606 100644 --- a/agc_2-X/trunk/bin/AST_CRON_audio_1_move_mix.pl +++ b/agc_2-X/trunk/bin/AST_CRON_audio_1_move_mix.pl @@ -24,7 +24,7 @@ # This program assumes that recordings are saved by Asterisk as .wav # should be easy to change this code if you use .gsm instead # -# Copyright (C) 2008 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # # 80302-1958 - First Build @@ -176,7 +176,7 @@ foreach(@FILES) $size2 = (-s "$dir1/$FILES[$i]"); if ($DBX) {print "$FILES[$i] $size2\n\n";} - if ( ($FILES[$i] !~ /out\.wav|out\.gsm/i) && ($size1 eq $size2) && (length($FILES[$i]) > 4)) + if ( ($FILES[$i] !~ /out\.wav|out\.gsm|lost\+found/i) && ($size1 eq $size2) && (length($FILES[$i]) > 4)) { $INfile = $FILES[$i]; $OUTfile = $FILES[$i]; diff --git a/agc_2-X/trunk/bin/AST_CRON_audio_2_compress.pl b/agc_2-X/trunk/bin/AST_CRON_audio_2_compress.pl index 08e46cfc..4e864b35 100644 --- a/agc_2-X/trunk/bin/AST_CRON_audio_2_compress.pl +++ b/agc_2-X/trunk/bin/AST_CRON_audio_2_compress.pl @@ -25,7 +25,7 @@ # # This program assumes that recordings are saved by Asterisk as .wav # -# Copyright (C) 2008 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # # 80302-1958 - First Build @@ -212,7 +212,7 @@ foreach(@FILES) $size2 = (-s "$dir2/$FILES[$i]"); if ($DBX) {print "$FILES[$i] $size2\n\n";} - if ( ($FILES[$i] !~ /out\.|in\./i) && ($size1 eq $size2) && (length($FILES[$i]) > 4)) + if ( ($FILES[$i] !~ /out\.|in\.|lost\+found/i) && ($size1 eq $size2) && (length($FILES[$i]) > 4)) { $recording_id=''; $ALLfile = $FILES[$i]; diff --git a/agc_2-X/trunk/bin/AST_CRON_audio_3_ftp.pl b/agc_2-X/trunk/bin/AST_CRON_audio_3_ftp.pl index 3133bc79..f0e3e408 100644 --- a/agc_2-X/trunk/bin/AST_CRON_audio_3_ftp.pl +++ b/agc_2-X/trunk/bin/AST_CRON_audio_3_ftp.pl @@ -26,7 +26,7 @@ # # This program assumes that recordings are saved by Asterisk as .wav # -# Copyright (C) 2008 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # # 80302-1958 - First Build @@ -201,7 +201,7 @@ foreach(@FILES) $size2 = (-s "$dir2/$FILES[$i]"); if ($DBX) {print "$FILES[$i] $size2\n\n";} - if ( ($FILES[$i] !~ /out\.|in\./i) && ($size1 eq $size2) && (length($FILES[$i]) > 4)) + if ( ($FILES[$i] !~ /out\.|in\.|lost\+found/i) && ($size1 eq $size2) && (length($FILES[$i]) > 4)) { $recording_id=''; $ALLfile = $FILES[$i]; diff --git a/agc_2-X/trunk/bin/AST_CRON_purge_recordings.pl b/agc_2-X/trunk/bin/AST_CRON_purge_recordings.pl index 1587cc5c..e3b25a45 100644 --- a/agc_2-X/trunk/bin/AST_CRON_purge_recordings.pl +++ b/agc_2-X/trunk/bin/AST_CRON_purge_recordings.pl @@ -1,6 +1,6 @@ #!/usr/bin/perl # -# AST_CRON_purge_recordings.pl +# AST_CRON_purge_recordings.pl version 2.0.5 # # IMPORTANT!!! used to delete recordings!!! # @@ -14,7 +14,7 @@ # This program assumes that recordings are saved as .wav # should be easy to change this code if you use .gsm instead # -# Copyright (C) 2007 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # # 70917-1339 - first build diff --git a/agc_2-X/trunk/bin/AST_DB_lead_status_change.pl b/agc_2-X/trunk/bin/AST_DB_lead_status_change.pl index 7b49e23d..37bb2cbb 100644 --- a/agc_2-X/trunk/bin/AST_DB_lead_status_change.pl +++ b/agc_2-X/trunk/bin/AST_DB_lead_status_change.pl @@ -6,7 +6,7 @@ # OPTIONAL!!! CUSTOMIZE THIS SCRIPT FIRST!!! # - changes status of leads as crontab script # -# Copyright (C) 2008 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # CHANGES # 80114-1150 - first build diff --git a/agc_2-X/trunk/bin/AST_DB_optimize.pl b/agc_2-X/trunk/bin/AST_DB_optimize.pl index 4436675c..8e80de10 100644 --- a/agc_2-X/trunk/bin/AST_DB_optimize.pl +++ b/agc_2-X/trunk/bin/AST_DB_optimize.pl @@ -1,13 +1,13 @@ #!/usr/bin/perl # -# AST_DB_optimize.pl version 0.2 *DBI-version* +# AST_DB_optimize.pl version 2.0.5 *DBI-version* # # DESCRIPTION: # optimizes the tables used in the asterisk MySQL database # # It is recommended that you run this program on the local Asterisk machine # -# Copyright (C) 2006 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # CHANGES # 60717-1242 - changed to DBI by Marin Blu diff --git a/agc_2-X/trunk/bin/AST_DB_tz_divide.pl b/agc_2-X/trunk/bin/AST_DB_tz_divide.pl index a8f1c8e5..81d18f38 100644 --- a/agc_2-X/trunk/bin/AST_DB_tz_divide.pl +++ b/agc_2-X/trunk/bin/AST_DB_tz_divide.pl @@ -1,6 +1,6 @@ #!/usr/bin/perl # -# AST_DB_tz_divide.pl version 2.0.4 *DBI-version* +# AST_DB_tz_divide.pl version 2.0.5 *DBI-version* # # DESCRIPTION: # OPTIONAL!!! CUSTOMIZE THIS SCRIPT FIRST!!! @@ -10,7 +10,7 @@ # # It is recommended that you run this program on the local Asterisk machine # -# Copyright (C) 2007 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # CHANGES # 71106-0250 - first build diff --git a/agc_2-X/trunk/bin/AST_SWAMPauto_dial.pl b/agc_2-X/trunk/bin/AST_SWAMPauto_dial.pl index 28bd26e1..613f0817 100644 --- a/agc_2-X/trunk/bin/AST_SWAMPauto_dial.pl +++ b/agc_2-X/trunk/bin/AST_SWAMPauto_dial.pl @@ -18,7 +18,7 @@ # exten => 834562311,2,Playback(gettysburgaddress) # exten => 834562311,3,Hangup # -# Copyright (C) 2008 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # changes: # 50708-1533 - First version diff --git a/agc_2-X/trunk/bin/AST_VDadapt.pl b/agc_2-X/trunk/bin/AST_VDadapt.pl index 448a88b6..2c5c99ed 100644 --- a/agc_2-X/trunk/bin/AST_VDadapt.pl +++ b/agc_2-X/trunk/bin/AST_VDadapt.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl # -# AST_VDadapt.pl version 2.0.4 *DBI-version* +# AST_VDadapt.pl version 2.0.5 # # DESCRIPTION: # adjusts the auto_dial_level for vicidial adaptive-predictive campaigns. # -# Copyright (C) 2007 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # CHANGELOG # 60823-1302 - First build from AST_VDhopper.pl diff --git a/agc_2-X/trunk/bin/AST_VDauto_dial.pl b/agc_2-X/trunk/bin/AST_VDauto_dial.pl index c2995f78..1f91f5de 100644 --- a/agc_2-X/trunk/bin/AST_VDauto_dial.pl +++ b/agc_2-X/trunk/bin/AST_VDauto_dial.pl @@ -25,7 +25,7 @@ # It is good practice to keep this program running by placing the associated # KEEPALIVE script running every minute to ensure this program is always running # -# Copyright (C) 2008 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # CHANGELOG: # 50125-1201 - Changed dial timeout to 120 seconds from 180 seconds diff --git a/agc_2-X/trunk/bin/AST_VDauto_dial_FILL.pl b/agc_2-X/trunk/bin/AST_VDauto_dial_FILL.pl index 42beb56b..c66af54a 100644 --- a/agc_2-X/trunk/bin/AST_VDauto_dial_FILL.pl +++ b/agc_2-X/trunk/bin/AST_VDauto_dial_FILL.pl @@ -12,7 +12,7 @@ # # Should only be run on one server in a multi-server Asterisk/VICIDIAL cluster # -# Copyright (C) 2008 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # CHANGELOG: # 61115-1246 - First build, framework setup, non-functional diff --git a/agc_2-X/trunk/bin/AST_VDhopper.pl b/agc_2-X/trunk/bin/AST_VDhopper.pl index 7cd247bb..1bd1c6de 100644 --- a/agc_2-X/trunk/bin/AST_VDhopper.pl +++ b/agc_2-X/trunk/bin/AST_VDhopper.pl @@ -23,7 +23,7 @@ # a minute, you may want to play with the variables below to streamline for # your usage # -# Copyright (C) 2008 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # CHANGELOG # 50810-1613 - Added database server variable definitions lookup diff --git a/agc_2-X/trunk/bin/AST_VDhopper_MIXtest.pl b/agc_2-X/trunk/bin/AST_VDhopper_MIXtest.pl index 39cb1ce6..6367a227 100644 --- a/agc_2-X/trunk/bin/AST_VDhopper_MIXtest.pl +++ b/agc_2-X/trunk/bin/AST_VDhopper_MIXtest.pl @@ -23,7 +23,7 @@ # a minute, you may want to play with the variables below to streamline for # your usage # -# Copyright (C) 2008 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # CHANGELOG # 50810-1613 - Added database server variable definitions lookup diff --git a/agc_2-X/trunk/bin/AST_VDremote_agents.pl b/agc_2-X/trunk/bin/AST_VDremote_agents.pl index 594c455d..74949d75 100644 --- a/agc_2-X/trunk/bin/AST_VDremote_agents.pl +++ b/agc_2-X/trunk/bin/AST_VDremote_agents.pl @@ -1,6 +1,6 @@ #!/usr/bin/perl # -# AST_VDremote_agents.pl version 2.0.3 *DBI-version* +# AST_VDremote_agents.pl version 2.0.5 *DBI-version* # # DESCRIPTION: # uses Net::MySQL to keep remote agents logged in to the VICIDIAL system @@ -19,7 +19,7 @@ # It is good practice to keep this program running by placing the associated # KEEPALIVE script running every minute to ensure this program is always running # -# Copyright (C) 2008 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # CHANGELOG: # 50215-0954 - First version of script diff --git a/agc_2-X/trunk/bin/AST_VDsales_export.pl b/agc_2-X/trunk/bin/AST_VDsales_export.pl index 4f4b1a8a..53ecf65e 100644 --- a/agc_2-X/trunk/bin/AST_VDsales_export.pl +++ b/agc_2-X/trunk/bin/AST_VDsales_export.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl - -# AST_VDsales_export.pl version: 2.0.4 +# +# AST_VDsales_export.pl version: 2.0.5 # # This script is designed to gather sales for a VICIDIAL Outbound-only campaign and # post them to a directory # -# Copyright (C) 2007 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # CHANGES # 61219-1118 - First version diff --git a/agc_2-X/trunk/bin/AST_agent_daily_SPH.pl b/agc_2-X/trunk/bin/AST_agent_daily_SPH.pl index b310b83a..bb29cab1 100644 --- a/agc_2-X/trunk/bin/AST_agent_daily_SPH.pl +++ b/agc_2-X/trunk/bin/AST_agent_daily_SPH.pl @@ -11,6 +11,8 @@ # Place in the crontab and run every night at 02:00AM for the previous day's stats # 0 2 * * * /home/cron/AST_agent_daily_SPH.pl # +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 +# # CHANGES # 80114-1221 - First version # 80116-0941 - only print agents with week and month hours of 0 to PIPE file diff --git a/agc_2-X/trunk/bin/AST_agent_daily_SPHfront.pl b/agc_2-X/trunk/bin/AST_agent_daily_SPHfront.pl index cc77c38a..cf9dfb0a 100644 --- a/agc_2-X/trunk/bin/AST_agent_daily_SPHfront.pl +++ b/agc_2-X/trunk/bin/AST_agent_daily_SPHfront.pl @@ -11,6 +11,8 @@ # Place in the crontab and run every night at 02:00AM for the previous day's stats # 0 2 * * * /home/cron/AST_agent_daily_SPH.pl # +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 +# # CHANGES # 80114-1221 - First version # 80116-0941 - only print agents with week and month hours of 0 to PIPE file diff --git a/agc_2-X/trunk/bin/AST_agent_day.pl b/agc_2-X/trunk/bin/AST_agent_day.pl index b3469834..848a7d9b 100644 --- a/agc_2-X/trunk/bin/AST_agent_day.pl +++ b/agc_2-X/trunk/bin/AST_agent_day.pl @@ -1,6 +1,6 @@ #!/usr/bin/perl - -# AST_agent_day.pl +# +# AST_agent_day.pl version 2.0.5 # # This script is designed to gather stats for all agent activity over the course # of a day and print it in an ASCI text file to be placed @@ -9,6 +9,8 @@ # Place in the crontab and run every night at 23:59 # 59 23 * * * /home/cron/AST_agent_day.pl # +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 +# # CHANGES # 60517-1100 - First version # 60715-2325 - changed to use /etc/astguiclient.conf for configs diff --git a/agc_2-X/trunk/bin/AST_agent_logout.pl b/agc_2-X/trunk/bin/AST_agent_logout.pl index a5ea01a4..30ca85aa 100644 --- a/agc_2-X/trunk/bin/AST_agent_logout.pl +++ b/agc_2-X/trunk/bin/AST_agent_logout.pl @@ -21,7 +21,7 @@ # 15 16 * * 6 /usr/share/astguiclient/AST_agent_logout.pl --debugX # # -# Copyright (C) 2008 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # CHANGELOG # 80112-0330 - First Build diff --git a/agc_2-X/trunk/bin/AST_agent_week.pl b/agc_2-X/trunk/bin/AST_agent_week.pl index dc6fc4f6..a00c55bb 100644 --- a/agc_2-X/trunk/bin/AST_agent_week.pl +++ b/agc_2-X/trunk/bin/AST_agent_week.pl @@ -1,11 +1,13 @@ #!/usr/bin/perl - -# AST_agent_week.pl +# +# AST_agent_week.pl version 2.0.5 # # This script is designed to gather stats for all agent activity over the course # of a week(Sunday to Saturday) and print it in an ASCI text file to be placed # on a web server for viewing. # +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 +# # CHANGES # 60517-1100 - First version # 60715-2325 - changed to use /etc/astguiclient.conf for configs diff --git a/agc_2-X/trunk/bin/AST_agent_week_tally.pl b/agc_2-X/trunk/bin/AST_agent_week_tally.pl index 090537c6..98bef4f5 100644 --- a/agc_2-X/trunk/bin/AST_agent_week_tally.pl +++ b/agc_2-X/trunk/bin/AST_agent_week_tally.pl @@ -1,6 +1,6 @@ #!/usr/bin/perl - -# AST_agent_week_tally.pl +# +# AST_agent_week_tally.pl version 2.0.5 # # This script is designed to gather stats for all agent activity over the course # of a week and print it in an ASCI text file to be placed @@ -9,6 +9,8 @@ # Place in the crontab and run every Saturday night at 23:59 # 59 23 6 * * /home/cron/AST_agent_day.pl # +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 +# # CHANGES # 60517-1100 - First version # 60715-2325 - changed to use /etc/astguiclient.conf for configs diff --git a/agc_2-X/trunk/bin/AST_cleanup_agent_log.pl b/agc_2-X/trunk/bin/AST_cleanup_agent_log.pl index 6e5d7e3f..96772143 100644 --- a/agc_2-X/trunk/bin/AST_cleanup_agent_log.pl +++ b/agc_2-X/trunk/bin/AST_cleanup_agent_log.pl @@ -1,6 +1,6 @@ #!/usr/bin/perl # -# AST_cleanup_agent_log.pl version 0.3 *** DBI version *** +# AST_cleanup_agent_log.pl version 2.0.5 # # DESCRIPTION: # to be run frequently to clean up the vicidial_agent_log to fix erroneous time @@ -10,11 +10,12 @@ # # This program only needs to be run by one server # -# Copyright (C) 2006 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # CHANGES # 60711-0945 - changed to DBI by Marin Blu # 60715-2301 - changed to use /etc/astguiclient.conf for configs +# # constants $COUNTER_OUTPUT=1; # set to 1 to display the counter as the script runs diff --git a/agc_2-X/trunk/bin/AST_conf_update.pl b/agc_2-X/trunk/bin/AST_conf_update.pl index e8ae8b87..6558ed25 100644 --- a/agc_2-X/trunk/bin/AST_conf_update.pl +++ b/agc_2-X/trunk/bin/AST_conf_update.pl @@ -1,6 +1,6 @@ #!/usr/bin/perl # -# AST_conf_update.pl version 0.4 *DBI-version* +# AST_conf_update.pl version 2.0.5 *DBI-version* # # DESCRIPTION: # uses the Asterisk Manager interface and Net::MySQL to update whether a conference @@ -24,7 +24,7 @@ # more than this either change the cron when this script is run or change the # wait interval below # -# Copyright (C) 2006 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # 50810-1532 - Added database server variable definitions lookup # 50823-1456 - Added commandline arguments for debug at runtime diff --git a/agc_2-X/trunk/bin/AST_flush_DBqueue.pl b/agc_2-X/trunk/bin/AST_flush_DBqueue.pl index 78571352..913bf541 100644 --- a/agc_2-X/trunk/bin/AST_flush_DBqueue.pl +++ b/agc_2-X/trunk/bin/AST_flush_DBqueue.pl @@ -1,6 +1,6 @@ #!/usr/bin/perl # -# AST_flush_DBqueue.pl version 0.3 *DBI-version* +# AST_flush_DBqueue.pl version 2.0.5 # # DESCRIPTION: # - clears out mysql records for this server for the ACQS vicidial_manager table @@ -8,7 +8,7 @@ # # It is recommended that you run this program on the local Asterisk machine # -# Copyright (C) 2006 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # CHANGES # 60717-1214 - changed to DBI by Marin Blu diff --git a/agc_2-X/trunk/bin/AST_manager_kill_hung_congested.pl b/agc_2-X/trunk/bin/AST_manager_kill_hung_congested.pl index 38fb2d0d..62807549 100644 --- a/agc_2-X/trunk/bin/AST_manager_kill_hung_congested.pl +++ b/agc_2-X/trunk/bin/AST_manager_kill_hung_congested.pl @@ -1,6 +1,6 @@ #!/usr/bin/perl # -# AST_manager_kill_hung_congested.pl version 0.3 *DBI-version* +# AST_manager_kill_hung_congested.pl version 2.0.5 # # Part of the Asterisk Central Queue System (ACQS) # @@ -9,17 +9,9 @@ # # For the client program to work in ACQS mode, this program must be running # -# For this program to work you need to have the "asterisk" MySQL database -# created and create the tables listed in the CONF_MySQL.txt file, also make sure -# that the machine running this program has read/write/update/delete access -# to that database -# -# In your Asterisk server setup you also need to have several things activated -# and defined. See the CONF_Asterisk.txt file for details -# # put this in the cron to run every minute # -# Copyright (C) 2006 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # CHANGES # 50823-1525 - Added commandline debug options with debug printouts diff --git a/agc_2-X/trunk/bin/AST_manager_listen.pl b/agc_2-X/trunk/bin/AST_manager_listen.pl index c788e2b5..4e0a795e 100644 --- a/agc_2-X/trunk/bin/AST_manager_listen.pl +++ b/agc_2-X/trunk/bin/AST_manager_listen.pl @@ -1,6 +1,6 @@ #!/usr/bin/perl # -# AST_manager_listen.pl version 2.0.4 *DBI-version* +# AST_manager_listen.pl version 2.0.5 *DBI-version* # # Part of the Asterisk Central Queue System (ACQS) # @@ -14,16 +14,8 @@ # look for certain events and based upon either the uniqueid or the callerid of # the call update the status and information of an action record in the # vicidial_manager table of the asterisk MySQL database. -# -# For this program to work you need to have the "asterisk" MySQL database -# created and create the tables listed in the CONF_MySQL.txt file, also make sure -# that the machine running this program has read/write/update/delete access -# to that database -# -# In your Asterisk server setup you also need to have several things activated -# and defined. See the CONF_Asterisk.txt file for details # -# Copyright (C) 2006 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # CHANGES # 50322-1300 - changed callerid parsing to remove quotes and number diff --git a/agc_2-X/trunk/bin/AST_manager_send.pl b/agc_2-X/trunk/bin/AST_manager_send.pl index 402d08fc..82d0db26 100644 --- a/agc_2-X/trunk/bin/AST_manager_send.pl +++ b/agc_2-X/trunk/bin/AST_manager_send.pl @@ -1,6 +1,6 @@ #!/usr/bin/perl # -# AST_manager_send.pl version 0.3 *DBI-version* +# AST_manager_send.pl version 2.0.5 # # Part of the Asterisk Central Queue System (ACQS) # @@ -16,7 +16,7 @@ # scalability over just using a single process. Also, this means that a single # action execution lock cannot bring the entire system down. # -# Copyright (C) 2006 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # CHANGES # 50823-1514 - Added commandline debug options with debug printouts diff --git a/agc_2-X/trunk/bin/AST_phone_update.pl b/agc_2-X/trunk/bin/AST_phone_update.pl index c7b80e9f..cb8f84cd 100644 --- a/agc_2-X/trunk/bin/AST_phone_update.pl +++ b/agc_2-X/trunk/bin/AST_phone_update.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl # -# AST_phone_update.pl version 2.0.4 *DBI-version* +# AST_phone_update.pl version 2.0.5 *DBI-version* # # DESCRIPTION: # checks the registered IP address of the phone and updates the phones table # -# Copyright (C) 2007 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # 70521-1529 - first build # diff --git a/agc_2-X/trunk/bin/AST_reset_mysql_vars.pl b/agc_2-X/trunk/bin/AST_reset_mysql_vars.pl index 7f88464e..1aaf33b9 100644 --- a/agc_2-X/trunk/bin/AST_reset_mysql_vars.pl +++ b/agc_2-X/trunk/bin/AST_reset_mysql_vars.pl @@ -1,6 +1,6 @@ #!/usr/bin/perl # -# AST_reset_mysql_vars.pl version 0.3 *DBI-version* +# AST_reset_mysql_vars.pl version 2.0.5 # # !!! DO NOT RUN THIS WHILE THERE ARE ACTIVE CALLS ON THE ASTERISK SERVER !!! # @@ -8,8 +8,9 @@ # clears out mysql records for this server # # It is recommended that you run this program on the local Asterisk machine +# You should place a command to run this in the /etc/rc.d/rc.local file # -# Copyright (C) 2006 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # CHANGES # 60717-1237 - changed to DBI by Marin Blu diff --git a/agc_2-X/trunk/bin/AST_send_action_child.pl b/agc_2-X/trunk/bin/AST_send_action_child.pl index 03d49395..105c7cc6 100644 --- a/agc_2-X/trunk/bin/AST_send_action_child.pl +++ b/agc_2-X/trunk/bin/AST_send_action_child.pl @@ -14,7 +14,7 @@ # to be executed. connect to the manager interface, send the action and logoff # then exit. # -# Copyright (C) 2006 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # CHANGES # 50810-1547 - Added database server variable definitions lookup diff --git a/agc_2-X/trunk/bin/AST_sourceID_summary_export.pl b/agc_2-X/trunk/bin/AST_sourceID_summary_export.pl index 2961596a..c66e0c97 100644 --- a/agc_2-X/trunk/bin/AST_sourceID_summary_export.pl +++ b/agc_2-X/trunk/bin/AST_sourceID_summary_export.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl - -# AST_sourceID_summary_export.pl version: 2.0.4 +# +# AST_sourceID_summary_export.pl version: 2.0.5 # # This script is designed to gather stats for all leads by source_id and # post them to a directory # -# Copyright (C) 2007 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # CHANGES # 70905-1409 - First version diff --git a/agc_2-X/trunk/bin/AST_update.pl b/agc_2-X/trunk/bin/AST_update.pl index a40c0c36..903d96b9 100644 --- a/agc_2-X/trunk/bin/AST_update.pl +++ b/agc_2-X/trunk/bin/AST_update.pl @@ -30,7 +30,7 @@ # # It is recommended that you run this program on the local Asterisk machine # -# Copyright (C) 2008 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # version changes: # 41228-1659 - modified to compensate for manager output response hiccups diff --git a/agc_2-X/trunk/bin/AST_vm_update.pl b/agc_2-X/trunk/bin/AST_vm_update.pl index e8dd1b51..6e96cfe7 100644 --- a/agc_2-X/trunk/bin/AST_vm_update.pl +++ b/agc_2-X/trunk/bin/AST_vm_update.pl @@ -1,6 +1,6 @@ #!/usr/bin/perl # -# AST_vm_update.pl version 0.4 *DBI-version* +# AST_vm_update.pl version 2.0.5 *DBI-version* # # DESCRIPTION: # uses the Asterisk Manager interface and Net::MySQL to update the count of @@ -25,7 +25,7 @@ # more than this either change the cron when this script is run or change the # wait interval below # -# Copyright (C) 2006 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2006 Matt Florell LICENSE: AGPLv2 # # 50823-1422 - Added database server variable definitions lookup # 50823-1452 - Added commandline arguments for debug at runtime diff --git a/agc_2-X/trunk/bin/FastAGI_log.pl b/agc_2-X/trunk/bin/FastAGI_log.pl index 52567e70..a82cd683 100644 --- a/agc_2-X/trunk/bin/FastAGI_log.pl +++ b/agc_2-X/trunk/bin/FastAGI_log.pl @@ -25,7 +25,7 @@ # exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME}) # # -# Copyright (C) 2008 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # CHANGELOG: # 61010-1007 - First test build diff --git a/agc_2-X/trunk/bin/VICIDIAL_DEDUPE_leads.pl b/agc_2-X/trunk/bin/VICIDIAL_DEDUPE_leads.pl index 5c9d2a0c..2b0abe8e 100644 --- a/agc_2-X/trunk/bin/VICIDIAL_DEDUPE_leads.pl +++ b/agc_2-X/trunk/bin/VICIDIAL_DEDUPE_leads.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl # -# VICIDIAL_DEDUPE_leads.pl version 2.0.4 *DBI-version* +# VICIDIAL_DEDUPE_leads.pl version 2.0.5 # # DESCRIPTION: # moves duplicate leads to another list_id # -# Copyright (C) 2007 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # /usr/share/astguiclient/VICIDIAL_DEDUPE_leads.pl --debugX --campaign-duplicate=CTF --ignore-list=999 # diff --git a/agc_2-X/trunk/bin/VICIDIAL_IN_new_leads_file.pl b/agc_2-X/trunk/bin/VICIDIAL_IN_new_leads_file.pl index d905f0a3..349e9774 100644 --- a/agc_2-X/trunk/bin/VICIDIAL_IN_new_leads_file.pl +++ b/agc_2-X/trunk/bin/VICIDIAL_IN_new_leads_file.pl @@ -1,6 +1,6 @@ #!/usr/bin/perl # -# VICIDIAL_IN_new_leads_file.pl version 0.6 *DBI-version* +# VICIDIAL_IN_new_leads_file.pl version 2.0.5 *DBI-version* # # DESCRIPTION: # script lets you insert leads into the vicidial_list table from a TAB-delimited @@ -8,7 +8,7 @@ # # It is recommended that you run this program on the local Asterisk machine # -# Copyright (C) 2008 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # # CHANGES diff --git a/agc_2-X/trunk/bin/VICIDIAL_fix_list_statuses.pl b/agc_2-X/trunk/bin/VICIDIAL_fix_list_statuses.pl new file mode 100644 index 00000000..d7014726 --- /dev/null +++ b/agc_2-X/trunk/bin/VICIDIAL_fix_list_statuses.pl @@ -0,0 +1,177 @@ +#!/usr/bin/perl +# +# VICIDIAL_fix_lead_statuses.pl version 2.0.5 +# +# DESCRIPTION: +# resets the status in vicidial_list for leads marked in status NOUSE +# Very useful if you manually mess up the list statuses with a SQL query +# +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 +# +# CHANGES +# 80308-0915 - first build +# + +$secX = time(); + +($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time); +$year = ($year + 1900); +$mon++; +if ($hour < 10) {$hour = "0$hour";} +if ($min < 10) {$min = "0$min";} +if ($sec < 10) {$sec = "0$sec";} +if ($mon < 10) {$mon = "0$mon";} +if ($mday < 10) {$mday = "0$mday";} +$pulldate0 = "$year-$mon-$mday $hour:$min:$sec"; +$inSD = $pulldate0; +$dsec = ( ( ($hour * 3600) + ($min * 60) ) + $sec ); + + + +# default path to astguiclient configuration file: +$PATHconf = '/etc/astguiclient.conf'; + +open(conf, "$PATHconf") || die "can't open $PATHconf: $!\n"; +@conf = ; +close(conf); +$i=0; +foreach(@conf) + { + $line = $conf[$i]; + $line =~ s/ |>|\n|\r|\t|\#.*|;.*//gi; + if ( ($line =~ /^PATHhome/) && ($CLIhome < 1) ) + {$PATHhome = $line; $PATHhome =~ s/.*=//gi;} + if ( ($line =~ /^PATHlogs/) && ($CLIlogs < 1) ) + {$PATHlogs = $line; $PATHlogs =~ s/.*=//gi;} + if ( ($line =~ /^PATHagi/) && ($CLIagi < 1) ) + {$PATHagi = $line; $PATHagi =~ s/.*=//gi;} + if ( ($line =~ /^PATHweb/) && ($CLIweb < 1) ) + {$PATHweb = $line; $PATHweb =~ s/.*=//gi;} + if ( ($line =~ /^PATHsounds/) && ($CLIsounds < 1) ) + {$PATHsounds = $line; $PATHsounds =~ s/.*=//gi;} + if ( ($line =~ /^PATHmonitor/) && ($CLImonitor < 1) ) + {$PATHmonitor = $line; $PATHmonitor =~ s/.*=//gi;} + if ( ($line =~ /^VARserver_ip/) && ($CLIserver_ip < 1) ) + {$VARserver_ip = $line; $VARserver_ip =~ s/.*=//gi;} + if ( ($line =~ /^VARDB_server/) && ($CLIDB_server < 1) ) + {$VARDB_server = $line; $VARDB_server =~ s/.*=//gi;} + if ( ($line =~ /^VARDB_database/) && ($CLIDB_database < 1) ) + {$VARDB_database = $line; $VARDB_database =~ s/.*=//gi;} + if ( ($line =~ /^VARDB_user/) && ($CLIDB_user < 1) ) + {$VARDB_user = $line; $VARDB_user =~ s/.*=//gi;} + if ( ($line =~ /^VARDB_pass/) && ($CLIDB_pass < 1) ) + {$VARDB_pass = $line; $VARDB_pass =~ s/.*=//gi;} + if ( ($line =~ /^VARDB_port/) && ($CLIDB_port < 1) ) + {$VARDB_port = $line; $VARDB_port =~ s/.*=//gi;} + $i++; + } + +# Customized Variables +$server_ip = $VARserver_ip; # Asterisk server IP + +if (!$VARDB_port) {$VARDB_port='3306';} + +use DBI; + +$dbhA = DBI->connect("DBI:mysql:$VARDB_database:$VARDB_server:$VARDB_port", "$VARDB_user", "$VARDB_pass") + or die "Couldn't connect to database: " . DBI->errstr; + +$DB=1; + +$liveupdate=0; + +if (!$VDHLOGfile) {$VDHLOGfile = "$PATHlogs/dupleads.$year-$mon-$mday";} + +print "\n\n\n\n\n\n\n\n\n\n\n\n-- VICIDIAL_fix_list_statuses.pl --\n\n"; +print "This program is designed to scan all leads marked NOUSE and set them to their proper status according to the logs. \n\n"; + + +$stmtA = "select lead_id,list_id from vicidial_list where status='NOUSE';"; +if($DBX){print STDERR "\n|$stmtA|\n";} +$sthA = $dbhA->prepare($stmtA) or die "preparing: ",$dbhA->errstr; +$sthA->execute or die "executing: $stmtA ", $dbhA->errstr; +$sthArows=$sthA->rows; +$i=0; +$nonDUP='0'; +while ( ($sthArows > $i) && ($nonDUP=='0') ) + { + @aryA = $sthA->fetchrow_array; + if ($aryA[0] > 1) + { + $lead_id[$i] = "$aryA[0]"; + $list_id[$i] = "$aryA[1]"; + } + $i++; + } +$sthA->finish(); + +$b=0; +foreach(@lead_id) + { + $Nstatus=''; + $Nepoch=0; + $Cstatus=''; + $Cepoch=0; + $stmtA = "select status,start_epoch from vicidial_log where lead_id='$lead_id[$b]' order by call_date desc LIMIT 1;"; + if($DBX){print STDERR "\n|$stmtA|\n";} + $sthA = $dbhA->prepare($stmtA) or die "preparing: ",$dbhA->errstr; + $sthA->execute or die "executing: $stmtA ", $dbhA->errstr; + $sthArows=$sthA->rows; + if ($sthArows > 0) + { + @aryA = $sthA->fetchrow_array; + $Nstatus = $aryA[0]; + $Nepoch = $aryA[1]; + $rec_count++; + } + $sthA->finish(); + + $stmtA = "select status,start_epoch from vicidial_closer_log where lead_id='$lead_id[$b]' order by closecallid desc LIMIT 1;"; + if($DBX){print STDERR "\n|$stmtA|\n";} + $sthA = $dbhA->prepare($stmtA) or die "preparing: ",$dbhA->errstr; + $sthA->execute or die "executing: $stmtA ", $dbhA->errstr; + $sthArows=$sthA->rows; + if ($sthArows > 0) + { + @aryA = $sthA->fetchrow_array; + $Cstatus = $aryA[0]; + $Cepoch = $aryA[1]; + $rec_count++; + } + $sthA->finish(); + + if ($Cepoch > $Nepoch) {$NEWstatus = $Cstatus;} + else {$NEWstatus = $Nstatus;} + + $stmtA = "UPDATE vicidial_list set status='$NEWstatus' where lead_id='$lead_id[$b]';"; + $affected_rows = $dbhA->do($stmtA); # or die "Couldn't execute query:|$stmtA|\n"; + if($DB){print STDERR "|$b|$lead_id[$b]|$Nstatus|$Cstatus|$list_id[$b]||$stmtA|\n";} + + $b++; + + if ($b =~ /100$/i) {print STDERR "0 $b\r";} + if ($b =~ /200$/i) {print STDERR "+ $b\r";} + if ($b =~ /300$/i) {print STDERR "| $b\r";} + if ($b =~ /400$/i) {print STDERR "\\ $b\r";} + if ($b =~ /500$/i) {print STDERR "- $b\r";} + if ($b =~ /600$/i) {print STDERR "/ $b\r";} + if ($b =~ /700$/i) {print STDERR "| $b\r";} + if ($b =~ /800$/i) {print STDERR "+ $b\r";} + if ($b =~ /900$/i) {print STDERR "0 $b\r";} + if ($b =~ /000$/i) {print "|$b|$lead_id[$b]|$Nstatus|$Cstatus|$list_id[$b]|\n";} + + } +chop($DUP_updates); + + +$dbhA->disconnect(); + +### calculate time to run script ### +$secY = time(); +$secZ = ($secY - $secX); +$secZm = ($secZ /60); + +print "script execution time in seconds: $secZ minutes: $secZm\n"; + +exit; + diff --git a/agc_2-X/trunk/bin/build_translation_www_files.pl b/agc_2-X/trunk/bin/build_translation_www_files.pl index f54b684d..da454e2b 100644 --- a/agc_2-X/trunk/bin/build_translation_www_files.pl +++ b/agc_2-X/trunk/bin/build_translation_www_files.pl @@ -1,8 +1,10 @@ #!/usr/bin/perl - -# build_translation_www_files.pl - converts web pages to other language # -# Copyright (C) 2007 Matt Florell LICENSE: GPLv2 +# build_translation_www_files.pl version 2.0.5 +# +# converts web pages to other language +# +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # changes: # 60808-1029 - Changed to use /etc/astguiclient.conf for configs diff --git a/agc_2-X/trunk/bin/start_asterisk_boot.pl b/agc_2-X/trunk/bin/start_asterisk_boot.pl index 9b44adc7..e6d30a17 100644 --- a/agc_2-X/trunk/bin/start_asterisk_boot.pl +++ b/agc_2-X/trunk/bin/start_asterisk_boot.pl @@ -1,7 +1,8 @@ #!/usr/bin/perl - # -# Copyright (C) 2006 Matt Florell LICENSE: GPLv2 +# start_asterisk_boot.pl version 2.0.5 +# +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # CHANGES # diff --git a/agc_2-X/trunk/docs/LICENSE.txt b/agc_2-X/trunk/docs/LICENSE.txt index d3ca3645..facdd856 100644 --- a/agc_2-X/trunk/docs/LICENSE.txt +++ b/agc_2-X/trunk/docs/LICENSE.txt @@ -1,278 +1,277 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 +AFFERO GENERAL PUBLIC LICENSE (AGPLv2) - Copyright (C) 1989, 1991 Free Software Foundation, Inc. - 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. +Version 2, November 2007 - Preamble +Copyright © 2007 Affero Inc. +510 Third Street - Suite 225, San Francisco, CA 94107, USA - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Library General Public License instead.) You can apply it to -your programs, too. +This is version 2 of the Affero General Public License. It gives each licensee +permission to distribute the Program or a work based on the Program (as defined +in version 1 of the Affero GPL) under the GNU Affero General Public License, +version 3 or any later version. - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. +This license is a modified version of the GNU General Public License copyright +(C) 1989, 1991 Free Software Foundation, Inc. made with their permission. +Section 2(d) has been added to cover use of software over a computer network. - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. +Everyone is permitted to copy and distribute verbatim copies of this license +document, but changing it is not allowed. - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. +Preamble - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. +The licenses for most software are designed to take away your freedom to share +and change it. By contrast, the Affero General Public License is intended to +guarantee your freedom to share and change free software--to make sure the +software is free for all its users. This Public License applies to most of +Affero's software and to any other program whose authors commit to using it. +(Some other Affero software is covered by the GNU Library General Public License +instead.) You can apply it to your programs, too. - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. +When we speak of free software, we are referring to freedom, not price. This +General Public License is designed to make sure that you have the freedom to +distribute copies of free software (and charge for this service if you wish), +that you receive source code or can get it if you want it, that you can change +the software or use pieces of it in new free programs; and that you know you can +do these things. - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. +To protect your rights, we need to make restrictions that forbid anyone to deny +you these rights or to ask you to surrender the rights. These restrictions +translate to certain responsibilities for you if you distribute copies of the +software, or if you modify it. - The precise terms and conditions for copying, distribution and -modification follow. +For example, if you distribute copies of such a program, whether gratis or for a +fee, you must give the recipients all the rights that you have. You must make +sure that they, too, receive or can get the source code. And you must show them +these terms so they know their rights. - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION +We protect your rights with two steps: (1) copyright the software, and (2) offer +you this license which gives you legal permission to copy, distribute and/or +modify the software. - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". +Also, for each author's protection and ours, we want to make certain that +everyone understands that there is no warranty for this free software. If the +software is modified by someone else and passed on, we want its recipients to +know that what they have is not the original, so that any problems introduced by +others will not reflect on the original authors' reputations. -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. +Finally, any free program is threatened constantly by software patents. We wish +to avoid the danger that redistributors of a free program will individually +obtain patent licenses, in effect making the program proprietary. To prevent +this, we have made it clear that any patent must be licensed for everyone's free +use or not licensed at all. - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License +The precise terms and conditions for copying, distribution and modification +follow. + +TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + +0. This License applies to any program or other work which contains a notice +placed by the copyright holder saying it may be distributed under the terms of +this Affero General Public License. The "Program", below, refers to any such +program or work, and a "work based on the Program" means either the Program or +any derivative work under copyright law: that is to say, a work containing the +Program or a portion of it, either verbatim or with modifications and/or +translated into another language. (Hereinafter, translation is included without +limitation in the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not covered by +this License; they are outside its scope. The act of running the Program is not +restricted, and the output from the Program is covered only if its contents +constitute a work based on the Program (independent of having been made by +running the Program). Whether that is true depends on what the Program does. + +1. You may copy and distribute verbatim copies of the Program's source code as +you receive it, in any medium, provided that you conspicuously and appropriately +publish on each copy an appropriate copyright notice and disclaimer of warranty; +keep intact all the notices that refer to this License and to the absence of any +warranty; and give any other recipients of the Program a copy of this License along with the Program. -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. +You may charge a fee for the physical act of transferring a copy, and you may at +your option offer warranty protection in exchange for a fee. - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: +2. You may modify your copy or copies of the Program or any portion of it, thus +forming a work based on the Program, and copy and distribute such modifications +or work under the terms of Section 1 above, provided that you also meet all of +these conditions: - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. +* a) You must cause the modified files to carry prominent notices stating that +you changed the files and the date of any change. - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. +* b) You must cause any work that you distribute or publish, that in whole or in +part contains or is derived from the Program or any part thereof, to be licensed +as a whole at no charge to all third parties under the terms of this License. - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) +* c) If the modified program normally reads commands interactively when run, you +must cause it, when started running for such interactive use in the most +ordinary way, to print or display an announcement including an appropriate +copyright notice and a notice that there is no warranty (or else, saying that +you provide a warranty) and that users may redistribute the program under these +conditions, and telling the user how to view a copy of this License. (Exception: +if the Program itself is interactive but does not normally print such an +announcement, your work based on the Program is not required to print an +announcement.) -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. +* d) If the Program as you received it is intended to interact with users +through a computer network and if, in the version you received, any user +interacting with the Program was given the opportunity to request transmission +to that user of the Program's complete source code, you must not remove that +facility from your modified version of the Program or work based on the Program, +and must offer an equivalent opportunity for all users interacting with your +Program through a computer network to request immediate transmission by HTTP of +the complete source code of your modified version or other derivative work. -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. +These requirements apply to the modified work as a whole. If identifiable +sections of that work are not derived from the Program, and can be reasonably +considered independent and separate works in themselves, then this License, and +its terms, do not apply to those sections when you distribute them as separate +works. But when you distribute the same sections as part of a whole which is a +work based on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the entire whole, +and thus to each and every part regardless of who wrote it. -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. +Thus, it is not the intent of this section to claim rights or contest your +rights to work written entirely by you; rather, the intent is to exercise the +right to control the distribution of derivative or collective works based on the +Program. - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: +In addition, mere aggregation of another work not based on the Program with the +Program (or with a work based on the Program) on a volume of a storage or +distribution medium does not bring the other work under the scope of this +License. - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, +3. You may copy and distribute the Program (or a work based on it, under Section +2) in object code or executable form under the terms of Sections 1 and 2 above +provided that you also do one of the following: - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, +* a) Accompany it with the complete corresponding machine-readable source code, +which must be distributed under the terms of Sections 1 and 2 above on a medium +customarily used for software interchange; or, - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) +* b) Accompany it with a written offer, valid for at least three years, to give +any third party, for a charge no more than your cost of physically performing +source distribution, a complete machine-readable copy of the corresponding +source code, to be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange; or, -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. +* c) Accompany it with the information you received as to the offer to +distribute corresponding source code. (This alternative is allowed only for +noncommercial distribution and only if you received the program in object code +or executable form with such an offer, in accord with Subsection b above.) -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. +The source code for a work means the preferred form of the work for making +modifications to it. For an executable work, complete source code means all the +source code for all modules it contains, plus any associated interface +definition files, plus the scripts used to control compilation and installation +of the executable. However, as a special exception, the source code distributed +need not include anything that is normally distributed (in either source or +binary form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component itself +accompanies the executable. - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. +If distribution of executable or object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the source code +from the same place counts as distribution of the source code, even though third +parties are not compelled to copy the source along with the object code. - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. +4. You may not copy, modify, sublicense, or distribute the Program except as +expressly provided under this License. Any attempt otherwise to copy, modify, +sublicense or distribute the Program is void, and will automatically terminate +your rights under this License. However, parties who have received copies, or +rights, from you under this License will not have their licenses terminated so +long as such parties remain in full compliance. - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. +5. You are not required to accept this License, since you have not signed it. +However, nothing else grants you permission to modify or distribute the Program +or its derivative works. These actions are prohibited by law if you do not +accept this License. Therefore, by modifying or distributing the Program (or any +work based on the Program), you indicate your acceptance of this License to do +so, and all its terms and conditions for copying, distributing or modifying the +Program or works based on it. - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. +6. Each time you redistribute the Program (or any work based on the Program), +the recipient automatically receives a license from the original licensor to +copy, distribute or modify the Program subject to these terms and conditions. +You may not impose any further restrictions on the recipients' exercise of the +rights granted herein. You are not responsible for enforcing compliance by third +parties to this License. -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. +7. If, as a consequence of a court judgment or allegation of patent infringement +or for any other reason (not limited to patent issues), conditions are imposed +on you (whether by court order, agreement or otherwise) that contradict the +conditions of this License, they do not excuse you from the conditions of this +License. If you cannot distribute so as to satisfy simultaneously your +obligations under this License and any other pertinent obligations, then as a +consequence you may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by all those +who receive copies directly or indirectly through you, then the only way you +could satisfy both it and this License would be to refrain entirely from +distribution of the Program. -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply and the +section as a whole is intended to apply in other circumstances. -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. +It is not the purpose of this section to induce you to infringe any patents or +other property right claims or to contest validity of any such claims; this +section has the sole purpose of protecting the integrity of the free software +distribution system, which is implemented by public license practices. Many +people have made generous contributions to the wide range of software +distributed through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing to +distribute software through any other system and a licensee cannot impose that +choice. - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. +This section is intended to make thoroughly clear what is believed to be a +consequence of the rest of this License. - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. +8. If the distribution and/or use of the Program is restricted in certain +countries either by patents or by copyrighted interfaces, the original copyright +holder who places the Program under this License may add an explicit +geographical distribution limitation excluding those countries, so that +distribution is permitted only in or among countries not thus excluded. In such +case, this License incorporates the limitation as if written in the body of this +License. -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. +9. Affero Inc. may publish revised and/or new versions of the Affero General +Public License from time to time. Such new versions will be similar in spirit to +the present version, but may differ in detail to address new problems or +concerns. - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. +Each version is given a distinguishing version number. If the Program specifies +a version number of this License which applies to it and "any later version", +you have the option of following the terms and conditions either of that version +or of any later version published by Affero, Inc. If the Program does not +specify a version number of this License, you may choose any version ever +published by Affero, Inc. - NO WARRANTY +You may also choose to redistribute modified versions of this program under any +version of the Free Software Foundation's GNU General Public License version 3 +or higher, so long as that version of the GNU GPL includes terms and conditions +substantially equivalent to those of this license. +10. If you wish to incorporate parts of the Program into other free programs +whose distribution conditions are different, write to the author to ask for +permission. For software which is copyrighted by Affero, Inc., write to us; we +sometimes make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and of +promoting the sharing and reuse of software generally. - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. +NO WARRANTY - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. +11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE +PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED +IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS +IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT +NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + +12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL +ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE +PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, +SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY +TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF +THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER +PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. diff --git a/agc_2-X/trunk/docs/REQUIRED_APPS_INSTALL.txt b/agc_2-X/trunk/docs/REQUIRED_APPS_INSTALL.txt index f99f0879..08362744 100644 --- a/agc_2-X/trunk/docs/REQUIRED_APPS_INSTALL.txt +++ b/agc_2-X/trunk/docs/REQUIRED_APPS_INSTALL.txt @@ -1,4 +1,4 @@ -# Quick install of required apps v.2.0.4 2007-12-03 +# Quick install of required apps v.2.0.5 2008-03-10 # This file is a supplement to the BASE_INSTALL document giving you simple copy/ # paste installation shell commands for required and helper apps for VICIDIAL # might need: echo '/* Linuxthreads */' >> /usr/include/pthread.h diff --git a/agc_2-X/trunk/install.pl b/agc_2-X/trunk/install.pl index f55f01cf..74660e3d 100644 --- a/agc_2-X/trunk/install.pl +++ b/agc_2-X/trunk/install.pl @@ -2,7 +2,7 @@ # install.pl version 2.0.5 # -# Copyright (C) 2008 Matt Florell LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # CHANGES diff --git a/agc_2-X/trunk/www/agc/active_list_refresh.php b/agc_2-X/trunk/www/agc/active_list_refresh.php index 7ea0bff0..d978fad6 100644 --- a/agc_2-X/trunk/www/agc/active_list_refresh.php +++ b/agc_2-X/trunk/www/agc/active_list_refresh.php @@ -1,33 +1,33 @@ LICENSE: GPLv2 -### -### This script is designed purely to serve updates of the live data to the display scripts -### This script depends on the server_ip being sent and also needs to have a valid user/pass from the vicidial_users table -### -### required variables: -### - $server_ip -### - $session_name -### - $user -### - $pass -### optional variables: -### - $ADD - ('1','2','3','4','5') -### - $order - ('asc','desc') -### - $format - ('text','table','menu','selectlist','textarea') -### - $bgcolor - ('#123456','white','black','etc...') -### - $txtcolor - ('#654321','black','white','etc...') -### - $txtsize - ('1','2','3','etc...') -### - $selectsize - ('2','3','4','etc...') -### - $selectfontsize - ('8','10','12','etc...') -### - $selectedext - ('cc100') -### - $selectedtrunk - ('Zap/25-1') -### - $selectedlocal - ('SIP/cc100') -### - $textareaheight - ('8','10','12','etc...') -### - $textareawidth - ('8','10','12','etc...') -### - $field_name - ('extension','busyext','extension_xfer','etc...') -### - +# active_list_refresh.php version 2.0.5 +# +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 +# +# This script is designed purely to serve updates of the live data to the display scripts +# This script depends on the server_ip being sent and also needs to have a valid user/pass from the vicidial_users table +# +# required variables: +# - $server_ip +# - $session_name +# - $user +# - $pass +# optional variables: +# - $ADD - ('1','2','3','4','5') +# - $order - ('asc','desc') +# - $format - ('text','table','menu','selectlist','textarea') +# - $bgcolor - ('#123456','white','black','etc...') +# - $txtcolor - ('#654321','black','white','etc...') +# - $txtsize - ('1','2','3','etc...') +# - $selectsize - ('2','3','4','etc...') +# - $selectfontsize - ('8','10','12','etc...') +# - $selectedext - ('cc100') +# - $selectedtrunk - ('Zap/25-1') +# - $selectedlocal - ('SIP/cc100') +# - $textareaheight - ('8','10','12','etc...') +# - $textareawidth - ('8','10','12','etc...') +# - $field_name - ('extension','busyext','extension_xfer','etc...') +# +# # changes # 50323-1147 - First build of script # 50401-1132 - small formatting changes diff --git a/agc_2-X/trunk/www/agc/astguiclient.php b/agc_2-X/trunk/www/agc/astguiclient.php index c5fe5902..5758957c 100644 --- a/agc_2-X/trunk/www/agc/astguiclient.php +++ b/agc_2-X/trunk/www/agc/astguiclient.php @@ -1,7 +1,7 @@ LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # make sure you have added a user to the vicidial_users MySQL table with at least # user_level 1 or greater to access this page. Also you need to have the login diff --git a/agc_2-X/trunk/www/agc/call_log_display.php b/agc_2-X/trunk/www/agc/call_log_display.php index 28d3ea87..5565a08f 100644 --- a/agc_2-X/trunk/www/agc/call_log_display.php +++ b/agc_2-X/trunk/www/agc/call_log_display.php @@ -1,24 +1,24 @@ LICENSE: GPLv2 -### -### This script is designed purely to send the inbound and outbound calls for a specific phone -### This script depends on the server_ip being sent and also needs to have a valid user/pass from the vicidial_users table -### -### required variables: -### - $server_ip -### - $session_name -### - $user -### - $pass -### optional variables: -### - $format - ('text','debug') -### - $exten - ('cc101','testphone','49-1','1234','913125551212',...) -### - $protocol - ('SIP','Zap','IAX2',...) -### - $in_limit - ('10','20','50','100',...) -### - $out_limit - ('10','20','50','100',...) -### - +# call_log_display.php version 2.0.5 +# +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 +# +# This script is designed purely to send the inbound and outbound calls for a specific phone +# This script depends on the server_ip being sent and also needs to have a valid user/pass from the vicidial_users table +# +# required variables: +# - $server_ip +# - $session_name +# - $user +# - $pass +# optional variables: +# - $format - ('text','debug') +# - $exten - ('cc101','testphone','49-1','1234','913125551212',...) +# - $protocol - ('SIP','Zap','IAX2',...) +# - $in_limit - ('10','20','50','100',...) +# - $out_limit - ('10','20','50','100',...) +# +# # changes # 50406-1013 - First build of script # 50407-1452 - Added definable limits diff --git a/agc_2-X/trunk/www/agc/conf_exten_check.php b/agc_2-X/trunk/www/agc/conf_exten_check.php index ae3b84b5..736038a2 100644 --- a/agc_2-X/trunk/www/agc/conf_exten_check.php +++ b/agc_2-X/trunk/www/agc/conf_exten_check.php @@ -1,7 +1,7 @@ LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # This script is designed purely to send whether the meetme conference has live channels connected and which they are # This script depends on the server_ip being sent and also needs to have a valid user/pass from the vicidial_users table diff --git a/agc_2-X/trunk/www/agc/dbconnect.php b/agc_2-X/trunk/www/agc/dbconnect.php index 64e3607d..38815b53 100644 --- a/agc_2-X/trunk/www/agc/dbconnect.php +++ b/agc_2-X/trunk/www/agc/dbconnect.php @@ -1,6 +1,10 @@ LICENSE: GPLv2 +# dbconnect.php version 2.0.5 +# +# database connection settings and some global web settings +# +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # if ( file_exists("/etc/astguiclient.conf") ) { diff --git a/agc_2-X/trunk/www/agc/inbound_popup.php b/agc_2-X/trunk/www/agc/inbound_popup.php index c92583de..467ebff2 100644 --- a/agc_2-X/trunk/www/agc/inbound_popup.php +++ b/agc_2-X/trunk/www/agc/inbound_popup.php @@ -1,28 +1,28 @@ LICENSE: GPLv2 -### -### This script is designed to open up when a live_inbound call comes in giving the user -### options of what to do with the call or options to lookup the callerID on various web sites -### This script depends on the server_ip being sent and also needs to have a valid user/pass from the vicidial_users table -### -### required variables: -### - $server_ip -### - $session_name -### - $uniqueid - ('1234567890.123456',...) -### - $user -### - $pass -### optional variables: -### - $format - ('text','debug') -### - $vmail_box - ('101','1234',...) -### - $exten - ('cc101','testphone','49-1','1234','913125551212',...) -### - $ext_context - ('default','demo',...) -### - $ext_priority - ('1','2',...) -### - $voicemail_dump_exten - ('85026666666666') -### - $local_web_callerID_URL_enc - ( rawurlencoded custom callerid lookup URL) -### - +# inbound_popup.php version 2.0.5 +# +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 +# +# This script is designed to open up when a live_inbound call comes in giving the user +# options of what to do with the call or options to lookup the callerID on various web sites +# This script depends on the server_ip being sent and also needs to have a valid user/pass from the vicidial_users table +# +# required variables: +# - $server_ip +# - $session_name +# - $uniqueid - ('1234567890.123456',...) +# - $user +# - $pass +# optional variables: +# - $format - ('text','debug') +# - $vmail_box - ('101','1234',...) +# - $exten - ('cc101','testphone','49-1','1234','913125551212',...) +# - $ext_context - ('default','demo',...) +# - $ext_priority - ('1','2',...) +# - $voicemail_dump_exten - ('85026666666666') +# - $local_web_callerID_URL_enc - ( rawurlencoded custom callerid lookup URL) +# +# # changes # 50428-1500 - First build of script display only # 50429-1241 - some formatting, hangup and Vmail redirect, 30s timeout on actions, and CID web lookup links diff --git a/agc_2-X/trunk/www/agc/live_exten_check.php b/agc_2-X/trunk/www/agc/live_exten_check.php index 3dadf572..a7e0ec66 100644 --- a/agc_2-X/trunk/www/agc/live_exten_check.php +++ b/agc_2-X/trunk/www/agc/live_exten_check.php @@ -1,22 +1,22 @@ LICENSE: GPLv2 -### -### This script is designed purely to send whether the client channel is live and to what channel it is connected -### This script depends on the server_ip being sent and also needs to have a valid user/pass from the vicidial_users table -### -### required variables: -### - $server_ip -### - $session_name -### - $user -### - $pass -### optional variables: -### - $format - ('text','debug') -### - $exten - ('cc101','testphone','49-1','1234','913125551212',...) -### - $protocol - ('SIP','Zap','IAX2',...) -### - +# live_exten_check.php version 2.0.5 +# +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 +# +# This script is designed purely to send whether the client channel is live and to what channel it is connected +# This script depends on the server_ip being sent and also needs to have a valid user/pass from the vicidial_users table +# +# required variables: +# - $server_ip +# - $session_name +# - $user +# - $pass +# optional variables: +# - $format - ('text','debug') +# - $exten - ('cc101','testphone','49-1','1234','913125551212',...) +# - $protocol - ('SIP','Zap','IAX2',...) +# +# # changes # 50404-1249 - First build of script # 50406-1402 - added connected trunk lookup diff --git a/agc_2-X/trunk/www/agc/manager_send.php b/agc_2-X/trunk/www/agc/manager_send.php index 94eff7b6..c659060d 100644 --- a/agc_2-X/trunk/www/agc/manager_send.php +++ b/agc_2-X/trunk/www/agc/manager_send.php @@ -1,7 +1,7 @@ LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # This script is designed purely to insert records into the vicidial_manager table to signal Actions to an asterisk server # This script depends on the server_ip being sent and also needs to have a valid user/pass from the vicidial_users table diff --git a/agc_2-X/trunk/www/agc/park_calls_display.php b/agc_2-X/trunk/www/agc/park_calls_display.php index 872f5780..d02fc886 100644 --- a/agc_2-X/trunk/www/agc/park_calls_display.php +++ b/agc_2-X/trunk/www/agc/park_calls_display.php @@ -1,22 +1,22 @@ LICENSE: GPLv2 -### -### This script is designed purely to send the details on the parked calls on the server -### This script depends on the server_ip being sent and also needs to have a valid user/pass from the vicidial_users table -### -### required variables: -### - $server_ip -### - $session_name -### - $user -### - $pass -### optional variables: -### - $format - ('text','debug') -### - $exten - ('cc101','testphone','49-1','1234','913125551212',...) -### - $protocol - ('SIP','Zap','IAX2',...) -### - +# park_calls_display.php version 2.0.5 +# +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 +# +# This script is designed purely to send the details on the parked calls on the server +# This script depends on the server_ip being sent and also needs to have a valid user/pass from the vicidial_users table +# +# required variables: +# - $server_ip +# - $session_name +# - $user +# - $pass +# optional variables: +# - $format - ('text','debug') +# - $exten - ('cc101','testphone','49-1','1234','913125551212',...) +# - $protocol - ('SIP','Zap','IAX2',...) +# +# # changes # 50524-1515 - First build of script # 50711-1208 - removed HTTP authentication in favor of user/pass vars diff --git a/agc_2-X/trunk/www/agc/vdc_db_query.php b/agc_2-X/trunk/www/agc/vdc_db_query.php index a8263907..ab9f8333 100644 --- a/agc_2-X/trunk/www/agc/vdc_db_query.php +++ b/agc_2-X/trunk/www/agc/vdc_db_query.php @@ -1,7 +1,7 @@ LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # This script is designed purely to send whether the meetme conference has live channels connected and which they are # This script depends on the server_ip being sent and also needs to have a valid user/pass from the vicidial_users table diff --git a/agc_2-X/trunk/www/agc/vicidial.php b/agc_2-X/trunk/www/agc/vicidial.php index 93892ead..bf446c4d 100644 --- a/agc_2-X/trunk/www/agc/vicidial.php +++ b/agc_2-X/trunk/www/agc/vicidial.php @@ -1,7 +1,7 @@ LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # make sure you have added a user to the vicidial_users MySQL table with at least # user_level 1 or greater to access this page. Also, you need to have the login diff --git a/agc_2-X/trunk/www/agc/voicemail_check.php b/agc_2-X/trunk/www/agc/voicemail_check.php index 0aa152d7..9720a614 100644 --- a/agc_2-X/trunk/www/agc/voicemail_check.php +++ b/agc_2-X/trunk/www/agc/voicemail_check.php @@ -1,21 +1,21 @@ LICENSE: GPLv2 -### -### This script is designed purely to check whether the voicemail box on the server defined has new and old messages -### This script depends on the server_ip being sent and also needs to have a valid user/pass from the vicidial_users table -### -### required variables: -### - $server_ip -### - $session_name -### - $user -### - $pass -### optional variables: -### - $format - ('text','debug') -### - $vmail_box - ('101','1234',...) -### - +# voicemail_check.php version 2.0.5 +# +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 +# +# This script is designed purely to check whether the voicemail box on the server defined has new and old messages +# This script depends on the server_ip being sent and also needs to have a valid user/pass from the vicidial_users table +# +# required variables: +# - $server_ip +# - $session_name +# - $user +# - $pass +# optional variables: +# - $format - ('text','debug') +# - $vmail_box - ('101','1234',...) +# +# # changes # 50422-1147 - First build of script # 50503-1241 - added session_name checking for extra security diff --git a/agc_2-X/trunk/www/vicidial/AST_CLOSERstats.php b/agc_2-X/trunk/www/vicidial/AST_CLOSERstats.php index 30477687..2bb623e9 100644 --- a/agc_2-X/trunk/www/vicidial/AST_CLOSERstats.php +++ b/agc_2-X/trunk/www/vicidial/AST_CLOSERstats.php @@ -1,8 +1,8 @@ LICENSE: GPLv2 -### +# AST_CLOSERstats.php +# +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 +# # CHANGES # # 60619-1714 - Added variable filtering to eliminate SQL injection attack threat diff --git a/agc_2-X/trunk/www/vicidial/AST_VDADstats.php b/agc_2-X/trunk/www/vicidial/AST_VDADstats.php index 6d07ad01..2e5a9e7f 100644 --- a/agc_2-X/trunk/www/vicidial/AST_VDADstats.php +++ b/agc_2-X/trunk/www/vicidial/AST_VDADstats.php @@ -1,8 +1,8 @@ LICENSE: GPLv2 -### +# AST_VDADstats.php +# +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 +# # CHANGES # # 60619-1718 - Added variable filtering to eliminate SQL injection attack threat diff --git a/agc_2-X/trunk/www/vicidial/AST_VICIDIAL_hopperlist.php b/agc_2-X/trunk/www/vicidial/AST_VICIDIAL_hopperlist.php index a30832be..1e6a59ce 100644 --- a/agc_2-X/trunk/www/vicidial/AST_VICIDIAL_hopperlist.php +++ b/agc_2-X/trunk/www/vicidial/AST_VICIDIAL_hopperlist.php @@ -1,8 +1,8 @@ LICENSE: GPLv2 -### +# AST_VICIDIAL_hopperlist.php +# +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 +# # CHANGES # # 60619-1654 - Added variable filtering to eliminate SQL injection attack threat diff --git a/agc_2-X/trunk/www/vicidial/AST_admin_log_display.php b/agc_2-X/trunk/www/vicidial/AST_admin_log_display.php index 9c5c4af6..410b73e0 100644 --- a/agc_2-X/trunk/www/vicidial/AST_admin_log_display.php +++ b/agc_2-X/trunk/www/vicidial/AST_admin_log_display.php @@ -1,8 +1,8 @@ LICENSE: GPLv2 -### +# AST_admin_log_display.php +# +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 +# require("dbconnect.php"); diff --git a/agc_2-X/trunk/www/vicidial/AST_agent_disposition.php b/agc_2-X/trunk/www/vicidial/AST_agent_disposition.php index b0b0a461..2601135f 100644 --- a/agc_2-X/trunk/www/vicidial/AST_agent_disposition.php +++ b/agc_2-X/trunk/www/vicidial/AST_agent_disposition.php @@ -1,14 +1,14 @@ LICENSE: GPLv2 -### +# AST_agent_disposition.php +# +# Date Range - Agent/Campaign Disposition (Perfect Network Corporation) +# +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 +# # CHANGES # # 70201-1213 - First build - from Marin Blu -# -# +# require("dbconnect.php"); diff --git a/agc_2-X/trunk/www/vicidial/AST_agent_performance.php b/agc_2-X/trunk/www/vicidial/AST_agent_performance.php index eb2ceac4..306d449e 100644 --- a/agc_2-X/trunk/www/vicidial/AST_agent_performance.php +++ b/agc_2-X/trunk/www/vicidial/AST_agent_performance.php @@ -1,8 +1,8 @@ LICENSE: GPLv2 -### +# AST_agent_performance.php +# +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 +# # CHANGES # # 60619-1711 - Added variable filtering to eliminate SQL injection attack threat diff --git a/agc_2-X/trunk/www/vicidial/AST_agent_performance_detail.php b/agc_2-X/trunk/www/vicidial/AST_agent_performance_detail.php index 0c03dbfb..b39dfa43 100644 --- a/agc_2-X/trunk/www/vicidial/AST_agent_performance_detail.php +++ b/agc_2-X/trunk/www/vicidial/AST_agent_performance_detail.php @@ -1,8 +1,8 @@ LICENSE: GPLv2 -### +# AST_agent_performance_detail.php +# +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 +# # CHANGES # # 71119-2359 - First build diff --git a/agc_2-X/trunk/www/vicidial/AST_agent_time_sheet.php b/agc_2-X/trunk/www/vicidial/AST_agent_time_sheet.php index bd562a7b..ff754bf6 100644 --- a/agc_2-X/trunk/www/vicidial/AST_agent_time_sheet.php +++ b/agc_2-X/trunk/www/vicidial/AST_agent_time_sheet.php @@ -1,8 +1,8 @@ LICENSE: GPLv2 -### +# AST_agent_time_sheet.php +# +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 +# # CHANGES # # 60619-1729 - Added variable filtering to eliminate SQL injection attack threat diff --git a/agc_2-X/trunk/www/vicidial/AST_agent_time_sheet_archive.php b/agc_2-X/trunk/www/vicidial/AST_agent_time_sheet_archive.php index fb71d1d6..0120f0ea 100644 --- a/agc_2-X/trunk/www/vicidial/AST_agent_time_sheet_archive.php +++ b/agc_2-X/trunk/www/vicidial/AST_agent_time_sheet_archive.php @@ -1,8 +1,8 @@ LICENSE: GPLv2 -### +# AST_agent_time_sheet_archive.php +# +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 +# # CHANGES # # 60619-1721 - Added variable filtering to eliminate SQL injection attack threat diff --git a/agc_2-X/trunk/www/vicidial/AST_inboundEXTstats.php b/agc_2-X/trunk/www/vicidial/AST_inboundEXTstats.php index 5bc24935..9e3594af 100644 --- a/agc_2-X/trunk/www/vicidial/AST_inboundEXTstats.php +++ b/agc_2-X/trunk/www/vicidial/AST_inboundEXTstats.php @@ -1,7 +1,7 @@ LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # CHANGES # 60421-1450 - check GET/POST vars lines with isset to not trigger PHP NOTICES diff --git a/agc_2-X/trunk/www/vicidial/AST_inboundEXTstats_department.php b/agc_2-X/trunk/www/vicidial/AST_inboundEXTstats_department.php index 015f6820..9720f349 100644 --- a/agc_2-X/trunk/www/vicidial/AST_inboundEXTstats_department.php +++ b/agc_2-X/trunk/www/vicidial/AST_inboundEXTstats_department.php @@ -1,7 +1,7 @@ LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # CHANGES # 70201-1710 - First Build diff --git a/agc_2-X/trunk/www/vicidial/AST_parkstats.php b/agc_2-X/trunk/www/vicidial/AST_parkstats.php index 13552c30..593b4e83 100644 --- a/agc_2-X/trunk/www/vicidial/AST_parkstats.php +++ b/agc_2-X/trunk/www/vicidial/AST_parkstats.php @@ -1,8 +1,8 @@ LICENSE: GPLv2 -### +# AST_parkstats.php +# +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 +# # CHANGES # # 60619-1717 - Added variable filtering to eliminate SQL injection attack threat diff --git a/agc_2-X/trunk/www/vicidial/AST_server_performance.php b/agc_2-X/trunk/www/vicidial/AST_server_performance.php index a19fac9d..c95fb0dd 100644 --- a/agc_2-X/trunk/www/vicidial/AST_server_performance.php +++ b/agc_2-X/trunk/www/vicidial/AST_server_performance.php @@ -1,7 +1,7 @@ LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # CHANGES # diff --git a/agc_2-X/trunk/www/vicidial/AST_timeonVDAD.php b/agc_2-X/trunk/www/vicidial/AST_timeonVDAD.php index e9c8f52e..a85057e8 100644 --- a/agc_2-X/trunk/www/vicidial/AST_timeonVDAD.php +++ b/agc_2-X/trunk/www/vicidial/AST_timeonVDAD.php @@ -1,8 +1,8 @@ LICENSE: GPLv2 -### +# AST_timeonVDAD.php +# +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 +# # live real-time stats for the VICIDIAL Auto-Dialer # # CHANGES diff --git a/agc_2-X/trunk/www/vicidial/AST_timeonVDADall.php b/agc_2-X/trunk/www/vicidial/AST_timeonVDADall.php index 4910a2b8..0b4e20a8 100644 --- a/agc_2-X/trunk/www/vicidial/AST_timeonVDADall.php +++ b/agc_2-X/trunk/www/vicidial/AST_timeonVDADall.php @@ -1,7 +1,7 @@ LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # live real-time stats for the VICIDIAL Auto-Dialer all servers # diff --git a/agc_2-X/trunk/www/vicidial/AST_timeonVDADallREC.php b/agc_2-X/trunk/www/vicidial/AST_timeonVDADallREC.php index 2abf27b2..94fde5bb 100644 --- a/agc_2-X/trunk/www/vicidial/AST_timeonVDADallREC.php +++ b/agc_2-X/trunk/www/vicidial/AST_timeonVDADallREC.php @@ -1,7 +1,7 @@ LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # live real-time stats for the VICIDIAL Auto-Dialer all servers # diff --git a/agc_2-X/trunk/www/vicidial/AST_timeonVDADallSUMMARY.php b/agc_2-X/trunk/www/vicidial/AST_timeonVDADallSUMMARY.php index 242b27a0..0c9f0f94 100644 --- a/agc_2-X/trunk/www/vicidial/AST_timeonVDADallSUMMARY.php +++ b/agc_2-X/trunk/www/vicidial/AST_timeonVDADallSUMMARY.php @@ -1,7 +1,7 @@ LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # Summary for all campaigns live real-time stats for the VICIDIAL Auto-Dialer all servers # diff --git a/agc_2-X/trunk/www/vicidial/AST_timeonpark.php b/agc_2-X/trunk/www/vicidial/AST_timeonpark.php index fd54a333..043108e9 100644 --- a/agc_2-X/trunk/www/vicidial/AST_timeonpark.php +++ b/agc_2-X/trunk/www/vicidial/AST_timeonpark.php @@ -1,8 +1,8 @@ LICENSE: GPLv2 -### +# AST_timeonpark.php +# +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 +# # CHANGES # # 60620-1042 - Added variable filtering to eliminate SQL injection attack threat diff --git a/agc_2-X/trunk/www/vicidial/admin.php b/agc_2-X/trunk/www/vicidial/admin.php index 8865c96e..dde2254c 100644 --- a/agc_2-X/trunk/www/vicidial/admin.php +++ b/agc_2-X/trunk/www/vicidial/admin.php @@ -1,8 +1,7 @@ LICENSE: GPLv2 +# +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # diff --git a/agc_2-X/trunk/www/vicidial/admin_modify_lead.php b/agc_2-X/trunk/www/vicidial/admin_modify_lead.php index f8a285ec..b58a0946 100644 --- a/agc_2-X/trunk/www/vicidial/admin_modify_lead.php +++ b/agc_2-X/trunk/www/vicidial/admin_modify_lead.php @@ -1,7 +1,7 @@ LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # CHANGES diff --git a/agc_2-X/trunk/www/vicidial/admin_search_lead.php b/agc_2-X/trunk/www/vicidial/admin_search_lead.php index ff814159..f771339b 100644 --- a/agc_2-X/trunk/www/vicidial/admin_search_lead.php +++ b/agc_2-X/trunk/www/vicidial/admin_search_lead.php @@ -1,10 +1,10 @@ LICENSE: GPLv2 -### -### AST GUI database administration search for lead info -### admin_modify_lead.php +# admin_search_lead.php +# +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 +# +# AST GUI database administration search for lead info +# admin_modify_lead.php # # this is the administration lead information modifier screen, the administrator just needs to enter the leadID and then they can view and modify the information in the record for that lead # diff --git a/agc_2-X/trunk/www/vicidial/closer-fronter_popup.php b/agc_2-X/trunk/www/vicidial/closer-fronter_popup.php index 98a58eca..38221d59 100644 --- a/agc_2-X/trunk/www/vicidial/closer-fronter_popup.php +++ b/agc_2-X/trunk/www/vicidial/closer-fronter_popup.php @@ -1,8 +1,8 @@ LICENSE: GPLv2 -### +# closer-fronter_popup.php +# +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 +# # this is the closer popup of a specific call that starts recording the call and allows you to go and fetch info on that caller in the local CRM system. # CHANGES # diff --git a/agc_2-X/trunk/www/vicidial/closer-fronter_popup2.php b/agc_2-X/trunk/www/vicidial/closer-fronter_popup2.php index 1c98063d..f9b540de 100644 --- a/agc_2-X/trunk/www/vicidial/closer-fronter_popup2.php +++ b/agc_2-X/trunk/www/vicidial/closer-fronter_popup2.php @@ -1,8 +1,8 @@ LICENSE: GPLv2 -### +# closer-fronter_popup2.php +# +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 +# # this is the closer popup of a specific call that starts recording the call and allows you to go and fetch info on that caller in the local CRM system. # CHANGES # diff --git a/agc_2-X/trunk/www/vicidial/closer.php b/agc_2-X/trunk/www/vicidial/closer.php index 59599edb..a8f40c47 100644 --- a/agc_2-X/trunk/www/vicidial/closer.php +++ b/agc_2-X/trunk/www/vicidial/closer.php @@ -1,8 +1,8 @@ LICENSE: GPLv2 -### +# closer.php +# +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 +# # the purpose of this script and webpage is to allow for remote or local users of the system to log in and grab phone calls that are coming inbound into the Asterisk server and being put in the parked_channels table while they hear a soundfile for a limited amount of time before being forwarded on to either a set extension or a voicemail box. This gives remote or local agents a way to grab calls without tying up their phone lines all day. The agent sees the refreshing screen of calls on park and when they want to take one they just click on it, and a small window opens that will allow them to grab the call and/or look up more information on the caller through the callerID that is given(if available) # CHANGES # diff --git a/agc_2-X/trunk/www/vicidial/closer_dispo.php b/agc_2-X/trunk/www/vicidial/closer_dispo.php index 54e61219..099addb4 100644 --- a/agc_2-X/trunk/www/vicidial/closer_dispo.php +++ b/agc_2-X/trunk/www/vicidial/closer_dispo.php @@ -1,9 +1,11 @@ LICENSE: GPLv2 -### -# this is the closer disposition screen of a call that has been grabbed. This allows the closer to modify customer information and disposition the call +# closer_dispo.php +# +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 +# +# this is the closer disposition screen of a call that has been grabbed. This +# allows the closer to modify customer information and disposition the call +# # CHANGES # # 60619-1641 - Added variable filtering to eliminate SQL injection attack threat diff --git a/agc_2-X/trunk/www/vicidial/closer_popup.php b/agc_2-X/trunk/www/vicidial/closer_popup.php index e12f02c3..3533f4e7 100644 --- a/agc_2-X/trunk/www/vicidial/closer_popup.php +++ b/agc_2-X/trunk/www/vicidial/closer_popup.php @@ -1,9 +1,11 @@ LICENSE: GPLv2 -### -# this is the closer popup of a specific call that grabs the call and allows you to go and fetch info on that caller in the local CRM system. +# closer_popup.php +# +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 +# +# this is the closer popup of a specific call that grabs the call and allows you +# to go and fetch info on that caller in the local CRM system. +# # CHANGES # # 60620-1029 - Added variable filtering to eliminate SQL injection attack threat diff --git a/agc_2-X/trunk/www/vicidial/dbconnect.php b/agc_2-X/trunk/www/vicidial/dbconnect.php index ac550fb3..2cbc042f 100644 --- a/agc_2-X/trunk/www/vicidial/dbconnect.php +++ b/agc_2-X/trunk/www/vicidial/dbconnect.php @@ -1,6 +1,10 @@ LICENSE: GPLv2 +# dbconnect.php version 2.0.5 +# +# database connection settings and some global web settings +# +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # if ( file_exists("/etc/astguiclient.conf") ) { diff --git a/agc_2-X/trunk/www/vicidial/group_hourly_stats.php b/agc_2-X/trunk/www/vicidial/group_hourly_stats.php index 607f2fd7..9d7340b2 100644 --- a/agc_2-X/trunk/www/vicidial/group_hourly_stats.php +++ b/agc_2-X/trunk/www/vicidial/group_hourly_stats.php @@ -1,8 +1,8 @@ LICENSE: GPLv2 -### +# group_hourly_stats.php +# +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 +# # CHANGES # # 60620-1014 - Added variable filtering to eliminate SQL injection attack threat diff --git a/agc_2-X/trunk/www/vicidial/listloader.pl b/agc_2-X/trunk/www/vicidial/listloader.pl index d926368b..e22aef15 100644 --- a/agc_2-X/trunk/www/vicidial/listloader.pl +++ b/agc_2-X/trunk/www/vicidial/listloader.pl @@ -1,9 +1,8 @@ #!/usr/bin/perl - -### listloader.pl version 0.4 *DBI-version* -### -### Copyright (C) 2007 Matt Florell,Joe Johnson LICENSE: GPLv2 -### +# +# listloader.pl version 2.0.5 +# +# Copyright (C) 2008 Matt Florell,Joe Johnson LICENSE: AGPLv2 # # # CHANGES diff --git a/agc_2-X/trunk/www/vicidial/listloaderMAIN.php b/agc_2-X/trunk/www/vicidial/listloaderMAIN.php index bb292c36..555c4b0d 100644 --- a/agc_2-X/trunk/www/vicidial/listloaderMAIN.php +++ b/agc_2-X/trunk/www/vicidial/listloaderMAIN.php @@ -1,7 +1,7 @@ LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell,Joe Johnson LICENSE: AGPLv2 # # this is the main frame page for the lead loading section. This is where you # would upload a file and have it inserted into vicidial_list diff --git a/agc_2-X/trunk/www/vicidial/listloader_rowdisplay.pl b/agc_2-X/trunk/www/vicidial/listloader_rowdisplay.pl index 3f8695c0..bbfc8170 100644 --- a/agc_2-X/trunk/www/vicidial/listloader_rowdisplay.pl +++ b/agc_2-X/trunk/www/vicidial/listloader_rowdisplay.pl @@ -1,9 +1,9 @@ #!/usr/bin/perl - -### listloader_rowdisplay.pl version 0.2 *DBI-version* -### -### Copyright (C) 2006 Matt Florell,Joe Johnson LICENSE: GPLv2 -### +# +# listloader_rowdisplay.pl version 2.0.5 +# +# Copyright (C) 2008 Matt Florell,Joe Johnson LICENSE: AGPLv2 +# # # CHANGES # diff --git a/agc_2-X/trunk/www/vicidial/listloader_super.pl b/agc_2-X/trunk/www/vicidial/listloader_super.pl index 167fff5e..3df592a0 100644 --- a/agc_2-X/trunk/www/vicidial/listloader_super.pl +++ b/agc_2-X/trunk/www/vicidial/listloader_super.pl @@ -1,9 +1,8 @@ #!/usr/bin/perl - -### listloader_super.pl version 0.4 *DBI-version* -### -### Copyright (C) 2007 Matt Florell,Joe Johnson LICENSE: GPLv2 -### +# +# listloader_super.pl version 2.0.5 +# +# Copyright (C) 2008 Matt Florell,Joe Johnson LICENSE: AGPLv2 # # # CHANGES diff --git a/agc_2-X/trunk/www/vicidial/log_test.php b/agc_2-X/trunk/www/vicidial/log_test.php index cd7a86b7..806c90bc 100644 --- a/agc_2-X/trunk/www/vicidial/log_test.php +++ b/agc_2-X/trunk/www/vicidial/log_test.php @@ -1,7 +1,7 @@ LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # diff --git a/agc_2-X/trunk/www/vicidial/new_listloader_superL.php b/agc_2-X/trunk/www/vicidial/new_listloader_superL.php index 629321ed..4ae2050f 100644 --- a/agc_2-X/trunk/www/vicidial/new_listloader_superL.php +++ b/agc_2-X/trunk/www/vicidial/new_listloader_superL.php @@ -1,7 +1,7 @@ LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell,Joe Johnson LICENSE: AGPLv2 # # AST GUI lead loader from formatted file # diff --git a/agc_2-X/trunk/www/vicidial/phone_stats.php b/agc_2-X/trunk/www/vicidial/phone_stats.php index 0daaf2fd..8a3f186d 100644 --- a/agc_2-X/trunk/www/vicidial/phone_stats.php +++ b/agc_2-X/trunk/www/vicidial/phone_stats.php @@ -1,7 +1,7 @@ LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # # changes: diff --git a/agc_2-X/trunk/www/vicidial/record_conf_1_hour.php b/agc_2-X/trunk/www/vicidial/record_conf_1_hour.php index d184e457..e6499b60 100644 --- a/agc_2-X/trunk/www/vicidial/record_conf_1_hour.php +++ b/agc_2-X/trunk/www/vicidial/record_conf_1_hour.php @@ -1,8 +1,8 @@ LICENSE: GPLv2 -### +# record_conf_1_hour.php +# +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 +# # grab: $server_ip $station $session_id # # CHANGES diff --git a/agc_2-X/trunk/www/vicidial/remote_dispo.php b/agc_2-X/trunk/www/vicidial/remote_dispo.php index da249fba..c8a18df0 100644 --- a/agc_2-X/trunk/www/vicidial/remote_dispo.php +++ b/agc_2-X/trunk/www/vicidial/remote_dispo.php @@ -1,10 +1,12 @@ LICENSE: GPLv2 -### -# this is the remote agent disposition screen for calls sent to remote agents. This allows the remote agent to modify customer information and disposition the call - +# remote_dispo.php +# +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 +# +# this is the remote agent disposition screen for calls sent to remote agents. +# This allows the remote agent to modify customer information and disposition +# the call +# # CHANGES # # 60619-1626 - Added variable filtering to eliminate SQL injection attack threat diff --git a/agc_2-X/trunk/www/vicidial/spreadsheet_sales_viewer.pl b/agc_2-X/trunk/www/vicidial/spreadsheet_sales_viewer.pl index cd42aa44..4ba2e3d6 100644 --- a/agc_2-X/trunk/www/vicidial/spreadsheet_sales_viewer.pl +++ b/agc_2-X/trunk/www/vicidial/spreadsheet_sales_viewer.pl @@ -1,9 +1,8 @@ #!/usr/bin/perl - -### spreadsheet_sales_viewer.pl version 2.0.4 *DBI-version* -### -### Copyright (C) 2007 Joe Johnson,Matt Florell LICENSE: GPLv2 -### +# +# spreadsheet_sales_viewer.pl version 2.0.5 +# +# Copyright (C) 2008 Joe Johnson,Matt Florell LICENSE: AGPLv2 # # # CHANGES diff --git a/agc_2-X/trunk/www/vicidial/user_stats.php b/agc_2-X/trunk/www/vicidial/user_stats.php index 484c48b2..a33784bb 100644 --- a/agc_2-X/trunk/www/vicidial/user_stats.php +++ b/agc_2-X/trunk/www/vicidial/user_stats.php @@ -1,8 +1,8 @@ LICENSE: GPLv2 -### +# user_stats.php +# +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 +# # CHANGES # # 60619-1743 - Added variable filtering to eliminate SQL injection attack threat diff --git a/agc_2-X/trunk/www/vicidial/user_status.php b/agc_2-X/trunk/www/vicidial/user_status.php index ecffbc5c..a077de0a 100644 --- a/agc_2-X/trunk/www/vicidial/user_status.php +++ b/agc_2-X/trunk/www/vicidial/user_status.php @@ -1,8 +1,8 @@ LICENSE: GPLv2 -### +# user_status.php +# +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 +# # CHANGES # # 60619-1738 - Added variable filtering to eliminate SQL injection attack threat diff --git a/agc_2-X/trunk/www/vicidial/vdremote.php b/agc_2-X/trunk/www/vicidial/vdremote.php index dfe11fa3..260c78c1 100644 --- a/agc_2-X/trunk/www/vicidial/vdremote.php +++ b/agc_2-X/trunk/www/vicidial/vdremote.php @@ -1,7 +1,10 @@ LICENSE: GPLv2 +# make sure you have added a user to the vicidial_users MySQL table with at +# least user_level 4 to access this page the first time +# +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # # Changes # 50307-1721 - First version @@ -9,7 +12,6 @@ # 60421-1229 - check GET/POST vars lines with isset to not trigger PHP NOTICES # 60619-1603 - Added variable filtering to eliminate SQL injection attack threat # -# make sure you have added a user to the vicidial_users MySQL table with at least user_level 4 to access this page the first time $version = '1.1.12'; $build = '60619-1603'; diff --git a/agc_2-X/trunk/www/vicidial/vicidial_sales_viewer.php b/agc_2-X/trunk/www/vicidial/vicidial_sales_viewer.php index 744ec29f..3f87d60d 100644 --- a/agc_2-X/trunk/www/vicidial/vicidial_sales_viewer.php +++ b/agc_2-X/trunk/www/vicidial/vicidial_sales_viewer.php @@ -1,9 +1,9 @@ LICENSE: GPLv2 +# Copyright (C) 2008 Joe Johnson,Matt Florell LICENSE: AGPLv2 # diff --git a/agc_2-X/trunk/www/vicidial/voice_lab.php b/agc_2-X/trunk/www/vicidial/voice_lab.php index 2ce3a2a9..b72981ce 100644 --- a/agc_2-X/trunk/www/vicidial/voice_lab.php +++ b/agc_2-X/trunk/www/vicidial/voice_lab.php @@ -1,11 +1,11 @@ LICENSE: GPLv2 -### +# voice_lab.php +# +# This script is designed to broadcast a recorded message or allow a person to +# speak to all agents logged into a VICIDIAL campaign. +# +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 +# # # CHANGES # diff --git a/agc_2-X/trunk/www/vicidial/vtiger_search.php b/agc_2-X/trunk/www/vicidial/vtiger_search.php index 2bd15138..d8061866 100644 --- a/agc_2-X/trunk/www/vicidial/vtiger_search.php +++ b/agc_2-X/trunk/www/vicidial/vtiger_search.php @@ -1,8 +1,8 @@ LICENSE: GPLv2 -### +# vtiger_search.php +# +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 +# # This page does a search against a standard vtiger CRM system. If the record # is not present, it will create a new one and send the agent's screen to that new page. # diff --git a/agc_2-X/trunk/www/vicidial/welcome.php b/agc_2-X/trunk/www/vicidial/welcome.php index f0bad6d9..06a7c447 100644 --- a/agc_2-X/trunk/www/vicidial/welcome.php +++ b/agc_2-X/trunk/www/vicidial/welcome.php @@ -1,8 +1,7 @@ LICENSE: GPLv2 +# Copyright (C) 2008 Matt Florell LICENSE: AGPLv2 # echo "VICIDIAL Welcome\n";