<node type="allow" cidr="208.102.123.124/32"/>
</list>
- <list name="sip_acl" default="deny">
- <node type="allow" cidr="192.168.0.234/32"/>
+ <list name="domains" default="deny">
+ <node type="allow" domain="$${domain}"/>
</list>
</network-lists>
<include>
<!-- ipauth if you have an ip= in the user attributes ie ip="1.2.3.4" -->
<!-- <user id="brian" ip="1.2.3.4"> -->
- <user id="brian" mailbox="9999">
+ <user id="brian" mailbox="9999" cidr="1.2.3.4/24">
<!-- Outbound Registrations Related to this user -->
<gateways>
<!--<gateway name="asterlink.com">-->
<param name="aggressive-nat-detection" value="true"/>
<!--<param name="enable-timer" value="false"/>-->
<!--<param name="enable-100rel" value="false"/>-->
- <param name="apply-inbound-acl" value="sip_acl"/>
- <!--<param name="apply-register-acl" value="rfc1918"/>-->
+ <param name="apply-inbound-acl" value="domains"/>
+ <param name="apply-register-acl" value="domains"/>
<!--<param name="dtmf-type" value="info"/>-->
<param name="record-template" value="$${base_dir}/recordings/${caller_id_number}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav"/>
<!--enable to use presense and mwi -->