You got it! And %s in the url is replaced with the acsid

-dan

> On Feb 9, 2015, at 3:56 AM, IR <[email protected]> wrote:
> 
> Zaid, Dan, thank you very much for your answers!
> 
> Dan, I have looked at your fork about notifications.
> 
> 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.
> Is it true?
> 
> 2015-02-08 20:34 GMT+03:00 Dan Morphis <[email protected]>:
>> 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!
>> 
>> -dan
>> 
>> > On Feb 8, 2015, at 2:39 AM, Zaid Abdulla <[email protected]> wrote:
>> >
>> >> On Sun, Feb 8, 2015, at 02:11 PM, IR wrote:
>> >> 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".
>> >> Is it posible to trigger system commands by events?
>> >
>> > No, not yet. You can perform periodic checks for unprovisioned devices
>> > and push the configuration as soon as they're found. Also, Dan has
>> > implemented a notification mechanism to do just what you're asking for.
>> > Check his fork: https://github.com/akcoder/genieacs. He's on this
>> > mailing list so he'll probably be able to answer questions about that.
>> >
>> >> Sorry for such questions, but I did not find any documentation of 
>> >> GenieACS project.
>> >
>> > There's a wiki (https://github.com/zaidka/genieacs/wiki). Please feel
>> > free to contribute to it.
>> >
>> > Zaid
>> > _______________________________________________
>> > Users mailing list
>> > [email protected]
>> > http://lists.genieacs.com/mailman/listinfo/users
>> _______________________________________________
>> Users mailing list
>> [email protected]
>> http://lists.genieacs.com/mailman/listinfo/users
> 
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.genieacs.com/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.genieacs.com/mailman/listinfo/users

Reply via email to