This is not a bug and has been discussed several times on this mailing list. You can't comment X-PRE-PROCESS tags like that. Make a quick google search and you'll find several discussions about that including an explanation from Tony on the subject.<div>
<br></div><div>Regards,<br clear="all">Joćo Mesquita<br><br>
<br><br><div class="gmail_quote">On Wed, Mar 30, 2011 at 9:21 AM, David Villasmil <span dir="ltr"><<a href="mailto:david.villasmil.work@gmail.com">david.villasmil.work@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello,<div><br></div><div>I noticed the following:</div><div><br></div><div>I have my sofia.conf.xml like this:</div><div><br></div><div><div><div><div><font face="'courier new', monospace"><configuration name="sofia.conf" description="sofia Endpoint"></font></div>
<div><font face="'courier new', monospace"><br></font></div><div><font face="'courier new', monospace"> <global_settings></font></div><div><font face="'courier new', monospace"> <param name="log-level" value="0"/></font></div>
<div><font face="'courier new', monospace"><br></font></div><div><font face="'courier new', monospace"> <!-- <param name="auto-restart" value="false"/> --></font></div>
<div><font face="'courier new', monospace"><br></font></div><div><font face="'courier new', monospace"> <param name="debug-presence" value="0"/></font></div>
<div><font face="'courier new', monospace"> </global_settings></font></div><div><font face="'courier new', monospace"><br></font></div><div><font face="'courier new', monospace"> <!--</font></div>
<div><font face="'courier new', monospace"> The rabbit hole goes deep. This includes all the</font></div><div><font face="'courier new', monospace"> profiles in the sip_profiles directory that is up</font></div>
<div><font face="'courier new', monospace"> one level from this directory.</font></div><div><font face="'courier new', monospace"> <profiles></font></div>
<div><font face="'courier new', monospace"> <X-PRE-PROCESS cmd="include" data="../sip_profiles/*.xml" /></font></div><div><font face="'courier new', monospace"> </profiles> </font></div>
<div><font face="'courier new', monospace"> --></font></div><div><font face="'courier new', monospace"><br></font></div><div><font face="'courier new', monospace"></configuration></font></div>
</div></div></div><div><br></div><div>when I start FS, latest GIT:</div><div>freeswitch -version</div><div>FreeSWITCH version: 1.0.head (git-7e52acf 2011-03-28 22-18-47 -0500)</div><div><br></div><div>I get the following output:</div>
<div><br></div><div><div><font face="'courier new', monospace">./freeswitch -waste</font></div><div><font face="'courier new', monospace">WARNING: Wasting up to 8 megs of memory per thread.</font></div>
<div><font face="'courier new', monospace">2011-03-30 14:02:23.200097 [INFO] switch_event.c:615 Activate Eventing Engine.</font></div><div><font face="'courier new', monospace">2011-03-30 14:02:23.211052 [DEBUG] switch_event.c:594 Create event dispatch thread 0</font></div>
<div><font face="'courier new', monospace">Cannot Initialize [[error near line 1521]: unclosed <!--]</font></div></div><div><br></div><div>If i then change my sofia to:</div><div><br></div>
<div><div><div><font face="'courier new', monospace"><configuration name="sofia.conf" description="sofia Endpoint"></font></div><div><font face="'courier new', monospace"><br>
</font></div><div><font face="'courier new', monospace"> <global_settings></font></div><div><font face="'courier new', monospace"> <param name="log-level" value="0"/></font></div>
<div><font face="'courier new', monospace"><br></font></div><div><font face="'courier new', monospace"> <!-- <param name="auto-restart" value="false"/> --></font></div>
<div><font face="'courier new', monospace"><br></font></div><div><font face="'courier new', monospace"> <param name="debug-presence" value="0"/></font></div>
<div><font face="'courier new', monospace"> </global_settings></font></div><div><font face="'courier new', monospace"><br></font></div><div><font face="'courier new', monospace"> <!--</font></div>
<div><font face="'courier new', monospace"> The rabbit hole goes deep. This includes all the</font></div><div><font face="'courier new', monospace"> profiles in the sip_profiles directory that is up</font></div>
<div><font face="'courier new', monospace"> one level from this directory.</font></div><div><font face="'courier new', monospace"> <profiles></font></div>
<div><font face="'courier new', monospace"> </profiles> </font></div><div><font face="'courier new', monospace"> --></font></div><div><font face="'courier new', monospace"><br>
</font></div><div><font face="'courier new', monospace"></configuration></font></div></div></div><div><br></div><div><br></div><div>Please note the absence of: <X-PRE-PROCESS cmd="include" data="../sip_profiles/*.xml" /></div>
<div><br></div><div><br></div><div>FS Starts normally!</div><div><br></div><div>Is this the correct behaviour? Isn't comments supposed NOT to be read?</div><div><br></div><div>Thanks all.</div><div><br></div><font color="#888888"><div>
<br>
</div><div><br></div><div>David</div>
</font><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>