I am not sure to understand the question. You want to allow some /32, one /24 and some other subnets to access FS and reach the public dialplan, while forbidding everything else ? You can do that using ACL. In acl.conf.xml, add this between <network-lists> and </network-lists>: <list name="external" default="deny"> <node type="allow" cidr="192.168.1.1/32"/> <node type="allow" cidr="X.X.X.X/24"/> ... </list> Assuming your only reachable SIP profile is external, you have to add in external.xml: <param name="apply-inbound-acl" value="external"/> Modify this to match your configuration, but you get the idea. David Ponzone Direction Technique email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur. Le 29/03/2010 à 21:05, Dome Charoenyost a écrit :
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