[asterisk-users] Restrict SIP registration to one ip address only?

Mr Shunz mrshunz at gmail.com
Wed Sep 17 13:54:34 CDT 2008


> Maybe a bit silly question, but why doesn't Asterisk accept if you set
> both a username&password as well as an ip address for a phone?

but it does accept!

in a peer definition:

[user]
type=user (or better friend)
username=user
secret=secret
host=10.0.0.1

[snip]

> It's obvious that the more phones you have the more successful a brute
> force attack on the server will be, so i would only like to allow access
> to he 2 Nokia phones from "any" ip.

just set host=dynamic for those peers only

cheers

-- 
------------------------------------------------
Daniele Santi .o.
daniele at santi.vr.it ..o () ascii ribbon campaign
Linux User #415108 ooo /\ www.asciiribbon.org
------------------------------------------------



More information about the asterisk-users mailing list