Registration fails

Hi Friends,
We have Fort Gate 200 B firewall and released all the ports for voip, using freepbx version is 2.7.0.3. 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