[asterisk-users] Detect IP path before calling

Bill Gibbs bgibbs at edurotech.com
Wed Jan 3 21:08:17 MST 2007


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.  I would think this would be just as fast, if not faster, than a script updating a db value you check before each call.

Bill

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com on behalf of Yuan LIU
Sent: Wed 1/3/2007 10:33 PM
To: asterisk-users at lists.digium.com
Subject: Re: [asterisk-users] Detect IP path before calling
 
>From: Paul Hales <pdhales at optusnet.com.au>
>
>With the chanisavail command.
>
>PaulH

Doesn't seem to have effect.  Probably I should state the problem more 
clearly.  Ideally, Asterisk should not attempt SIP if there's no way to 
establish a SIP call.  This may include lack of IP connection (ping timeout, 
for example), or no SIP listener on remote side (this would be difficult 
because Asterisk can only use UDP).

My environment does not require remote end point to register, so consulting 
the registry is not an option. (This is perhaps what ChanIsAvail does.)

Any suggestions?  I'll go to scripting if no other easy way.

Yuan Liu

>On Wed, 2007-01-03 at 14:22 -0800, Yuan LIU wrote:
> > Any easy way to determine if IP connectivity before attempting a SIP 
>call?
> > IP connectivity could be a timeout.
> >
> > Yuan Liu


_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070103/d4466a14/attachment.htm


More information about the asterisk-users mailing list