# OpenACS and genieacs set parameters

**URL:** <https://forum.genieacs.com/t/openacs-and-genieacs-set-parameters/1632>\
**Category:** Uncategorized\
**Created:** [April 10, 2021, 7:33am UTC](https://forum.genieacs.com/t/openacs-and-genieacs-set-parameters/1632 "2021-04-10T07:33:26Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![sixteen](https://avatars.discourse-cdn.com/v4/letter/s/f0a364/32.png) [@sixteen](https://forum.genieacs.com/u/sixteen)\
**Post date:** [April 10, 2021, 7:33am UTC](https://forum.genieacs.com/t/openacs-and-genieacs-set-parameters/1632/1 "2021-04-10T07:33:26Z")

</div>

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](https://canada1.discourse-cdn.com/flex035/uploads/genieacs/original/1X/2112f5f613b8234e26affaaaf6d2b47b9ee812f4.png)  
 ![image](https://canada1.discourse-cdn.com/flex035/uploads/genieacs/original/1X/f404858bda6e246a488b195954622b7563feafde.png)  
Don’t you get data from mongodb to compare and make changes? What’s the problem.

---

<div class="post-metadata">

**Author:** ![sixteen](https://avatars.discourse-cdn.com/v4/letter/s/f0a364/32.png) [@sixteen](https://forum.genieacs.com/u/sixteen)\
**Post date:** [April 10, 2021, 8:22am UTC](https://forum.genieacs.com/t/openacs-and-genieacs-set-parameters/1632/3 "2021-04-10T08:22:02Z")

</div>

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](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](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”) } }

---

<div class="post-metadata">

**Author:** ![sixteen](https://avatars.discourse-cdn.com/v4/letter/s/f0a364/32.png) [@sixteen](https://forum.genieacs.com/u/sixteen)\
**Post date:** [April 10, 2021, 9:23am UTC](https://forum.genieacs.com/t/openacs-and-genieacs-set-parameters/1632/4 "2021-04-10T09:23:17Z")

</div>

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

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/genieacs/original/1X/6d4b2053c4221eaba4ae82b4f0d4a7e18c89b2b2.png)  
 ![image](https://canada1.discourse-cdn.com/flex035/uploads/genieacs/original/1X/8a0ba9e3f6a0d2ce9469ad218450ccc21cbb4189.png)  
 ![image](https://canada1.discourse-cdn.com/flex035/uploads/genieacs/original/1X/d9ea0d9210ba20c6bc50bf7b2213f7ca62ca6970.png)  
 ![image](https://canada1.discourse-cdn.com/flex035/uploads/genieacs/original/1X/e42b74886e5e285a7bdd2ccc7035e0152ffd5b79.png)

---

<div class="post-metadata">

**Author:** ![mjducharme](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/mjducharme/32/59_2.png) [@mjducharme](https://forum.genieacs.com/u/mjducharme)\
**Post date:** [April 10, 2021, 7:19pm UTC](https://forum.genieacs.com/t/openacs-and-genieacs-set-parameters/1632/5 "2021-04-10T19:19:06Z")

</div>

What device is this?

---

<div class="post-metadata">

**Author:** ![sixteen](https://avatars.discourse-cdn.com/v4/letter/s/f0a364/32.png) [@sixteen](https://forum.genieacs.com/u/sixteen)\
**Post date:** [April 11, 2021, 4:30am UTC](https://forum.genieacs.com/t/openacs-and-genieacs-set-parameters/1632/7 "2021-04-11T04:30:25Z")

</div>

Telephone.

---

<div class="post-metadata">

**Author:** ![mjducharme](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/mjducharme/32/59_2.png) [@mjducharme](https://forum.genieacs.com/u/mjducharme)\
**Post date:** [April 11, 2021, 4:31am UTC](https://forum.genieacs.com/t/openacs-and-genieacs-set-parameters/1632/8 "2021-04-11T04:31:55Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![sixteen](https://avatars.discourse-cdn.com/v4/letter/s/f0a364/32.png) [@sixteen](https://forum.genieacs.com/u/sixteen)\
**Post date:** [April 11, 2021, 5:11am UTC](https://forum.genieacs.com/t/openacs-and-genieacs-set-parameters/1632/9 "2021-04-11T05:11:37Z")

</div>

HX30 yealink

---

<div class="post-metadata">

**Author:** ![sixteen](https://avatars.discourse-cdn.com/v4/letter/s/f0a364/32.png) [@sixteen](https://forum.genieacs.com/u/sixteen)\
**Post date:** [April 11, 2021, 5:28am UTC](https://forum.genieacs.com/t/openacs-and-genieacs-set-parameters/1632/10 "2021-04-11T05:28:21Z")

</div>

It’s based on easycwmp.

---

<div class="post-metadata">

**Author:** ![mjducharme](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/mjducharme/32/59_2.png) [@mjducharme](https://forum.genieacs.com/u/mjducharme)\
**Post date:** [April 11, 2021, 5:48am UTC](https://forum.genieacs.com/t/openacs-and-genieacs-set-parameters/1632/11 "2021-04-11T05:48:04Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![sixteen](https://avatars.discourse-cdn.com/v4/letter/s/f0a364/32.png) [@sixteen](https://forum.genieacs.com/u/sixteen)\
**Post date:** [April 11, 2021, 6:15am UTC](https://forum.genieacs.com/t/openacs-and-genieacs-set-parameters/1632/13 "2021-04-11T06:15:52Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![mjducharme](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/mjducharme/32/59_2.png) [@mjducharme](https://forum.genieacs.com/u/mjducharme)\
**Post date:** [April 11, 2021, 6:19am UTC](https://forum.genieacs.com/t/openacs-and-genieacs-set-parameters/1632/14 "2021-04-11T06:19:20Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![sixteen](https://avatars.discourse-cdn.com/v4/letter/s/f0a364/32.png) [@sixteen](https://forum.genieacs.com/u/sixteen)\
**Post date:** [April 11, 2021, 6:35am UTC](https://forum.genieacs.com/t/openacs-and-genieacs-set-parameters/1632/15 "2021-04-11T06:35:24Z")

</div>

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