Asterisk behind Fritzbox

I’am new to Asterisk and I’ am trying to use it behind my Fritzbox. I found several thread regarding this, but nothing helped so far. I’ve installed AsteriskNow and I’am using FreePBX to configure Asterisk.

My goal is to call the numbers on my Fritzbox from Asterisk. So far I’ve configured a trunk using there values:

Outbound CallerID: 620

PEER Details:
type=friend
insecure=very
username=620
fromuser=620
secret=mysecret
host=172.17.1.4
qualify=yes
canreinvite=no

USER Context: 620

USER Details:
username=620
type=user
secret=mysecret
qualify=yes
host=172.17.1.4
fromuser=620
fromdomain=172.17.1.4

Register String: 620:mysecret@172.17.1.4/620

this is the output of "sip show registry"
Host dnsmgr Username Refresh State Reg.Time
172.17.1.4:5060 N 620 285 Registered Mon, 14 Mar 2016 23:20:19
1 SIP registrations.

I’ve also configured an outbound route with dial pattern X. and assigned the Fritbox trunk, but still the calls don’t get routed to my Fritzbox. (I e.g. want to call the number **1 of my Fritzbox) But incoming calls from the Fritzbox are working.

Are there any howto’s on how to configure this using the latest FreePBX?

You should try the FreePBX Forum for support with their Interface.

As you’ve configured the trunk using FreePBX, I have to agree that you need to use http://community.freepbx.org/ However, you have provided some direct Asterisk configuration which includes obsolete or deprecated options and values (canreinvite and very) and a type that is generally not recommended.

Thanks for the hint, I will post this in the FreePBX forum.