Documentation updates
fixed small bug in non-agent API with custom fields git-svn-id: svn://192.168.202.10@1780 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -119,6 +119,7 @@ qm_dispo_code -
|
||||
|
||||
EXAMPLE URL:
|
||||
http://server/agc/api.php?source=test&user=6666&pass=1234&agent_user=1000&function=external_status&value=A
|
||||
http://server/agc/api.php?source=test&user=6666&pass=1234&agent_user=1000&function=external_status&value=CALLBK&callback_datetime=2012-01-25+12:00:00&callback_type=USERONLY&callback_comments=callback+comments+go+here&qm_dispo_code=1234
|
||||
|
||||
RESPONSES:
|
||||
ERROR: external_status not valid - A|6666
|
||||
|
||||
@@ -11,7 +11,8 @@ opened when the user clicks on the WEB FORM button. To customize the
|
||||
query string after the web form, simply begin the web form with VAR
|
||||
and then the URL that you want to use, replacing the variables with
|
||||
the variable names that you want to use --A--phone_number--B-- just
|
||||
like in the SCRIPTS tab section.
|
||||
like in the SCRIPTS tab section. If you want to use custom fields in a web form
|
||||
address, you need to add &CF_uses_custom_fields=Y as part of your URL.
|
||||
|
||||
Start Call URL - This web URL address is not seen by the agent, but
|
||||
it is called every time a call is sent to an agent if it is populated.
|
||||
|
||||
@@ -66,6 +66,7 @@ Changes:
|
||||
110821-2318 - Added update_phone, add_phone_alias, update_phone_alias functions
|
||||
110928-2110 - Added callback options to add_lead and update_lead
|
||||
111106-0959 - Added user_group restrictions to some functions
|
||||
120127-1331 - Small fix for plus replacement in custom fields strings for add/update_lead functions
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -827,6 +827,9 @@ Day call count for this campaign||
|
||||
SUMMARY STATS||
|
||||
Daily Maximum Stats||
|
||||
These are statistics that are generated by the system each day throughout the day until the timeclock end-of-day as it is set in the System Settings. These numbers are generated from the logs within the system to allow for much faster display. The stats are included are - Total Calls, Maximum Agents, Maximum inbound calls, Maximum outbound calls||
|
||||
Add or Remove In-Group Selected For Active Users in This User Group||
|
||||
Maximum System Stats Reports||
|
||||
These statistics are cached totals that are stored throughout each day in real-time through back-end processes. For inbound calls, the total calls per in-group are calculated for each call that enters the process that calculates. For the whole system counts, the totals are generated from log entries as well as other in-group and campaign totals. These totals may not add up due to the settings that you have in your system as well as when the call is hung up||
|
||||
|
||||
|
||||
lead_report_export.php
|
||||
|
||||
+11
-2
@@ -8402,6 +8402,15 @@ if ($ADD==99999)
|
||||
<B>Through the use of system status categories, you can group together statuses to allow for statistical analysis on a group of statuses. The Category ID must be 2-20 characters in length with no spaces, the name must be 2-50 characters in length, the description is optional and TimeonVDAD Display defines whether that status will be one of the upto 4 statuses that can be calculated and displayed on the Time On VDAD Real-Time report.</B> The Sale Category and Dead Lead Category are both used by the List Suggestion system when analyzing list statistics.
|
||||
|
||||
|
||||
|
||||
<BR><BR><BR><BR>
|
||||
|
||||
<B><FONT SIZE=3>Maximum System Stats Reports</FONT></B><BR><BR>
|
||||
<A NAME="vicidial_max_stats">
|
||||
<BR>
|
||||
<B>These statistics are cached totals that are stored throughout each day in real-time through back-end processes. For inbound calls, the total calls per in-group are calculated for each call that enters the process that calculates. For the whole system counts, the totals are generated from log entries as well as other in-group and campaign totals. These totals may not add up due to the settings that you have in your system as well as when the call is hung up.
|
||||
|
||||
|
||||
<?php
|
||||
if ($SSqc_features_active > 0)
|
||||
{
|
||||
@@ -32830,7 +32839,7 @@ if ($ADD==999993)
|
||||
{echo "Not found"; exit;}
|
||||
}
|
||||
|
||||
echo "<br><B> Administration: Maximum Stats Detail for $stage $modify_link$campaign_id</a> - $campaign_name</B><BR><BR>\n";
|
||||
echo "<br><B> Administration: Maximum Stats Detail for $stage $modify_link$campaign_id</a> - $campaign_name</B> $NWB#vicidial_max_stats$NWE<BR><BR>\n";
|
||||
echo "<center><TABLE width=$section_width cellspacing=5 cellpadding=2>\n";
|
||||
|
||||
echo "<tr bgcolor=#B6D3FC><td align=center colspan=2>\n";
|
||||
@@ -32861,7 +32870,7 @@ if ($ADD==999992)
|
||||
echo "<TABLE><TR><TD>\n";
|
||||
echo "<FONT FACE=\"ARIAL,HELVETICA\" COLOR=BLACK SIZE=2>";
|
||||
|
||||
echo "<br><B> Administration: Maximum System Stats</B><BR><BR>\n";
|
||||
echo "<br><B> Administration: Maximum System Stats $NWB#vicidial_max_stats$NWE</B><BR><BR>\n";
|
||||
echo "<center><TABLE width=$section_width cellspacing=5 cellpadding=2>\n";
|
||||
|
||||
if ( (preg_match("/Maximum System Stats/",$LOGallowed_reports)) or (preg_match("/ALL REPORTS/",$LOGallowed_reports)) )
|
||||
|
||||
@@ -60,10 +60,11 @@
|
||||
# 110821-2318 - Added update_phone, add_phone_alias, update_phone_alias functions
|
||||
# 110928-2110 - Added callback options to add_lead and update_lead
|
||||
# 111106-0959 - Added user_group restrictions to some functions
|
||||
# 120127-1331 - Small fix for plus replacement in custom fields strings for add/update_lead functions
|
||||
#
|
||||
|
||||
$version = '2.4-39';
|
||||
$build = '111106-0959';
|
||||
$version = '2.4-40';
|
||||
$build = '120127-1331';
|
||||
|
||||
$startMS = microtime();
|
||||
|
||||
@@ -345,7 +346,7 @@ if ($non_latin < 1)
|
||||
$date_of_birth = ereg_replace("[^-0-9]","",$date_of_birth);
|
||||
$alt_phone = ereg_replace("[^- \+\_\.0-9a-zA-Z]","",$alt_phone);
|
||||
$alt_phone = ereg_replace("\+"," ",$alt_phone);
|
||||
$email = ereg_replace("[^- \+\.\:\/\@\_0-9a-zA-Z]","",$email);
|
||||
$email = ereg_replace("[^- \+\.\:\/\@\%\_0-9a-zA-Z]","",$email);
|
||||
$email = ereg_replace("\+"," ",$email);
|
||||
$security_phrase = ereg_replace("[^- \+\.\:\/\@\_0-9a-zA-Z]","",$security_phrase);
|
||||
$security_phrase = ereg_replace("\+"," ",$security_phrase);
|
||||
@@ -3874,6 +3875,7 @@ if ($function == 'add_lead')
|
||||
if (isset($_GET["$field_name_id"])) {$form_field_value=$_GET["$field_name_id"];}
|
||||
elseif (isset($_POST["$field_name_id"])) {$form_field_value=$_POST["$field_name_id"];}
|
||||
|
||||
$form_field_value = preg_replace("/\+/"," ",$form_field_value);
|
||||
$A_field_value[$o] = $form_field_value;
|
||||
|
||||
if ( ($A_field_type[$o]=='DISPLAY') or ($A_field_type[$o]=='SCRIPT') )
|
||||
@@ -4539,6 +4541,7 @@ if ($function == 'update_lead')
|
||||
if (isset($_GET["$field_name_id"])) {$form_field_value=$_GET["$field_name_id"];}
|
||||
elseif (isset($_POST["$field_name_id"])) {$form_field_value=$_POST["$field_name_id"];}
|
||||
|
||||
$form_field_value = preg_replace("/\+/"," ",$form_field_value);
|
||||
$A_field_value[$o] = $form_field_value;
|
||||
|
||||
if ( ($A_field_type[$o]=='DISPLAY') or ($A_field_type[$o]=='SCRIPT') )
|
||||
@@ -4732,6 +4735,7 @@ if ($function == 'update_lead')
|
||||
if (isset($_GET["$field_name_id"])) {$form_field_value=$_GET["$field_name_id"];}
|
||||
elseif (isset($_POST["$field_name_id"])) {$form_field_value=$_POST["$field_name_id"];}
|
||||
|
||||
$form_field_value = preg_replace("/\+/"," ",$form_field_value);
|
||||
$A_field_value[$o] = $form_field_value;
|
||||
|
||||
if ( ($A_field_type[$o]=='DISPLAY') or ($A_field_type[$o]=='SCRIPT') )
|
||||
|
||||
Reference in New Issue
Block a user