summaryrefslogtreecommitdiff
path: root/main/asterisk.c
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2006-12-27 21:18:27 +0000
committerKevin P. Fleming <kpfleming@digium.com>2006-12-27 21:18:27 +0000
commitafbfafa400a39b2613a37367e9060cff55d0e731 (patch)
tree0ee6a9b23db4f2dd5ba133a9f49a66824c66fca2 /main/asterisk.c
parent16b09ac48cdcb5db25b0a1bde0e53a1eae619519 (diff)
make the 'languageprefix' option default to on, and deprecate turning it off
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49000 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/asterisk.c')
-rw-r--r--main/asterisk.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/asterisk.c b/main/asterisk.c
index 86da7b17e..5a393397b 100644
--- a/main/asterisk.c
+++ b/main/asterisk.c
@@ -2491,6 +2491,9 @@ int main(int argc, char *argv[])
ast_verbose("[ Reading Master Configuration ]\n");
ast_readconfig();
+ if (!ast_language_is_prefix && !ast_opt_remote)
+ ast_log(LOG_WARNING, "The 'languageprefix' option in asterisk.conf is deprecated; in a future release it will be removed, and your sound files will need to be organized in the 'new style' language layout.\n");
+
if (ast_opt_dump_core) {
struct rlimit l;
memset(&l, 0, sizeof(l));