› Forums › Network Management › ZeroShell › Issues with internet failover
- This topic is empty.
-
AuthorPosts
-
September 11, 2017 at 9:18 am #44869
Montikore
ParticipantHi,
Since 2 weeks, i’m experiencing lot of troubles with my VoIP services : it sticks on the failover device (4G modem), even when there is no problem with the main connection. All other connections are using the main link, but the VoIP service is not… And is not working as well.
I’m using this configuration since month’s without problems, and updated to 3.8.0 one month ago. Is there any issue with internet failover on this version? Something changed? Is there any differences between x86 and x64 versions?Thanks
September 11, 2017 at 4:17 pm #54547DrmCa
ParticipantTry a previous version, and see. I did not have issues with 3.5.0 while I still used load balancing configuration.
September 22, 2017 at 12:16 am #54548virgiox
MemberWe use load balancing with balancing rules routing SIP traffic to a preferred gateway. When it fails a new one is chosen, but while UDP NAT sessions are alive on the new gateway, it is used regardless the status of the preferred one.
The only way to switch your gateway back is to let NAT sessions expire (turn SIP user agents off) or manually disable the new gateway. I guess it does not happen with http connections because their lifespan is shorter, while UDP ones could last forever.
September 26, 2017 at 8:43 am #54549Montikore
Participant@virgiox wrote:
When it fails a new one is chosen, but while UDP NAT sessions are alive on the new gateway, it is used regardless the status of the preferred one.
This sounds pretty logical in regard of our situation. And indeed, this issue affected only our VoIP services.
By the way, i didn’t find how to configure/disable SIP user agents you talk about. Where can i do that?So i guess to solve this issue, you have to set UDP NAT session timeout to very short time… ?
October 7, 2017 at 12:38 pm #54550virgiox
Member@Montikore wrote:
By the way, i didn’t find how to configure/disable SIP user agents you talk about. Where can i do that?
So i guess to solve this issue, you have to set UDP NAT session timeout to very short time… ?
SIP user agents are the SIP devices you are using through your NAT. It could be your IP-PBX if on premises or your IP phones if your PBX is in cloud.
Reducing UDP NAT sessions timeout to a value lower than SIP register refresh is not a good idea as by doing so incoming requests will often find a closed door. Neither is turning your PBX or phones off until their NAT sessions time out.
I usually flush all NAT sessions: security->firewall->connection tracking->flush.
Quick and dirty (very dirty)
October 9, 2017 at 7:44 am #54551Montikore
Participantdirty things can be done once in a while 😉
ok thank you for the information! i think i’ll have some testing to do around it -
AuthorPosts
- You must be logged in to reply to this topic.