I think there are a couple of things you can do:

1. Switch the provider to get a stable internet connection ;-) 

2. convert your lookups to IP addresses instead of domains. However, if you
clients register with address like [EMAIL PROTECTED], then dns will be used to
resolve blah.com and then you have a problem. I am not sure if converting to
ip addresses is doable on a large scale.

3. monitor your internet connection with another script. If the connection
fails then automatically edit * config file to remove your registration with
FWD and reload the proper config.

4. configure * with realtime extensions and place peers into mysql db. Then
use option 3 to monitor your internet connection and remove the peer on
failure. This step does not require reloading config. 

HTH
Alex

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kong
Sent: Thursday, April 14, 2005 11:06 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Asterisk became berserk when Internet
connection is down and can't register to SIP server.

So, any way i can resolve this problem?


At 10:55 AM 4/15/2005, you wrote:
>On 4/14/05, Kong <[EMAIL PROTECTED]> wrote:
> > Hi,
> > i found a case here, i really don't know is it a bug or something else.
> >
> > i have like 200 ip phones connected to my * server, (ATA's and
softphones).
> > and i had it register to SIP service (FWD), so, when my internet
connection
> > is down, * is not able to register itself to FWD, never mind that, but
it
> > made all the extension berserk. all the client are not able to login to
the
> > server. error msg is "login timeout", but once i remark the "register =>
> > XXXX:[EMAIL PROTECTED]" and restarted the server, immediately * became back
to
> > normal.
> >
> > so, i was wondering, is the a bug or something? coz my internet provider
is
> > not consistent, sometimes it goes down.
> >
> > thank you.
>
>I seem to remember a bug like this that had to do with dns lookups I
>think.  Maybe someone else can remember the exact details and what
>version it was in.
>
>Chris
>_______________________________________________
>Asterisk-Users mailing list
>Asterisk-Users@lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-users
>To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users

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


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

Reply via email to