<div><br clear="all">Hi all,</div>
<div>&nbsp;</div>
<div>I&#39;m having a problem related with the &quot;early&quot; CANCEL&#39;s. The&nbsp;scenario is the following&nbsp; one :</div>
<div>A&nbsp;PSTN call to a SIP phone.&nbsp;When the PSTN decides to cancel the call only a right after initiating, the PSTN will send the&nbsp;CANCEL message to the SER but this is discarded and not forwarded to the correct path to the SIP Phone. So&nbsp;what happens is that we have a ghost call.... The PSTN has already cancelled the call but the SIP phone continues to ring.</div>

<div>&nbsp;</div>
<div>The code that I&nbsp;have in the&nbsp;SER script is really simple:</div><font size="2">
<p>if(subst_uri(&#39;/^sip:(\+[0-9]+)@<a href="http://192.168.20.69.*user=phone$/sip:\1@ptinovacao.pt/i&#39;)){">192.168.20.69.*user=phone$/sip:\1@ptinovacao.pt/i&#39;)){</a></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; record_route();</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;loose_route();</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_relay_to_udp(&quot;<a href="http://192.168.20.5">192.168.20.5</a>&quot;, &quot;5060&quot;);</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; break;</p>
<p>}</p>
<p>In the log&nbsp;file I see that:</p>
<p>RFC3261 transaction matching failed</p>
<p>t_lookup_request: no transaction found</p>
<p>e2e_cancel: e2e cancel proceeding&nbsp;</p>
<div></div></font>&nbsp;&nbsp;
<div>&nbsp;</div>
<div>Could you help me?</div>
<div>&nbsp;</div>
<div>Thanks in advance.</div>
<div>&nbsp;</div>
<div>Best Regards,</div>
<div><br>-- <br>Nuno Ribeiro </div>