External Script Problems

Malto 4 andr0idmalto4 at gmail.com
Wed Sep 12 06:56:19 EDT 2018


Lets say that you have a client who wants his SSID changed for example, you
would think that you could just (in this example) modify the value of
"SSID" and have it be sent to the device. That way allowing that, if the
device ever suffers a factory reset, it will have this updated SSID.

But from what I understand you are saying, every time an event like this
could occur, I would have to restart the acs to save this config?

Thank you,
-James

On Wed, 12 Sep 2018 at 12:43, Takim <takimp at yahoo.com> wrote:

> You have to restart the acs to apply the changes.
>
> On Wed, Sep 12, 2018 at 17:03, Malto 4
> <andr0idmalto4 at gmail.com> wrote:
> Hello,
>
> I currently have v1.1.1 of GenieACS installed and I am trying to configure
> an external script very similar to the example here:
>
> https://github.com/genieacs/genieacs/wiki/Example-of-a-Provisioning-Flow
>
> I first started with the example of Extensions (
> https://github.com/genieacs/genieacs/wiki/Extensions) to understand how
> they worked but found something strange.
>
> The first time that the provision calls the external script the variable "
> *response*" gets the values that are written in the external script (*username:
> "cpe" *and *password: serial*). But now if I want to modify one of those
> values (*username: "new_cpe_name" *and *password: serial*), the variable "
> *response*" doesn't seem to call the external script again. It keeps
> saying that username = "cpe".
>
> The only way that I have found of getting the provision to get the updated
> values from the external script is to restart the whole genieacs service.
>
> Does anyone know if this is a known problem or is something that has been
> updated in v1.1.2?
> Or is it just something by design?
>
> Thank you,
> -James
> _______________________________________________
> Users mailing list
> Users at lists.genieacs.com
> http://lists.genieacs.com/mailman/listinfo/users
>
> _______________________________________________
> Users mailing list
> Users at lists.genieacs.com
> http://lists.genieacs.com/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20180912/136ef509/attachment.html>


More information about the Users mailing list