Re: [Freeswitch-users] FS does not follow XML standard for '<' or '>'
In what case do you really need it? Please note that it's only for escaping strings inside <>-tags, and I can't really remember any case where that is needed in the FS config. Can you provide an example generated file? /Peter -----Ursprungligt meddelande----- Från: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] För Vik Killa Skickat: den 27 april 2012 15:55 Till: FreeSWITCH Users Help Ämne: [Freeswitch-users] FS does not follow XML standard for '<' or '>' The XML standard says that > should be escaped as > and < should be escaped as < Unfortunately when using < or > in dialplan FS does not read those as < or > This is a problem when using some tools to generate XML such as perl's XML::Writer. Is there anyway the FS dialplan can modified to follow these XML standards? _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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 !DSPAM:4f9aa40532761819614895!
I have used it in my cdr-csv and it is working for me. Peter Olsson <peter.olsson@visionutveckling.se> wrote:
In what case do you really need it? Please note that it's only for escaping strings inside <>-tags, and I can't really remember any case where that is needed in the FS config.
Can you provide an example generated file?
/Peter
-----Ursprungligt meddelande----- Från: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] För Vik Killa Skickat: den 27 april 2012 15:55 Till: FreeSWITCH Users Help Ämne: [Freeswitch-users] FS does not follow XML standard for '<' or '>'
The XML standard says that > should be escaped as > and < should be escaped as < Unfortunately when using < or > in dialplan FS does not read those as < or > This is a problem when using some tools to generate XML such as perl's XML::Writer. Is there anyway the FS dialplan can modified to follow these XML standards?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
!DSPAM:4f9aa40532761819614895!
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com
Example, this works in FS: <condition field="${cond(${record_out}>0?YES:NO)}" expression="^YES$"> This should also work: <condition field="${cond(${record_out} > ;0?YES:NO)}" expression="^YES$">
Apologies, FS does properly use > It was my XML_CURL app, that was generating > Thanks!
participants (3)
-
covici@ccs.covici.com
-
Peter Olsson
-
Vik Killa