Added preview_lead_id and PREVIEW status for agent_status non-agent-api function

git-svn-id: svn://192.168.202.10@2105 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2014-04-18 20:18:11 +00:00
parent 222b62abb6
commit 4961792f07
5 changed files with 48 additions and 16 deletions
+5 -2
View File
@@ -1,4 +1,4 @@
NON-AGENT API DOCUMENT Started: 2008-07-24 Updated: 2014-04-03
NON-AGENT API DOCUMENT Started: 2008-07-24 Updated: 2014-04-18
This document describes the functions of an API(Application Programming
Interface) for all functions NOT directly relating to the VICIDIAL Agent screen.
@@ -94,6 +94,7 @@ Changes:
140214-1540 - Added check_phone_number function
140331-2119 - Converted division calculations to use MathZDC function
140403-2024 - Added camp_rg_only option to update_user function
140418-1553 - Added preview_lead_id for agent_status
API Functions use the 'function' variable
@@ -433,8 +434,10 @@ ERROR: agent_status AGENT NOT LOGGED IN - 6666||
A SUCCESS response will not show "SUCCESS", but instead will just print the results in the following format:
status,call_id,lead_id,campaign_id,calls_today,full_name,user_group,user_level,pause_code,real_time_sub_status
INCALL,M4050908070000012345,12345,TESTCAMP,1,Test Agent,AGENTS,3,LOGIN,
INCALL|M4181606420000000104|104|TESTBLND|1|Admin|ADMIN|9|BRK2|DEAD
PAUSED||105|TESTBLND|1|Admin|ADMIN|9||PREVIEW
NOTE: real_time_sub_status field can consist of: DEAD, DISPO, 3-WAY, PARK, RING or it can be empty
NOTE: real_time_sub_status field can consist of: DEAD, DISPO, 3-WAY, PARK, RING, PREVIEW or it can be empty