<div dir="ltr"><div>Hello, Pablo<br><br></div>Your information is useful. Thanks!<br>I'll try to use this hack.<br><div><div><div class="gmail_extra"><br><div class="gmail_quote">2015-12-15 11:58 GMT+03:00 Pablo García Delgado <span dir="ltr"><<a href="mailto:pablo.garcia@magtel.es" target="_blank">pablo.garcia@magtel.es</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000099">
<font face="Calibri">Hi,<br>
<br>
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}.<br>
<br>
This is what we did (the following code </font><font face="Calibri">may be an old version so it may not be useful
anymore):<br>
</font><br>
<font face="Calibri"><a href="https://github.com/zaidka/genieacs/blob/master/lib/soap.coffee" style="color:rgb(6,121,159);text-decoration:underline;line-height:25.6px;outline:0px none;padding-left:12px;font-family:Lato,"Lucida Grande",Helvetica,Arial,sans-serif;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background:rgb(255,255,255) url("http:///assets/external-86e151a93d8194d8c61e4612228c2347.png") no-repeat scroll 0% 60%" target="_blank">https://github.com/zaidka/genieacs/blob/master/lib/soap.coffee</a><br>
</font> Original code (near to line 160):<br>
<pre style="font-family:monospace,monospace;font-size:16px;margin:1em 1em 1em 1.6em;padding:2px 2px 2px 0px;border:1px solid rgb(218,218,218);width:auto;color:rgb(51,51,51);font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:25.6px;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;background-color:rgb(250,250,250)"><code style="font-family:Consolas,"Liberation Mono",Courier,monospace;font-size:1em;font-weight:normal;color:rgb(115,115,115);border:1px solid rgb(212,212,212);padding:0.125rem 0.3125rem 0.0625rem;background-color:rgb(236,236,236)"><code><font face="Calibri">(...)</font></code>
for i in methodRequest.parameterList
pvs = paramList.node('ParameterValueStruct')
pvs.node('Name').text(i[0])
<i style="font-style:italic;line-height:inherit"><b style="font-weight:bold;line-height:inherit">v = pvs.node('Value')
v.text(i[1])</b></i>
<font face="Calibri">(...)</font>
</code></pre>
<font face="Calibri"> Modified code</font><br>
<pre style="font-family:monospace,monospace;font-size:16px;margin:1em 1em 1em 1.6em;padding:2px 2px 2px 0px;border:1px solid rgb(218,218,218);width:auto;color:rgb(51,51,51);font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:25.6px;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;background-color:rgb(250,250,250)"><code style="font-family:Consolas,"Liberation Mono",Courier,monospace;font-size:1em;font-weight:normal;color:rgb(115,115,115);border:1px solid rgb(212,212,212);padding:0.125rem 0.3125rem 0.0625rem;background-color:rgb(236,236,236)"><code><font face="Calibri">(...)</font></code>
for i in methodRequest.parameterList
pvs = paramList.node('ParameterValueStruct')
pvs.node('Name').text(i[0])
<i style="font-style:italic;line-height:inherit"><b><span style="line-height:inherit">v = pvs.node('Value')
v.text(i[1])</span></b><b style="font-weight:bold;line-height:inherit">
v.text(1) if i[1] "true"
v.text(0) if i[1] "false"
</b></i></code><code style="font-family:Consolas,"Liberation Mono",Courier,monospace;font-size:1em;font-weight:normal;color:rgb(115,115,115);border:1px solid rgb(212,212,212);padding:0.125rem 0.3125rem 0.0625rem;background-color:rgb(236,236,236)"><font face="Calibri">(...)</font></code>
</pre>
<br>
<font face="Calibri"><font face="Calibri">I hope this will help you.<br>
<br>
</font></font><font face="Calibri"><font face="Calibri">P.D.:
Later on</font></font><font face="Calibri"> I 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 <i>RPC
AddObject ...whitelist.</i><i><b>0</b></i><i>.List</i>, 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<br>
<br>
</font>
<div>El 02/12/2015 a las 11:05,
<a href="mailto:users-request@lists.genieacs.com" target="_blank">users-request@lists.genieacs.com</a> escribió:<br>
</div>
<blockquote type="cite">
<pre>Send Users mailing list submissions to
<a href="mailto:users@lists.genieacs.com" target="_blank">users@lists.genieacs.com</a>
To subscribe or unsubscribe via the World Wide Web, visit
<a href="http://lists.genieacs.com/mailman/listinfo/users" target="_blank">http://lists.genieacs.com/mailman/listinfo/users</a>
or, via email, send a message with subject or body 'help' to
<a href="mailto:users-request@lists.genieacs.com" target="_blank">users-request@lists.genieacs.com</a>
You can reach the person managing the list at
<a href="mailto:users-owner@lists.genieacs.com" target="_blank">users-owner@lists.genieacs.com</a>
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 <a href="mailto:ivan@revyakin.net" target="_blank"><ivan@revyakin.net></a>
To: Community support for GenieACS users <a href="mailto:users@lists.genieacs.com" target="_blank"><users@lists.genieacs.com></a>
Subject: Re: Huawei HG8245 <FaultCode> 9002
Message-ID:
<a href="mailto:CAO7cRBLUXKjstcN_9NOyvn+QZ=qDqXYaD2oyQQtj6H_CZXeEVQ@mail.gmail.com" target="_blank"><CAO7cRBLUXKjstcN_9NOyvn+QZ=qDqXYaD2oyQQtj6H_CZXeEVQ@mail.gmail.com></a>
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 <a href="mailto:abertamoni@stechs.com.ar" target="_blank"><abertamoni@stechs.com.ar></a>:
</pre>
<blockquote type="cite">
<pre>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 <a href="mailto:ivan@revyakin.net" target="_blank"><ivan@revyakin.net></a> wrote:
</pre>
<blockquote type="cite">
<pre>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:
<a href="https://yadi.sk/d/tfrCoLIakschm" target="_blank">https://yadi.sk/d/tfrCoLIakschm</a>
- 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
<a href="https://github.com/zaidka/genieacs.git" target="_blank">https://github.com/zaidka/genieacs.git</a> --branch v1.0)
--
Ivan
_______________________________________________
Users mailing list
<a href="mailto:Users@lists.genieacs.com" target="_blank">Users@lists.genieacs.com</a>
<a href="http://lists.genieacs.com/mailman/listinfo/users" target="_blank">http://lists.genieacs.com/mailman/listinfo/users</a>
</pre>
</blockquote>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.genieacs.com" target="_blank">Users@lists.genieacs.com</a>
<a href="http://lists.genieacs.com/mailman/listinfo/users" target="_blank">http://lists.genieacs.com/mailman/listinfo/users</a>
</pre>
</blockquote>
<pre></pre>
</blockquote>
<br>
<div>-- <br>
<font style="color:rgb(0,0,102);font-size:10pt" face="Calibri" size="1"><font style="color:rgb(0,0,102)"><font size="2">---------------------------------<br>
<b>Pablo García Delgado </b><br>
<font size="1">Ingeniería</font></font><br>
<br>
</font><font style="color:rgb(0,0,102)"><span><img alt="" src="cid:part2.07010807.09010100@magtel.es" height="39" width="140"><br>
<br>
</span></font></font><font style="color:rgb(0,0,102);font-size:10pt" face="Calibri"><font size="1"><font size="2">T:
<a href="tel:%2B34%20955%20337%20633" value="+34955337633" target="_blank">+34 955 337 633</a><br>
F: +34 </font></font></font><font style="color:rgb(0,0,102);font-size:10pt" face="Calibri"><font size="1"><font size="2"><font style="color:rgb(0,0,102);font-size:10pt"><font size="1"><font size="2">955 337 632<br>
</font></font></font>M: <a href="tel:%2B34%20620%20092%20674" value="+34620092674" target="_blank">+34 620 092 674</a><br>
<br>
<a href="http://www.magtel.es" target="_blank">www.magtel.es</a><br>
Polígono aeronáutico Aerópolis<br>
Calle Juan Olivert, 11<br>
41309, La Rinconada (Sevilla)</font></font></font> </div>
</div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.genieacs.com">Users@lists.genieacs.com</a><br>
<a href="http://lists.genieacs.com/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.genieacs.com/mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Иван<br></div></div></div></div></div>
</div></div></div></div>