<p class="MsoNormal"><span style="font-size: 10pt; font-family: Tahoma; ">I'd like to only allow the calls from certain IP's. I tried to added IP to the acl configuration file and could not make it work. And there is not much information on how to use acl.conf.xml.</span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:Tahoma">Let's say that I have&nbsp;</span>&lt;list name="domains" default="deny"&gt; and I only want outside incoming calls from certain &nbsp;IP's., how can I do that? Can anybody give me an example?</p><p class="MsoNormal"><br></p><p class="MsoNormal">Gary Chen</p><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:Tahoma">From:</span></b><span style="font-size:10.0pt;font-family:Tahoma">
freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] <b>On Behalf Of </b>Michael
Collins<br>
<b>Sent:</b> Wednesday, January 26, 2011 8:08 PM<br>
<b>To:</b> FreeSWITCH Users Help<br>
<b>Subject:</b> Re: [Freeswitch-users] question about acl and context</span><o:p></o:p></p>

<p class="MsoNormal"><o:p>&nbsp;</o:p></p>

<p class="MsoNormal">Do you want to open your switch to the whole wide world? Or
do you just want to allow any calls from certain IP addresses?&nbsp;<o:p></o:p></p>

<p class="MsoNormal"><o:p>&nbsp;</o:p></p>

<p class="MsoNormal" style="margin-bottom:12.0pt">-MC<o:p></o:p></p>

<p class="MsoNormal">On Wed, Jan 26, 2011 at 11:18 AM, Gary Chen &lt;<a href="mailto:gchen00@insightbb.com">gchen00@insightbb.com</a>&gt; wrote:<o:p></o:p></p>

<p class="MsoNormal">Installed freeswitch (FreeSWITCH Version 1.0.7
(hacked-20110126T141401Z)) with default configuration.<o:p></o:p></p>

<p class="MsoNormal">I registered two sip phones with user id 1007 and 1001. I
then dial 9196 for echo test from sip phone 1001 and it worked. Then I make
change to acl.conf.xml:<o:p></o:p></p>

<p class="MsoNormal">from&nbsp;&nbsp;&nbsp; &nbsp;&lt;list
name="domains" default="deny"&gt;<o:p></o:p></p>

<p class="MsoNormal">to&nbsp;&nbsp;&nbsp; &nbsp;&lt;list name="domains"
default="allow"&gt;<o:p></o:p></p>

<p class="MsoNormal"><o:p>&nbsp;</o:p></p>

<p class="MsoNormal">After this change, dialing 9196 stopped working. By looking
at console, I can see that before the change<o:p></o:p></p>

<p class="MsoNormal">the call first hit default context. and then after the
change the call first hit public context.<o:p></o:p></p>

<p class="MsoNormal"><o:p>&nbsp;</o:p></p>

<p class="MsoNormal">Does anybody know why?<o:p></o:p></p>

<p class="MsoNormal">I'd like to setup freeswitch to allow both inbound and
outbound calls using port 5060. That is why I made above change on
acl.conf.xml.<o:p></o:p></p>

<p class="MsoNormal"><o:p>&nbsp;</o:p></p>

<p class="MsoNormal"><span style="color:#888888">Gary&nbsp;<o:p></o:p></span></p>

<p class="MsoNormal"><span style="color:#888888"><o:p>&nbsp;</o:p></span></p>