Client Asterisks Can’t Connect When Main Asterisk Reboot
Hi all,
we are running some Asteriks (version 13 on Debian Stretch) as VM/kvm in datacenter and have trunks with other Asterisk (v1.8 11 or 13) instances behind FW. Problem we face is that when we reboot the DC Asterisks, the trunks (SIP or IAX) become alive from DC Asterisks to clients ones but UNAVAILABLE the other way.
In clients logs we see
Registration for ‘XXX@ourDCAsteriks’ timed out, trying again (Attempt #5550)
or UNREACHABLE in case of no registration or IAX
Sometimes a restart from client Asterisks is enough (SIP or IAX reload has no effect) to recover the full trunk, but in most cases we have to reboot the client server 🙁
If we use a VPN (OpenVPN) between Asterisks, no problem.
What can be the problem ?
2 thoughts on - Client Asterisks Can’t Connect When Main Asterisk Reboot
Are you doing NAT between the two servers? Your comment about using a VPN
makes me think you probably are.
In that case I suggest the problem is with stale connection tracking table entries on the machine which is doing the NAT.
Regards,
Antony.
Le 26/03/2018 à 11:08, Antony Stone a écrit :
Yes, NAT is involved.
OK, effectively the clients having problems are behind ISP boxes which means poor NAT level 🙁 Others behind linux boxes (except one behind Sophos UTM) doesn’t have this problem.
Thanks for your enlightenment.
Daniel
—