> 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. _______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
