Look at the provision and extension script sections of the wiki. A preset triggers a provision script. A provision script can call an extension script to return data from an external system.
-dan > On Jun 8, 2017, at 1:17 AM, Magesh Balaji <[email protected]> wrote: > > I am trying to communicate to Genieacs from a java based modus client. > > For the Boot event INFORM, got the InformResponse from GenieACS to the > client, I want genieacs to trigger a call (GetParameterValues RPC) to the > connected device(client). I went through the wiki and referenced > api-reference (https://github.com/zaidka/genieacs/wiki/API-Reference ) and > used the below command to add the task to the genieacs. > > But the below command triggers a GetPrametersNames RPC call instead of > GetPrametersValues. > > curl -i > 'http://localhost:7557/devices/0AA00C-DeviceWAVESIO-FFFFFF123456/tasks?timeout=3000&connection_request' > \ > -X POST \ > --data '{ "name": "getParameterValues", "parameterNames": > ["Device.DeviceInfo.SoftwareVersion", "Device.DeviceInfo.SerialNumber", > "Device.DeviceInfo.SpecVersion"] }' > > > 1. Can you pls let me know how to make genine ACS to trigger > Get/SetParameterValues RPC call? > > 2. I followed the below steps, let me know if I am heading in the > correct direction? > > Thanks, > This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely > for the use of the addressee(s). > If you are not the intended recipient, please notify so to the sender by > e-mail and delete the original message. > In such cases, please notify us immediately at [email protected] . Further, > you are not to copy, > disclose, or distribute this e-mail or its contents to any unauthorized > person(s) .Any such actions are > considered unlawful. This e-mail may contain viruses. Infinite has taken > every reasonable precaution to minimize > this risk, but is not liable for any damage you may sustain as a result of > any virus in this e-mail. You should > carry out your own virus checks before opening the e-mail or attachments. > Infinite reserves the right to monitor > and review the content of all messages sent to or from this e-mail address. > Messages sent to or from this e-mail > address may be stored on the Infinite e-mail system. > ***INFINITE******** End of Disclaimer********INFINITE******** > _______________________________________________ > Users mailing list > [email protected] > http://lists.genieacs.com/mailman/listinfo/users
_______________________________________________ Users mailing list [email protected] http://lists.genieacs.com/mailman/listinfo/users
