Have you tried changing the default?<br> <br><list name="test" <b>default="allow"</b>><br><br><br><div class="gmail_quote">On Tue, Mar 30, 2010 at 11:49 AM, Dome Charoenyost <span dir="ltr"><<a href="mailto:dome@tel.co.th">dome@tel.co.th</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Thanks All.<br>
How to deny all and allow some ?<br>
I try<br>
<list name="test" default="allow"><br>
<node type="deny" cidr="<a href="http://0.0.0.0/0" target="_blank">0.0.0.0/0</a>"/><br>
<node type="allow" cidr="<a href="http://10.0.0.1/32" target="_blank">10.0.0.1/32</a>"/><br>
<node type="allow" cidr="<a href="http://115.178.1.0/24" target="_blank">115.178.1.0/24</a>"/><br>
</list><br>
<br>
but don't work.<br>
<br>
Dome C.<br>
<br>
2010/3/30 Madovsky <<a href="mailto:infos@madovsky.org">infos@madovsky.org</a>>:<br>
<div><div></div><div class="h5">> you need to use ACL in autoload_configs/acl.conf.xml<br>
><br>
> ----- Original Message -----<br>
> From: "Dome Charoenyost" <<a href="mailto:dome@tel.co.th">dome@tel.co.th</a>><br>
> To: <<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>><br>
> Sent: Monday, March 29, 2010 3:05 PM<br>
> Subject: [Freeswitch-users] Regular Expression for match ip address<br>
><br>
><br>
>> Dear All,<br>
>> I want to autorize incoming call to public context by IP by<br>
>> <condition field="network_addr" expression="^192\.168\.1\.1$"/><br>
>> but some time i want to allow 1 Class C or some range of IP. How can do<br>
>> that ?<br>
>><br>
>> BG<br>
>><br>
>> Dome C.<br>
>><br>
>> _______________________________________________<br>
>> FreeSWITCH-users mailing list<br>
>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
><br>
> _______________________________________________<br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br>