[Freeswitch-users] Possible bug commenting X-PRE-PROCESS

Mario G mario_fs at mgtech.com
Tue Mar 15 19:36:16 MSK 2011


Wish I knew that, it cost me 3 days.... It turned out to be the reason my phones would drop when placing a call on hold. Still have no idea why it affected the SPA962s. I am noting it in case someone else runs across something like this. Thanks for the explanation!
Mario G

On Mar 15, 2011, at 9:10 AM, Anthony Minessale wrote:

> you cannot comment those.
> They are not real xml they are designed to be ignored by XML and
> parsed by the pre-processor and are parsed before the xml parser.
> All the xml parser would see on your example is <!-- -->
> if you want to comment them, change X- to Z- or "cmd" to "comment"
> 
> 
> On Tue, Mar 15, 2011 at 10:33 AM, Mario G <mario_fs at mgtech.com> wrote:
>> The line below was in an external profile. I commented it thinking it would
>> be ignored as such. However, it was still used and the file loaded. This
>> drive me nuts until I moved the extip.xml file out of the directory and
>> FreeSwitch noted errors on startup. The only way was to put a space as "X-
>> PRE..". I can't image why you would want a comment to be processed as a
>> normal statement. Git is 3/13/11.
>>  <!--<X-PRE-PROCESS cmd="include" data="extip.xml"/>  -->
>> 
>> 
>> 
>> _______________________________________________
>> 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
>> 
>> 
> 
> 
> 
> -- 
> Anthony Minessale II
> 
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
> Twitter: http://twitter.com/FreeSWITCH_wire
> 
> AIM: anthm
> MSN:anthony_minessale at hotmail.com
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> IRC: irc.freenode.net #freeswitch
> 
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org
> googletalk:conf+888 at conference.freeswitch.org
> pstn:+19193869900
> 
> _______________________________________________
> 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




More information about the FreeSWITCH-users mailing list