Problem Asterisk <-> Openwrt <-> Fritzbox7590

i am still getting into it but will heck it out thanks for the conversation and willing to help

edit:

Man thanks i fixed it with your hints
here are the settings so far still testing but calling works !

[incoming]

exten => _X.,1,Goto(internal,6001,1)
exten => asterisk,1,Goto(internal,6001,1)

[internal]

exten => 6001,1,NoOp(Rufe 6001)
same => n,Dial(PJSIP/6001)
same => n,Hangup()

exten => 6002,1,NoOp(Rufe 6002)
same => n,Dial(PJSIP/6002)
same => n,Hangup()

exten => _0X.,1,Goto(outgoing,${EXTEN:1},1)


[outgoing]

exten => _X.,1,Dial(PJSIP/${EXTEN}@asterisk)
exten => asterisk,1,Dial(PJSIP/${EXTEN}@asterisk)

@david551 thanks really was on it for about a week now