Hello,

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.

Cheers,
Daniel

On 6/20/12 6:59 AM, Uri Shacked wrote:
in the log the error is "ERROR: <core> [receive.c:165]: ERROR: receive_msg: no via found in request"

On Wed, Jun 20, 2012 at 7:56 AM, Uri Shacked <ushac...@gmail.com <mailto:ushac...@gmail.com>> 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
    <http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users>>
    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
    <http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users>>
    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

_______________________________________________
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

Reply via email to