Thanks Dan for the quick help.

Our Observation:-
--------------------------

When a CPE contacts ACS for the first time through Inform request, GenieACS 
considers as new device and it should learn about that CPE through 
GetParameterNames/GetParameterValues, but it is not happening like this.

We have to manually add a GetParameterValues task via curl cmd. Only then it is 
trying to learn about the parameters of CPE and triggering the 
SetParameterValues based on the provisioning script.

Could you pls let us know is this the way or is there any other configure 
mechanism to make it happen automatically when new device gets registered with 
GenieACS?

Thanks,
Magesh

From: Users [mailto:[email protected]] On Behalf Of Dan Morphis
Sent: Monday, June 19, 2017 10:18 PM
To: Community support for GenieACS users 
<[email protected]<mailto:[email protected]>>
Subject: Re: provision script not working as expected.

let serial = declare("DeviceID.SerialNumber", {value: 1}).value[0];
log('start refresh3 script SN12=' + serial);
declare("Device.LANDevice.1.WLANConfiguration.1.SSID", {value: 1}, {value: 
serial});


On Mon, Jun 19, 2017 at 6:20 AM, Magesh Balaji 
<[email protected]<mailto:[email protected]>> wrote:
Hi,

Thanks for all the help and support you have given till now.

We have created a preset and provision script as below.

let serial = declare("Device.DeviceInfo.SerialNumber", {value: 1});
log('start refresh3 script SN12=' + serial.value[0]);
declare("Device.LANDevice.1.WLANConfiguration.1.SSID", null, {value: 
serial.value[0]});

Since the value of the parameter highlighted is changed this triggered the 
setParamValues RPC call after InformResponse. Until 2 days back the same script 
was working.

But today the provision script is getting triggered, but not working as 
expected due to which SetParamValues is not called and SSID is having the same 
old value as in the Inform Request.

Can you suggest any reason why this is happening?

Any help is much appreciated.

Thanks,
Magesh
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]<mailto:[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]<mailto:[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