Re: 6.0.2 to 6.1.1 Migration issue: malformed From header no longer reachable in routing script

Daniel-Constantin Mierla via sr-users <[email protected]> Tue, 19 May 2026 12:00:28 +0200
Newsgroups gmane.comp.voip.ser
Message-ID <[email protected]>
Hello,

can you try with git master branch, I pushed a commit to cover some
cases when parsing From is not done by parse_msg() on-receive.

After sending a reply, use drop() in the event route to stop processing
that message further.

If all ok, it will be backported.

Cheers,
Daniel

On 18.05.26 08:43, m.cazzola--- via sr-users wrote:
> Hello everyone,
>
> I hope you are all doing well, and congratulations on what I'm sure was another successful Kamailio World Conference earlier this month!
>
> I wanted to kindly follow up on this thread regarding the malformed From header behavior in Kamailio 6.1.x.
>
> To answer Daniel's last question more explicitly: we did implement event_route[core:receive-parse-error] in our configuration exactly per the standard syntax, but it does not appear to be triggered for this specific core parsing failure before the message is dropped. Because of this, we aren't able to manually send the 400 Reply from the routing script.
>
> We would love to get your thoughts on whether this might be a edge-case bug in how the new From parsing interacts with core:receive-parse-error, or if there is another underlying mechanism we should look into to catch this condition.
>
> Thank you again for your time and continued support!
>
> Best regards,
> Matteo Cazzola
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected]
> To unsubscribe send an email to [email protected]
> Important: keep the mailing list in the recipients, do not reply only to the sender!

-- 
Daniel-Constantin Mierla (@ asipto.com)
twitter.com/miconda -- linkedin.com/in/miconda
Kamailio Consultancy, Training and Development Services -- asipto.com
Kamailio World Conference, May 7-8, 2026 - Berlin, Germany -- kamailioworld.com

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the sender!