<p>I pushed a safety check to skip t_continue() if the transaction was not suspended. Can you try with latest master branch or backport the commits <a href="https://github.com/kamailio/kamailio/commit/52c4965bbb4cde5d7bddcf697aa504e7c2202ac1" class="commit-link"><tt>52c4965</tt></a> and <a href="https://github.com/kamailio/kamailio/commit/171553ebcac2f00a015191f36f2f228c0d3e483b" class="commit-link"><tt>171553e</tt></a> to your branch?</p>

<p>Your scenario is rather interesting, would be good if you can test it again with the patches to see the result. t_continue() expects some fields in current branch that were set by t_suspend(), perhaps not having everywhere safety checks when accessing them, that's why I added a generic safety check.</p>

<p>An again, at runtime kamailio should not crash, event the config is not well written, we need to detect and throw error messages.</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/322#issuecomment-140038663">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36Zc4Yic6tbg48YCc6ww-lmRH70oejks5oxp_2gaJpZM4F6026.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/322#issuecomment-140038663"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>