Why you can include files via the X-PRE include directive, this is not dynamic. You must call reloadxml everytime to get it to reload/parse the dialplan. To do dynamic Dialplan you should look at mod_xml_curl Mr West has a video at https://www.youtube.com/watch?v=IxhLXATa1Ss describing how it works and documentation on confluence at https://freeswitch.org/confluence/display/FREESWITCH/mod_xml_curl From: FreeSWITCH-users [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Yu Boot Sent: Friday, June 23, 2017 8:40 AM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Include text file in XML dialplan? I want something like this: default.xml: <extension> <condition> .... </condition> </extension>
include file.xml here <<<<
<extension> <condition> .... </condition> </extension> Is it possible? 23.06.2017 15:40, Giovanni Maruzzelli пишет: all XML dialplan and configs are based on including files. Obviously the included files must be XML... On 23 June 2017 at 13:52, Yu Boot <yu@yu-boot.ru <mailto:yu@yu-boot.ru> > wrote: Is it possible to just include arbitrary text file to some place in XML dialplan? I want to add or remove some extension and condition entries automatically, without parsing and building entire dialplan XML. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto: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 -- Sincerely, Giovanni Maruzzelli OpenTelecom.IT cell: +39 347 266 56 18 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto: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