qualify=yes in the sip.conf context for that device will change the device to unreachable and should send you directly to voicemail. There could still be a brief period where the device is timed out and the system hasn't qualified it yet, but outside of that, it will just continue trying to send to the device.
<br><br><br><div><span class="gmail_quote">On 8/1/07, <b class="gmail_sendername">Mike</b> <<a href="mailto:list@virtutel.ca">list@virtutel.ca</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanks Jared. It answers most of my question. Now, when the device doesn't<br>register, the behavior is as expected. But eventually, any device that<br>registers successfully might be unplugged, leaving Asterisk to wonder where
<br>the device has gone.<br><br>So, what's the best approach to this? Should I put a timeout=x minutes for<br>that SIP registration, and force the Polycom phone to reregister every y<br>minutes (y being smaller than x)? How do I do this?
<br><br>Is this anyway to force Asterisk to consider the peer disconnected if<br>Asterisk doesn't get a reply back within a second of trying a Dial command?<br><br>Is this any other obvious option that escapes me?<br>
<br>Mike<br><br><br><br>-----Original Message-----<br>From: <a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a><br>[mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com">
asterisk-users-bounces@lists.digium.com</a>] On Behalf Of Jared Smith<br>Sent: Wednesday, August 01, 2007 14:54<br>To: Asterisk Users Mailing List - Non-Commercial Discussion<br>Subject: Re: [asterisk-users] Problem with the dial command
<br><br>On Wed, 2007-08-01 at 11:43 -0400, Mike wrote:<br>> Aug 1 11:47:57 NOTICE[26107]: app_dial.c:1069 dial_exec_full: Unable<br>> to create channel of type 'SIP' (cause 3 - No route to destination)<br><br>
This happens when Asterisk don't know where to find the peer (which is often<br>the case if the device has failed to register to Asterisk, for example).<br><br>> Sometimes, instead, the phone doesn't ring and I get a 15 second
<br>> silence on the calling end. After the full 15 seconds, Asterisk goes<br>> to the next priority.<br><br>This would happen, for example, if the phone registers with Asterisk but<br>then gets unplugged from the network. Asterisk has an IP address for the
<br>peer and is trying to call it, but the peer isn't responding.<br><br><br>--<br>Jared Smith<br>Community Relations Manager<br>Digium, Inc.<br><br><br>_______________________________________________<br>--Bandwidth and Colocation Provided by
<a href="http://www.api-digital.com--">http://www.api-digital.com--</a><br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br><br><br>_______________________________________________<br>--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--">http://www.api-digital.com--
</a><br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote>
</div><br><br clear="all"><br>-- <br>Anthony Cennami