From reading through this forum and Twilio documentation my understanding is that to receive inbound calls, you have to configure one trunk per Twilio IP address that you might be receiving invites from, if you are using chan_sip.
To avoid having to do that you can also use PJSIP and put possible IP addresses in the
So far so good, my only issue is that I have PJSIP running on port 5160 but Twilio is sending all invites to port 5060.
I guess that would mean that I have to configure my firewall in such a way (PBX behind NAT), so that incoming packets sent to port 5060 are forwarded to my PBX to port 5160 if those are coming from specific Twilio IP addresses.
Is that correct and/or is there an easier way of doing that?