[Asterisk-Users] restricting SIP access to asterisk
Rich Adamson
radamson at routers.com
Mon Dec 27 07:30:43 MST 2004
> How do you set up Asterisk to allow SIP call requests from specific IP
> addresses? We have no control over what account (From: header) is used. We
> want to be able to allow calls based on the IP address the INVITE comes
> from, not the account. Is there a way to do that?
Something like this in sip.conf?
[3000]
type=friend
canreinvite=no
dtmfmode=inband
context=from-sip
disallow=all
allow=ulaw
deny=0.0.0.0/0.0.0.0
permit=1.3.8.129/255.255.255.0
Adjust the parameters as needed to fit your environment / needs.
More information about the asterisk-users
mailing list