I have a system where all inbound calls from the provider are coming in through from-sip-external instead of matching the trunk I have. I’ve needed to enable Anonymous Inbound SIP calls in order for the calls to complete. Logs here - Automatic Pastebin from Sangoma OS 7 - FreePBX Pastebin
PROVIDER_IP = The signaling IP of the provider where the call is coming from
RTP_IP = The IP of the media for the call
SERVER_IP = IP of the PBX
CALLERID_NUM = Caller ID of the inbound caller
DID_NUM = DID that the caller called
I also have Match (Permit) set to the signaling IP as well, though I have iptables whitelisting other subnets of the provider.