Anonymous SIP incoming calls.?

arisythila
Posts: 34
Member Since:
2007-11-22

So, I have a wholesale provider. I use them on one of my VOIP servers, but its getting pretty full, So I put up a new box for VOIP, I can make outgoing calls no problem, I am having a problem receiving calls, The provider says my server is giving them a 404 error. I have allow anonymous SIP calls turn on. But for some reason its still rejecting calls.

Works fine on my Trixbox 2.4 box, but not on the 2.6.1 box.

IS there something I'm missing?



arisythila
Posts: 34
Member Since:
2007-11-22
Nobody? ~Michael

Nobody?

~Michael



onecomms
Posts: 289
Member Since:
2006-10-26
DONT allow anonymous SIP

DONT allow anonymous SIP incoming calls - that will allow ANYONE to make a call via your box.

in your sip.conf (or sip_custom.conf rather) look for this line-
context = from-sip-external

change it to
context = from-trunk

If it is not in sip_custom.conf, just add it there, so that the setting will not be overwritten by any freepbx settings changes.

--

_________________________________
Andy Thompson
1comms
http://www.1comms.co.uk
sales@1comms.co.uk



SkykingOH
Posts: 9541
Member Since:
2007-12-17
Anonymous calls
Quote:
DONT allow anonymous SIP incoming calls - that will allow ANYONE to make a call via your box.

Andy, The anonymous calls do enter from-trunk, how else do you think the inbound routing works on them?

There are some possible exploits if you allow transfer on inbound calls, it is quite minimal.

I am an advocate of getting your trunks working properly also, however I always publish my SIP URI, not sure why you would not want to allow someone to call you from the Internet.

--

Scott

aka "Skyking"



jades
Posts: 2340
Member Since:
2006-11-26
In addition to the above,

In addition to the above, also make sure that you have no line in sip.conf and sip_custom.conf and sip_general_custom.conf that says:
srvlookup=yes
If you have an "srvlookup" line, remove it immediately. I have had similar issues than you, and turning off anonymous sip only helped temporarily. After a few weeks of working on the issue, we found out it's because of SRVLOOKUP

--

Joseph Ades
josephades1_at_gmail_dot_com
(212) 937-4299



obeliks
Posts: 877
Member Since:
2010-03-14
I am an advocate of getting

I am an advocate of getting your trunks working properly also, however I always publish my SIP URI, not sure why you would not want to allow someone to call you from the Internet.

Maybe because of this:
http://trixbox.org/forums/trixbox-forums/open-discussion/asterisk...

You can still accept anonymous SIP calls through your ITSP. Let them worry about unauthorized calls.



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.