Thanks for your reply I will attach the wireshark traces as soon as I get to my workstation.<div><br></div><div>BR,</div><div>Sammy.<br><br><div class="gmail_quote">On Mon, Nov 28, 2011 at 3:33 PM, Daniel-Constantin Mierla <span dir="ltr">&lt;<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    send the ngrep trace of such call, from the initial INVITE, you can
    use:<br>
    <br>
    ngrep -d any -qt -W byline port 5060<br>
    <br>
    The sip trace will help to see what is wrong with that CANCEL.<br>
    <br>
    Cheers,<br>
    Daniel<div><div class="h5"><br>
    <br>
    On 11/28/11 7:19 AM, Sammy Govind wrote:
    </div></div><blockquote type="cite"><div><div class="h5">Anyone please help.<br>
      <br>
      <div class="gmail_quote">On Sat, Nov 26, 2011 at 10:39 PM, Sammy
        Govind <span dir="ltr">&lt;<a href="mailto:govoiper@gmail.com" target="_blank">govoiper@gmail.com</a>&gt;</span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
          Hello list,
          <div><br>
          </div>
          <div>I&#39;m using Kamailio 3.1.5 in front of asterisk servers.
            Kamailio handles all the SIP registrations. Calls from SIP
            phones are forwarded to asterisks and then dialled out to
            Kamailio.</div>
          <div><br>
          </div>
          <div>
            <div><font face="&#39;courier new&#39;, monospace">root@SBCserver:~#
                kamailio -V</font></div>
            <div><font face="&#39;courier new&#39;, monospace">version: kamailio
                3.1.5 (x86_64/linux) 76fff5</font></div>
            <div><font face="&#39;courier new&#39;, monospace">flags: STATS:
                Off, USE_IPV6, USE_TCP, USE_TLS, TLS_HOOKS,
                USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK,
                SHM_MEM, SHM_MMAP, PKG_MALLOC, DBG_QM_MALLOC, USE_FUTEX,
                FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE,
                USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST,
                HAVE_RESOLV_RES</font></div>
            <div><font face="&#39;courier new&#39;, monospace">ADAPTIVE_WAIT_LOOPS=1024,
                MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE
                1024, BUF_SIZE 65535, PKG_SIZE 4MB</font></div>
            <div><font face="&#39;courier new&#39;, monospace">poll method
                support: poll, epoll_lt, epoll_et, sigio_rt, select.</font></div>
            <div><font face="&#39;courier new&#39;, monospace">id: 76fff5</font></div>
            <div><font face="&#39;courier new&#39;, monospace">compiled on
                08:21:33 Oct 27 2011 with gcc 4.6.1</font></div>
            <div><font face="&#39;courier new&#39;, monospace">root@SBCserver:~#</font></div>
            <div><br>
            </div>
            <div><br>
            </div>
          </div>
          <div>Problem: </div>
          <div>When call is initiated from a softphone and is in ringing
            phase, CANCEL just don&#39;t work. I&#39;ve done some initial
            debugging and the following piece of code in main route is
            failing.</div>
          <div><br>
          </div>
          <div>
            <div><font face="&#39;courier new&#39;, monospace"># CANCEL
                processing</font></div>
            <div><font face="&#39;courier new&#39;, monospace">if
                (is_method(&quot;CANCEL&quot;))</font></div>
            <div><font face="&#39;courier new&#39;, monospace">{</font></div>
            <div><font face="&#39;courier new&#39;, monospace">   
                 xlog(&quot;L_NOTICE&quot;,&quot;$rm from $fu (IP:$si:$sp) ---CAPTURED
                IN MAIN---\n&quot;);</font></div>
            <div><font face="&#39;courier new&#39;, monospace">     if
                (t_check_trans()){</font></div>
            <div><font face="&#39;courier new&#39;, monospace">       
                t_relay();</font></div>
            <div><font face="&#39;courier new&#39;, monospace">       
                xlog(&quot;L_NOTICE&quot;,&quot;$rm from $fu (IP:$si:$sp) ---CHECK
                TRANS TRUE---\n&quot;);</font></div>
            <div><font face="&#39;courier new&#39;, monospace">     }</font></div>
            <div><font face="&#39;courier new&#39;, monospace">   
                 xlog(&quot;L_NOTICE&quot;,&quot;$rm from $fu (IP:$si:$sp) ---CHECK
                TRANS FALSE---\n&quot;);</font></div>
            <div><span style="font-family:&#39;courier new&#39;,monospace">   
                 exit;</span></div>
            <div><font face="&#39;courier new&#39;, monospace">}</font></div>
          </div>
          <div><br>
          </div>
          <div>Also the CANCEL fails the has_totag() condition !</div>
          <div><br>
          </div>
          <div>The same Call CANCEL scenario works fine for any client
            on Public IP !</div>
          <div><br>
          </div>
          <div>Hope to get some pointers for the solution.</div>
          <div><br>
          </div>
          <div>Regards,</div>
          <div>Sammy.</div>
        </blockquote>
      </div>
      <br>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><span class="HOEnZb"><font color="#888888">
</font></span></pre><span class="HOEnZb"><font color="#888888">
    </font></span></blockquote><span class="HOEnZb"><font color="#888888">
    <br>
    <pre cols="72">-- 
Daniel-Constantin Mierla -- <a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a>
Kamailio Advanced Training, Dec 5-8, Berlin: <a href="http://asipto.com/u/kat" target="_blank">http://asipto.com/u/kat</a>
<a href="http://linkedin.com/in/miconda" target="_blank">http://linkedin.com/in/miconda</a> -- <a href="http://twitter.com/miconda" target="_blank">http://twitter.com/miconda</a></pre>
  </font></span></div>

</blockquote></div><br></div>