<p>Pcap that demonstrates this (I had to zip it for GitHub) is: <a href="https://github.com/kamailio/kamailio/files/221097/fork-fail-filtered.zip">fork-fail-filtered.zip</a>. In this example, Kamailio is a registration proxy.</p>

<p>If two phones answer the call at the same time, it is possible for the CANCEL to be received by one of the phones after it has entered the <code>completed</code> state. It will, thus, respond with a <code>481</code> or similar. Kamailio then continues to process the traffic sent by the cancelled phone.</p>

<p>Ideally, Kamailio should <code>ACK</code> and <code>BYE</code> the <code>200</code> if it ends up in this state.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly or <a href="https://github.com/kamailio/kamailio/issues/570">view it on GitHub</a><img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZT1W39S1XlP2oAhX-KICiw0vNGkKks5p35h2gaJpZM4IIVzd.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/570"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>