Ionel Chila wrote:
> I know it is not Astlinux related but I was wondering if any of you 
> experience this issue.
> I run my Soekris net4801 on Comcast broadband and once in a while I find all 
> my VOIP providers "UNREACHABLE" when I do a "sip show peers"
> I recognize that my broadband can go down once in a while but the asterisk 
> should reconnect back to me 3 VOIP providers... All 3 of them are unreachable 
> and I can see in the logs trying to connect back. I tried the reload and 
> tried to stop and restart the asterisk service in /etc/init.d/asterisk "stop 
> | start" but won't do it.
> Rebooting seems to always do it for me and have everything get back online.  
> I don't have any weird firewall rules on my Linsys router running Tomato 
> firmware.
> Is just kind of weird if you ask me....
> Meanwhile I wrote a quick crude script and put it on the crontab to reboot my 
> Soekris box when the VoIP service is unreachable....  
> 
> #!/bin/sh
> asterisk -rx "sip show peers" | grep teliax |grep OK|wc -l > /tmp/log
> VAR=`cat /tmp/log| awk {'print $1}'`
> if [ "$VAR" != "1" ]
> then
> /sbin/reboot 
> exit;
> fi
> 
> 
> Any ideas what's going one here guys?

You definitely don't need to restart the entire device.  I would be 
willing to bet that restarting the Asterisk service would be sufficient.

Whenever my connection to my Voip provider has been interrupted, it 
gracefully reconnects on it's own.  Sounds like a sip.conf configuration 
issue.

Darrick

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Reply via email to