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

Madovsky infos at madovsky.org
Wed Mar 16 01:35:00 MSK 2011


i> Wish I knew that, it cost me 3 days....

it's only the start my friend ;)

----- Original Message ----- 
From: "Mario G" <mario_fs at mgtech.com>
To: "FreeSWITCH Users Help" <freeswitch-users at lists.freeswitch.org>
Sent: Tuesday, March 15, 2011 12:36 PM
Subject: Re: [Freeswitch-users] Possible bug commenting X-PRE-PROCESS


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