Hi,
I know a lot of people who successfully run 3CX with AVG, but at the same time we've had quite a few customers who've had issues caused by AVG specifically.
It seems you've found that your root of issues is AVG, so maybe it's time you try and configure AVG and it's firewall to allow 3CX to work uninterrupted.