Combining FreePBX with Panasonic KX-NCP500

Update: Well I figured out half of it. My dial plan in the Outbound Routes didn’t work properly. I needed to put 1XX in just one line instead of listing the extensions directly. So FreePBX can now just dial any Panasonic extension and it will ring. Now have to figure out how to do the same thing on the Panasonic side so it can call the FreePBX