On May 9, 2009, at 1:36 PM, Darrick Hartman wrote:
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 bewilling to bet that restarting the Asterisk service would be sufficient.Whenever my connection to my Voip provider has been interrupted, itgracefully reconnects on it's own. Sounds like a sip.conf configurationissue. Darrick
I too have Teliax for a provider. Usually everything reconnects okay and I only know about it from my logs. But I have occasionally seen times where calls failed after an apparently successful reconnect occurred after a network outage. In all those cases logging into the Asterisk CLI and issuing a reload command has cleared the issue.
Question for Ionel: Teliax has the nasty habit of having a proxy drop out and then requiring the end user to reconfigure to a different proxy. Have you figured out a way to have Asterisk do an auto fail over to different proxies? How did you do it?
--Tod
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------------------------------------------ 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.