Is been discussed many times but no one yet shared an elegant Astlinux/ Soekris 
working approach. Just ideas, sugestions or theory. I tried the "dual default 
gateway" approach but never completly worked for me so I didn't share anything 
since I didn't have anything good to share. In my setup the traffic does switch 
to the available default gateway but asterisk will never reconect to the 3 VOIP 
providers that I have. I basicaly had to write a script to reboot the box if is 
not connecting to the providers.  The approach work but is very rudimentary and 
stoneaged. It does the job for me  but I wouldn't advertise it :-) This is my 
hoem setup so I can care less....

Dual deafult gateway is easy to setup in astlinux, just like any linux box and 
they're plenty of writeups and for my script here is what I have:

#!/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

Good luck and please share back if you pull together something good.....





 


----- Original Message ----
From: Dan Ryson <d...@ryson.org>
To: AstLinux Users Mailing List <astlinux-users@lists.sourceforge.net>
Sent: Wed, September 22, 2010 9:42:07 AM
Subject: [Astlinux-users] Multi-home AstLinux?

  I think this topic has already been discussed before on this list.  
However, Google and I can't seem to find the discussion thread.

We have fixed IPs from both a cable and DSL provider.  It it feasible to 
our multi-home AstLinux using a Soekris net5501?  If so, how?

Thanks.

Dan





------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
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.


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
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