Added phone_code as modifiable field in update_lead function in the Non-Agent API
git-svn-id: svn://192.168.202.10@3442 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
ENCRYPTED PASSWORDS DOC Started: 2013-07-09 Updated: 2021-03-17
|
||||
ENCRYPTED PASSWORDS DOC Started: 2013-07-09 Updated: 2021-05-05
|
||||
|
||||
|
||||
NOTE: THIS FEATURE IS OPTIONAL, AND SHOULD ONLY BE ACTIVATED AFTER YOUR SYSTEM
|
||||
@@ -35,6 +35,14 @@ should see that Password Encryption is now ENABLED.
|
||||
You should not have to do anything else to use fully encrypted passwords on your
|
||||
system.
|
||||
|
||||
You can confirm that the encryption perl script can run with apache by using a
|
||||
command similar to this:
|
||||
sudo -u wwwrun /srv/www/htdocs/agc/bp.pl --debugX --pass=test
|
||||
|
||||
If you receive errors from the above command, you may need to change permissions
|
||||
on the perl modules directories on your webserver:
|
||||
chmod -R a+x /usr/lib/perl5/vendor_perl/5.18.1/i586-linux-thread-multi/*
|
||||
|
||||
|
||||
|
||||
DESCRIPTION:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
NON-AGENT API DOCUMENT Started: 2008-07-24 Updated: 2021-04-06
|
||||
NON-AGENT API DOCUMENT Started: 2008-07-24 Updated: 2021-05-17
|
||||
|
||||
This document describes the functions of an API(Application Programming
|
||||
Interface) for all functions NOT directly relating to the VICIDIAL Agent screen.
|
||||
@@ -186,6 +186,8 @@ Changes:
|
||||
210401-1058 - Added 'custom_fields_update' option for update_list function
|
||||
210402-1102 - Added 'custom_fields_delete' option for update_list function
|
||||
210406-1047 - Added 'dialable_count' option to list_info function
|
||||
210517-1850 - Added phone_code as modifiable field in update_lead function
|
||||
|
||||
|
||||
API Functions use the 'function' variable
|
||||
|
||||
@@ -1141,6 +1143,7 @@ comments - 1-255 characters
|
||||
rank - 1-5 digits
|
||||
owner - 1-20 characters (user ID, Territory or user group)
|
||||
called_count - digits only, the number of attempts dialing the lead
|
||||
phone_code - digits only, can be 1-4 digits
|
||||
entry_list_id - WARNING! ONLY USE IF YOU KNOW WHAT YOU ARE DOING, CAN BREAK CUSTOM FIELDS! (must be all numbers, 3-12 digits, will not work if custom_fields is set to Y)
|
||||
force_entry_list_id - WARNING! ONLY USE IF YOU KNOW WHAT YOU ARE DOING, CAN BREAK CUSTOM FIELDS! (must be all numbers, 3-12 digits, will override entry_list_id to this value in all custom fields queries executed by this command)
|
||||
NOTES:
|
||||
|
||||
@@ -95,9 +95,9 @@ If it did, then you want to add the following lines to your /etc/rc.d/rc.local f
|
||||
|
||||
cd /usr/local
|
||||
*** download QueueMetrics and place it in /usr/local ***
|
||||
wget https://downloads.loway.ch/qm/QueueMetrics-19.10.17.tar.gz
|
||||
tar xvfz QueueMetrics-19.10.17.tar.gz
|
||||
mv queuemetrics-19.10.17 /usr/local/tomcat/webapps/qm
|
||||
wget https://downloads.loway.ch/qm/QueueMetrics-21.04.1.tar.gz
|
||||
tar xvfz QueueMetrics-21.04.1.tar.gz
|
||||
mv queuemetrics-21.04.1 /usr/local/tomcat/webapps/qm
|
||||
cd /usr/local/tomcat/webapps/qm/WEB_INF
|
||||
wget ftp://mirrors.easynews.com/mysql/Downloads/Connector-J/mysql-connector-java-3.0.10-stable.tar.gz
|
||||
gunzip mysql-connector-java-3.0.10-stable.tar.gz
|
||||
|
||||
@@ -176,10 +176,11 @@
|
||||
# 210401-1058 - Added 'custom_fields_update' option for update_list function
|
||||
# 210402-1102 - Added 'custom_fields_delete' option for update_list function
|
||||
# 210406-1047 - Added 'dialable_count' option to list_info function
|
||||
# 210517-1850 - Added phone_code as modifiable field in update_lead function
|
||||
#
|
||||
|
||||
$version = '2.14-153';
|
||||
$build = '210406-1047';
|
||||
$version = '2.14-154';
|
||||
$build = '210517-1850';
|
||||
$api_url_log = 0;
|
||||
|
||||
$startMS = microtime();
|
||||
@@ -13184,6 +13185,7 @@ if ($function == 'update_lead')
|
||||
if (strlen($rank)>0) {$VL_update_SQL .= "rank=\"$rank\",";}
|
||||
if (strlen($owner)>0) {$VL_update_SQL .= "owner=\"$owner\",";}
|
||||
if (strlen($called_count)>0) {$VL_update_SQL .= "called_count=\"$called_count\",";}
|
||||
if (strlen($phone_code)>0) {$VL_update_SQL .= "phone_code=\"$phone_code\",";}
|
||||
if ( (strlen($reset_lead) > 0 && $reset_lead == 'Y') ) {$VL_update_SQL .= "called_since_last_reset='N',";}
|
||||
if ( (strlen($update_phone_number)>0 && $update_phone_number=='Y' && strlen($phone_number)>0) ) {$VL_update_SQL .= "phone_number='$phone_number',";}
|
||||
if ( (strlen($entry_list_id)>0) and ($custom_fields!='Y') ) {$VL_update_SQL .= "entry_list_id=\"$entry_list_id\",";}
|
||||
|
||||
Reference in New Issue
Block a user