Anonymous SIP not working


(United Kingdom) #1

Hi Guys,

I have inbound SIP provided by Gradwell in the UK. When I forward the relevant ports directly to a phone,with no setup, I can receive calls.

I would expect setting anonymous calls to Yes in Freepbx to work without issue but I’m having no luck.

I have an ANY-ANY > extension No. inbound route setup and I have tried temporarily disabling the firewall.

I have to use anonymous calls as my provider has a very long list of IPs

Any help much appreciated!!


#2

Should be easy to solve if we see the logs including SIP logging. PJSIP or chan_sip?


(United Kingdom) #3

Thanks for your reply,

I don’t suppose you have a link to a guide on pulling logs? Google isn’t proving very useful. All I can find is that I need to look in /var/log/asterisk/ but not how to get to that point.


#4

https://wiki.freepbx.org/display/SUP/Providing+Great+Debug


#5

Don’t use Anonymous SIP.

See the list of 14 netblocks at the bottom of
https://my.gradwell.com/s/article/what-ip-addresses-may-gradwell-send-voip-traffic-from
Type them, separated by commas, into the Match (Permit) field of your pjsip trunk.
Calls will no longer appear as anonymous.

Edit: here you go:

79.135.125.0/24,212.11.91.0/22,195.76.60.0/23,193.111.200.0/23,109.224.232.0/22,109.224.240.0/22,194.145.191.128/27,87.238.72.128/26,87.238.73.128/26,87.238.74.128/26,87.238.77.128/26,78.40.243.192/27,213.166.5.0/24,185.47.148.0/24

(system) closed #6

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