So I tried changing the PJSIP port associated with my SIP trunking provider from 5060 to 6060. There were some issues on their end handling the change. So instead I limit my public port 5060 to just their network. And switched the PJSIP port back in FreePBX.
I can make outbound calls just fine, but inbound aren’t even making it to the FreePBX. Nothing in the pjsip debug or in the logs as to inbound routes.
Here is the trunk config on the FreePBX.
And when I look at the results of a pjsip show endpoints command, here is what I see for the SIP trunk. Note the udp 0.0.0.0:6060 transport that’s listed. Where is this coming from? I’ve rebooted the FreePBX after switching back to port 5060, and my SIP trunking provider is configured for port 5060 as well.
Endpoint: Twilio_Trunking Not in use 0 of inf
Aor: Twilio_Trunking 0
Contact: Twilio_Trunking/sip:[email protected] e3329b4bf2 Avail 1.009
Transport: 0.0.0.0-udp udp 3 96 0.0.0.0:6060