Registration fails

Hi Friends,
We have Fort Gate 200 B firewall and released all the ports for voip, using freepbx version is All extns. registers for some time and then fails suddenly, if we change the port numbers works for some time and fails repeatedly .
Pl.suggest me to do settings in firewall