genieACS Version 1.1.2 - needs more commit at provision scripts

Michael Neumann mn at jm-data.at
Mon Feb 26 03:52:54 EST 2018


Hi,

it looks like that the version 1.1.2 needs more explicit commits in provision scripts.


In Version 1.1.1 needed only one explicit commit after the creation of the VoiceProfile.1.Line.*

In Version 1.1.2 needed much more commits - but on other hand there are no more "Loops" ... :)
There was no errors - in the db was the new defined values - when I refreshed the values I got the old values from the box.

I haven't debugged the details. When I find out more I will report it.


Example Script for ZyXEL DSL Device:

  declare("InternetGatewayDevice.VoiceService.1.VoiceProfile.1.SIP.UserAgentDomain", null, {value: "sip.test.at"});
  declare("InternetGatewayDevice.VoiceService.1.VoiceProfile.1.SIP.OutboundProxy", null, {value: asterisk_server + ".test.at"});
  declare("InternetGatewayDevice.VoiceService.1.VoiceProfile.1.Enable", null, {value: "Enabled"});

  declare("InternetGatewayDevice.VoiceService.1.VoiceProfile.1.Line.*", null, {path: 4});

  commit();

  declare("InternetGatewayDevice.VoiceService.1.VoiceProfile.1.Line.1.SIP.AuthUserName", null, {value: phone_number_prefix + "00"});
  declare("InternetGatewayDevice.VoiceService.1.VoiceProfile.1.Line.1.DirectoryNumber", null, {value: phone_number_prefix + "00"});
  declare("InternetGatewayDevice.VoiceService.1.VoiceProfile.1.Line.1.Enable", null, {value: "Enabled"});

  commit();

  declare("InternetGatewayDevice.VoiceService.1.VoiceProfile.1.Line.2.SIP.AuthUserName", null, {value: phone_number_prefix + "01"});
  declare("InternetGatewayDevice.VoiceService.1.VoiceProfile.1.Line.2.DirectoryNumber", null, {value: phone_number_prefix + "01"});
  declare("InternetGatewayDevice.VoiceService.1.VoiceProfile.1.Line.2.Enable", null, {value: "Enabled"});

  commit();

  declare("InternetGatewayDevice.VoiceService.1.VoiceProfile.1.Line.3.SIP.AuthUserName", null, {value: phone_number_prefix + "02"});
  declare("InternetGatewayDevice.VoiceService.1.VoiceProfile.1.Line.3.DirectoryNumber", null, {value: phone_number_prefix + "02"});
  declare("InternetGatewayDevice.VoiceService.1.VoiceProfile.1.Line.3.Enable", null, {value: "Enabled"});

  commit();

  declare("InternetGatewayDevice.VoiceService.1.VoiceProfile.1.Line.4.SIP.AuthUserName", null, {value: phone_number_prefix + "03"});
  declare("InternetGatewayDevice.VoiceService.1.VoiceProfile.1.Line.4.DirectoryNumber", null, {value: phone_number_prefix + "03"});
  declare("InternetGatewayDevice.VoiceService.1.VoiceProfile.1.Line.4.Enable", null, {value: "Enabled"});

  commit();

  declare("InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.BasicEncryptionModes", null, {value: "None"});
  declare("InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.BeaconType", null, {value: "Basic"});
  declare("InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.SSID", null, {value: name + "-24"});
  declare("InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.Channel", null, {value: "5"});

  commit();

  declare("InternetGatewayDevice.LANDevice.1.WLANConfiguration.2.BasicEncryptionModes", null, {value: "None"});
  declare("InternetGatewayDevice.LANDevice.1.WLANConfiguration.2.BeaconType", null, {value: "Basic"});
  declare("InternetGatewayDevice.LANDevice.1.WLANConfiguration.2.SSID", null, {value: name + "-5"});
  declare("InternetGatewayDevice.LANDevice.1.WLANConfiguration.2.Channel", null, {value: "44"});

  commit();

  declare("InternetGatewayDevice.DeviceInfo.ProvisioningCode", null, {value: "CONFIGURED"});
  declare("InternetGatewayDevice.ManagementServer.PeriodicInformInterval", null, {value: "300"});

  commit();


Mit freundlichen Internet Grüßen / Best Regards

Michael Neumann


[JM-DATA - IT-Solutions&Telecom]<http://www.jm-data.at/>

______________________________________________________

J M - D A T A   T e l e k o m   G m b H
Austria, 4050 Traun, Hackl-Straße 1, Object 2
T +43 50 / 30 50 80 - 0  F +43 50 / 30 50 80 - 20
E office at JM-DATA.at<mailto:office at JM-DATA.at>   W http://www.JM-DATA.at<http://www.jm-data.at/>
______________________________________________________

* IT-SOLUTIONS & TELECOM *
______________________________________________________
Es gelten die AGBs von JM-DATA GmbH - http://www.JM-DATA.at/agb<http://www.jm-data.at/agb>
Terms and conditions apply to JM-DATA GmbH - http://www.JM-DATA.at/agb<http://www.jm-data.at/agb>



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20180226/a27b977c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 28457 bytes
Desc: image001.jpg
URL: <http://lists.genieacs.com/pipermail/users/attachments/20180226/a27b977c/attachment-0001.jpg>


More information about the Users mailing list