[Freeswitch-users] Include text file in XML dialplan?

Yu Boot yu at yu-boot.ru
Fri Jun 23 13:40:07 UTC 2017


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 at yu-boot.ru 
> <mailto:yu at 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 at freeswitch.org <mailto:consulting at freeswitch.org>
>     http://www.freeswitchsolutions.com
>     <http://www.freeswitchsolutions.com>
>
>     Official FreeSWITCH Sites
>     http://www.freeswitch.org
>     http://confluence.freeswitch.org <http://confluence.freeswitch.org>
>     http://www.cluecon.com
>
>     FreeSWITCH-users mailing list
>     FreeSWITCH-users at lists.freeswitch.org
>     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>     http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>     <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
>     UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>     <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 at 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 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/20170623/3d8dbb81/attachment.html>


More information about the FreeSWITCH-users mailing list