How to have GenieACS trigger download from different web server?
Michael Ducharme
mducharme at gmail.com
Fri May 11 17:35:38 EDT 2018
Hello,
I am trying the following provision to fetch a config file from an external
server:
let serial = declare("VirtualParameters.UUID", {value: 1}).value[0];
declare("Downloads.[FileType:3 Vendor Configuration File]",
{path: 1}, {path: 1});
declare("Downloads.[FileType:3 Vendor Configuration File].FileName",
{value: 1}, {value: "http://mydomain.ca/foo/getconf.php?id=" + serial});
declare("Downloads.[FileType:3 Vendor Configuration File].Download",
{value: 1}, {value: Date.now()});
Unfortunately it looks like GenieACS is prefixing https://FS_IP:FS_PORT/
before the filename. Is there a way to override this behavior for this
provision only?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20180511/f2b230d6/attachment.html>
More information about the Users
mailing list