On a side note, why are you running with -waste flag? You really should not be doing that unless you have very good and very specific reasons to do it and you know what that does and why you want to do it. Perhaps you do, but I would double check. Personally, I've run FS on several different versions of Linux without -waste for two years without ever needing it.

On Wed, Mar 30, 2011 at 8:54 AM, David Villasmil <david.villasmil.work@gmail.com> 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




--
Eliot Gable

"We do not inherit the Earth from our ancestors: we borrow it from our children." ~David Brower

"I decided the words were too conservative for me. We're not borrowing from our children, we're stealing from them--and it's not even considered to be a crime." ~David Brower

"Esse oportet ut vivas, non vivere ut edas." (Thou shouldst eat to live; not live to eat.) ~Marcus Tullius Cicero