<div dir="ltr">Execute &quot;reload mod_event_socket&quot; from console.<div>Console will be disconnected, but FS is still ruined.</div><div>Then simple reconnect to FS</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 19, 2015 at 11:49 PM, Steven Szeto <span dir="ltr">&lt;<a href="mailto:steven.szeto@mitel.com" target="_blank">steven.szeto@mitel.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div>
<p class="MsoNormal">Hi,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Suppose a freeswitch configuration has the following defined in event_socket.conf.xml:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">&lt;configuration name=&quot;event_socket.conf&quot; description=&quot;Socket Client&quot;&gt;<u></u><u></u></p>
<p class="MsoNormal">  &lt;settings&gt;<u></u><u></u></p>
<p class="MsoNormal">    &lt;param name=&quot;nat-map&quot; value=&quot;false&quot;/&gt;<u></u><u></u></p>
<p class="MsoNormal"><b><span style="color:black">    <span style="background:yellow">
&lt;param name=&quot;listen-ip&quot; value=&quot;0.0.0.0&quot;/&gt;</span><u></u><u></u></span></b></p>
<p class="MsoNormal">    &lt;param name=&quot;listen-port&quot; value=&quot;8021&quot;/&gt;<u></u><u></u></p>
<p class="MsoNormal">    &lt;param name=&quot;password&quot; value=&quot;ClueCon&quot;/&gt;<u></u><u></u></p>
<p class="MsoNormal">    &lt;!--&lt;param name=&quot;stop-on-bind-error&quot; value=&quot;true&quot;/&gt;--&gt;<u></u><u></u></p>
<p class="MsoNormal">                <u></u><u></u></p>
<p class="MsoNormal"><b>     <span style="background:yellow">
&lt;param name=&quot;apply-inbound-acl&quot; value=&quot;localnet.auto&quot;/&gt;<u></u><u></u></span></b></p>
<p class="MsoNormal"><b><span style="background:yellow">                &lt;list name=&quot;localnet.auto&quot; default=&quot;allow&quot;&gt;<u></u><u></u></span></b></p>
<p class="MsoNormal"><b><span style="background:yellow">                                &lt;node type=&quot;allow&quot; cidr=&quot;<a href="http://10.47.26.28/32" target="_blank">10.47.26.28/32</a>&quot;/&gt;<u></u><u></u></span></b></p>
<p class="MsoNormal"><b><span style="background:yellow">                &lt;/list&gt;</span><u></u><u></u></b></p>
<p class="MsoNormal">  &lt;/settings&gt;<u></u><u></u></p>
<p class="MsoNormal">&lt;/configuration&gt;<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">The above configuration will allow a remote PC with an IP address of 10.47.26.28 to issue commands to freeswitch (e.g. bgapi).<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Now, suppose we wanted to update the apply-inbound-acl list like this:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">     &lt;param name=&quot;apply-inbound-acl&quot; value=&quot;localnet.auto&quot;/&gt;<u></u><u></u></p>
<p class="MsoNormal">                &lt;list name=&quot;localnet.auto&quot; default=&quot;allow&quot;&gt;<u></u><u></u></p>
<p class="MsoNormal">                                &lt;node type=&quot;allow&quot; cidr=&quot;<a href="http://10.47.26.28/32" target="_blank">10.47.26.28/32</a>&quot;/&gt;<u></u><u></u></p>
<p class="MsoNormal"><b>                                &lt;node type=&quot;allow&quot; cidr=&quot;<a href="http://10.47.26.44/32" target="_blank">10.47.26.44/32</a>&quot;/&gt;<u></u><u></u></b></p>
<p class="MsoNormal">                &lt;/list&gt;<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">The list has been updated to allow a remote PC with an IP address of
<span style="background:yellow">10.47.26.44</span> to connect to freeswitch.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">The only way to get this to work is to restart freeswitch. We were wondering if there is another way that would not require a stop &amp; start of freeswitch.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">The following has already been tried:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p><u></u><span>-<span style="font:7.0pt &quot;Times New Roman&quot;">         
</span></span><u></u>Moved the <span style="background:yellow">
apply-inbound-acl</span> to acl.conf.xml. Invoke the “reloadxml” and “reloadacl” commands<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks,<u></u><u></u></p>
<p class="MsoNormal">Steve<u></u><u></u></p>
</div>
<p><font face="Helv,Arial" size="1"></font></p>
<hr>
NOTE: This e-mail (including any attachments) is for the sole use of the intended recipient(s) and may contain information that is confidential and/or protected by legal privilege. Any unauthorized review, use, copy, disclosure or distribution of this e-mail
 is strictly prohibited. If you are not the intended recipient, please notify Mitel immediately and destroy all copies of this e-mail. Mitel does not accept any liability for breach of security, error or virus that may result from the transmission of this message.

<p></p>
</div>

<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><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" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>