Tom,
Take a look at into the Grandstream configuration, you can setup it to use a static port for SIP communication. If I remember well, the default option uses a random port. That could be one of the reasons. Also, you can try with
qualify = yes
in Askozia PBX, so the port from which the GS registers remains open.
Hope it helps.
Cheers.