<p>In modules/sipmsgops/sipmsgops.c:</p>
<pre style='color:#555'>> -                        goto failed;
> -                }
> -
> -                if (body.len && body.s) {
> -                        /* if it really has body, check for content type */
> -                        ret = SV_NO_CONTENT_TYPE;
> -                        CHECK_HEADER("", content_type);
> -                }
> -        }
> + if(flags & SIP_PARSE_CONTACT) {
> + /* iterate through Contact headers */
> + for(ptr = msg->contact; ptr; ptr = ptr->sibling) {
> + /* parse Contact header */
> + if(!ptr->parsed && (parse_contact(ptr) < 0
> + || !ptr->parsed)) {
> + strcpy(reason, "failed to parse \'Contact\' header");
</pre>
<p>No need to escape single quotes within double quoted strings.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/pull/294/files#r16042545">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/5479561__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyMzM2NTgwMCwiZGF0YSI6eyJpZCI6MzkzMTY3NDd9fQ==--4d74f899444f183b75db7da58a6185fc79b8502c.gif" width="1" /></p>