Incoming and Outgoing calls

Greetings,

I have installed FreePBX and configured it (or at least tried) but i am unable to receive calls. I get an automated message “The number you have dialed is not in service”. The DID that i have put in place under Inbound Routes is NXXXXXX. We are using Grandstream GXW410x as the gateway. Below are the SIP Settings (outgoing) for my Trunk (Incoming is blank):

host=192.168.168.234 (Grandstream IP)
username=207 (SIP User configured on GXW410x)
secret=*** (Password configured for user 207 on GXW410x)
type=friend
qualify=yes
port=5060
dtmfmode=rfc2833
allow=ulaw&alaw

Also, I have PIN Set in place as well and when it’s enabled, i cannot make external calls.
Please assist.

Regards,
John