CHAN_PJSIP and CHAN_SIP Extension to SIP-Trunk

i am using mostly PJSIP (Port 5060) Extensions and they are working fine. Right now i need to add a CHAN_SIP (Port 5160) Extension to my system cause PJSIP is not supported for this device.
My Trunk is a SIP-Trunk Port 5060 configured. Calls from PJSIP Extensions work great.

Now my CHAN-SIP Extension. Incoming calls are transfered to my Extensions and its working. But when i try to dial out it is not.
From the logs i see that the error seems to be, that somewhere in the system the outgoing calls try to connect my siptrunk via port 5160. My Trunk is of course forbidding this, cause thats not the port it should be.
Where in all the depths of freepbx/asterisk could this happen?

Warning from asteriks log:
[2020-11-17 17:33:41] WARNING[2142][C-0000003c]: chan_sip.c:24167 handle_response_invite: Received response: “Forbidden” from ‘“VAP” <sip:XXXXXXXXXX@fpbx de:5160>;tag=xx11xx12321’

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.