[asterisk-users] How to stop intruder from registering sip?

Fred Posner fred at teamforrest.com
Fri Jun 11 18:38:16 CDT 2010


On Jun 11, 2010, at 5:55 PM, sean darcy wrote:

> This is a small 12 line system, internal extensions 150 - 180. I didn't 
> have a phone on 151. Here's the sip.conf stanza:
> --snip--
> There's no DISA. And then somehow (how???) ip address 79.117.17.247 
> becomes extension 151 and starts making calls to West Africa.
> 
> Now contactdeny and contactpermit over solve the problem. For instance, 
> I can't register with my voip provider. I don't care about peers who I 
> make calls to, or receive calls from. I'm just stunned someone can 
> become a peer and make calls themselves.
> 
> How do I fix this in some reasonable way.
> 
> sean

What is the default context in sip.conf? Does it allow outbound calls?

Do you have autocreatepeer=no?

Fred Posner
http://qxork.com



More information about the asterisk-users mailing list