[Freeswitch-users] best way to change configuration files programmatically

Guillermo Ruiz Camauer grcamauer at gmail.com
Thu Oct 3 00:31:35 MSD 2013


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 at 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 at 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 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
>> 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 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
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>


-- 
Guillermo Ruiz Camauer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20131002/da9fd8fc/attachment-0001.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list