Added SWAP_PARK_CUSTOMER|SWAP_PARK_XFER|HANGUP_XFER_GRAB_CUSTOMER options for park_call Agent API function
git-svn-id: svn://192.168.202.10@3840 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
AGENT API DOCUMENT Started: 2008-07-03 Updated: 2024-04-29
|
||||
AGENT API DOCUMENT Started: 2008-07-03 Updated: 2024-06-24
|
||||
|
||||
This document describes the functions of an API(Application Programming Interface)
|
||||
for the VICIDIAL Agent screen. This functionality will be rather limited at first
|
||||
@@ -670,6 +670,9 @@ VALUES:
|
||||
GRAB_IVR_CUSTOMER - grab customer from the park ivr and send them to the agent session
|
||||
PARK_XFER - send third party call to the park extension as defined in the campaign the agent is logged into
|
||||
GRAB_XFER - grab third party call from the park extension and send them to the agent session
|
||||
SWAP_PARK_CUSTOMER - send customer to the park extension and grab third party call from the park extension and send them to the agent session
|
||||
SWAP_PARK_XFER - send third party call to the park extension and grab customer from the park extension and send them to the agent session
|
||||
HANGUP_XFER_GRAB_CUSTOMER - hangup the third party line and grab customer from park extension
|
||||
|
||||
EXAMPLE URLS:
|
||||
http://server/agc/api.php?source=test&user=6666&pass=1234&agent_user=1000&function=park_call&value=PARK_CUSTOMER
|
||||
|
||||
@@ -740,10 +740,11 @@
|
||||
# 240416-1750 - Fix for HotKey issue #1518
|
||||
# 240420-2228 - ConfBridge code added
|
||||
# 240429-2237 - Added PARK_XFER|GRAB_XFER options for park_call API function
|
||||
# 240624-1357 - Added SWAP_PARK_CUSTOMER|SWAP_PARK_XFER|HANGUP_XFER_GRAB_CUSTOMER options for park_call API function
|
||||
#
|
||||
|
||||
$version = '2.14-706c';
|
||||
$build = '240429-2237';
|
||||
$version = '2.14-707c';
|
||||
$build = '240624-1357';
|
||||
$php_script = 'vicidial.php';
|
||||
$mel=1; # Mysql Error Log enabled = 1
|
||||
$mysql_log_count=103;
|
||||
@@ -8278,6 +8279,21 @@ function set_length(SLnumber,SLlength_goal,SLdirection)
|
||||
{mainxfer_send_redirect('ParKXfeR',lastxferchannel,server_ip,'','','','YES');}
|
||||
if (api_parkcustomer == 'GRAB_XFER')
|
||||
{mainxfer_send_redirect('FROMParKXfeR',lastxferchannel,server_ip,'','','','YES');}
|
||||
if (api_parkcustomer == 'SWAP_PARK_XFER')
|
||||
{
|
||||
mainxfer_send_redirect('ParKXfeR',lastxferchannel,server_ip,'','','','YES');
|
||||
mainxfer_send_redirect('FROMParK',lastcustchannel,lastcustserverip);
|
||||
}
|
||||
if (api_parkcustomer == 'SWAP_PARK_CUSTOMER')
|
||||
{
|
||||
mainxfer_send_redirect('ParK',lastcustchannel,lastcustserverip);
|
||||
mainxfer_send_redirect('FROMParKXfeR',lastxferchannel,server_ip,'','','','YES');
|
||||
}
|
||||
if (api_parkcustomer == 'HANGUP_XFER_GRAB_CUSTOMER')
|
||||
{
|
||||
xfercall_send_hangup();
|
||||
mainxfer_send_redirect('FROMParK',lastcustchannel,lastcustserverip);
|
||||
}
|
||||
if (api_dtmf.length > 0)
|
||||
{
|
||||
var REGdtmfPOUND = new RegExp("P","g");
|
||||
|
||||
@@ -8408,7 +8408,7 @@ if ($function == 'update_campaign')
|
||||
}
|
||||
if (strlen($hopper_level) > 0)
|
||||
{
|
||||
if ( ($hopper_level > 2000) or ($hopper_level < 1) )
|
||||
if ( ($hopper_level > 5000) or ($hopper_level < 1) )
|
||||
{
|
||||
$result = 'ERROR';
|
||||
$result_reason = "update_campaign HOPPER LEVEL MUST BE FROM 1 TO 2000, THIS IS AN OPTIONAL FIELD";
|
||||
|
||||
Reference in New Issue
Block a user