Added refresh_panel Agent API function
git-svn-id: svn://192.168.202.10@3785 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -41,6 +41,7 @@ force_fronter_leave_3way - will send a command to fronter agent to leave-3way ca
|
||||
force_fronter_audio_stop - will send a command to fronter agent session to stop any audio_playback playing on it
|
||||
send_notification - will send text alerts and/or confetti effects to agent interface
|
||||
vm_message - set a custom voicemail message to be played when agent clicks the VM button on the agent screen
|
||||
refresh_panel - refresh one of the panels on the agent script: script, script2, callbacks, etc...
|
||||
|
||||
|
||||
New scripts:
|
||||
@@ -478,6 +479,38 @@ SUCCESS: update_fields lead updated - 6666|1234|87498|vendor_lead_code='1234567'
|
||||
|
||||
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
refresh_panel -
|
||||
|
||||
DESCRIPTION:
|
||||
Refresh/Reload/Reset one or more of the panels on the agent script: script, script 2, callbacks, etc...
|
||||
|
||||
VALUES:
|
||||
agent_user -
|
||||
REQUIRED alphanumeric string for agent user
|
||||
|
||||
OPTIONAL PANEL REFRESH TRIGGERS (these still require a lead to be on the agent screen) -
|
||||
formreload
|
||||
scriptreload
|
||||
script2reload
|
||||
emailreload
|
||||
chatreload
|
||||
callbacksreload
|
||||
|
||||
EXAMPLE URLS:
|
||||
http://server/agc/api.php?source=test&user=6666&pass=1234&function=refresh_panel&agent_user=6666&scriptreload=1&script2reload=1&callbacksreload=1
|
||||
http://server/agc/api.php?source=test&user=6666&pass=1234&function=refresh_panel&agent_user=6666&formreload=1
|
||||
|
||||
RESPONSES:
|
||||
ERROR: agent_user not valid - 6666
|
||||
ERROR: agent_user is not logged in - 6666
|
||||
ERROR: no panels have been defined - 6666
|
||||
SUCCESS: refresh_panel request sent - 6666|1234|1|scriptreload,script2reload
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
set_timer_action -
|
||||
|
||||
|
||||
Reference in New Issue
Block a user