<p>With the config that we use for Kamailio, when we enable the track_cseq_updates option on the dialog module (for use with uac_auth()) it causes Kamailio to start failing on parse_first_line() with the following error:</p>

<p>2(6160) INFO:  [parser/parse_fline.c:144]: parse_first_line(): ERROR:parse_first_line: method not followed by SP<br>
 2(6160) ERROR:  [parser/parse_fline.c:257]: parse_first_line(): parse_first_line: bad message (offset: 0)<br>
 2(6160) ERROR:  [parser/msg_parser.c:690]: parse_msg(): ERROR: parse_msg: message=<ÄÜ<br>
s2¬></p>

<p>If you look at the 3rd line of the error it looks like the pointer to the message or the message itself somehow gets corrupted.  If I simply switch off the track_cseq_updates option it starts to function normally again.</p>

<p>I'm sorry I don't have a config file I can give as an example because the minimalist config I tried creating with that option on worked fine, so there must be something in our config that's leading to this issue but I'm unable to include our config. =/</p>

<p>I'm working on tracking down the issue myself but I wanted to create this issue in case anyone has run into this before or has any pointers on where I should look to reduce the amount of code I need to look through.</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/kamailio/kamailio/issues/526">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZaOEFXzbspuIDUFDGiPs_6zicR52ks5ppNN5gaJpZM4Hm_n9.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/kamailio/kamailio/issues/526"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>