Added timer action methods HANGUP, EXTENSION, CALLMENU and IN_GROUP

Fixed queue priority in outbound auto-dial calls when agents have not selected to take calls from all allowed in-groups in a campaign
Added delete_lead option to the update_lead function in the Non-Agent api
Added a GROUP column to the Remote Agents listing in admin.php
Changed the new 3rd gen lead loader to the default, with a link to the old one
Fixed FORM bug when no script is used in vicidial.php

git-svn-id: svn://192.168.202.10@1486 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2010-07-29 02:01:56 +00:00
parent f6c4884b52
commit f344d6e095
14 changed files with 551 additions and 116 deletions
+6
View File
@@ -40,6 +40,7 @@ Changes:
100704-1148 - Added custom fields inserts to the add_lead function
100718-0245 - Added update_lead function to update existing leads
100723-1333 - Added no_update option to the update_lead function
100728-1952 - Added delete_lead option to the update_lead function
@@ -335,6 +336,7 @@ custom_fields - Y or N, default is N. Defines whether the API will accept custo
For example, if the field_label is "favorite_color" you would add "&favorite_color=blue"
no_update - Y or N, Setting this to Y will not perform any updates, but will instead only tell
you if a lead exists that matches the search criteria, default is N.
delete_lead - Y or N, Setting this to Y will delete the lead from the vicidial_list table, default is N.
EDITABLE FIELDS-
user_field - 1-20 characters, this updates the 'user' field in the vicidial_list table
@@ -384,6 +386,8 @@ http://server/vicidial/non_agent_api.php?source=test&user=6666&pass=1234&functio
http://server/vicidial/non_agent_api.php?source=test&user=6666&pass=1234&function=update_lead&lead_id=27&no_update=Y
http://server/vicidial/non_agent_api.php?source=test&user=6666&pass=1234&function=update_lead&lead_id=27&delete_lead=Y
Example responses:
SUCCESS: update_lead LEAD HAS BEEN UPDATED - 6666|193716
NOTICE: update_lead CUSTOM FIELDS VALUES UPDATED - 7275551111|1234|101
@@ -394,6 +398,8 @@ NOTICE: update_lead CUSTOM FIELDS NOT UPDATED, NO FIELDS DEFINED - 7275551111|12
NOTICE: update_lead NO MATCHES FOUND IN THE SYSTEM - 6666|4567|897654327|7275551212
SUCCESS: update_lead LEAD HAS BEEN ADDED - 7275551111|6666|999|193716|-4
SUCCESS: update_lead LEAD HAS BEEN DELETED - 7275551111|6666|999|193716|-4
NOTICE: update_lead LEADS FOUND IN THE SYSTEM - 6666|4567|897654327|7275551212
ERROR: update_lead INVALID DATA FOR LEAD INSERTION - 6666|||