Hello,

        I wrote a tiny feature to allow configuration of a module as critical. 
This is done in the modules.conf.xml file by adding critical="true" to any load 
element. It works by making FreeSWITCH completely fail module loading (and 
hence exit) if any critical module does not return true.

        The idea is that if FS fails to load something important, then the FS 
process will exit. This allows you to know very immediately when something 
failed versus figuring it out at runtime.

        Any comments in general? Also, should this be set on any modules in the 
default configs? In particular, I was thinking some of the other language 
plugins that are commented out. If someone uncomments them, it's because they 
want to use it. Hence, if it fails, it should probably fail right in their face 
by exiting. Should other modules have this set by default? (Sofia?)

Thanks,
-Michael

_______________________________________________
Freeswitch-dev mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org

Reply via email to