Just change it to XX-PRE-PROCESS /b On Mar 30, 2011, at 7:54 AM, David Villasmil wrote:
Hello Joao,
Ok, thanks
David
2011/3/30 João Mesquita <jmesquita@freeswitch.org>
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.
Regards, João Mesquita
On Wed, Mar 30, 2011 at 9:21 AM, David Villasmil < david.villasmil.work@gmail.com> wrote:
Hello,
I noticed the following:
I have my sofia.conf.xml like this:
<configuration name="sofia.conf" description="sofia Endpoint">
<global_settings> <param name="log-level" value="0"/>
<!-- <param name="auto-restart" value="false"/> -->
<param name="debug-presence" value="0"/> </global_settings>
<!-- The rabbit hole goes deep. This includes all the profiles in the sip_profiles directory that is up one level from this directory. <profiles> <X-PRE-PROCESS cmd="include" data="../sip_profiles/*.xml" /> </profiles> -->
</configuration>
when I start FS, latest GIT: freeswitch -version FreeSWITCH version: 1.0.head (git-7e52acf 2011-03-28 22-18-47 -0500)
I get the following output:
./freeswitch -waste WARNING: Wasting up to 8 megs of memory per thread. 2011-03-30 14:02:23.200097 [INFO] switch_event.c:615 Activate Eventing Engine. 2011-03-30 14:02:23.211052 [DEBUG] switch_event.c:594 Create event dispatch thread 0 Cannot Initialize [[error near line 1521]: unclosed <!--]
If i then change my sofia to:
<configuration name="sofia.conf" description="sofia Endpoint">
<global_settings> <param name="log-level" value="0"/>
<!-- <param name="auto-restart" value="false"/> -->
<param name="debug-presence" value="0"/> </global_settings>
<!-- The rabbit hole goes deep. This includes all the profiles in the sip_profiles directory that is up one level from this directory. <profiles> </profiles> -->
</configuration>
Please note the absence of: <X-PRE-PROCESS cmd="include" data="../sip_profiles/*.xml" />
FS Starts normally!
Is this the correct behaviour? Isn't comments supposed NOT to be read?
Thanks all.
David
_______________________________________________ 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