<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
there are some mandatory SIP headers, without them a sip reply
cannot be built.<br>
<br>
One is Via as the SIP mandates to send the reply where the last Via
address points to. In RFC3261, Via also carries the branch parameter
that should be used to match the transaction.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 6/20/12 6:56 AM, Uri Shacked wrote:<br>
</div>
<blockquote
cite="mid:CAMMbDhSYjs4q-8KPn5-YfAX7s=xK+akZSY2niiwvO=t4d9sAfA@mail.gmail.com"
type="cite">
<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> </div>
<div>>I think in such cases you get a "parse error" in the
log. Do you?<br>
>If yes, then Kamailio stops processing the packet and no
reply is sent.<br>
><br>
>Reda<br>
<br>
<br>
<br>
On Tue, Jun 19, 2012 at 7:10 PM, Uri Shacked <<a
moz-do-not-send="true"
href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">ushacked
at gmail.com</a>> wrote:<br>
<br>
><i> OK understood.<br>
</i>><i> I tried with no "TO" header as well, and still no
error reply....<br>
</i>><i> Is there suppose to be a reply from core?<br>
</i>><i><br>
</i>><i> On Tue, Jun 19, 2012 at 4:12 PM, Andrew
Pogrebennyk <<br>
</i>><i> <a moz-do-not-send="true"
href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">apogrebennyk
at sipwise.com</a>> wrote:<br>
</i>><i><br>
</i>>><i> On 06/19/2012 02:06 PM, Uri Shacked wrote:<br>
</i>>><i> > I am testing kamailio replies when an
INVITE or another request arrives<br>
</i>>><i> > with lets say, "VIA" header missing....<br>
</i>>><i> > The core drops the request. But, there is
no reply for the originator<br>
</i>>><i> > (so it keep on resending the request...)<br>
</i>>><i> > Why?<br>
</i>>><i><br>
</i>>><i> If there was no Via header, the recipient
would have no way to know<br>
</i>>><i> where to send the response.<br>
</i>>><i><br>
</i>><i><br>
</i></div>
</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>