<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    The SIP protocol is not really designed to work with 0.0.0.0 - which
    is an IP that makes sense only when listening, but not when reading
    and sending data.<br>
    <br>
    By pure luck (in combination with the "as" statement) it works for
    the SIP traffic. But when it gets into siptrace and wans to pack it
    for HEP, HEP says 0.0.0.0 is not an valid IP .<br>
    <br>
    Once again, why don;t you explicitly listen on the private IPs (with
    an "as" statement) to avoid the 0.0.0.0  <br>
    <br>
    Regards,<br>
    <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></pre>
    <div class="moz-cite-prefix">On 29.04.2016 17:30, Sasmita Panda
      wrote:<br>
    </div>
    <blockquote
cite="mid:CALf-Q442SqRAX2y+K9MyPLdQEckeG22YQYG6WrwSvgqwnYmfwQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">Then what IP will I set there . We are running like
        this and there is no problem we are facing yet .
        <div><br>
        </div>
        <div>I cant put the public ip over there . If I will put the
          private ip then While forwarding HEP packets to any other IP
          it wont work .</div>
        <div><br>
        </div>
        <div>There is an option I will set only the port=5506 and so
          that it will work on all the interfaces (public and private )
          .</div>
        <div><br>
        </div>
        <div>But giving the port , I am facing another problem . If
          there is more than one port then how will I give multiple
          ports ? </div>
      </div>
      <div class="gmail_extra"><br clear="all">
        <div>
          <div class="gmail_signature">
            <div dir="ltr"><b><i>Thanks &amp; Regards</i></b>
              <div><i>Sasmita Panda</i></div>
              <div><i>Network Testing and Software Engineer</i></div>
              <div><i>3CLogic , ph:07827611765</i></div>
            </div>
          </div>
        </div>
        <br>
        <div class="gmail_quote">On Fri, Apr 29, 2016 at 7:20 PM,
          Bogdan-Andrei Iancu <span dir="ltr">&lt;<a
              moz-do-not-send="true" href="mailto:bogdan@opensips.org"
              target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:bogdan@opensips.org">bogdan@opensips.org</a></a>&gt;</span> wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000"> <tt>Hi Sasmita,<br>
                <br>
                OpenSIPS does not support 0.0.0.0 IP. You need to have
                an explicit IP there.<br>
                <br>
                Regards,<br>
              </tt>
              <pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
              <div>
                <div class="h5">
                  <div>On 29.04.2016 11:46, Sasmita Panda wrote:<br>
                  </div>
                </div>
              </div>
              <blockquote type="cite">
                <div>
                  <div class="h5">
                    <div dir="ltr">Hi All ,
                      <div><br>
                      </div>
                      <div>     I am trying to integrate HOMER with
                        opensips . I am using opensips as my capture
                        agent and forwarding the HEP packets to the
                        capture server which is kamailio .</div>
                      <div><br>
                      </div>
                      <div>      My opensips is running on AWS EMI .
                        Where there is a public and a private IP of the
                        machine . So we used to writein the bellow
                        format in the opensips config .</div>
                      <div><br>
                      </div>
                      <div><b>"listen=<a moz-do-not-send="true"
                            href="http://0.0.0.0:5506" target="_blank">0.0.0.0:5506</a>
                          AS 54.211.x.y:5506 "<br>
                        </b></div>
                      <div><br>
                      </div>
                      <div>       Second part is the public ip , and
                        that get used for publishing any message out
                        side . the first part is for internal use .</div>
                      <div>With this if I am trying to forward the HEP
                        packet through siptrace module , I had
                        configured like bellow .</div>
                      <div><br>
                      </div>
                      <div>
                        <div>#----load siptrcae module for trace node
                          -------</div>
                        <div>modparam("siptrace", "duplicate_uri",
                          "sip:107.170.x.y:9060")</div>
                        <div>modparam("siptrace", "duplicate_with_hep",
                          1)</div>
                        <div>modparam("siptrace", "trace_to_database",
                          0)</div>
                        <div>modparam("siptrace", "trace_flag", 22)</div>
                        <div>modparam("siptrace", "trace_on", 1)</div>
                        <div>#HEPv2 == timestamp will be included to HEP
                          header</div>
                        <div>modparam("siptrace", "hep_version", 2)</div>
                      </div>
                      <div> </div>
                      <div>       In "107.170.x.y:9060" my kamailio is
                        running . But when I am trying to forward the
                        packets its giving error .</div>
                      <div><br>
                      </div>
                      <div><b>"ERROR:siptrace:pipport2su: host
                          &lt;0.0.0.0&gt; is not an IP"  . </b>      </div>
                      <div><br>
                      </div>
                      <div>          If I am changing my opensips config
                        to <b>"listen=</b><b>54.211.x.y:5506 AS </b><b>54.211.x.y:5506
                          " </b>then its running fine .</div>
                      <div><br>
                      </div>
                      <div><br>
                      </div>
                      <div>      How will I get read of this error
                        without changing my listen IP and port line ?</div>
                      <div>Is there anything I can do in the siptrace
                        module to use the public ip only rather than
                        using " <b>0.0.0.0</b> " ?</div>
                      <div><br>
                      </div>
                      <div><br>
                      </div>
                      <div>
                        <div>
                          <div dir="ltr"><b><i>Thanks &amp; Regards</i></b>
                            <div><i>Sasmita Panda</i></div>
                            <div><i>Network Testing and Software
                                Engineer</i></div>
                            <div><i>3CLogic , ph:07827611765</i></div>
                          </div>
                        </div>
                      </div>
                    </div>
                    <br>
                    <fieldset></fieldset>
                    <br>
                  </div>
                </div>
                <pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
              </blockquote>
              <br>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>