How about a shared directory? Or rcp the files?  You can have a program that writes the XML to the shared directory and then connect via ESL and execute a reloadxml as suggested by Callum above.  This avoids any delays from http requests or maintaining a HTTP server.  I guess it would depend on how many Freeswitch servers you are configuring this way, and how often you are changing the XML files.

Guillermo


On Wed, Oct 2, 2013 at 5:05 PM, Vik Killa <vipkilla@gmail.com> wrote:
yeah something like that... i use nginx + php5-fpm to generate the XML though :)


On Wed, Oct 2, 2013 at 3:53 PM, crazygabry <crazygabry@gmail.com> wrote:
So you suggest to have a server witch Apache that contains all dialplans,
directories and so on and let freeswitch ask to him while parsing xml right?

Thank you very much



--
View this message in context: http://freeswitch-users.2379917.n2.nabble.com/best-way-to-change-configuration-files-programmatically-tp7595412p7595424.html
Sent from the freeswitch-users mailing list archive at Nabble.com.

_________________________________________________________________________
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


_________________________________________________________________________
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




--
Guillermo Ruiz Camauer