My internet went down for 5 minutes or so, and my astlinux box never comes back 
online with the sip providers....  I did post about the same issue before but I 
never got a resolution... What's going on here?

I just wrote a quick script to reboot it when is timing out but I shouldn't 
have to do that......

#!/bin/sh
asterisk -rx "sip show peers" | grep teliax |grep OK|wc -l > /tmp/logs
VAR=`cat /tmp/logs| awk {'print $1}'`
if [ "$VAR" != "1" ]
then
/sbin/reboot 
exit;
fi

Jun 17 16:54:01 SOEKRIS local0.notice asterisk[2101]: NOTICE[2101]: 
chan_sip.c:8024 in sip_reg_timeout:    -- Registration for 
'[email protected]' timed out, trying again (Attempt #702)
Jun 17 16:54:17 SOEKRIS local0.notice asterisk[2101]: NOTICE[2101]: 
chan_sip.c:8024 in sip_reg_timeout:    -- Registration for 
'[email protected]' timed out, trying again (Attempt #726)
Jun 17 16:54:21 SOEKRIS local0.notice asterisk[2101]: NOTICE[2101]: 
chan_sip.c:8024 in sip_reg_timeout:    -- Registration for 
'[email protected]' timed out, trying again (Attempt #703)
Jun 17 16:54:37 SOEKRIS local0.notice asterisk[2101]: NOTICE[2101]: 
chan_sip.c:8024 in sip_reg_timeout:    -- Registration for 
'[email protected]' timed out, trying again (Attempt #727)
Jun 17 16:54:41 SOEKRIS local0.notice asterisk[2101]: NOTICE[2101]: 
chan_sip.c:8024 in sip_reg_timeout:    -- Registration for 
'[email protected]' timed out, trying again (Attempt #704)
Jun 17 16:54:57 SOEKRIS local0.notice asterisk[2101]: NOTICE[2101]: 
chan_sip.c:8024 in sip_reg_timeout:    -- Registration for 
'[email protected]' timed out, trying again (Attempt #728)

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
[email protected].

Reply via email to