<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    if the message processing gets to config file, there is a condition
    on sanity check (see sanity module) -- if that condition fails, a
    reply is sent. But if the processing does not get to config file,
    means that mandatory SIP message structure was not met - no reply
    can be built based on sip requirements.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 6/20/12 6:59 AM, Uri Shacked wrote:<br>
    </div>
    <blockquote
cite="mid:CAMMbDhTGktu7oE6Mrdc5KJ0=OympY2s-BWdOp3NKVMqHpzLC8A@mail.gmail.com"
      type="cite">
      <div dir="ltr">in the log the error is "ERROR: &lt;core&gt;
        [receive.c:165]: ERROR: receive_msg: no via found in request"<br>
        <br>
        <div class="gmail_quote">On Wed, Jun 20, 2012 at 7:56 AM, Uri
          Shacked <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:ushacked@gmail.com" target="_blank">ushacked@gmail.com</a>&gt;</span>
          wrote:<br>
          <blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px
            0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
            <div dir="ltr">
              <div>I do get the parse error.</div>
              <div>Still, I think that even if kamailio stoped
                processing the request, an error reply should be sent
                back the the request sender, no?</div>
              <div>Something like - 501 ??</div>
              <div>&nbsp;</div>
              <div>&gt;I think in such cases you get a "parse error" in
                the log. Do you?<br>
                &gt;If yes, then Kamailio stops processing the packet
                and no reply is sent.<br>
                &gt;<br>
                &gt;Reda
                <div class="im"><br>
                  <br>
                  <br>
                  <br>
                  On Tue, Jun 19, 2012 at 7:10 PM, Uri Shacked &lt;<a
                    moz-do-not-send="true"
                    href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
                    target="_blank">ushacked at gmail.com</a>&gt; wrote:<br>
                  <br>
                  &gt;<i> OK understood.<br>
                  </i>&gt;<i> I tried with no "TO" header as well, and
                    still no error reply....<br>
                  </i>&gt;<i> Is there suppose to be a reply from core?<br>
                  </i>&gt;<i><br>
                  </i>&gt;<i> On Tue, Jun 19, 2012 at 4:12 PM, Andrew
                    Pogrebennyk &lt;<br>
                  </i></div>
                <div class="im">&gt;<i> <a moz-do-not-send="true"
                      href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
                      target="_blank">apogrebennyk at sipwise.com</a>&gt;
                    wrote:<br>
                  </i>&gt;<i><br>
                  </i>&gt;&gt;<i>&nbsp; On 06/19/2012 02:06 PM, Uri Shacked
                    wrote:<br>
                  </i>&gt;&gt;<i> &gt; I am testing kamailio replies
                    when an INVITE or another request arrives<br>
                  </i>&gt;&gt;<i> &gt; with lets say, "VIA" header
                    missing....<br>
                  </i>&gt;&gt;<i> &gt; The core drops the request. But,
                    there is no reply for the originator<br>
                  </i>&gt;&gt;<i> &gt; (so it keep on resending the
                    request...)<br>
                  </i>&gt;&gt;<i> &gt; Why?<br>
                  </i>&gt;&gt;<i><br>
                  </i>&gt;&gt;<i> If there was no Via header, the
                    recipient would have no way to know<br>
                  </i>&gt;&gt;<i> where to send the response.<br>
                  </i>&gt;&gt;<i><br>
                  </i>&gt;<i><br>
                  </i></div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Training, Seattle, USA, Sep 23-26, 2012 - <a class="moz-txt-link-freetext" href="http://asipto.com/u/katu">http://asipto.com/u/katu</a>
Kamailio Practical Workshop, Netherlands, Sep 10-12, 2012 - <a class="moz-txt-link-freetext" href="http://asipto.com/u/kpw">http://asipto.com/u/kpw</a></pre>
  </body>
</html>