[Freeswitch-users] Add IP to ACL from the CLI

Steven Ayre steveayre at gmail.com
Thu Jun 20 02:05:23 MSD 2013


You could have a dynamic acl.conf.xml generated by mod_xml_curl and reload
it over ESL by reloadacl



On 19 June 2013 17:02, Tom Carlson <tom at tomcarlson.com <javascript:_e({},
'cvml', 'tom at 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 at freeswitch.org <javascript:_e({}, 'cvml',
> 'consulting at freeswitch.org');>
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org <javascript:_e({}, 'cvml',
> 'FreeSWITCH-users at lists.freeswitch.org');>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130619/6abf2734/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list