nedi, If I understand you correctly, your AstLinux box sits behind some other router doing NAT.
Normally this should work by default, when your Asterisk outbound peer re-registers the new network path should be updated. Make sure your edge router does not have any SIP ALG stuff enabled. Having the AstLinux firewall enabled should not be a problem, since Asterisk will not be NAT'ed by AstLinux, only your upstream router. You might try enabling "res_stun_monitor" via res_stun_monitor.conf . You will need an appropriate public STUN server. Asterisk 11 and 13 have ICE/STUN/TURN support in sip.conf using -- icesupport = yes -- Personally, my AstLinux boxes are the edge router so this is not an issue. Lonnie On Jul 7, 2015, at 4:05 AM, nedi <n...@gmx.ch> wrote: > > HI > sometime astlinux can’t connect to provider sipcall.ch, every time if > internet loss connection and the router get a new IP address. > I found with the provider the asterisk send to the provider request with the > old ip adrees instead with the new ip adress. > > Ist there a way to fix that? Is this a Astlinux Firewall bug or Firewall bug > from Router ? > Or has this something with Masquerade? > > Should I disable firewall on astlinux if I have firewall in my router before > astlinux ? > > I forwarded only some ports on Astlinux firewall. > > Is to difficult to reproduce it i don't get new IP if I reset my Router. > > This issue I have only with Sipcall.ch to all other provider I can connect > without problems. > > regards > nedi ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.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.