Problem with trunk registrering

I’ve been using FreePBX since 2010 and it has worked very well. Now I have upgraded to Stable-5.211.65-6 and having problems.

When I started the switch for the first time the trunks registered but as soon as I opened the sip settings and all the settings are finished the trunks is not registered against the provider anymore. I’ve tried to turn off sip alg in the router but it makes no difference.
Is there anyone can help me further?