You could have a dynamic<span></span> acl.conf.xml generated by mod_xml_curl and reload it over ESL by reloadacl<div><br></div><div><br><br><div class="gmail_quote">On 19 June 2013 17:02, Tom Carlson <span dir="ltr"><<a href="javascript:_e({}, 'cvml', 'tom@tomcarlson.com');" target="_blank">tom@tomcarlson.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I have two freeswitch servers that I am linking together, so that I need to add the IP of each box to the ACL of the other box.<div>
<br></div><div>However, one of these servers has a dynamic IP from the internet service provider.</div>
<div><br></div><div>I have a cron job running that determines the IP address of the dynamic box, every 5 minutes, and if it changes, writes that IP address to the domain name server, so that registration, etc. to the domain name always works, since the domain name always points to the current IP address..</div>
<div><br></div><div>However, Freeswitch does not accept domain names in the ACL. It only accepts IP addresses. That means I need to change acl.conf.xml, every time the ip address changes.</div><div><br></div><div>I would rather just execute a command using fscli to add the IP address do the ACL. Is this possible?</div>
</div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="javascript:_e({}, 'cvml', 'consulting@freeswitch.org');" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="javascript:_e({}, 'cvml', 'FreeSWITCH-users@lists.freeswitch.org');" target="_blank">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></blockquote></div><br>
</div>