<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hi Johan,<br>
      <br>
      Are you sure the HOMER capturing server is an OpenSIPS ? <br>
      <br>
      Also I see you use a non-standard HEP delimited when doing the
      tracing in OpenSIPS - are you sure you aligned this with the
      capturing server in Homer ??<br>
      <br>
      Regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>
OpenSIPS Bootcamp 2018
  <a class="moz-txt-link-freetext" href="http://opensips.org/training/OpenSIPS_Bootcamp_2018/">http://opensips.org/training/OpenSIPS_Bootcamp_2018/</a>
</pre>
    <div class="moz-cite-prefix">On 10/01/2018 04:22 PM, Johan De Clercq
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAEVWGm-xR9oTKQ1+0ZiyNfdzJGRCaxn8V4Mj-XBVSvcjSkBiWA@mail.gmail.com">
      <div dir="auto">All default.</div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr">On Mon, 1 Oct 2018, 07:33 Pasan Meemaduma via
          Users, <<a href="mailto:users@lists.opensips.org"
            moz-do-not-send="true">users@lists.opensips.org</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div>
            <div style="font-family:Helvetica
              Neue,Helvetica,Arial,sans-serif;font-size:16px">
              <div style="font-family:Helvetica
                Neue,Helvetica,Arial,sans-serif;font-size:16px">
                <div><span><span
                      style="font-size:14.0pt;font-family:"Helvetica",sans-serif">Hi
                      Johan,</span></span></div>
                <div><span><span
                      style="font-size:14.0pt;font-family:"Helvetica",sans-serif"><br>
                    </span></span></div>
                <div><span><span
                      style="font-size:14.0pt;font-family:"Helvetica",sans-serif">Whats
                      your opensips capturer server config looks like ?
                      Are you using the default opensips config pack
                      with homer installation ?</span></span></div>
                <div><span><span
                      style="font-size:14.0pt;font-family:"Helvetica",sans-serif"></span></span><br>
                </div>
                <div><br>
                </div>
              </div>
              <div id="m_-8691396832988951897yahoo_quoted_8688377696"
                class="m_-8691396832988951897yahoo_quoted">
                <div style="font-family:'Helvetica
                  Neue',Helvetica,Arial,sans-serif;font-size:13px;color:#26282a">
                  <div> On Friday, 28 September 2018, 1:41:58 AM
                    GMT+5:30, johan de clercq <<a
                      href="mailto:johan@democon.be" target="_blank"
                      rel="noreferrer" moz-do-not-send="true">johan@democon.be</a>>
                    wrote: </div>
                  <div><br>
                  </div>
                  <div><br>
                  </div>
                  <div>
                    <div id="m_-8691396832988951897yiv8427216694">
                      <div>
                        <div
                          class="m_-8691396832988951897yiv8427216694WordSection1">
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal"> </p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">
                             </p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">Hi,
                          </p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">Using
                            opensips 2.4, </p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">
                             </p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">I
                            try to send all the sip messages to a homer
                            server (5.0.5).  I made the opensips config
                            like this:</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">####
                            HEP</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">loadmodule
                            "proto_hep.so"</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">modparam("proto_hep",
                            "hep_id","[hep_dst]<a
                              href="http://192.168.0.3:9060"
                              target="_blank" rel="noreferrer"
                              moz-do-not-send="true">192.168.0.3:9060</a>;
                            version=2")</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">###
                            activate homer5 CSV like format for the
                            payload</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">modparam("proto_hep",
                            "homer5_on", 1)</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">###
                            set the delimiter for the payload </p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">modparam("proto_hep",
                            "homer5_delim", "##")</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">####
                            SIPtrace</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">loadmodule
                            "siptrace.so"</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">modparam("siptrace",
                            "trace_id", "[hep_id]uri=hep:hep_dst")</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">
                             </p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">…
                          </p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">Route
                          </p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">{</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">…</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">   
                            if (is_method("REGISTER"))</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">   
                            {</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">       
                            sip_trace("hep_id","t","sip");</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">       
                            if (!www_authorize("", "subscriber"))</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">       
                            {</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">           
                            www_challenge("", "0");</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">           
                            exit;</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">       
                            }</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">       
                          </p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">        if
                            (!save("location")){</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">           
                            sl_reply_error();</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">           
                            exit;</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">       
                            }</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">       
                            exit;</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">   
                            }</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">…</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">   
                            ##initial INVITE</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">   
                            if (is_method("INVITE") &&
                            !has_totag())</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">   
                            {</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">       
                            xlog("callid=$ci: Route[0]: initial INVITE
                            is coming in from A: $fU to B: $rU");</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">       
                            xlog("callid=$ci: Route[0]: let's do
                            accounting first");</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">       
                            do_accounting("db","cdr");</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">       
                            sip_trace("hep_id","d","sip");</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">…
                          </p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">}</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">
                             </p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">Opensips
                            sends the packets correctly, see attached
                            file. </p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">Unfortunately,
                            homer keeps complaining …. </p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">Sep
                            27 18:29:49 ns3019374 homer[22750]: ERROR:
                            <core> [core/lvalue.c:346]:
                            lval_pvar_assign(): non existing right pvar</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">Sep
                            27 18:29:49 ns3019374 homer[22750]: ERROR:
                            <core> [core/lvalue.c:404]:
                            lval_assign(): assignment failed at pos:
                            (1049,30-1049,40)</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">Sep
                            27 18:29:49 ns3019374 homer[22750]: ERROR:
                            <script>: ANOTHER HEP CHUNK TYPE: ;</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">Sep
                            27 18:29:49 ns3019374 homer[22753]: ERROR:
                            <script>: ANOTHER HEP CHUNK TYPE: ;</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">Sep
                            27 18:29:49 ns3019374 homer[22751]: ERROR:
                            <script>: ANOTHER HEP CHUNK TYPE: ;</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">Sep
                            27 18:29:49 ns3019374 homer[22752]: ERROR:
                            <script>: ANOTHER HEP CHUNK TYPE: ;</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">Sep
                            27 18:29:49 ns3019374 homer[22749]: ERROR:
                            <script>: ANOTHER HEP CHUNK TYPE: ;</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">Sep
                            27 18:29:49 ns3019374 homer[22750]: ERROR:
                            <script>: ANOTHER HEP CHUNK TYPE: ;</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">Sep
                            27 18:29:49 ns3019374 homer[22753]: ERROR:
                            <script>: ANOTHER HEP CHUNK TYPE: ;</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">Sep
                            27 18:29:49 ns3019374 homer[22751]: ERROR:
                            <script>: ANOTHER HEP CHUNK TYPE: ;</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">Sep
                            27 18:29:49 ns3019374 homer[22752]: ERROR:
                            <script>: ANOTHER HEP CHUNK TYPE: ;</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">Sep
                            27 18:29:49 ns3019374 homer[22750]: ERROR:
                            <script>: ANOTHER HEP CHUNK TYPE: ;</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">Sep
                            27 18:29:49 ns3019374 homer[22749]: ERROR:
                            db_mysql [km_dbase.c:127]:
                            db_mysql_submit_query(): driver error on
                            query: Incorrect string value: '\xC4\x1$</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">Sep
                            27 18:29:49 ns3019374 homer[22749]: ERROR:
                            <core> [db_query.c:235]:
                            db_do_insert_cmd(): error while submitting
                            query</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">Sep
                            27 18:29:49 ns3019374 homer[22749]: ERROR:
                            db_mysql [km_dbase.c:127]:
                            db_mysql_submit_query(): driver error on
                            query: Incorrect string value: '\xC4\x1$</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">Sep
                            27 18:29:49 ns3019374 homer[22749]: ERROR:
                            <core> [db_query.c:235]:
                            db_do_insert_cmd(): error while submitting
                            query</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">Sep
                            27 18:29:49 ns3019374 homer[22749]: ERROR:
                            db_mysql [km_dbase.c:127]:
                            db_mysql_submit_query(): driver error on
                            query: Incorrect string value: '\xC4\x1$</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">Sep
                            27 18:29:49 ns3019374 homer[22749]: ERROR:
                            <core> [db_query.c:235]:
                            db_do_insert_cmd(): error while submitting
                            query</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">Sep
                            27 18:29:49 ns3019374 homer[22749]: ERROR:
                            db_mysql [km_dbase.c:127]:
                            db_mysql_submit_query(): driver error on
                            query: Incorrect string value: '\xC4\x1$</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">Sep
                            27 18:29:49 ns3019374 homer[22749]: ERROR:
                            <core> [db_query.c:235]:
                            db_do_insert_cmd(): error while submitting
                            query</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">Sep
                            27 18:29:49 ns3019374 homer[22750]: ERROR:
                            <core> [core/lvalue.c:346]:
                            lval_pvar_assign(): non existing right pvar</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">Sep
                            27 18:29:49 ns3019374 homer[22750]: ERROR:
                            <core> [core/lvalue.c:404]:
                            lval_assign(): assignment failed at pos:
                            (1049,30-1049,40)</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">
                             </p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">Can
                            somebody please tell me what I am
                            overlooking ? </p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">
                             </p>
                          <p>I know that this should go to the homer
                            guys, unfortunately their reply was “Hi <a
                              rel="nofollow noreferrer"
                              href="https://github.com/johandeclercqdemocon"
                              target="_blank" moz-do-not-send="true">@johandeclercqdemocon</a>
                            this would suggest non-HEP packets are
                            entering the circuit ... could be keep
                            alives or anything really. Are valid
                            messages captured and displayed correctly?”</p>
                          <p>As I am quite sure that opensips is
                            correct, what could be the problem ?</p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">
                             </p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal"><img
                              style="width:2.6583in;min-height:1.2625in"
id="m_-8691396832988951897yiv8427216694_x0034_85395db-595c-48b6-9dfb-1ae976a74568"
                              src="cid:ZSsvRvKED3FSds9EvfGB"
                              alt="cid:F3100D46-F00D-4610-87ED-3E91DA790A82"
                              moz-do-not-send="true" height="121"
                              border="0" width="255"></p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal"><span
style="font-size:14.0pt;font-family:"Helvetica",sans-serif">Johan
                              De Clercq, Managing Director<span
                                style="color:black"><br>
                                Democon bvba - Ooigemstraat 41 - 8780
                                Oostrozebeke</span></span></p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal"><span
style="font-size:14.0pt;font-family:"Helvetica",sans-serif;color:black">Tel
                              +3256980990</span><span
                              style="font-size:14.0pt;font-family:"Helvetica",sans-serif">
                              – GSM +32478720104</span></p>
                          <p
                            class="m_-8691396832988951897yiv8427216694MsoNormal">
                             </p>
                        </div>
                      </div>
                    </div>
                    _______________________________________________<br>
                    Users mailing list<br>
                    <a href="mailto:Users@lists.opensips.org"
                      target="_blank" rel="noreferrer"
                      moz-do-not-send="true">Users@lists.opensips.org</a><br>
                    <a
                      href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
                      target="_blank" rel="noreferrer"
                      moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
                  </div>
                </div>
              </div>
            </div>
          </div>
          _______________________________________________<br>
          Users mailing list<br>
          <a href="mailto:Users@lists.opensips.org" target="_blank"
            rel="noreferrer" moz-do-not-send="true">Users@lists.opensips.org</a><br>
          <a
            href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
            rel="noreferrer noreferrer" target="_blank"
            moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
        </blockquote>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>