<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>RE: [asterisk-users] Detect IP path before calling</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>

<P><FONT SIZE=2>If you send the SIP call to the remote end which is no longer available (unreachable, etc) and have another Dial statement, it will automatically roll over.&nbsp; I would think this would be just as fast, if not faster, than a script updating a db value you check before each call.<BR>
<BR>
Bill<BR>
<BR>
-----Original Message-----<BR>
From: asterisk-users-bounces@lists.digium.com on behalf of Yuan LIU<BR>
Sent: Wed 1/3/2007 10:33 PM<BR>
To: asterisk-users@lists.digium.com<BR>
Subject: Re: [asterisk-users] Detect IP path before calling<BR>
<BR>
&gt;From: Paul Hales &lt;pdhales@optusnet.com.au&gt;<BR>
&gt;<BR>
&gt;With the chanisavail command.<BR>
&gt;<BR>
&gt;PaulH<BR>
<BR>
Doesn't seem to have effect.&nbsp; Probably I should state the problem more<BR>
clearly.&nbsp; Ideally, Asterisk should not attempt SIP if there's no way to<BR>
establish a SIP call.&nbsp; This may include lack of IP connection (ping timeout,<BR>
for example), or no SIP listener on remote side (this would be difficult<BR>
because Asterisk can only use UDP).<BR>
<BR>
My environment does not require remote end point to register, so consulting<BR>
the registry is not an option. (This is perhaps what ChanIsAvail does.)<BR>
<BR>
Any suggestions?&nbsp; I'll go to scripting if no other easy way.<BR>
<BR>
Yuan Liu<BR>
<BR>
&gt;On Wed, 2007-01-03 at 14:22 -0800, Yuan LIU wrote:<BR>
&gt; &gt; Any easy way to determine if IP connectivity before attempting a SIP<BR>
&gt;call?<BR>
&gt; &gt; IP connectivity could be a timeout.<BR>
&gt; &gt;<BR>
&gt; &gt; Yuan Liu<BR>
<BR>
<BR>
_______________________________________________<BR>
--Bandwidth and Colocation provided by Easynews.com --<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>
<BR>
</FONT>
</P>

</BODY>
</HTML>