OpenACS and genieacs set parameters

In the last problem, I couldn’t call the setparametervalues method. I thought there was a problem with the source code of CWMP, but I tested it with OpenACS. In OpenACS, I can call the setparametervalues method. In genieacs, I will encounter the problem of parameters disappearing. Is it because my genieacs doesn’t have redis or router installed? At present, I can download the upgrade file in genieacs, but it seems that I can’t call other methods. The following statements do not trigger the getparametername method.
declare(“DeviceID.Manufacturer”, {value: 1});
declare(“Device.DeviceInfo.SoftwareVersion”,{value:Date.now()});
Using the following statement will cause the parameters to disappear.
declare(“Phone.DN0_UserName”,{value:Date.now()},{value:“1998”});
image
image
Don’t you get data from mongodb to compare and make changes? What’s the problem.

I saw from mongodb that the data disappeared when executing setparametervalues.

db.devices.find()
{ “_id” : “DC293A-HSP00-2150081736BTD7007143”, “_deviceId” : { “_Manufacturer” : “HAAS”, “_OUI” : “DC293A”, “_ProductClass” : “HSP00”, “_SerialNumber” : “2150081736BTD7007143” }, “_lastBootstrap” : ISODate(“2021-04-10T08:12:45.703Z”), “_lastInform” : ISODate(“2021-04-10T08:12:45.703Z”), “_registered” : ISODate(“2021-03-23T06:46:29.527Z”), “Device” : { “DeviceInfo” : { “HardwareVersion” : { “_object” : false, “_timestamp” : ISODate(“2021-04-10T08:12:45.704Z”), “_type” : “xsd:string”, “_value” : “1.0.2” }, “Mac” : { “_object” : false, “_timestamp” : ISODate(“2021-04-10T08:12:45.704Z”), “_type” : “xsd:string”, “_value” : “dc:29:3a:00:f0:00” }, “SoftwareVersion” : { “_object” : false, “_timestamp” : ISODate(“2021-04-10T08:12:45.704Z”), “_type” : “xsd:string”, “_value” : “"1.1.4"” }, “_object” : true }, “ManagementServer” : { “ConnectionRequestPassword” : { “_object” : false, “_timestamp” : ISODate(“2021-04-10T08:12:45.704Z”), “_type” : “xsd:string”, “_value” : “password” }, “ConnectionRequestURL” : { “_object” : false, “_timestamp” : ISODate(“2021-04-10T08:12:45.704Z”), “_type” : “xsd:string”, “_value” : “http://192.168.0.30:7547” }, “ConnectionRequestUsername” : { “_object” : false, “_timestamp” : ISODate(“2021-04-10T08:12:45.704Z”), “_type” : “xsd:string”, “_value” : “user” }, “ParameterKey” : { “_object” : false, “_timestamp” : ISODate(“2021-04-10T08:12:45.704Z”), “_type” : “xsd:string”, “_value” : “4545” }, “ProvisioningCode” : { “_object” : false, “_timestamp” : ISODate(“2021-04-10T08:12:45.704Z”), “_type” : “xsd:string”, “_value” : “1234” }, “SpecVersion” : { “_object” : false, “_timestamp” : ISODate(“2021-04-10T08:12:45.704Z”), “_type” : “xsd:string”, “_value” : “1” }, “_object” : true }, “WANDevice” : { “1” : { “WANConnectionDevice” : { “1” : { “WANIPConnection” : { “1” : { “LanIPAddress” : { “_object” : false, “_timestamp” : ISODate(“2021-04-10T08:12:45.704Z”), “_type” : “xsd:string”, “_value” : “192.168.0.30” }, “_object” : true }, “_object” : true }, “_object” : true }, “_object” : true }, “_object” : true }, “_object” : true }, “_object” : true }, “Phone” : { “_object” : true, “AutoProvision” : { “_object” : false, “_timestamp” : ISODate(“2021-04-10T08:12:45.704Z”), “_type” : “xsd:string”, “_value” : “1.0” }, “DN0_Number” : { “_object” : false, “_timestamp” : ISODate(“2021-04-10T08:12:45.704Z”), “_type” : “xsd:string”, “_value” : “koon001” }, “DN0_UserName” : { “_object” : false, “_timestamp” : ISODate(“2021-04-10T08:12:45.704Z”), “_type” : “xsd:string”, “_value” : “koon001” }, “DN1_Number” : { “_object” : false, “_timestamp” : ISODate(“2021-04-10T08:12:45.704Z”), “_type” : “xsd:string”, “_value” : “9999” }, “Number” : { “_object” : false, “_timestamp” : ISODate(“2021-04-10T08:12:45.704Z”), “_type” : “xsd:string”, “_value” : “600” } } }
db.devices.find()
{ “_id” : “DC293A-HSP00-2150081736BTD7007143”, “_deviceId” : { “_Manufacturer” : “HAAS”, “_OUI” : “DC293A”, “_ProductClass” : “HSP00”, “_SerialNumber” : “2150081736BTD7007143” }, “_lastBootstrap” : ISODate(“2021-04-10T08:17:59.734Z”), “_lastInform” : ISODate(“2021-04-10T08:17:59.734Z”), “_registered” : ISODate(“2021-03-23T06:46:29.527Z”), “Device” : { “DeviceInfo” : { “HardwareVersion” : { “_object” : false, “_timestamp” : ISODate(“2021-04-10T08:17:59.735Z”), “_type” : “xsd:string”, “_value” : “"1.1.4"” }, “Mac” : { “_object” : false, “_timestamp” : ISODate(“2021-04-10T08:17:59.735Z”), “_type” : “xsd:string”, “_value” : “dc:29:3a:00:f0:00” }, “SoftwareVersion” : { “_object” : false, “_timestamp” : ISODate(“2021-04-10T08:17:59.735Z”), “_type” : “xsd:string”, “_value” : “"1.1.4"” }, “_object” : true }, “ManagementServer” : { “ConnectionRequestPassword” : { “_object” : false, “_timestamp” : ISODate(“2021-04-10T08:17:59.735Z”), “_type” : “xsd:string”, “_value” : “password” }, “ConnectionRequestURL” : { “_object” : false, “_timestamp” : ISODate(“2021-04-10T08:17:59.735Z”), “_type” : “xsd:string”, “_value” : “http://192.168.0.30:7547” }, “ConnectionRequestUsername” : { “_object” : false, “_timestamp” : ISODate(“2021-04-10T08:17:59.735Z”), “_type” : “xsd:string”, “_value” : “user” }, “ParameterKey” : { “_object” : false, “_timestamp” : ISODate(“2021-04-10T08:17:59.735Z”), “_type” : “xsd:string”, “_value” : “4545” }, “ProvisioningCode” : { “_object” : false, “_timestamp” : ISODate(“2021-04-10T08:17:59.735Z”), “_type” : “xsd:string”, “_value” : “1234” }, “SpecVersion” : { “_object” : false, “_timestamp” : ISODate(“2021-04-10T08:17:59.735Z”), “_type” : “xsd:string”, “_value” : “1” }, “_object” : true }, “WANDevice” : { “1” : { “WANConnectionDevice” : { “1” : { “WANIPConnection” : { “1” : { “LanIPAddress” : { “_object” : false, “_timestamp” : ISODate(“2021-04-10T08:17:59.735Z”), “_type” : “xsd:string”, “_value” : “192.168.0.30” }, “_object” : true }, “_object” : true }, “_object” : true }, “_object” : true }, “_object” : true }, “_object” : true }, “_object” : true }, “Phone” : { “_object” : true, “_timestamp” : ISODate(“2021-04-10T08:17:59.734Z”) } }

According to the official document to achieve getparameternames, get empty.


image
image
image

What device is this?

Telephone.

I understand it is some kind of SIP device but just saying it is a “Telephone” doesn’t help. What vendor markes it? What model is it?

HX30 yealink

It’s based on easycwmp.

I went onto the Yealink site and I don’t see any HX30 - is that the correct model number?

The hardware is Yealink, and the content is developed by us. Based on easycwmp, our version has not been released yet.

If the TR069 client-side software stack is custom and developed by you, I would suspect any issues are most likely caused by bugs in your software stack and not GenieACS itself, even if everything seems to be fine in OpenACS.

Thank you for your reply. We will do further research on it.