On 23 June 2017 at 15:40, Yu Boot <yu@yu-boot.ru> wrote:

I want something like this:

default.xml:

<extension>

<condition>

....

</condition>

</extension>


>>>>> include file.xml here <<<<


<extension>

<condition>

....

</condition>

</extension>


Is it possible?


is already like that. Also, being XML, is inherently structured.

What I cannot understand is what you think you gain from this.

Eg: it will not be automatically reloaded if you change the included files, you must "reloadxml" . Same would be if you edit the "already there" files... you would need to "reloadxml"


 


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

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.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



--

Sincerely,

Giovanni Maruzzelli
OpenTelecom.IT

cell: +39 347 266 56 18