summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigs/modules.conf.sample13
-rwxr-xr-xinclude/asterisk/logger.h2
2 files changed, 9 insertions, 6 deletions
diff --git a/configs/modules.conf.sample b/configs/modules.conf.sample
index 2b32e1b09..fb7ab0a29 100755
--- a/configs/modules.conf.sample
+++ b/configs/modules.conf.sample
@@ -11,16 +11,19 @@ autoload=yes
; Don't load the KDE console since
; it's not as sophisticated right now.
;
-noload=pbx_gtkconsole.so
-;load=pbx_gtkconsole.so
-noload=pbx_kdeconsole.so
+noload => pbx_gtkconsole.so
+;load => pbx_gtkconsole.so
+noload => pbx_kdeconsole.so
;
; Intercom application is obsoleted by
; chan_oss. Don't load it.
;
-noload=app_intercom.so
-
+noload => app_intercom.so
+;
+; Explicitly load the chan_modem.so early on to be sure
+; it loads before any of the chan_modem_* 's afte rit
;
+load => chan_modem.so
; Module names listed in "global" section will have symbols globally
; exported to modules loaded after them.
;
diff --git a/include/asterisk/logger.h b/include/asterisk/logger.h
index 8ca5af75e..d8da8d727 100755
--- a/include/asterisk/logger.h
+++ b/include/asterisk/logger.h
@@ -31,7 +31,7 @@ extern void ast_verbose(char *fmt, ...);
extern int ast_register_verbose(void (*verboser)(char *string, int opos, int replacelast, int complete));
extern int ast_unregister_verbose(void (*verboser)(char *string, int opos, int replacelast, int complete));
-
+extern int ast_verbose_dmesg(void (*verboser)(char *string, int opos, int replacelast, int complete));
#define _A_ __FILE__, __LINE__, __PRETTY_FUNCTION__
#define LOG_DEBUG 0, _A_