[asterisk-users] Detect IP path before calling
Paul Hales
pdhales at optusnet.com.au
Wed Jan 3 21:37:49 MST 2007
On Wed, 2007-01-03 at 19:33 -0800, Yuan LIU wrote:
> >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
>
OK - if your endpoints don't register, then chanisavail won't work very well. Chanisavail works together with 'qualify=' in sip.conf so you can send a call based on the availability of the endpoint.
PaulH
More information about the asterisk-users
mailing list