Figured you would ;-)

On Tue, Mar 30, 2010 at 11:59 AM, Dome Charoenyost <dome@tel.co.th> wrote:
Got it :)
   <list name="test" default="deny">
       <node type="allow" cidr="10.0.0.1/32"/>
       <node type="allow" cidr="115.178.1.0/24"/>
   </list>



2010/3/30 Dome Charoenyost <dome@tel.co.th>:
> Thanks All.
> How to deny all and allow some ?
> I try
>    <list name="test" default="allow">
>        <node type="deny" cidr="0.0.0.0/0"/>
>        <node type="allow" cidr="10.0.0.1/32"/>
>        <node type="allow" cidr="115.178.1.0/24"/>
>    </list>
>
> but don't work.
>
> Dome C.
>
> 2010/3/30 Madovsky <infos@madovsky.org>:
>> you need to use ACL in autoload_configs/acl.conf.xml
>>
>> ----- Original Message -----
>> From: "Dome Charoenyost" <dome@tel.co.th>
>> To: <freeswitch-users@lists.freeswitch.org>
>> Sent: Monday, March 29, 2010 3:05 PM
>> Subject: [Freeswitch-users] Regular Expression for match ip address
>>
>>
>>> Dear All,
>>>   I want to autorize incoming call to public context by IP by
>>>     <condition field="network_addr" expression="^192\.168\.1\.1$"/>
>>> but some time i want to allow 1 Class C or some range of IP. How can do
>>> that ?
>>>
>>> BG
>>>
>>> Dome C.
>>>
>>> _______________________________________________
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users@lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users@lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org