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: [EMAIL PROTECTED] on behalf of Yuan LIU
Sent: Wed 1/3/2007 10:33 PM
To: [email protected]
Subject: Re: [asterisk-users] Detect IP path before calling
 
>From: Paul Hales <[EMAIL PROTECTED]>
>
>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

_______________________________________________
--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

Reply via email to