Users Digest, Vol 13, Issue 2 (Huawei HG8245)

Pablo García Delgado pablo.garcia at magtel.es
Tue Dec 15 03:58:30 EST 2015


Hi,

I had a problem related with the format of boolean parameters (I got 
9002 and 9007 responses from ONTs): HG8245 and HG8245T only accept {0, 
1} values but GenieACS uses {true, false} values; I got to overcome this 
problem by forcing GenieACS to use {0, 1} instead of {true false}.

This is what we did (the following code may be an old version so it may 
not be useful anymore):

https://github.com/zaidka/genieacs/blob/master/lib/soap.coffee
     Original code (near to line 160):

||(...)|  for i in methodRequest.parameterList pvs = 
paramList.node('ParameterValueStruct') pvs.node('Name').text(i[0]) /*v = 
pvs.node('Value') v.text(i[1])*/ (...) |

     Modified code

||(...)| for i in methodRequest.parameterList pvs = 
paramList.node('ParameterValueStruct') pvs.node('Name').text(i[0]) /*v = 
pvs.node('Value') v.text(i[1])**v.text(1) if i[1] "true" v.text(0) if 
i[1] "false" */||(...)|


I hope this will help you.

P.D.: Later onI had a problem with certain parameters that prevented the 
ONTs to create WAN objects. We need 3 WAN interfaces; I configured the 
ONTs in 3 steps: I had the error on the 1st step. It was something about 
/RPC AddObject ...whitelist.//*0*//.List/, which would be rejected by 
the ONTs... the truth is that I am not sure if this was the reason why 
WAN objects were not created -all this happened several moths ago-, but 
I could not solve it, so I left GenieACS :/ ... for now

El 02/12/2015 a las 11:05, users-request at lists.genieacs.com escribió:
> Send Users mailing list submissions to
> 	users at lists.genieacs.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.genieacs.com/mailman/listinfo/users
> or, via email, send a message with subject or body 'help' to
> 	users-request at lists.genieacs.com
>
> You can reach the person managing the list at
> 	users-owner at lists.genieacs.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Users digest..."
>
>
> Today's Topics:
>
>     1. Re: Huawei HG8245 <FaultCode> 9002 (Ivan Revyakin)
>     2. Re: Huawei HG8245 <FaultCode> 9002 (Agust?n Bertamoni)
>     3. Re: Parameters doesn't show up (Sergio Fern?ndez)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 1 Dec 2015 22:22:11 +0300
> From: Ivan Revyakin <ivan at revyakin.net>
> To: Community support for GenieACS users <users at lists.genieacs.com>
> Subject: Re: Huawei HG8245 <FaultCode> 9002
> Message-ID:
> 	<CAO7cRBLUXKjstcN_9NOyvn+QZ=qDqXYaD2oyQQtj6H_CZXeEVQ at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hello Agustin,
>
> Yes, HG8245H works fine, but HG8245 is not HG8245H, it's another generation
> of this ONT.
> I guess you right -- this is device related issue. The Fault Code rises all
> time.
>
>     >> Device internal log has more information of this issue?
> Could you help me how it possible to do? Which CLI commands should be used?
>
> Thanks
>
> 2015-12-01 19:56 GMT+03:00 Agust?n Bertamoni <abertamoni at stechs.com.ar>:
>
>> Ivan
>> Seems to be device related issue, we are testing GenieACS with HG8245H
>> and works ok.
>> Few questions: -always fails in GetParameterValues? with the sames
>> attributes?, Device internal log has more information of this issue? (via
>> web interface can access to tr69 logs)
>> I hope I've helped
>> BR
>> STECHS - Ing. Agustin Bertamoni
>> M?vil: (+54911) 62183226
>> Skype: abertamoni-stechs
>> Av. Boyac? 372 Piso 4? Oficina 401 (C1406BHF)
>> Buenos Aires, Argentina
>>
>> On Tue, Dec 1, 2015 at 9:00 AM, Ivan Revyakin <ivan at revyakin.net> wrote:
>>
>>> Hello.
>>>
>>> I have two devices:
>>>
>>>     - Huawei HG8245*H*
>>>     - Huawei HG8245
>>>
>>> HG8245*H* works good with GenieACS, but HG8245 does not. HG8245 returns
>>> 9002 Code (Fault Code) in the one of replays.
>>> Capture files (*.pcap) for these two devices are here:
>>> https://yadi.sk/d/tfrCoLIakschm
>>>
>>>     - In "HG8245_fault.pcap" file Fault Code can be found in packet #339.
>>>     - "HG8245H_Ok.pcap" file is good with no errors.
>>>
>>> Can anyone help me why HG8245 returns Fault?
>>>
>>>
>>> The version of HG8245 is V1R006C01S201
>>> The version of HG8245*H* is V3R013C10S108
>>> The version of GenieACS is 1.0 (git clone
>>> https://github.com/zaidka/genieacs.git --branch v1.0)
>>>
>>> --
>>> Ivan
>>>
>>>
>>> _______________________________________________
>>> 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
>>
>>
>

-- 
---------------------------------
*Pablo García Delgado *
Ingeniería



T: +34 955 337 633
F: +34 955 337 632
M: +34 620 092 674

www.magtel.es <http://www.magtel.es>
Polígono aeronáutico Aerópolis
Calle Juan Olivert, 11
41309, La Rinconada (Sevilla)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20151215/fe3afece/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Magtel.gif
Type: image/gif
Size: 8533 bytes
Desc: not available
URL: <http://lists.genieacs.com/pipermail/users/attachments/20151215/fe3afece/attachment-0001.gif>


More information about the Users mailing list