Current Asterisk Version: 13.36.0
I use Gradwell UK as our sip trunk provider. We are set as chan_sip. And since they send traffic from several IP addresses they require “Allow Anonymous Inbound SIP Calls” to be set to YES. This is causing issues, since I am getting ghost calls and calls from extensions that don’t even exist.
This is how the trunk is currently configured for the incoming settings:
Incoming Sip Settings:
USER Context: Trunk Name
I though of changing the trunk to chan_pjsip, but they do not authenticate with a username and password and this is required to configure the trunk as chan_pjsip.
I have been told by their support that I could duplicate the trunk for each IP they provided and modify the IP of the duplicated trunks so that we have one chan_sip trunk for each of the provider’s IPs.
This is the link to the IP list: https://my.gradwell.com/s/article/what-ip-addresses-may-gradwell-send-voip-traffic-from
It shows the Netblock and the IP ranges, but I am not sure how I would configure this in FreePBX.
Could anyone give me an idea?