<div dir="ltr"><div>Ok. I'll try to use it.<br>Thanks again!<br><br>--<br></div>Ivan<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-02-09 16:29 GMT+03:00 Dan Morphis <span dir="ltr"><<a href="mailto:dan@milkcarton.com" target="_blank">dan@milkcarton.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>You got it! And %s in the url is replaced with the acsid<span class="HOEnZb"><font color="#888888"><br><br>-dan</font></span></div><div><div class="h5"><div><br>On Feb 9, 2015, at 3:56 AM, IR <<a href="mailto:lovingfox@gmail.com" target="_blank">lovingfox@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><div>Zaid, Dan, thank you very much for your answers!<br><br>Dan, I have looked at your fork about notifications.<br><br>As I understand if NOTIFICATION_ENABLED is "true" genieacs-cwmp generates post-request to NOTIFICATION_URL any time it gets message which coincides with the value of the NOTIFICATION_TYPES.<br></div><div>Is it true?<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-02-08 20:34 GMT+03:00 Dan Morphis <span dir="ltr"><<a href="mailto:dan@milkcarton.com" target="_blank">dan@milkcarton.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I can answer more in-depth tomorrow if need be, but I take the notifications from genie, check if it's a known device. If known, check if it needs provisioning (via flag stored in my db). If cpe needs provisioning I then check its current state (does it need a wanpppconnection or wanipconnection instance) put the object instances in as necessary, wait for the cpe to report success (by polling the tasks) then set the parameters and the device is done!<br>
<span><font color="#888888"><br>
-dan<br>
</font></span><div><div><br>
> On Feb 8, 2015, at 2:39 AM, Zaid Abdulla <<a href="mailto:zaid@genieacs.com" target="_blank">zaid@genieacs.com</a>> wrote:<br>
><br>
>> On Sun, Feb 8, 2015, at 02:11 PM, IR wrote:<br>
>> So I think about it. But in this case for the best provisioning algorithm it would be nice to be able to run an external component by the event "CPE is come ACS".<br>
>> Is it posible to trigger system commands by events?<br>
><br>
> No, not yet. You can perform periodic checks for unprovisioned devices<br>
> and push the configuration as soon as they're found. Also, Dan has<br>
> implemented a notification mechanism to do just what you're asking for.<br>
> Check his fork: <a href="https://github.com/akcoder/genieacs" target="_blank">https://github.com/akcoder/genieacs</a>. He's on this<br>
> mailing list so he'll probably be able to answer questions about that.<br>
><br>
>> Sorry for such questions, but I did not find any documentation of GenieACS project.<br>
><br>
> There's a wiki (<a href="https://github.com/zaidka/genieacs/wiki" target="_blank">https://github.com/zaidka/genieacs/wiki</a>). Please feel<br>
> free to contribute to it.<br>
><br>
> Zaid<br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.genieacs.com" target="_blank">Users@lists.genieacs.com</a><br>
> <a href="http://lists.genieacs.com/mailman/listinfo/users" target="_blank">http://lists.genieacs.com/mailman/listinfo/users</a><br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.genieacs.com" target="_blank">Users@lists.genieacs.com</a><br>
<a href="http://lists.genieacs.com/mailman/listinfo/users" target="_blank">http://lists.genieacs.com/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Users mailing list</span><br><span><a href="mailto:Users@lists.genieacs.com" target="_blank">Users@lists.genieacs.com</a></span><br><span><a href="http://lists.genieacs.com/mailman/listinfo/users" target="_blank">http://lists.genieacs.com/mailman/listinfo/users</a></span><br></div></blockquote></div></div></div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.genieacs.com">Users@lists.genieacs.com</a><br>
<a href="http://lists.genieacs.com/mailman/listinfo/users" target="_blank">http://lists.genieacs.com/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>