Hi all, We have a strange problem. The architecture is for a SIP trunk with a fail over link as backup. The setup is as follows:
1) Asterisk box registers with SIP provider using endian as its default gateway, 2)Endian box is set to has a wifi and 2 ADSL links, 3) WIFI link is set to fail over to one of the ADSL line, 4) On Endian we have a routing policy rule to route all traffic by WIFI coming from the Asterisk box, 5) When WIFI link is up - all works as designed, 4) When the WIFI link goes down, which is often, we can see the change in the IPTABLEs mangle table is set correctly to mark traffic from the asterisk box. We can also see that the right routing database is being used by matching the mark from iptables to the ip rule which tells it to use the correct route 5) From the Asterisk box traceroute shows that icmp messages are being routed over the correct link when the WIFI link goes up and down. However the asterisk box will not register over the new route. Its registration requests just time out. If we reboot the endian box then the registrations go through over which ever link is appropriate i.e. over ADSL if the wifi link is down and over WIFI if it is up. I am at a loss of how to explain this from a technical point of view. The SIP provider claims that they are not getting any registration requests but they could wrong on this. Basically I don' trust them. I am pretty sure its not Endians problem but am stuck to explain why rebooting sorts this out. One of the reasons I don't believe its endian is because we had a similar problem when they were just using an ADSL modem and we tried to change the ADSL account. It simply refused to register over the new ADSL account until we put the old one back. What I am trying to understand is what could be happening? The only explanation I can think of is that somehow the SIP server (external)/ or endian is holding a TCP session open and that this is preventing the new session from being established? But according to my understanding of TCP/IP this should not be possible when the one link goes down. Any help appreciated. ----- http://www.jumpingbean.co.za Jumping bean your java and linux experts http://www.bondedadsl.co.za Bonded ADSL Solutions http://www.ip-pbx.co.za Call Centre and Business PBX specialists -- View this message in context: http://old.nabble.com/Asterisk-Server-Registration-problems-with-fail-over-link-tp26940450p26940450.html Sent from the efw-user mailing list archive at Nabble.com. ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Efw-user mailing list Efw-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/efw-user