<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body 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 class="external"
        href="https://github.com/zaidka/genieacs/blob/master/lib/soap.coffee"
        style="box-sizing: inherit; cursor: pointer; color: rgb(6, 121,
        159); text-decoration: underline; line-height: 25.6px; outline:
        0px; 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; orphans: auto; text-align: left;
        text-indent: 0px; text-transform: none; white-space: normal;
        widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px;
        background:
        url("/assets/external-86e151a93d8194d8c61e4612228c2347.png")
        0% 60% no-repeat rgb(255, 255, 255);">https://github.com/zaidka/genieacs/blob/master/lib/soap.coffee</a><br>
    </font>    Original code (near to line 160):<br>
    <pre style="box-sizing: inherit; overflow-x: auto; overflow-y: hidden; 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; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(250, 250, 250);"><code style="box-sizing: inherit; 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 style="box-sizing: inherit; font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 1em; font-weight: normal; color: rgb(115, 115, 115); border: 1px soli
 d rgb(2
12, 212, 212); padding: 0.125rem 0.3125rem 0.0625rem; background-color: rgb(236, 236, 236);"><font face="Calibri">(...)</font></code>
 for i in methodRequest.parameterList
    pvs = paramList.node('ParameterValueStruct')
    pvs.node('Name').text(i[0])
    <em style="box-sizing: inherit; font-style: italic; line-height: inherit;"><strong style="box-sizing: inherit; font-weight: bold; line-height: inherit;">v = pvs.node('Value')
    v.text(i[1])</strong></em> 
<font face="Calibri">(...)</font>
</code></pre>
    <font face="Calibri">    Modified code</font><br>
    <pre style="box-sizing: inherit; overflow-x: auto; overflow-y: hidden; 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; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(250, 250, 250);"><code style="box-sizing: inherit; 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 style="box-sizing: inherit; font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 1em; font-weight: normal; color: rgb(115, 115, 115); border: 1px soli
 d rgb(2
12, 212, 212); padding: 0.125rem 0.3125rem 0.0625rem; background-color: rgb(236, 236, 236);"><font face="Calibri">(...)</font></code>
  for i in methodRequest.parameterList
    pvs = paramList.node('ParameterValueStruct')
    pvs.node('Name').text(i[0])
    <em style="box-sizing: inherit; font-style: italic; line-height: inherit;"><b><span style="box-sizing: inherit; line-height: inherit;">v = pvs.node('Value')
    v.text(i[1])</span></b><strong style="box-sizing: inherit; font-weight: bold; line-height: inherit;">
    v.text(1) if i[1]  "true" 
    v.text(0) if i[1]  "false" 
</strong></em></code><code style="box-sizing: inherit; 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 class="moz-cite-prefix">El 02/12/2015 a las 11:05,
      <a class="moz-txt-link-abbreviated" href="mailto:users-request@lists.genieacs.com">users-request@lists.genieacs.com</a> escribió:<br>
    </div>
    <blockquote
      cite="mid:mailman.289.1449050705.706.users@lists.genieacs.com"
      type="cite">
      <pre wrap="">Send Users mailing list submissions to
        <a class="moz-txt-link-abbreviated" href="mailto:users@lists.genieacs.com">users@lists.genieacs.com</a>

To subscribe or unsubscribe via the World Wide Web, visit
        <a class="moz-txt-link-freetext" href="http://lists.genieacs.com/mailman/listinfo/users">http://lists.genieacs.com/mailman/listinfo/users</a>
or, via email, send a message with subject or body 'help' to
        <a class="moz-txt-link-abbreviated" href="mailto:users-request@lists.genieacs.com">users-request@lists.genieacs.com</a>

You can reach the person managing the list at
        <a class="moz-txt-link-abbreviated" href="mailto:users-owner@lists.genieacs.com">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 class="moz-txt-link-rfc2396E" href="mailto:ivan@revyakin.net"><ivan@revyakin.net></a>
To: Community support for GenieACS users <a class="moz-txt-link-rfc2396E" href="mailto:users@lists.genieacs.com"><users@lists.genieacs.com></a>
Subject: Re: Huawei HG8245 <FaultCode> 9002
Message-ID:
        <a class="moz-txt-link-rfc2396E" href="mailto:CAO7cRBLUXKjstcN_9NOyvn+QZ=qDqXYaD2oyQQtj6H_CZXeEVQ@mail.gmail.com"><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 class="moz-txt-link-rfc2396E" href="mailto:abertamoni@stechs.com.ar"><abertamoni@stechs.com.ar></a>:

</pre>
      <blockquote type="cite">
        <pre wrap="">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 class="moz-txt-link-rfc2396E" href="mailto:ivan@revyakin.net"><ivan@revyakin.net></a> wrote:

</pre>
        <blockquote type="cite">
          <pre wrap="">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 class="moz-txt-link-freetext" href="https://yadi.sk/d/tfrCoLIakschm">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 class="moz-txt-link-freetext" href="https://github.com/zaidka/genieacs.git">https://github.com/zaidka/genieacs.git</a> --branch v1.0)

--
Ivan


_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.genieacs.com">Users@lists.genieacs.com</a>
<a class="moz-txt-link-freetext" href="http://lists.genieacs.com/mailman/listinfo/users">http://lists.genieacs.com/mailman/listinfo/users</a>


</pre>
        </blockquote>
        <pre wrap="">
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.genieacs.com">Users@lists.genieacs.com</a>
<a class="moz-txt-link-freetext" href="http://lists.genieacs.com/mailman/listinfo/users">http://lists.genieacs.com/mailman/listinfo/users</a>


</pre>
      </blockquote>
      <pre wrap="">

</pre>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <meta http-equiv="content-type" content="text/html;
        charset=windows-1252">
      <title></title>
      <font style="color: rgb(0, 0, 102); font-size: 10pt;" size="1"
        face="Calibri"><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:

            +34 955 337 633<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: +34 620 092 674<br>
            <br>
            <a href="http://www.magtel.es">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>
  </body>
</html>