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
This commit is contained in:
mattf
2008-03-10 08:02:30 +00:00
parent 35929d1079
commit 24dc1ff66d
125 changed files with 852 additions and 655 deletions
+13 -9
View File
@@ -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 ########## ########## 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 perl ./install.pl
NOTES: If you have customized any scripts in the bin or agi folders, 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. then make sure you back them up before running the install.pl script.
This script will replace existing files in the astguiclient installation. This script will replace existing files in the astguiclient installation.
2. upgrade the MySQL asterisk database: 3. upgrade the MySQL asterisk database:
mysql mysql
use asterisk use asterisk
\. /path/from/root/extras/upgrade_2.0.5.sql \. /path/from/root/extras/upgrade_2.0.5.sql
quit 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. 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 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 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 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 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. 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) 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 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 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. 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 rewritten and separated into different scripts for better fault
tolerance. Also, you have the option of compression in to the following tolerance. Also, you have the option of compression in to the following
formats: WAV, GSM, MP3 and OGG 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_2_compress.pl
- AST_CRON_audio_3_ftp.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 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]
+1 -1
View File
@@ -18,7 +18,7 @@
# exten => 8369,6,AGI(agi-VDAD_LB_transfer.agi,${EXTEN}) # exten => 8369,6,AGI(agi-VDAD_LB_transfer.agi,${EXTEN})
# exten => 8369,7,Hangup # exten => 8369,7,Hangup
# #
# Copyright (C) 2007 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2007 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# changes: # changes:
# 60206-1434 first build # 60206-1434 first build
+1 -1
View File
@@ -25,7 +25,7 @@
# exten => 8320,3,AGI(VD_amd_post.agi,${EXTEN}) # exten => 8320,3,AGI(VD_amd_post.agi,${EXTEN})
# exten => 8320,4,Hangup # exten => 8320,4,Hangup
# #
# Copyright (C) 2007 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2007 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# changes: # changes:
# 60217-1119 first build # 60217-1119 first build
+2 -2
View File
@@ -1,6 +1,6 @@
#!/usr/bin/perl #!/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 # NOTE: This script is only used with auto-message campaigns with dynamic data
# #
@@ -14,7 +14,7 @@
#exten => 8320,3,Hangup #exten => 8320,3,Hangup
# #
# #
# Copyright (C) 2006 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# changes: # changes:
# 60915-1616 - first build # 60915-1616 - first build
@@ -42,7 +42,7 @@
#exten => _83002*,5,Hangup #exten => _83002*,5,Hangup
# #
# #
# Copyright (C) 2007 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2007 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# CHANGELOG # CHANGELOG
# 70912-1105 - First build, non-functional # 70912-1105 - First build, non-functional
+1 -1
View File
@@ -40,7 +40,7 @@
#exten => 1234,2,AGI(agi-VDAD_ALL_inbound.agi,CID-----LB-----INB-----7274515134-----Closer-----park----------999-----1-----OUTB) #exten => 1234,2,AGI(agi-VDAD_ALL_inbound.agi,CID-----LB-----INB-----7274515134-----Closer-----park----------999-----1-----OUTB)
#exten => 1234,3,Hangup #exten => 1234,3,Hangup
# #
# Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# changes: # changes:
# 70828-0924 - First Build # 70828-0924 - First Build
+1 -1
View File
@@ -28,7 +28,7 @@
#exten => 8368,4,AGI(agi-VDAD_ALL_outbound.agi,NORMAL-----LB) #exten => 8368,4,AGI(agi-VDAD_ALL_outbound.agi,NORMAL-----LB)
#exten => 8368,5,Hangup #exten => 8368,5,Hangup
# #
# Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# changes: # changes:
# 80218-2027 - First Build # 80218-2027 - First Build
+2 -2
View File
@@ -1,6 +1,6 @@
#!/usr/bin/perl #!/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 # 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.,2,AGI(agi-VDAD_pin_IVR.agi,${EXTEN})
#exten => _83209.,3,Hangup #exten => _83209.,3,Hangup
# #
# Copyright (C) 2007 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# changes: # changes:
# 60802-1304 - first build # 60802-1304 - first build
+2 -2
View File
@@ -1,6 +1,6 @@
#!/usr/bin/perl #!/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 # 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 # 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 => _8600XXX*.,1,AGI(agi-VDADfixCXFER.agi)
# exten => _010*010*010*015*8600XXX*.,1,AGI(agi-VDADfixCXFER.agi) # exten => _010*010*010*015*8600XXX*.,1,AGI(agi-VDADfixCXFER.agi)
# #
# Copyright (C) 2007 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# CHANGELOG: # CHANGELOG:
# 60809-1749 - First build # 60809-1749 - First build
@@ -1,6 +1,6 @@
#!/usr/bin/perl #!/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 # 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. # 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,4,AGI(agi-VDADinbound_NI_DNC_CIDlookup.agi)
#exten => 1234,5,Hangup #exten => 1234,5,Hangup
# #
# Copyright (C) 2006 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# changes: # changes:
# 60914-1051 - First draft # 60914-1051 - First draft
+2 -2
View File
@@ -1,6 +1,6 @@
#!/usr/bin/perl #!/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 # 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 # 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.,1,AGI(agi-VDADlisten_DTMF.agi,${EXTEN})
#exten => _83009.,2,Hangup #exten => _83009.,2,Hangup
# #
# Copyright (C) 2007 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# changes: # changes:
# 60206-1434 first build # 60206-1434 first build
+1 -1
View File
@@ -12,7 +12,7 @@
#exten => _91NXXNXXXXXX,3,Dial(${TRUNKX}/${EXTEN:1},55,tTo) #exten => _91NXXNXXXXXX,3,Dial(${TRUNKX}/${EXTEN:1},55,tTo)
#exten => _91NXXNXXXXXX,4,Hangup #exten => _91NXXNXXXXXX,4,Hangup
# #
# Copyright (C) 2006 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# changes: # changes:
# 60918-1042 - First build # 60918-1042 - First build
@@ -1,6 +1,6 @@
#!/usr/bin/perl #!/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 # Will hangup a call if it is not within the specified area codes
# #
@@ -11,7 +11,7 @@
#exten => 8352,2,Playback(85100001) #exten => 8352,2,Playback(85100001)
#exten => 8352,3,Hangup #exten => 8352,3,Hangup
# #
# Copyright (C) 2006 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# changes: # changes:
# 60918-1151 - First build # 60918-1151 - First build
+1 -1
View File
@@ -7,7 +7,7 @@
# Accepted values are: 1 2 3 4 5 6 7 8 9 0 # * , # Accepted values are: 1 2 3 4 5 6 7 8 9 0 # * ,
# comma means pause for 1 second # comma means pause for 1 second
# #
# Copyright (C) 2006 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2006 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
$|=1; $|=1;
+2
View File
@@ -29,6 +29,8 @@
# - vm-msgsaved # - vm-msgsaved
# - vm-goodbye # - vm-goodbye
# #
# Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
#
# CHANGELOG # CHANGELOG
# 71226-1303 - Added option to change format GSM/WAV and timeout through flags # 71226-1303 - Added option to change format GSM/WAV and timeout through flags
# #
+2 -2
View File
@@ -1,6 +1,6 @@
#!/usr/bin/perl #!/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 # runs at the beginning and ending of every inbound call received
# #
@@ -17,7 +17,7 @@
# #
# #
# #
# Copyright (C) 2006 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# changes: # changes:
# 60731-1435 - changed to use DBI-DBD::mysql # 60731-1435 - changed to use DBI-DBD::mysql
+2 -2
View File
@@ -1,6 +1,6 @@
#!/usr/bin/perl #!/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 # 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 # 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,1,AGI(debug_speak.agi,${EXTEN})
#exten => _XXXX,3,Hangup #exten => _XXXX,3,Hangup
# #
# Copyright (C) 2006 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
$V = 1; # set to 1 for verbose mode $V = 1; # set to 1 for verbose mode
+2 -2
View File
@@ -1,6 +1,6 @@
#!/usr/bin/perl #!/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 # runs during an invalid extension and speaks the extension sent to it while printing to STDERR
# #
@@ -28,7 +28,7 @@
#exten => _**XXXX*,3,Hangup #exten => _**XXXX*,3,Hangup
# #
# #
# Copyright (C) 2006 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
$V = 0; # set to 1 for verbose mode $V = 0; # set to 1 for verbose mode
+2 -2
View File
@@ -1,6 +1,6 @@
#!/usr/bin/perl #!/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 # 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,3,Playback(park)
# exten => 8301,4,Hangup # exten => 8301,4,Hangup
# #
# Copyright (C) 2006 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# changes: # changes:
# 60731-1423 - changed to use DBI-DBD::mysql # 60731-1423 - changed to use DBI-DBD::mysql
@@ -1,13 +1,13 @@
#!/usr/bin/perl #!/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 # 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 # 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 # run every time you load leads into the vicidial_list table
# #
# Copyright (C) 2007 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# #
# CHANGES # CHANGES
@@ -1,7 +1,8 @@
#!/usr/bin/perl #!/usr/bin/perl
# ADMIN_area_code_populate.pl version 0.3 *DBI-version*
# #
# Copyright (C) 2006 Joe Johnson,Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # ADMIN_area_code_populate.pl version 2.0.5
#
# Copyright (C) 2008 Joe Johnson,Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# Description: # Description:
# server application that allows load areacodes into to asterisk list database # server application that allows load areacodes into to asterisk list database
+1 -1
View File
@@ -6,7 +6,7 @@
# Replaces all other ADMIN_keepalive scripts # Replaces all other ADMIN_keepalive scripts
# Uses /etc/astguiclient.conf file to know which processes to keepalive # Uses /etc/astguiclient.conf file to know which processes to keepalive
# #
# Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# #
# 61011-1348 - first build # 61011-1348 - first build
+6 -2
View File
@@ -1,8 +1,12 @@
#!/usr/bin/perl #!/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 # have this run on the astersik server
# #
# Copyright (C) 2006 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time); ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time);
+2 -2
View File
@@ -1,12 +1,12 @@
#!/usr/bin/perl #!/usr/bin/perl
#
# ADMIN_update_server_ip.pl - updates IP address in DB and conf file # 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 # 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 # astguiclient.conf file to reflect a change in IP address. The script will
# automatically default to the first eth address in the ifconfig output. # automatically default to the first eth address in the ifconfig output.
# #
# Copyright (C) 2007 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# CHANGELOG # CHANGELOG
# 71205-2144 - added display of extensions.conf example for call routing # 71205-2144 - added display of extensions.conf example for call routing
@@ -1,6 +1,6 @@
#!/usr/bin/perl #!/usr/bin/perl
# #
# AST_CRON_GSM_SALE_recordings.pl # AST_CRON_GSM_SALE_recordings.pl version 2.0.5
# #
# IMPORTANT!!! used to delete recordings!!! # IMPORTANT!!! used to delete recordings!!!
# #
@@ -13,7 +13,7 @@
# This program assumes that recordings are saved as .wav # This program assumes that recordings are saved as .wav
# should be easy to change this code if you use .gsm instead # should be easy to change this code if you use .gsm instead
# #
# Copyright (C) 2007 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# #
# 1112-1245 - first build # 1112-1245 - first build
@@ -25,7 +25,7 @@
# This program assumes that recordings are saved by Asterisk as .wav # This program assumes that recordings are saved by Asterisk as .wav
# should be easy to change this code if you use .gsm instead # should be easy to change this code if you use .gsm instead
# #
# Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# #
# 80302-1958 - First Build # 80302-1958 - First Build
@@ -155,7 +155,7 @@ foreach(@FILES)
$size2 = (-s "$dir1/$FILES[$i]"); $size2 = (-s "$dir1/$FILES[$i]");
if ($DBX) {print "$FILES[$i] $size2\n\n";} 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]; $INfile = $FILES[$i];
$OUTfile = $FILES[$i]; $OUTfile = $FILES[$i];
@@ -24,7 +24,7 @@
# This program assumes that recordings are saved by Asterisk as .wav # This program assumes that recordings are saved by Asterisk as .wav
# should be easy to change this code if you use .gsm instead # should be easy to change this code if you use .gsm instead
# #
# Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# #
# 80302-1958 - First Build # 80302-1958 - First Build
@@ -176,7 +176,7 @@ foreach(@FILES)
$size2 = (-s "$dir1/$FILES[$i]"); $size2 = (-s "$dir1/$FILES[$i]");
if ($DBX) {print "$FILES[$i] $size2\n\n";} 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]; $INfile = $FILES[$i];
$OUTfile = $FILES[$i]; $OUTfile = $FILES[$i];
@@ -25,7 +25,7 @@
# #
# This program assumes that recordings are saved by Asterisk as .wav # This program assumes that recordings are saved by Asterisk as .wav
# #
# Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# #
# 80302-1958 - First Build # 80302-1958 - First Build
@@ -212,7 +212,7 @@ foreach(@FILES)
$size2 = (-s "$dir2/$FILES[$i]"); $size2 = (-s "$dir2/$FILES[$i]");
if ($DBX) {print "$FILES[$i] $size2\n\n";} 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=''; $recording_id='';
$ALLfile = $FILES[$i]; $ALLfile = $FILES[$i];
+2 -2
View File
@@ -26,7 +26,7 @@
# #
# This program assumes that recordings are saved by Asterisk as .wav # This program assumes that recordings are saved by Asterisk as .wav
# #
# Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# #
# 80302-1958 - First Build # 80302-1958 - First Build
@@ -201,7 +201,7 @@ foreach(@FILES)
$size2 = (-s "$dir2/$FILES[$i]"); $size2 = (-s "$dir2/$FILES[$i]");
if ($DBX) {print "$FILES[$i] $size2\n\n";} 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=''; $recording_id='';
$ALLfile = $FILES[$i]; $ALLfile = $FILES[$i];
@@ -1,6 +1,6 @@
#!/usr/bin/perl #!/usr/bin/perl
# #
# AST_CRON_purge_recordings.pl # AST_CRON_purge_recordings.pl version 2.0.5
# #
# IMPORTANT!!! used to delete recordings!!! # IMPORTANT!!! used to delete recordings!!!
# #
@@ -14,7 +14,7 @@
# This program assumes that recordings are saved as .wav # This program assumes that recordings are saved as .wav
# should be easy to change this code if you use .gsm instead # should be easy to change this code if you use .gsm instead
# #
# Copyright (C) 2007 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# #
# 70917-1339 - first build # 70917-1339 - first build
@@ -6,7 +6,7 @@
# OPTIONAL!!! CUSTOMIZE THIS SCRIPT FIRST!!! # OPTIONAL!!! CUSTOMIZE THIS SCRIPT FIRST!!!
# - changes status of leads as crontab script # - changes status of leads as crontab script
# #
# Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# CHANGES # CHANGES
# 80114-1150 - first build # 80114-1150 - first build
+2 -2
View File
@@ -1,13 +1,13 @@
#!/usr/bin/perl #!/usr/bin/perl
# #
# AST_DB_optimize.pl version 0.2 *DBI-version* # AST_DB_optimize.pl version 2.0.5 *DBI-version*
# #
# DESCRIPTION: # DESCRIPTION:
# optimizes the tables used in the asterisk MySQL database # optimizes the tables used in the asterisk MySQL database
# #
# It is recommended that you run this program on the local Asterisk machine # It is recommended that you run this program on the local Asterisk machine
# #
# Copyright (C) 2006 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# CHANGES # CHANGES
# 60717-1242 - changed to DBI by Marin Blu # 60717-1242 - changed to DBI by Marin Blu
+2 -2
View File
@@ -1,6 +1,6 @@
#!/usr/bin/perl #!/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: # DESCRIPTION:
# OPTIONAL!!! CUSTOMIZE THIS SCRIPT FIRST!!! # OPTIONAL!!! CUSTOMIZE THIS SCRIPT FIRST!!!
@@ -10,7 +10,7 @@
# #
# It is recommended that you run this program on the local Asterisk machine # It is recommended that you run this program on the local Asterisk machine
# #
# Copyright (C) 2007 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# CHANGES # CHANGES
# 71106-0250 - first build # 71106-0250 - first build
+1 -1
View File
@@ -18,7 +18,7 @@
# exten => 834562311,2,Playback(gettysburgaddress) # exten => 834562311,2,Playback(gettysburgaddress)
# exten => 834562311,3,Hangup # exten => 834562311,3,Hangup
# #
# Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# changes: # changes:
# 50708-1533 - First version # 50708-1533 - First version
+2 -2
View File
@@ -1,11 +1,11 @@
#!/usr/bin/perl #!/usr/bin/perl
# #
# AST_VDadapt.pl version 2.0.4 *DBI-version* # AST_VDadapt.pl version 2.0.5
# #
# DESCRIPTION: # DESCRIPTION:
# adjusts the auto_dial_level for vicidial adaptive-predictive campaigns. # adjusts the auto_dial_level for vicidial adaptive-predictive campaigns.
# #
# Copyright (C) 2007 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# CHANGELOG # CHANGELOG
# 60823-1302 - First build from AST_VDhopper.pl # 60823-1302 - First build from AST_VDhopper.pl
+1 -1
View File
@@ -25,7 +25,7 @@
# It is good practice to keep this program running by placing the associated # 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 # KEEPALIVE script running every minute to ensure this program is always running
# #
# Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# CHANGELOG: # CHANGELOG:
# 50125-1201 - Changed dial timeout to 120 seconds from 180 seconds # 50125-1201 - Changed dial timeout to 120 seconds from 180 seconds
+1 -1
View File
@@ -12,7 +12,7 @@
# #
# Should only be run on one server in a multi-server Asterisk/VICIDIAL cluster # Should only be run on one server in a multi-server Asterisk/VICIDIAL cluster
# #
# Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# CHANGELOG: # CHANGELOG:
# 61115-1246 - First build, framework setup, non-functional # 61115-1246 - First build, framework setup, non-functional
+1 -1
View File
@@ -23,7 +23,7 @@
# a minute, you may want to play with the variables below to streamline for # a minute, you may want to play with the variables below to streamline for
# your usage # your usage
# #
# Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# CHANGELOG # CHANGELOG
# 50810-1613 - Added database server variable definitions lookup # 50810-1613 - Added database server variable definitions lookup
+1 -1
View File
@@ -23,7 +23,7 @@
# a minute, you may want to play with the variables below to streamline for # a minute, you may want to play with the variables below to streamline for
# your usage # your usage
# #
# Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# CHANGELOG # CHANGELOG
# 50810-1613 - Added database server variable definitions lookup # 50810-1613 - Added database server variable definitions lookup
+2 -2
View File
@@ -1,6 +1,6 @@
#!/usr/bin/perl #!/usr/bin/perl
# #
# AST_VDremote_agents.pl version 2.0.3 *DBI-version* # AST_VDremote_agents.pl version 2.0.5 *DBI-version*
# #
# DESCRIPTION: # DESCRIPTION:
# uses Net::MySQL to keep remote agents logged in to the VICIDIAL system # 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 # 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 # KEEPALIVE script running every minute to ensure this program is always running
# #
# Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# CHANGELOG: # CHANGELOG:
# 50215-0954 - First version of script # 50215-0954 - First version of script
+3 -3
View File
@@ -1,11 +1,11 @@
#!/usr/bin/perl #!/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 # This script is designed to gather sales for a VICIDIAL Outbound-only campaign and
# post them to a directory # post them to a directory
# #
# Copyright (C) 2007 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# CHANGES # CHANGES
# 61219-1118 - First version # 61219-1118 - First version
+2
View File
@@ -11,6 +11,8 @@
# Place in the crontab and run every night at 02:00AM for the previous day's stats # 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 # 0 2 * * * /home/cron/AST_agent_daily_SPH.pl
# #
# Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
#
# CHANGES # CHANGES
# 80114-1221 - First version # 80114-1221 - First version
# 80116-0941 - only print agents with week and month hours of 0 to PIPE file # 80116-0941 - only print agents with week and month hours of 0 to PIPE file
@@ -11,6 +11,8 @@
# Place in the crontab and run every night at 02:00AM for the previous day's stats # 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 # 0 2 * * * /home/cron/AST_agent_daily_SPH.pl
# #
# Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
#
# CHANGES # CHANGES
# 80114-1221 - First version # 80114-1221 - First version
# 80116-0941 - only print agents with week and month hours of 0 to PIPE file # 80116-0941 - only print agents with week and month hours of 0 to PIPE file
+4 -2
View File
@@ -1,6 +1,6 @@
#!/usr/bin/perl #!/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 # 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 # 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 # Place in the crontab and run every night at 23:59
# 59 23 * * * /home/cron/AST_agent_day.pl # 59 23 * * * /home/cron/AST_agent_day.pl
# #
# Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
#
# CHANGES # CHANGES
# 60517-1100 - First version # 60517-1100 - First version
# 60715-2325 - changed to use /etc/astguiclient.conf for configs # 60715-2325 - changed to use /etc/astguiclient.conf for configs
+1 -1
View File
@@ -21,7 +21,7 @@
# 15 16 * * 6 /usr/share/astguiclient/AST_agent_logout.pl --debugX # 15 16 * * 6 /usr/share/astguiclient/AST_agent_logout.pl --debugX
# #
# #
# Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# CHANGELOG # CHANGELOG
# 80112-0330 - First Build # 80112-0330 - First Build
+4 -2
View File
@@ -1,11 +1,13 @@
#!/usr/bin/perl #!/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 # 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 # of a week(Sunday to Saturday) and print it in an ASCI text file to be placed
# on a web server for viewing. # on a web server for viewing.
# #
# Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
#
# CHANGES # CHANGES
# 60517-1100 - First version # 60517-1100 - First version
# 60715-2325 - changed to use /etc/astguiclient.conf for configs # 60715-2325 - changed to use /etc/astguiclient.conf for configs
+4 -2
View File
@@ -1,6 +1,6 @@
#!/usr/bin/perl #!/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 # 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 # 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 # Place in the crontab and run every Saturday night at 23:59
# 59 23 6 * * /home/cron/AST_agent_day.pl # 59 23 6 * * /home/cron/AST_agent_day.pl
# #
# Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
#
# CHANGES # CHANGES
# 60517-1100 - First version # 60517-1100 - First version
# 60715-2325 - changed to use /etc/astguiclient.conf for configs # 60715-2325 - changed to use /etc/astguiclient.conf for configs
+3 -2
View File
@@ -1,6 +1,6 @@
#!/usr/bin/perl #!/usr/bin/perl
# #
# AST_cleanup_agent_log.pl version 0.3 *** DBI version *** # AST_cleanup_agent_log.pl version 2.0.5
# #
# DESCRIPTION: # DESCRIPTION:
# to be run frequently to clean up the vicidial_agent_log to fix erroneous time # 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 # This program only needs to be run by one server
# #
# Copyright (C) 2006 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# CHANGES # CHANGES
# 60711-0945 - changed to DBI by Marin Blu # 60711-0945 - changed to DBI by Marin Blu
# 60715-2301 - changed to use /etc/astguiclient.conf for configs # 60715-2301 - changed to use /etc/astguiclient.conf for configs
#
# constants # constants
$COUNTER_OUTPUT=1; # set to 1 to display the counter as the script runs $COUNTER_OUTPUT=1; # set to 1 to display the counter as the script runs
+2 -2
View File
@@ -1,6 +1,6 @@
#!/usr/bin/perl #!/usr/bin/perl
# #
# AST_conf_update.pl version 0.4 *DBI-version* # AST_conf_update.pl version 2.0.5 *DBI-version*
# #
# DESCRIPTION: # DESCRIPTION:
# uses the Asterisk Manager interface and Net::MySQL to update whether a conference # 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 # more than this either change the cron when this script is run or change the
# wait interval below # wait interval below
# #
# Copyright (C) 2006 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# 50810-1532 - Added database server variable definitions lookup # 50810-1532 - Added database server variable definitions lookup
# 50823-1456 - Added commandline arguments for debug at runtime # 50823-1456 - Added commandline arguments for debug at runtime
+2 -2
View File
@@ -1,6 +1,6 @@
#!/usr/bin/perl #!/usr/bin/perl
# #
# AST_flush_DBqueue.pl version 0.3 *DBI-version* # AST_flush_DBqueue.pl version 2.0.5
# #
# DESCRIPTION: # DESCRIPTION:
# - clears out mysql records for this server for the ACQS vicidial_manager table # - 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 # It is recommended that you run this program on the local Asterisk machine
# #
# Copyright (C) 2006 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# CHANGES # CHANGES
# 60717-1214 - changed to DBI by Marin Blu # 60717-1214 - changed to DBI by Marin Blu
@@ -1,6 +1,6 @@
#!/usr/bin/perl #!/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) # 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 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 # put this in the cron to run every minute
# #
# Copyright (C) 2006 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# CHANGES # CHANGES
# 50823-1525 - Added commandline debug options with debug printouts # 50823-1525 - Added commandline debug options with debug printouts
+2 -10
View File
@@ -1,6 +1,6 @@
#!/usr/bin/perl #!/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) # 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 # 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 # the call update the status and information of an action record in the
# vicidial_manager table of the asterisk MySQL database. # 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 <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# CHANGES # CHANGES
# 50322-1300 - changed callerid parsing to remove quotes and number # 50322-1300 - changed callerid parsing to remove quotes and number
+2 -2
View File
@@ -1,6 +1,6 @@
#!/usr/bin/perl #!/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) # 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 # scalability over just using a single process. Also, this means that a single
# action execution lock cannot bring the entire system down. # action execution lock cannot bring the entire system down.
# #
# Copyright (C) 2006 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# CHANGES # CHANGES
# 50823-1514 - Added commandline debug options with debug printouts # 50823-1514 - Added commandline debug options with debug printouts
+2 -2
View File
@@ -1,11 +1,11 @@
#!/usr/bin/perl #!/usr/bin/perl
# #
# AST_phone_update.pl version 2.0.4 *DBI-version* # AST_phone_update.pl version 2.0.5 *DBI-version*
# #
# DESCRIPTION: # DESCRIPTION:
# checks the registered IP address of the phone and updates the phones table # checks the registered IP address of the phone and updates the phones table
# #
# Copyright (C) 2007 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# 70521-1529 - first build # 70521-1529 - first build
# #
+3 -2
View File
@@ -1,6 +1,6 @@
#!/usr/bin/perl #!/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 !!! # !!! DO NOT RUN THIS WHILE THERE ARE ACTIVE CALLS ON THE ASTERISK SERVER !!!
# #
@@ -8,8 +8,9 @@
# clears out mysql records for this server # clears out mysql records for this server
# #
# It is recommended that you run this program on the local Asterisk machine # 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 <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# CHANGES # CHANGES
# 60717-1237 - changed to DBI by Marin Blu # 60717-1237 - changed to DBI by Marin Blu
+1 -1
View File
@@ -14,7 +14,7 @@
# to be executed. connect to the manager interface, send the action and logoff # to be executed. connect to the manager interface, send the action and logoff
# then exit. # then exit.
# #
# Copyright (C) 2006 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# CHANGES # CHANGES
# 50810-1547 - Added database server variable definitions lookup # 50810-1547 - Added database server variable definitions lookup
@@ -1,11 +1,11 @@
#!/usr/bin/perl #!/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 # This script is designed to gather stats for all leads by source_id and
# post them to a directory # post them to a directory
# #
# Copyright (C) 2007 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# CHANGES # CHANGES
# 70905-1409 - First version # 70905-1409 - First version
+1 -1
View File
@@ -30,7 +30,7 @@
# #
# It is recommended that you run this program on the local Asterisk machine # It is recommended that you run this program on the local Asterisk machine
# #
# Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# version changes: # version changes:
# 41228-1659 - modified to compensate for manager output response hiccups # 41228-1659 - modified to compensate for manager output response hiccups
+2 -2
View File
@@ -1,6 +1,6 @@
#!/usr/bin/perl #!/usr/bin/perl
# #
# AST_vm_update.pl version 0.4 *DBI-version* # AST_vm_update.pl version 2.0.5 *DBI-version*
# #
# DESCRIPTION: # DESCRIPTION:
# uses the Asterisk Manager interface and Net::MySQL to update the count of # 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 # more than this either change the cron when this script is run or change the
# wait interval below # wait interval below
# #
# Copyright (C) 2006 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2006 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# 50823-1422 - Added database server variable definitions lookup # 50823-1422 - Added database server variable definitions lookup
# 50823-1452 - Added commandline arguments for debug at runtime # 50823-1452 - Added commandline arguments for debug at runtime
+1 -1
View File
@@ -25,7 +25,7 @@
# exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME}) # exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME})
# #
# #
# Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# CHANGELOG: # CHANGELOG:
# 61010-1007 - First test build # 61010-1007 - First test build
+2 -2
View File
@@ -1,11 +1,11 @@
#!/usr/bin/perl #!/usr/bin/perl
# #
# VICIDIAL_DEDUPE_leads.pl version 2.0.4 *DBI-version* # VICIDIAL_DEDUPE_leads.pl version 2.0.5
# #
# DESCRIPTION: # DESCRIPTION:
# moves duplicate leads to another list_id # moves duplicate leads to another list_id
# #
# Copyright (C) 2007 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# /usr/share/astguiclient/VICIDIAL_DEDUPE_leads.pl --debugX --campaign-duplicate=CTF --ignore-list=999 # /usr/share/astguiclient/VICIDIAL_DEDUPE_leads.pl --debugX --campaign-duplicate=CTF --ignore-list=999
# #
@@ -1,6 +1,6 @@
#!/usr/bin/perl #!/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: # DESCRIPTION:
# script lets you insert leads into the vicidial_list table from a TAB-delimited # 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 # It is recommended that you run this program on the local Asterisk machine
# #
# Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# #
# CHANGES # CHANGES
@@ -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 <vicidial@gmail.com> 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 = <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;
@@ -1,8 +1,10 @@
#!/usr/bin/perl #!/usr/bin/perl
# build_translation_www_files.pl - converts web pages to other language
# #
# Copyright (C) 2007 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # build_translation_www_files.pl version 2.0.5
#
# converts web pages to other language
#
# Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# changes: # changes:
# 60808-1029 - Changed to use /etc/astguiclient.conf for configs # 60808-1029 - Changed to use /etc/astguiclient.conf for configs
+3 -2
View File
@@ -1,7 +1,8 @@
#!/usr/bin/perl #!/usr/bin/perl
# #
# Copyright (C) 2006 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # start_asterisk_boot.pl version 2.0.5
#
# Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# CHANGES # CHANGES
# #
+234 -235
View File
@@ -1,278 +1,277 @@
GNU GENERAL PUBLIC LICENSE AFFERO GENERAL PUBLIC LICENSE (AGPLv2)
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc. Version 2, November 2007
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.
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 This is version 2 of the Affero General Public License. It gives each licensee
freedom to share and change it. By contrast, the GNU General Public permission to distribute the Program or a work based on the Program (as defined
License is intended to guarantee your freedom to share and change free in version 1 of the Affero GPL) under the GNU Affero General Public License,
software--to make sure the software is free for all its users. This version 3 or any later version.
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.
When we speak of free software, we are referring to freedom, not This license is a modified version of the GNU General Public License copyright
price. Our General Public Licenses are designed to make sure that you (C) 1989, 1991 Free Software Foundation, Inc. made with their permission.
have the freedom to distribute copies of free software (and charge for Section 2(d) has been added to cover use of software over a computer network.
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.
To protect your rights, we need to make restrictions that forbid Everyone is permitted to copy and distribute verbatim copies of this license
anyone to deny you these rights or to ask you to surrender the rights. document, but changing it is not allowed.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether Preamble
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.
We protect your rights with two steps: (1) copyright the software, and The licenses for most software are designed to take away your freedom to share
(2) offer you this license which gives you legal permission to copy, and change it. By contrast, the Affero General Public License is intended to
distribute and/or modify the software. 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 When we speak of free software, we are referring to freedom, not price. This
that everyone understands that there is no warranty for this free General Public License is designed to make sure that you have the freedom to
software. If the software is modified by someone else and passed on, we distribute copies of free software (and charge for this service if you wish),
want its recipients to know that what they have is not the original, so that you receive source code or can get it if you want it, that you can change
that any problems introduced by others will not reflect on the original the software or use pieces of it in new free programs; and that you know you can
authors' reputations. do these things.
Finally, any free program is threatened constantly by software To protect your rights, we need to make restrictions that forbid anyone to deny
patents. We wish to avoid the danger that redistributors of a free you these rights or to ask you to surrender the rights. These restrictions
program will individually obtain patent licenses, in effect making the translate to certain responsibilities for you if you distribute copies of the
program proprietary. To prevent this, we have made it clear that any software, or if you modify it.
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and For example, if you distribute copies of such a program, whether gratis or for a
modification follow. 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 We protect your rights with two steps: (1) copyright the software, and (2) offer
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 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 Also, for each author's protection and ours, we want to make certain that
a notice placed by the copyright holder saying it may be distributed everyone understands that there is no warranty for this free software. If the
under the terms of this General Public License. The "Program", below, software is modified by someone else and passed on, we want its recipients to
refers to any such program or work, and a "work based on the Program" know that what they have is not the original, so that any problems introduced by
means either the Program or any derivative work under copyright law: others will not reflect on the original authors' reputations.
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 Finally, any free program is threatened constantly by software patents. We wish
covered by this License; they are outside its scope. The act of to avoid the danger that redistributors of a free program will individually
running the Program is not restricted, and the output from the Program obtain patent licenses, in effect making the program proprietary. To prevent
is covered only if its contents constitute a work based on the this, we have made it clear that any patent must be licensed for everyone's free
Program (independent of having been made by running the Program). use or not licensed at all.
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's The precise terms and conditions for copying, distribution and modification
source code as you receive it, in any medium, provided that you follow.
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
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 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. along with the Program.
You may charge a fee for the physical act of transferring a copy, and You may charge a fee for the physical act of transferring a copy, and you may at
you may at your option offer warranty protection in exchange for a fee. your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion 2. You may modify your copy or copies of the Program or any portion of it, thus
of it, thus forming a work based on the Program, and copy and forming a work based on the Program, and copy and distribute such modifications
distribute such modifications or work under the terms of Section 1 or work under the terms of Section 1 above, provided that you also meet all of
above, provided that you also meet all of these conditions: these conditions:
a) You must cause the modified files to carry prominent notices * a) You must cause the modified files to carry prominent notices stating that
stating that you changed the files and the date of any change. you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in * b) You must cause any work that you distribute or publish, that in whole or in
whole or in part contains or is derived from the Program or any part contains or is derived from the Program or any part thereof, to be licensed
part thereof, to be licensed as a whole at no charge to all third as a whole at no charge to all third parties under the terms of this License.
parties under the terms of this License.
c) If the modified program normally reads commands interactively * c) If the modified program normally reads commands interactively when run, you
when run, you must cause it, when started running for such must cause it, when started running for such interactive use in the most
interactive use in the most ordinary way, to print or display an ordinary way, to print or display an announcement including an appropriate
announcement including an appropriate copyright notice and a copyright notice and a notice that there is no warranty (or else, saying that
notice that there is no warranty (or else, saying that you provide you provide a warranty) and that users may redistribute the program under these
a warranty) and that users may redistribute the program under conditions, and telling the user how to view a copy of this License. (Exception:
these conditions, and telling the user how to view a copy of this if the Program itself is interactive but does not normally print such an
License. (Exception: if the Program itself is interactive but announcement, your work based on the Program is not required to print an
does not normally print such an announcement, your work based on announcement.)
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If * d) If the Program as you received it is intended to interact with users
identifiable sections of that work are not derived from the Program, through a computer network and if, in the version you received, any user
and can be reasonably considered independent and separate works in interacting with the Program was given the opportunity to request transmission
themselves, then this License, and its terms, do not apply to those to that user of the Program's complete source code, you must not remove that
sections when you distribute them as separate works. But when you facility from your modified version of the Program or work based on the Program,
distribute the same sections as part of a whole which is a work based and must offer an equivalent opportunity for all users interacting with your
on the Program, the distribution of the whole must be on the terms of Program through a computer network to request immediate transmission by HTTP of
this License, whose permissions for other licensees extend to the the complete source code of your modified version or other derivative work.
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest These requirements apply to the modified work as a whole. If identifiable
your rights to work written entirely by you; rather, the intent is to sections of that work are not derived from the Program, and can be reasonably
exercise the right to control the distribution of derivative or considered independent and separate works in themselves, then this License, and
collective works based on the Program. 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 Thus, it is not the intent of this section to claim rights or contest your
with the Program (or with a work based on the Program) on a volume of rights to work written entirely by you; rather, the intent is to exercise the
a storage or distribution medium does not bring the other work under right to control the distribution of derivative or collective works based on the
the scope of this License. Program.
3. You may copy and distribute the Program (or a work based on it, In addition, mere aggregation of another work not based on the Program with the
under Section 2) in object code or executable form under the terms of Program (or with a work based on the Program) on a volume of a storage or
Sections 1 and 2 above provided that you also do one of the following: distribution medium does not bring the other work under the scope of this
License.
a) Accompany it with the complete corresponding machine-readable 3. You may copy and distribute the Program (or a work based on it, under Section
source code, which must be distributed under the terms of Sections 2) in object code or executable form under the terms of Sections 1 and 2 above
1 and 2 above on a medium customarily used for software interchange; or, provided that you also do one of the following:
b) Accompany it with a written offer, valid for at least three * a) Accompany it with the complete corresponding machine-readable source code,
years, to give any third party, for a charge no more than your which must be distributed under the terms of Sections 1 and 2 above on a medium
cost of physically performing source distribution, a complete customarily used for software interchange; or,
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,
c) Accompany it with the information you received as to the offer * b) Accompany it with a written offer, valid for at least three years, to give
to distribute corresponding source code. (This alternative is any third party, for a charge no more than your cost of physically performing
allowed only for noncommercial distribution and only if you source distribution, a complete machine-readable copy of the corresponding
received the program in object code or executable form with such source code, to be distributed under the terms of Sections 1 and 2 above on a
an offer, in accord with Subsection b above.) medium customarily used for software interchange; or,
The source code for a work means the preferred form of the work for * c) Accompany it with the information you received as to the offer to
making modifications to it. For an executable work, complete source distribute corresponding source code. (This alternative is allowed only for
code means all the source code for all modules it contains, plus any noncommercial distribution and only if you received the program in object code
associated interface definition files, plus the scripts used to or executable form with such an offer, in accord with Subsection b above.)
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.
If distribution of executable or object code is made by offering The source code for a work means the preferred form of the work for making
access to copy from a designated place, then offering equivalent modifications to it. For an executable work, complete source code means all the
access to copy the source code from the same place counts as source code for all modules it contains, plus any associated interface
distribution of the source code, even though third parties are not definition files, plus the scripts used to control compilation and installation
compelled to copy the source along with the object code. 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 If distribution of executable or object code is made by offering access to copy
except as expressly provided under this License. Any attempt from a designated place, then offering equivalent access to copy the source code
otherwise to copy, modify, sublicense or distribute the Program is from the same place counts as distribution of the source code, even though third
void, and will automatically terminate your rights under this License. parties are not compelled to copy the source along with the object code.
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.
5. You are not required to accept this License, since you have not 4. You may not copy, modify, sublicense, or distribute the Program except as
signed it. However, nothing else grants you permission to modify or expressly provided under this License. Any attempt otherwise to copy, modify,
distribute the Program or its derivative works. These actions are sublicense or distribute the Program is void, and will automatically terminate
prohibited by law if you do not accept this License. Therefore, by your rights under this License. However, parties who have received copies, or
modifying or distributing the Program (or any work based on the rights, from you under this License will not have their licenses terminated so
Program), you indicate your acceptance of this License to do so, and long as such parties remain in full compliance.
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the 5. You are not required to accept this License, since you have not signed it.
Program), the recipient automatically receives a license from the However, nothing else grants you permission to modify or distribute the Program
original licensor to copy, distribute or modify the Program subject to or its derivative works. These actions are prohibited by law if you do not
these terms and conditions. You may not impose any further accept this License. Therefore, by modifying or distributing the Program (or any
restrictions on the recipients' exercise of the rights granted herein. work based on the Program), you indicate your acceptance of this License to do
You are not responsible for enforcing compliance by third parties to so, and all its terms and conditions for copying, distributing or modifying the
this License. Program or works based on it.
7. If, as a consequence of a court judgment or allegation of patent 6. Each time you redistribute the Program (or any work based on the Program),
infringement or for any other reason (not limited to patent issues), the recipient automatically receives a license from the original licensor to
conditions are imposed on you (whether by court order, agreement or copy, distribute or modify the Program subject to these terms and conditions.
otherwise) that contradict the conditions of this License, they do not You may not impose any further restrictions on the recipients' exercise of the
excuse you from the conditions of this License. If you cannot rights granted herein. You are not responsible for enforcing compliance by third
distribute so as to satisfy simultaneously your obligations under this parties to this License.
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.
If any portion of this section is held invalid or unenforceable under 7. If, as a consequence of a court judgment or allegation of patent infringement
any particular circumstance, the balance of the section is intended to or for any other reason (not limited to patent issues), conditions are imposed
apply and the section as a whole is intended to apply in other on you (whether by court order, agreement or otherwise) that contradict the
circumstances. 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 If any portion of this section is held invalid or unenforceable under any
patents or other property right claims or to contest validity of any particular circumstance, the balance of the section is intended to apply and the
such claims; this section has the sole purpose of protecting the section as a whole is intended to apply in other circumstances.
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.
This section is intended to make thoroughly clear what is believed to It is not the purpose of this section to induce you to infringe any patents or
be a consequence of the rest of this License. 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 This section is intended to make thoroughly clear what is believed to be a
certain countries either by patents or by copyrighted interfaces, the consequence of the rest of this License.
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.
9. The Free Software Foundation may publish revised and/or new versions 8. If the distribution and/or use of the Program is restricted in certain
of the General Public License from time to time. Such new versions will countries either by patents or by copyrighted interfaces, the original copyright
be similar in spirit to the present version, but may differ in detail to holder who places the Program under this License may add an explicit
address new problems or concerns. 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 9. Affero Inc. may publish revised and/or new versions of the Affero General
specifies a version number of this License which applies to it and "any Public License from time to time. Such new versions will be similar in spirit to
later version", you have the option of following the terms and conditions the present version, but may differ in detail to address new problems or
either of that version or of any later version published by the Free concerns.
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.
10. If you wish to incorporate parts of the Program into other free Each version is given a distinguishing version number. If the Program specifies
programs whose distribution conditions are different, write to the author a version number of this License which applies to it and "any later version",
to ask for permission. For software which is copyrighted by the Free you have the option of following the terms and conditions either of that version
Software Foundation, write to the Free Software Foundation; we sometimes or of any later version published by Affero, Inc. If the Program does not
make exceptions for this. Our decision will be guided by the two goals specify a version number of this License, you may choose any version ever
of preserving the free status of all derivatives of our free software and published by Affero, Inc.
of promoting the sharing and reuse of software generally.
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 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 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
POSSIBILITY OF SUCH DAMAGES.
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.
+1 -1
View File
@@ -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/ # 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 # paste installation shell commands for required and helper apps for VICIDIAL
# might need: echo '/* Linuxthreads */' >> /usr/include/pthread.h # might need: echo '/* Linuxthreads */' >> /usr/include/pthread.h
+1 -1
View File
@@ -2,7 +2,7 @@
# install.pl version 2.0.5 # install.pl version 2.0.5
# #
# Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# CHANGES # CHANGES
+29 -29
View File
@@ -1,33 +1,33 @@
<? <?
### active_list_refresh.php # active_list_refresh.php version 2.0.5
### #
### Copyright (C) 2006 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
### #
### This script is designed purely to serve updates of the live data to the display scripts # 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 # 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: # required variables:
### - $server_ip # - $server_ip
### - $session_name # - $session_name
### - $user # - $user
### - $pass # - $pass
### optional variables: # optional variables:
### - $ADD - ('1','2','3','4','5') # - $ADD - ('1','2','3','4','5')
### - $order - ('asc','desc') # - $order - ('asc','desc')
### - $format - ('text','table','menu','selectlist','textarea') # - $format - ('text','table','menu','selectlist','textarea')
### - $bgcolor - ('#123456','white','black','etc...') # - $bgcolor - ('#123456','white','black','etc...')
### - $txtcolor - ('#654321','black','white','etc...') # - $txtcolor - ('#654321','black','white','etc...')
### - $txtsize - ('1','2','3','etc...') # - $txtsize - ('1','2','3','etc...')
### - $selectsize - ('2','3','4','etc...') # - $selectsize - ('2','3','4','etc...')
### - $selectfontsize - ('8','10','12','etc...') # - $selectfontsize - ('8','10','12','etc...')
### - $selectedext - ('cc100') # - $selectedext - ('cc100')
### - $selectedtrunk - ('Zap/25-1') # - $selectedtrunk - ('Zap/25-1')
### - $selectedlocal - ('SIP/cc100') # - $selectedlocal - ('SIP/cc100')
### - $textareaheight - ('8','10','12','etc...') # - $textareaheight - ('8','10','12','etc...')
### - $textareawidth - ('8','10','12','etc...') # - $textareawidth - ('8','10','12','etc...')
### - $field_name - ('extension','busyext','extension_xfer','etc...') # - $field_name - ('extension','busyext','extension_xfer','etc...')
### #
#
# changes # changes
# 50323-1147 - First build of script # 50323-1147 - First build of script
# 50401-1132 - small formatting changes # 50401-1132 - small formatting changes
+1 -1
View File
@@ -1,7 +1,7 @@
<? <?
# astguiclient.php - the web-based version of the astGUIclient client application # astguiclient.php - the web-based version of the astGUIclient client application
# #
# Copyright (C) 2006 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# make sure you have added a user to the vicidial_users MySQL table with at least # 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 # user_level 1 or greater to access this page. Also you need to have the login
+20 -20
View File
@@ -1,24 +1,24 @@
<? <?
### call_log_display.php # call_log_display.php version 2.0.5
### #
### Copyright (C) 2006 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
### #
### This script is designed purely to send the inbound and outbound calls for a specific phone # 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 # 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: # required variables:
### - $server_ip # - $server_ip
### - $session_name # - $session_name
### - $user # - $user
### - $pass # - $pass
### optional variables: # optional variables:
### - $format - ('text','debug') # - $format - ('text','debug')
### - $exten - ('cc101','testphone','49-1','1234','913125551212',...) # - $exten - ('cc101','testphone','49-1','1234','913125551212',...)
### - $protocol - ('SIP','Zap','IAX2',...) # - $protocol - ('SIP','Zap','IAX2',...)
### - $in_limit - ('10','20','50','100',...) # - $in_limit - ('10','20','50','100',...)
### - $out_limit - ('10','20','50','100',...) # - $out_limit - ('10','20','50','100',...)
### #
#
# changes # changes
# 50406-1013 - First build of script # 50406-1013 - First build of script
# 50407-1452 - Added definable limits # 50407-1452 - Added definable limits
+2 -2
View File
@@ -1,7 +1,7 @@
<? <?
# conf_exten_check.php # conf_exten_check.php version 2.0.5
# #
# Copyright (C) 2007 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# This script is designed purely to send whether the meetme conference has live channels connected and which they are # 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 # This script depends on the server_ip being sent and also needs to have a valid user/pass from the vicidial_users table
+5 -1
View File
@@ -1,6 +1,10 @@
<? <?
# #
# Copyright (C) 2007 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # dbconnect.php version 2.0.5
#
# database connection settings and some global web settings
#
# Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
if ( file_exists("/etc/astguiclient.conf") ) if ( file_exists("/etc/astguiclient.conf") )
{ {
+24 -24
View File
@@ -1,28 +1,28 @@
<? <?
### inbound_popup.php # inbound_popup.php version 2.0.5
### #
### Copyright (C) 2006 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
### #
### This script is designed to open up when a live_inbound call comes in giving the user # 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 # 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 # 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: # required variables:
### - $server_ip # - $server_ip
### - $session_name # - $session_name
### - $uniqueid - ('1234567890.123456',...) # - $uniqueid - ('1234567890.123456',...)
### - $user # - $user
### - $pass # - $pass
### optional variables: # optional variables:
### - $format - ('text','debug') # - $format - ('text','debug')
### - $vmail_box - ('101','1234',...) # - $vmail_box - ('101','1234',...)
### - $exten - ('cc101','testphone','49-1','1234','913125551212',...) # - $exten - ('cc101','testphone','49-1','1234','913125551212',...)
### - $ext_context - ('default','demo',...) # - $ext_context - ('default','demo',...)
### - $ext_priority - ('1','2',...) # - $ext_priority - ('1','2',...)
### - $voicemail_dump_exten - ('85026666666666') # - $voicemail_dump_exten - ('85026666666666')
### - $local_web_callerID_URL_enc - ( rawurlencoded custom callerid lookup URL) # - $local_web_callerID_URL_enc - ( rawurlencoded custom callerid lookup URL)
### #
#
# changes # changes
# 50428-1500 - First build of script display only # 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 # 50429-1241 - some formatting, hangup and Vmail redirect, 30s timeout on actions, and CID web lookup links
+18 -18
View File
@@ -1,22 +1,22 @@
<? <?
### live_exten_check.php # live_exten_check.php version 2.0.5
### #
### Copyright (C) 2006 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
### #
### This script is designed purely to send whether the client channel is live and to what channel it is connected # 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 # 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: # required variables:
### - $server_ip # - $server_ip
### - $session_name # - $session_name
### - $user # - $user
### - $pass # - $pass
### optional variables: # optional variables:
### - $format - ('text','debug') # - $format - ('text','debug')
### - $exten - ('cc101','testphone','49-1','1234','913125551212',...) # - $exten - ('cc101','testphone','49-1','1234','913125551212',...)
### - $protocol - ('SIP','Zap','IAX2',...) # - $protocol - ('SIP','Zap','IAX2',...)
### #
#
# changes # changes
# 50404-1249 - First build of script # 50404-1249 - First build of script
# 50406-1402 - added connected trunk lookup # 50406-1402 - added connected trunk lookup
+2 -2
View File
@@ -1,7 +1,7 @@
<? <?
# manager_send.php # manager_send.php version 2.0.5
# #
# Copyright (C) 2007 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# This script is designed purely to insert records into the vicidial_manager table to signal Actions to an asterisk server # 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 # This script depends on the server_ip being sent and also needs to have a valid user/pass from the vicidial_users table
+18 -18
View File
@@ -1,22 +1,22 @@
<? <?
### park_calls_display.php # park_calls_display.php version 2.0.5
### #
### Copyright (C) 2006 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
### #
### This script is designed purely to send the details on the parked calls on the server # 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 # 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: # required variables:
### - $server_ip # - $server_ip
### - $session_name # - $session_name
### - $user # - $user
### - $pass # - $pass
### optional variables: # optional variables:
### - $format - ('text','debug') # - $format - ('text','debug')
### - $exten - ('cc101','testphone','49-1','1234','913125551212',...) # - $exten - ('cc101','testphone','49-1','1234','913125551212',...)
### - $protocol - ('SIP','Zap','IAX2',...) # - $protocol - ('SIP','Zap','IAX2',...)
### #
#
# changes # changes
# 50524-1515 - First build of script # 50524-1515 - First build of script
# 50711-1208 - removed HTTP authentication in favor of user/pass vars # 50711-1208 - removed HTTP authentication in favor of user/pass vars
+1 -1
View File
@@ -1,7 +1,7 @@
<? <?
# vdc_db_query.php # vdc_db_query.php
# #
# Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# This script is designed purely to send whether the meetme conference has live channels connected and which they are # 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 # This script depends on the server_ip being sent and also needs to have a valid user/pass from the vicidial_users table
+1 -1
View File
@@ -1,7 +1,7 @@
<? <?
# vicidial.php - the web-based version of the astVICIDIAL client application # vicidial.php - the web-based version of the astVICIDIAL client application
# #
# Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# make sure you have added a user to the vicidial_users MySQL table with at least # 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 # user_level 1 or greater to access this page. Also, you need to have the login
+17 -17
View File
@@ -1,21 +1,21 @@
<? <?
### voicemail_check.php # voicemail_check.php version 2.0.5
### #
### Copyright (C) 2006 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
### #
### This script is designed purely to check whether the voicemail box on the server defined has new and old messages # 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 # 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: # required variables:
### - $server_ip # - $server_ip
### - $session_name # - $session_name
### - $user # - $user
### - $pass # - $pass
### optional variables: # optional variables:
### - $format - ('text','debug') # - $format - ('text','debug')
### - $vmail_box - ('101','1234',...) # - $vmail_box - ('101','1234',...)
### #
#
# changes # changes
# 50422-1147 - First build of script # 50422-1147 - First build of script
# 50503-1241 - added session_name checking for extra security # 50503-1241 - added session_name checking for extra security
@@ -1,8 +1,8 @@
<? <?
### AST_CLOSERstats.php # AST_CLOSERstats.php
### #
### Copyright (C) 2006 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
### #
# CHANGES # CHANGES
# #
# 60619-1714 - Added variable filtering to eliminate SQL injection attack threat # 60619-1714 - Added variable filtering to eliminate SQL injection attack threat
+4 -4
View File
@@ -1,8 +1,8 @@
<? <?
### AST_VDADstats.php # AST_VDADstats.php
### #
### Copyright (C) 2007 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
### #
# CHANGES # CHANGES
# #
# 60619-1718 - Added variable filtering to eliminate SQL injection attack threat # 60619-1718 - Added variable filtering to eliminate SQL injection attack threat
@@ -1,8 +1,8 @@
<? <?
### AST_VICIDIAL_hopperlist.php # AST_VICIDIAL_hopperlist.php
### #
### Copyright (C) 2006 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
### #
# CHANGES # CHANGES
# #
# 60619-1654 - Added variable filtering to eliminate SQL injection attack threat # 60619-1654 - Added variable filtering to eliminate SQL injection attack threat
@@ -1,8 +1,8 @@
<? <?
### AST_admin_log_display.php # AST_admin_log_display.php
### #
### Copyright (C) 2006 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
### #
require("dbconnect.php"); require("dbconnect.php");
@@ -1,14 +1,14 @@
<? <?
### AST_agent_disposition.php # AST_agent_disposition.php
### Date Range - Agent/Campaign Disposition (Perfect Network Corporation) #
### # Date Range - Agent/Campaign Disposition (Perfect Network Corporation)
### Copyright (C) 2006 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 #
### # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
#
# CHANGES # CHANGES
# #
# 70201-1213 - First build - from Marin Blu # 70201-1213 - First build - from Marin Blu
# #
#
require("dbconnect.php"); require("dbconnect.php");
@@ -1,8 +1,8 @@
<? <?
### AST_agent_performance.php # AST_agent_performance.php
### #
### Copyright (C) 2006 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
### #
# CHANGES # CHANGES
# #
# 60619-1711 - Added variable filtering to eliminate SQL injection attack threat # 60619-1711 - Added variable filtering to eliminate SQL injection attack threat
@@ -1,8 +1,8 @@
<? <?
### AST_agent_performance_detail.php # AST_agent_performance_detail.php
### #
### Copyright (C) 2007 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
### #
# CHANGES # CHANGES
# #
# 71119-2359 - First build # 71119-2359 - First build
@@ -1,8 +1,8 @@
<? <?
### AST_agent_time_sheet.php # AST_agent_time_sheet.php
### #
### Copyright (C) 2006 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
### #
# CHANGES # CHANGES
# #
# 60619-1729 - Added variable filtering to eliminate SQL injection attack threat # 60619-1729 - Added variable filtering to eliminate SQL injection attack threat
@@ -1,8 +1,8 @@
<? <?
### AST_agent_time_sheet_archive.php # AST_agent_time_sheet_archive.php
### #
### Copyright (C) 2006 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
### #
# CHANGES # CHANGES
# #
# 60619-1721 - Added variable filtering to eliminate SQL injection attack threat # 60619-1721 - Added variable filtering to eliminate SQL injection attack threat
@@ -1,7 +1,7 @@
<? <?
# AST_inboundEXTstats.php # AST_inboundEXTstats.php
# #
# Copyright (C) 2006 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# CHANGES # CHANGES
# 60421-1450 - check GET/POST vars lines with isset to not trigger PHP NOTICES # 60421-1450 - check GET/POST vars lines with isset to not trigger PHP NOTICES
@@ -1,7 +1,7 @@
<? <?
# AST_inboundEXTstats_department.php # AST_inboundEXTstats_department.php
# #
# Copyright (C) 2006 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# CHANGES # CHANGES
# 70201-1710 - First Build # 70201-1710 - First Build
+4 -4
View File
@@ -1,8 +1,8 @@
<? <?
### AST_parkstats.php # AST_parkstats.php
### #
### Copyright (C) 2006 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
### #
# CHANGES # CHANGES
# #
# 60619-1717 - Added variable filtering to eliminate SQL injection attack threat # 60619-1717 - Added variable filtering to eliminate SQL injection attack threat
@@ -1,7 +1,7 @@
<? <?
# AST_server_performance.php # AST_server_performance.php
# #
# Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# CHANGES # CHANGES
# #
@@ -1,8 +1,8 @@
<? <?
### AST_timeonVDAD.php # AST_timeonVDAD.php
### #
### Copyright (C) 2006 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
### #
# live real-time stats for the VICIDIAL Auto-Dialer # live real-time stats for the VICIDIAL Auto-Dialer
# #
# CHANGES # CHANGES
@@ -1,7 +1,7 @@
<? <?
# AST_timeonVDADall.php # AST_timeonVDADall.php
# #
# Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# live real-time stats for the VICIDIAL Auto-Dialer all servers # live real-time stats for the VICIDIAL Auto-Dialer all servers
# #
@@ -1,7 +1,7 @@
<? <?
# AST_timeonVDADall.php # AST_timeonVDADallREC.php
# #
# Copyright (C) 2006 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# live real-time stats for the VICIDIAL Auto-Dialer all servers # live real-time stats for the VICIDIAL Auto-Dialer all servers
# #
@@ -1,7 +1,7 @@
<? <?
# AST_timeonVDADallSUMMARY.php # AST_timeonVDADallSUMMARY.php
# #
# Copyright (C) 2007 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# Summary for all campaigns live real-time stats for the VICIDIAL Auto-Dialer all servers # Summary for all campaigns live real-time stats for the VICIDIAL Auto-Dialer all servers
# #
@@ -1,8 +1,8 @@
<? <?
### AST_timeonpark.php # AST_timeonpark.php
### #
### Copyright (C) 2006 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
### #
# CHANGES # CHANGES
# #
# 60620-1042 - Added variable filtering to eliminate SQL injection attack threat # 60620-1042 - Added variable filtering to eliminate SQL injection attack threat
+2 -3
View File
@@ -1,8 +1,7 @@
<? <?
# admin.php - VICIDIAL administration page # admin.php - VICIDIAL administration page
# #
# # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2
# #
@@ -1,7 +1,7 @@
<? <?
# admin_modify_lead.php # admin_modify_lead.php
# #
# Copyright (C) 2007 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2 # Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# #
# CHANGES # CHANGES

Some files were not shown because too many files have changed in this diff Show More