If channel clearing problem is solved then I need a patch for this......Can anybody help me with this.<br><br><div><span class="gmail_quote">On 9/14/07, <b class="gmail_sendername">Atis</b> &lt;<a href="mailto:atis@best.eu.org">
atis@best.eu.org</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On 9/14/07, Rizwan Hisham &lt;<a href="mailto:rizwanhasham@gmail.com">
rizwanhasham@gmail.com</a>&gt; wrote:<br>&gt; Well my main problem is that sip channels get stuck, &quot;sip show channels&quot;<br>&gt; shows stucck channels in initial invite state while &quot;core show channels&quot;<br>
&gt; show nothing related to those channels. Do you see the same? i guess if the<br>&gt; channel is cleared then the call limit will also be updated automatically.<br><br>Nop, i don&#39;t see any channels left. This probably is fixed, i&#39;m using 
1.4.10.<br><br>&gt; Turning the linksys off may not be the best idea for NAT simulation. Try<br>&gt; unplugging you lan cable from it unplug your telephone cable out from your<br>&gt; main modem just after registering and then try it.
<br><br>And i just saw an answer - why qualify isn&#39;t working for me - because<br>i&#39;m using RT. I just ton&#39;t get why it&#39;s so - a registered SIP phone<br>can be cached in asterisk until registration times out.. and if
<br>asterisk detects connection problem, it can update registration<br>timeout to past value.<br><br>Regards,<br>Atis<br><br>&gt; In my case qualify seems to be working fine.<br>&gt;<br>&gt;<br>&gt; On 9/13/07, Atis &lt;<a href="mailto:atis@best.eu.org">
atis@best.eu.org</a>&gt; wrote:<br>&gt; &gt;<br>&gt; &gt; On 9/13/07, Rizwan Hisham &lt;<a href="mailto:rizwanhasham@gmail.com">rizwanhasham@gmail.com</a>&gt; wrote:<br>&gt; &gt; &gt; I have sip users with the following configuration:
<br>&gt; &gt; &gt; [abc]<br>&gt; &gt; &gt; username=abc<br>&gt; &gt; &gt; type=friend<br>&gt; &gt; &gt; secret=123<br>&gt; &gt; &gt; qualify=no<br>&gt; &gt; &gt; nat=yes<br>&gt; &gt; &gt; insecure=port,invite<br>&gt; &gt; &gt; call-limit=2
<br>&gt; &gt; &gt; host=dynamic<br>&gt; &gt; &gt; dtmfmode=rfc2833<br>&gt; &gt; &gt; context=uscan<br>&gt; &gt; &gt; canreinvite=yes<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; User registers with asterisk without any problem, but whenever there is
<br>&gt; a<br>&gt; &gt; &gt; NAT problem with a user and a call comes for that user, asterisk throws<br>&gt; an<br>&gt; &gt; &gt; initial invite towards that user but gets no response from him even<br>&gt; after 5<br>&gt; &gt; &gt; retries. Caller hears nothing.
<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; During this process the call limit is updated and increased for the<br>&gt; callee<br>&gt; &gt; &gt; and a channel is also created. But after the caller hangsup the call,<br>&gt; call<br>
&gt; &gt; &gt; limit is not updated back to zero for callee and &#39;sip show channels&#39;<br>&gt; shows<br>&gt; &gt; &gt; the callee&#39;s channel stuck in an initial invite state. &#39;core show<br>&gt; channels&#39;<br>
&gt; &gt; &gt; does not show any active calls or channels.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; This is a serious problem for me as i have call-limit=2 for every user,<br>&gt; so<br>&gt; &gt; &gt; if there is NAT problem for any user then after trying to reach him for
<br>&gt; 2<br>&gt; &gt; &gt; times, his call-limit is reached and rest of incoming calls for him go<br>&gt; to<br>&gt; &gt; &gt; voicemail.And evrytime some tries to call him leaves a stuck channel in<br>&gt; &gt; &gt; initial invite state. Im sure this is a bug as i can repeat it as many
<br>&gt; times<br>&gt; &gt; &gt; as i want. Maybe its fixed in new releases of asterisk but havent tried<br>&gt; any<br>&gt; &gt; &gt; new release. I am using asterisk 1.4.2.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Can somebody help me fix this problem?
<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; There is a temporary cure for this problem. if i set qualify=yes, then<br>&gt; &gt; &gt; asterisk keeps checking whether all the users are reachable or not. If<br>&gt; any<br>&gt; &gt; &gt; user is unreachable then asterisk saves its status UNREACHABLE and
<br>&gt; whenever<br>&gt; &gt; &gt; a calls come in for that user asterisk does not bother to send any sip<br>&gt; &gt; &gt; packets to that user. Ultimately no channel is created for that call so<br>&gt; no<br>&gt; &gt; &gt; need to increment or decrement cal l limit.
<br>&gt; &gt;<br>&gt; &gt; Hi,<br>&gt; &gt;<br>&gt; &gt; I&#39;m not sure is this related or not, but i have few Linksys PAP2<br>&gt; &gt; devices behind NAT, that regularly get disconnected from asterisk.<br>&gt; &gt; Symptoms are the same - after few calls (not necessarily 2, however my
<br>&gt; &gt; call-limit is also 2) i hear silence after Dial().<br>&gt; &gt;<br>&gt; &gt; I just tried testing, but doesn&#39;t seem that qualify=yes helps in any<br>&gt; &gt; way. Maybe i&#39;m not simulating NAT problem correctly? Or is it bug in
<br>&gt; &gt; qualify setting? I&#39;m just powering off linksys, and i&#39;m hearing<br>&gt; &gt; silence. Shouldn&#39;t qualify=yes almost immediately mark device as<br>&gt; &gt; UNREACHABLE?<br>&gt; &gt;<br>&gt; &gt; Regards,
<br>&gt; &gt; Atis<br>&gt; &gt;<br>&gt; &gt; --<br>&gt; &gt; Atis Lezdins,<br>&gt; &gt; IT Responsible of BEST Riga,<br>&gt; &gt; <a href="mailto:atis@BEST.eu.org">atis@BEST.eu.org</a><br>&gt; &gt; ICQ: 142239285<br>&gt; &gt; Skype: 
atis.lezdins<br>&gt; &gt; Cell Phone: +371 28806004 [Tele2, Latvia]<br>&gt; &gt; Work phone: +1 800 7502835 [Toll free, USA]<br>&gt; &gt; ?BEST? -&gt; <a href="http://www.BEST.eu.org">www.BEST.eu.org</a><br>&gt; &gt;<br>&gt; &gt; _______________________________________________
<br>&gt; &gt;<br>&gt; &gt; Sign up now for AstriCon 2007!&nbsp;&nbsp;September 25-28th.<br>&gt; <a href="http://www.astricon.net/">http://www.astricon.net/</a><br>&gt; &gt;<br>&gt; &gt; --Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--">
http://www.api-digital.com--</a><br>&gt; &gt;<br>&gt; &gt; asterisk-dev mailing list<br>&gt; &gt; To UNSUBSCRIBE or update options visit:<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://lists.digium.com/mailman/listinfo/asterisk-dev">http://lists.digium.com/mailman/listinfo/asterisk-dev
</a><br>&gt; &gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; --<br>&gt; Best Regards<br>&gt; Rizwan Hisham<br>&gt; Software Engineer<br>&gt; Axvoice Inc.<br>&gt; <a href="http://www.axvoice.com">www.axvoice.com</a><br>&gt; _______________________________________________
<br>&gt;<br>&gt; Sign up now for AstriCon 2007!&nbsp;&nbsp;September 25-28th.&nbsp;&nbsp;<a href="http://www.astricon.net/">http://www.astricon.net/</a><br>&gt;<br>&gt; --Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--">
http://www.api-digital.com--</a><br>&gt;<br>&gt; asterisk-dev mailing list<br>&gt; To UNSUBSCRIBE or update options visit:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://lists.digium.com/mailman/listinfo/asterisk-dev">http://lists.digium.com/mailman/listinfo/asterisk-dev
</a><br>&gt;<br><br><br>--<br>Atis Lezdins,<br>IT Responsible of BEST Riga,<br><a href="mailto:atis@BEST.eu.org">atis@BEST.eu.org</a><br>ICQ: 142239285<br>Skype: atis.lezdins<br>Cell Phone: +371 28806004 [Tele2, Latvia]<br>
Work phone: +1 800 7502835 [Toll free, USA]<br>?BEST? -&gt; <a href="http://www.BEST.eu.org">www.BEST.eu.org</a><br><br>_______________________________________________<br><br>Sign up now for AstriCon 2007!&nbsp;&nbsp;September 25-28th.&nbsp;&nbsp;
<a href="http://www.astricon.net/">http://www.astricon.net/</a><br><br>--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--">http://www.api-digital.com--</a><br><br>asterisk-dev mailing list<br>To UNSUBSCRIBE or update options visit:
<br>&nbsp;&nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br></blockquote></div><br><br clear="all"><br>-- <br>Best Regards<br>Rizwan Hisham<br>Software Engineer
<br>Axvoice Inc.<br><a href="http://www.axvoice.com">www.axvoice.com</a>