Is one of the network interfaces on the FreePBX box on the same network as the SIP gateway? Directly connected networks do not need routing since they are directly connected.
If the FreePBX box and gateway are not on the same network you will need to add a static route to the FreePBX box.