Hi Razvan!

Thanks for the tip!

As for the fix, I think OpenSIPS should make sure the data is correct
before putting it on the DB, so that REGISTER should have been rejected.

Now, data might end up bogus on the DB due to bugs, so ignoring the broken
records on startup sounds like a sensible thing to do IMHO.
On Dec 18, 2015 6:09 PM, "Răzvan Crainea" <notificati...@github.com> wrote:

> Hi Saul!
>
> Not sure whether the problem is that opensips accepts the bogus Contact
> header, or it does not start if the contact in the DB is bogus. Probably
> both?
> The first problem can be solved by using the sipmsg_validate() function.
> Not sure if we should explicitly validate the contact before inserting it
> in the database.
> However, the second problem seems more serious, since OpenSIPS does not
> start, no matter where that Contact header ended up in the database.
>
> Will look into this next week.
>
> Best regards,
> Răzvan
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/OpenSIPS/opensips/issues/729#issuecomment-165842055>.
>


---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/729#issuecomment-165923461
_______________________________________________
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to