From d1f8e338b0713975e5b42654f9e771acffb713d4 Mon Sep 17 00:00:00 2001 From: "Michael L. Young" Date: Tue, 19 Feb 2013 17:17:10 +0000 Subject: Add The Status Of A Module To The Output Of "CLI> module show" When a module's configuration is not loadable, we still load the module but it is not in a running state. When trying to troubleshoot, let's say, why chan_motif is ignoring inbound XMPP traffic, there is no way to indicate that a loaded module is not currently running. (closes issue ASTERISK-21108) Reported by: Rusty Newton Tested by: Michael L. Young Patches: asterisk-21108_add_status-v2.diff Michael L. Young (license 5026) Review: https://reviewboard.asterisk.org/r/2331/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@381749 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_motif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'channels/chan_motif.c') diff --git a/channels/chan_motif.c b/channels/chan_motif.c index 4dbfb8e3a..0836972e1 100644 --- a/channels/chan_motif.c +++ b/channels/chan_motif.c @@ -2719,7 +2719,7 @@ static int load_module(void) ast_format_cap_add_all_by_type(jingle_tech.capabilities, AST_FORMAT_TYPE_AUDIO); if (aco_process_config(&cfg_info, 0)) { - ast_log(LOG_ERROR, "Unable to read config file motif.conf. Not loading module.\n"); + ast_log(LOG_ERROR, "Unable to read config file motif.conf. Module loaded but not running.\n"); aco_info_destroy(&cfg_info); return AST_MODULE_LOAD_DECLINE; } -- cgit v1.2.3