<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <tt>Hello!<br>
      <br>
      Shortly, you need to follow this logic:<br>
      1. Define a listener:<br>
      listen=hep_udp:127.0.0.1:6060<br>
      <br>
      2. Define a HEP destination to capture the traffic to[1].<br>
    </tt><tt>modparam("proto_hep", "hep_id", "[homer_id]<a
        href="http://1.2.3.4:9060" rel="noreferrer" target="_blank">1.2.3.4:9060</a>;
      version=2")<br>
      <br>
      3. Next, define a tracing ID - an idea that describes where a
      specific package should be sent[2]<br>
      modparam("siptrace", "trace_id", "[to_homer_tid]uri=hep:homer_id")<br>
      <br>
      4. Start tracing the data you want by calling sip_trace() with the
      destination provisioned earlier and the scope you want:<br>
      sip_trace("to_homer_tid", "m", "sip"); # this traces only the SIP
      message<br>
    </tt><br>
    <tt><tt>Hope it is clear now.<br>
        <br>
      </tt>[1]
      <a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/2.4.x/proto_hep.html#idp232096">http://www.opensips.org/html/docs/modules/2.4.x/proto_hep.html#idp232096</a><br>
      [2]
      <a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/2.4.x/siptrace.html#idp5904384">http://www.opensips.org/html/docs/modules/2.4.x/siptrace.html#idp5904384</a><br>
      [3]
      <a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/2.4.x/siptrace.html#idp5914144">http://www.opensips.org/html/docs/modules/2.4.x/siptrace.html#idp5914144</a><br>
      <br>
      Best regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Răzvan Crainea
OpenSIPS Developer
<a class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a></pre>
    <div class="moz-cite-prefix">On 11/05/2017 09:56 AM, Karsten
      Horsmann wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAFArqsZWBf-QxSHwkV3Mz8oq9nWwJE9rq=QmhaxrcyA+5Yo4xg@mail.gmail.com">
      <div dir="auto">Hi, 
        <div dir="auto"><br>
        </div>
        <div dir="auto">you need also to mark packets you are interested
          to be sipcaptured in your route. </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">Kind regards </div>
        <div dir="auto">Karsten Horsmann </div>
        <br>
        <div class="gmail_extra" dir="auto"><br>
          <div class="gmail_quote">Am 03.11.2017 8:32 nachm. schrieb
            "Social Boh" <<a href="mailto:social@bohboh.info"
              target="_blank" moz-do-not-send="true">social@bohboh.info</a>>:<br
              type="attribution">
            <blockquote class="m_8998562428788167158quote"
              style="margin:0 0 0 .8ex;border-left:1px #ccc
              solid;padding-left:1ex">Hello,<br>
              <br>
              I think I don't completely understood the logic behind
              proto_hep and siptrace modules on OpenSIPs 2.3<br>
              <br>
              I'd like send SIP traffic from OpenSIPs to a external
              Homer SIP Capture Server (with Kamailio) so I know I have
              to configure proto_hep and siptrace modules.<br>
              <br>
              I think the logic is: Send SIP traffic from siptrace to
              hep listener:<br>
              <br>
              modparam("siptrace", "trace_id", "[tid]uri=sip:<a
                href="http://127.0.0.1:6060" rel="noreferrer"
                target="_blank" moz-do-not-send="true">127.0.0.1:6060</a>")<br>
              <br>
              listen=hep_udp:<a href="http://127.0.0.1:6060"
                rel="noreferrer" target="_blank" moz-do-not-send="true">127.0.0.1:6060</a><br>
              <br>
              then from the proto_hep module send the HEP packets to
              Node Capture:<br>
              <br>
              modparam("proto_hep", "hep_id", "[homer]<a
                href="http://1.2.3.4:9060" rel="noreferrer"
                target="_blank" moz-do-not-send="true">1.2.3.4:9060</a>;
              version=2")<br>
              <br>
              This configuration not works.<br>
              <br>
              This document not helping me very much:<br>
              <br>
              <a
                href="http://www.opensips.org/Documentation/Tutorials-Tracing"
                rel="noreferrer" target="_blank" moz-do-not-send="true">http://www.opensips.org/Docume<wbr>ntation/Tutorials-Tracing</a><br>
              <br>
              Any hint, please?<br>
              <br>
              Thank you<font color="#888888"><br>
                <br>
                -- <br>
                ---<br>
                I'm SoCIaL, MayBe<br>
                <br>
                <br>
                ______________________________<wbr>_________________<br>
                Users mailing list<br>
                <a href="mailto:Users@lists.opensips.org"
                  target="_blank" moz-do-not-send="true">Users@lists.opensips.org</a><br>
                <a
                  href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
                  rel="noreferrer" target="_blank"
                  moz-do-not-send="true">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a><br>
              </font></blockquote>
          </div>
          <br>
        </div>
      </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>