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"/> -->
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@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@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@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
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@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@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@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_______________________________________________ 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
On Tue, Mar 15, 2011 at 12:36 PM, Mario G <mario_fs@mgtech.com> wrote:
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!
Also note that the behavior of pre-processor variables is documented in vars.xml sample configuration. Moises Silva Senior Software Engineer Sangoma Technologies Inc. | 100 Renfrew Drive, Suite 100, Markham ON L3R 9R6 Canada t. 1 905 474 1990 x128 | e. moy@sangoma.com
On Tue, Mar 15, 2011 at 1:38 PM, Moises Silva <moises.silva@gmail.com>wrote:
On Tue, Mar 15, 2011 at 12:36 PM, Mario G <mario_fs@mgtech.com> wrote:
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!
Also note that the behavior of pre-processor variables is documented in vars.xml sample configuration.
Line #4, to be exact: <include> <!-- Preprocessor Variables These are introduced when configuration strings must be consistent across modules. *NOTICE: YOU CAN NOT COMMENT OUT AN X-PRE-PROCESS line, Remove the line instead.* -MC
i> Wish I knew that, it cost me 3 days.... it's only the start my friend ;) ----- Original Message ----- From: "Mario G" <mario_fs@mgtech.com> To: "FreeSWITCH Users Help" <freeswitch-users@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@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@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@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_______________________________________________ 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
_______________________________________________ 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
Duh! for a day i was going crazy... obviously didn't read well the comments in vars.xml Thanks David On Tue, Mar 15, 2011 at 11:35 PM, Madovsky <infos@madovsky.org> wrote:
i> Wish I knew that, it cost me 3 days....
it's only the start my friend ;)
----- Original Message ----- From: "Mario G" <mario_fs@mgtech.com> To: "FreeSWITCH Users Help" <freeswitch-users@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@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@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@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
participants (6)
-
Anthony Minessale
-
David Villasmil
-
Madovsky
-
Mario G
-
Michael Collins
-
Moises Silva