Manipulation of Vicidial remote agent table
Posted: Tue May 20, 2014 4:05 am
Hello World,
Apologies if this is in the wrong section, but it seems appropriate.
I am working on a survey script and would like to control the state of remote agents using this script. I have been using the Web interface until now and alternating the remote agents active and inactive status as well as moving the agent between inbound and outbound campaigns.
Is it unwise to modify the 'vicidial_remote_agents' table directly? I would like to use a php script to toggle the status and was thinking of modifying the `campaign_id`, 'closer_campaign' and `conf_exten` fields directly but I am not sure what the repercussions will be. I have looked at the API but there only seems to be an function for manipulating normal agents.
-----------------
Vicibox Redux v.4.0.3 from .iso | Vicidial 2.8-431a Build 140314-1134 | Asterisk 1.4.44-vici built by abuild @ build19 on a x86_64 running Linux | Single Server running ESXi-5.5.0-1331820-standard | No Digium/Sangoma Hardware | No Extra Software After Installation | Hp Proliant DL320e Gen8 | Intel Xeon CPU E3-1220 V2
Apologies if this is in the wrong section, but it seems appropriate.
I am working on a survey script and would like to control the state of remote agents using this script. I have been using the Web interface until now and alternating the remote agents active and inactive status as well as moving the agent between inbound and outbound campaigns.
Is it unwise to modify the 'vicidial_remote_agents' table directly? I would like to use a php script to toggle the status and was thinking of modifying the `campaign_id`, 'closer_campaign' and `conf_exten` fields directly but I am not sure what the repercussions will be. I have looked at the API but there only seems to be an function for manipulating normal agents.
-----------------
Vicibox Redux v.4.0.3 from .iso | Vicidial 2.8-431a Build 140314-1134 | Asterisk 1.4.44-vici built by abuild @ build19 on a x86_64 running Linux | Single Server running ESXi-5.5.0-1331820-standard | No Digium/Sangoma Hardware | No Extra Software After Installation | Hp Proliant DL320e Gen8 | Intel Xeon CPU E3-1220 V2