Hello,

there are some mandatory SIP headers, without them a sip reply cannot be built.

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.

Cheers,
Daniel

On 6/20/12 6:56 AM, Uri Shacked wrote:
I do get the parse error.
Still, I think that even if kamailio stoped processing the request, an error reply should be sent back the the request sender, no?
Something like - 501 ??
 
>I think in such cases you get a "parse error" in the log. Do you?
>If yes, then Kamailio stops processing the packet and no reply is sent.
>
>Reda



On Tue, Jun 19, 2012 at 7:10 PM, Uri Shacked <ushacked at gmail.com> wrote:

> OK understood.
> I tried with no "TO" header as well, and still no error reply....
> Is there suppose to be a reply from core?
>
> On Tue, Jun 19, 2012 at 4:12 PM, Andrew Pogrebennyk <
> apogrebennyk at sipwise.com> wrote:
>
>>  On 06/19/2012 02:06 PM, Uri Shacked wrote:
>> > I am testing kamailio replies when an INVITE or another request arrives
>> > with lets say, "VIA" header missing....
>> > The core drops the request. But, there is no reply for the originator
>> > (so it keep on resending the request...)
>> > Why?
>>
>> If there was no Via header, the recipient would have no way to know
>> where to send the response.
>>
>


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Seattle, USA, Sep 23-26, 2012 - http://asipto.com/u/katu
Kamailio Practical Workshop, Netherlands, Sep 10-12, 2012 - http://asipto.com/u/kpw