Added option to display statuses within the active lists of a campaign in the campaign modification screen

git-svn-id: svn://192.168.202.10@1573 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2010-12-10 01:32:18 +00:00
parent 6a934e5c1a
commit ef90d53743
6 changed files with 268 additions and 11 deletions
+4
View File
@@ -413,6 +413,10 @@ OTHER CHANGES:
94. Added did_log_export and recording_lookup functions to the non-agent API
95. Added option to display statuses within the active lists of a campaign in
the campaign modification screen. Also includes called and not called
counts.
@@ -780,7 +780,8 @@ auto_hopper_multi VARCHAR(6) default '1',
auto_hopper_level MEDIUMINT(8) UNSIGNED default '0',
auto_trim_hopper ENUM('Y','N') default 'Y',
api_manual_dial ENUM('STANDARD','QUEUE','QUEUE_AND_AUTOCALL') default 'STANDARD',
manual_dial_call_time_check ENUM('DISABLED','ENABLED') default 'DISABLED'
manual_dial_call_time_check ENUM('DISABLED','ENABLED') default 'DISABLED',
display_leads_count ENUM('Y','N') default 'N'
);
CREATE TABLE vicidial_lists (
@@ -2410,7 +2411,7 @@ ALTER TABLE vicidial_agent_log_archive MODIFY agent_log_id INT(9) UNSIGNED NOT N
CREATE TABLE vicidial_carrier_log_archive LIKE vicidial_carrier_log;
UPDATE system_settings SET db_schema_version='1255',db_schema_update_date=NOW();
UPDATE system_settings SET db_schema_version='1256',db_schema_update_date=NOW();
GRANT RELOAD ON *.* TO cron@'%';
GRANT RELOAD ON *.* TO cron@localhost;
+4
View File
@@ -629,3 +629,7 @@ ALTER TABLE vicidial_lists ADD web_form_address TEXT;
ALTER TABLE vicidial_lists ADD web_form_address_two TEXT;
UPDATE system_settings SET db_schema_version='1255',db_schema_update_date=NOW();
ALTER TABLE vicidial_campaigns ADD display_leads_count ENUM('Y','N') default 'N';
UPDATE system_settings SET db_schema_version='1256',db_schema_update_date=NOW();
@@ -490,6 +490,8 @@ Agent Screen Login||
The login used for the phone user to login to the client applications, like the ViciDial agent screen||
Phone Extension||
This field is where you put the phones name as it appears to Asterisk not including the protocol or slash at the beginning. For Example: for the SIP phone SIP/test101 the Phone extension would be test101. Also, for IAX2 phones: IAX2/IAXphone1@IAXphone1 would be IAXphone1. For Zap and Dahdi attached channelbank or FXS phones make sure you put the full channel number without the prefix: Zap/25-1 would be 25-1. Another note, make sure you set the Protocol field below correctly for your type of phone||
STATUSES WITHIN THE ACTIVE LISTS FOR THIS CAMPAIGN||
SHOW LEAD STATUSES IN THIS CAMPAIGN||
AST_LISTS_campaign_stats.php
+1 -1
View File
@@ -3991,7 +3991,7 @@ if ($stage == "end")
if ($mel > 0) {mysql_error_logging($NOW_TIME,$link,$mel,$stmt,'00098',$user,$server_ip,$session_name,$one_mysql_log);}
echo "REC_STOP|$rec_channels[$loop_count]|$filename[$loop_count]|";
if (strlen($filename)>2)
if (strlen($filename[$loop_count])>2)
{
$stmt="SELECT recording_id,start_epoch,vicidial_id,lead_id FROM recording_log where filename='$filename[$loop_count]'";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
File diff suppressed because one or more lines are too long