[Freeswitch-users] Include text file in XML dialplan?
Giovanni Maruzzelli
gmaruzz at gmail.com
Fri Jun 23 13:46:51 UTC 2017
On 23 June 2017 at 15:40, Yu Boot <yu at 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 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
>> 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
>
>
>
>
> --
>
> Sincerely,
>
> Giovanni Maruzzelli
> OpenTelecom.IT
> cell: +39 347 266 56 18
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com
>
> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com
>
> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
>
>
>
> _________________________________________________________________________
> 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
>
--
Sincerely,
Giovanni Maruzzelli
OpenTelecom.IT
cell: +39 347 266 56 18
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170623/e5473399/attachment.html>
More information about the FreeSWITCH-users
mailing list