<div>Did you try a combination of qualify=yes in sip.conf and then try the ExtensionState in the manager?</div>
<div>&nbsp;</div>
<div>Seems like if qualify=yes or 2000... whatever, is not set then asterisk will not always know the state of the phone if it looses registration.&nbsp; That would seem to explain the problem you have with extensionstate.</div>

<div>&nbsp;</div>
<div>My 2c</div>
<div>&nbsp;</div>
<div>bp<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 8/30/06, <b class="gmail_sendername">Juraj Bednar</b> &lt;<a href="mailto:asterisk4juraj@gmail.com">asterisk4juraj@gmail.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hello,<br><br>&gt; Google is your friend:<br>&gt; <a href="http://www.voip-info.org/wiki/index.php?page=Asterisk+Manager+API+Action+ExtensionState">
http://www.voip-info.org/wiki/index.php?page=Asterisk+Manager+API+Action+ExtensionState</a><br><br>not today.<br><br>I mentioned in my original mail, that ExtensionState is unrealiable<br>too. Sometimes I quit my softphone and I see extension as &quot;Idle&quot;
<br>(status 0), sometimes I log in and the extension is shown as<br>unavailable.<br><br>&nbsp;&nbsp;Juraj.<br>_______________________________________________<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com
</a> --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br>&nbsp;&nbsp;<a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote>
</div><br>