<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>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. <br><br>-dan</div><div><br>On Jun 8, 2017, at 1:17 AM, Magesh Balaji <<a href="mailto:Magesh.Balaji@infinite.com">Magesh.Balaji@infinite.com</a>> wrote:<br><br></div><blockquote type="cite"><div>

<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:297494565;
        mso-list-type:hybrid;
        mso-list-template-ids:-1538104422 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->


<div class="WordSection1">
<p class="MsoNormal">I am trying to communicate to Genieacs from a java based modus client.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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 (<a href="https://github.com/zaidka/genieacs/wiki/API-Reference">https://github.com/zaidka/genieacs/wiki/API-Reference</a>
 ) and used the below command to add the task to the genieacs. <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">But the below command triggers a GetPrametersNames RPC call instead of GetPrametersValues.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt">curl -i '<a href="http://localhost:7557/devices/0AA00C-DeviceWAVESIO-FFFFFF123456/tasks?timeout=3000&connection_request">http://localhost:7557/devices/0AA00C-DeviceWAVESIO-FFFFFF123456/tasks?timeout=3000&connection_request</a>' \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">    -X POST \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">    --data '{ "name": "<span style="background:yellow;mso-highlight:yellow">getParameterValues</span>", "parameterNames": ["Device.DeviceInfo.SoftwareVersion", "Device.DeviceInfo.SerialNumber", "Device.DeviceInfo.SpecVersion"]
 }'<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo1"><!--[if !supportLists]--><span style="mso-list:Ignore">1.<span style="font:7.0pt "Times New Roman"">      
</span></span><!--[endif]-->Can you pls let me know how to make genine ACS to trigger  Get/SetParameterValues RPC call?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo1"><!--[if !supportLists]--><span style="mso-list:Ignore">2.<span style="font:7.0pt "Times New Roman"">      
</span></span><!--[endif]-->I followed the below steps, let me know if I am heading in the correct direction?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
</div>
<div>This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s).<div>If you are not the intended recipient, please notify so to the sender by e-mail and delete the original message.<div>In such cases, please notify us immediately at <a href="mailto:info@infinite.com">info@infinite.com</a> . Further, you are not to copy, <div>disclose, or distribute this e-mail or its contents to any unauthorized person(s) .Any such actions are <div>considered unlawful. This e-mail may contain viruses. Infinite has taken every reasonable precaution to minimize<div>this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should <div>carry out your own virus checks before opening the e-mail or attachments. Infinite reserves the right to monitor<div>and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail<div>address may be stored on the Infinite e-mail system. <br><div>***INFINITE******** End of Disclaimer********INFINITE******** 

</div></div></div></div></div></div></div></div></div></div></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Users mailing list</span><br><span><a href="mailto:Users@lists.genieacs.com">Users@lists.genieacs.com</a></span><br><span><a href="http://lists.genieacs.com/mailman/listinfo/users">http://lists.genieacs.com/mailman/listinfo/users</a></span><br></div></blockquote></body></html>