Unfortunately there aren't any command line commands to do this. However, there are options, such as mod_xml_curl, that let you do ACL's dynamically. In a pinch you could even update the acl.conf.xml file and then run: fs_cli -x 'reloadacl'

-MC


On Wed, Jun 19, 2013 at 9:02 AM, Tom Carlson <tom@tomcarlson.com> wrote:
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.

However, one of these servers has a dynamic IP from the internet service provider.

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..

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.

I would rather just execute a command using fscli to add the IP address do the ACL.  Is this possible?

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

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




--
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org