<p>The only other thing going on at the time (before 23:18:40 and between 23:18:40 and 23:24:40) was some registrations (I have kamailio set up as a registrar), so I eliminated the log messages associated with those for brevity. The local patch that I've applied to log the message and keep things going is:</p>

<p>--- a/modules/uac/uac_reg.c 2015-07-13 10:55:13.596283423 -0400<br>
+++ b/modules/uac/uac_reg.c 2015-07-13 10:57:09.301555783 -0400<br>
@@ -929,7 +929,10 @@<br>
    if(reg->expires==0)<br>
        return 1;<br>
    if(reg->flags&UAC_REG_ONGOING)</p>

<ul>
<li>      return 2;</li>
<li>      if (reg->timer_expires > tn - reg_retry_interval)</li>
<li>          return 2;</li>
<li>      else</li>
<li>          LM_ERR("ONGOING flag still set");
if(reg->flags&UAC_REG_DISABLED)
    return 4;
if(reg->timer_expires > tn + reg_timer_interval + 3)
@@ -942,7 +945,7 @@
}
reg->timer_expires = tn;
reg->flags |= UAC_REG_ONGOING;</li>
<li>  reg->flags &= ~UAC_REG_ONLINE;</li>
<li>  reg->flags &= ~(UAC_REG_ONLINE|UAC_REG_AUTHSENT);
counter_add(regactive, -1);     /* Take it out of the active pool while re-registering */
memcpy(uuid, reg->l_uuid.s, reg->l_uuid.len);
uuid[reg->l_uuid.len] = '\0';</li>
</ul>

<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/255#issuecomment-122951498">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZWvRDhRvyQWY4eXEe1hJP9bBnHDBks5ofSCrgaJpZM4FbjG_.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/255#issuecomment-122951498"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>