diff options
author | Kinsey Moore <kmoore@digium.com> | 2013-08-16 12:20:59 +0000 |
---|---|---|
committer | Kinsey Moore <kmoore@digium.com> | 2013-08-16 12:20:59 +0000 |
commit | a4ffa9f72b3ae9d26d8b190fd05f4f21c6c3544b (patch) | |
tree | 5e14bcde56768305b141100aba845027d7838fa9 /main/loader.c | |
parent | c43e19e8e5fc5bc133f2ce3eeafbf9ce07048bd1 (diff) |
Improve sounds indexer CLI commands
This reworks the CLI commands used to access sounds information from
"sounds show[ soundid]" to "core show sounds" and
"core show sound <soundid>". This also reworks the "sounds reload" CLI
command to fall under normal module reloading ("module reload sounds").
Also, make trunk build when DEBUG_MALLOC is not enabled.
Review: https://reviewboard.asterisk.org/r/2745/
(closes issue ASTERISK-22141)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@396829 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/loader.c')
-rw-r--r-- | main/loader.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/loader.c b/main/loader.c index f3744a737..ddfbffe9f 100644 --- a/main/loader.c +++ b/main/loader.c @@ -56,6 +56,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include "asterisk/heap.h" #include "asterisk/app.h" #include "asterisk/test.h" +#include "asterisk/sounds_index.h" #include <dlfcn.h> @@ -319,6 +320,7 @@ static struct reload_classes { { "indications", ast_indications_reload }, { "cel", ast_cel_engine_reload }, { "plc", ast_plc_reload }, + { "sounds", ast_sounds_reindex }, { NULL, NULL } }; |