<p>Hi Saul!</p>

<p>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?<br>
The first problem can be solved by using the <code>sipmsg_validate()</code> function. Not sure if we should explicitly validate the contact before inserting it in the database.<br>
However, the second problem seems more serious, since OpenSIPS does not start, no matter where that Contact header ended up in the database.</p>

<p>Will look into this next week.</p>

<p>Best regards,<br>
Răzvan</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/issues/729#issuecomment-165842055">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOcictp3NlO_BTHXsj6e7cKaJ3i_VP8ks5pRDUtgaJpZM4G3dJy.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/OpenSIPS/opensips/issues/729#issuecomment-165842055"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>