[Pkg-voip-commits] [asterisk] 01/02: AST-2013-007: avoid warning on rasterisk
tzafrir at debian.org
tzafrir at debian.org
Sat Jan 4 00:17:58 UTC 2014
This is an automated email from the git hooks/post-receive script.
tzafrir pushed a commit to branch squeeze
in repository asterisk.
commit b05023717569b8c8852cb625506478579b593442
Author: Tzafrir Cohen <tzafrir at debian.org>
Date: Sat Jan 4 01:59:17 2014 +0200
AST-2013-007: avoid warning on rasterisk
No need to print the live_dangerously warning for asterisk -r[x].
See http://svnview.digium.com/svn/asterisk?view=rev&rev=404861
---
debian/patches/AST-2013-007 | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/debian/patches/AST-2013-007 b/debian/patches/AST-2013-007
index 7614b28..262b5aa 100644
--- a/debian/patches/AST-2013-007
+++ b/debian/patches/AST-2013-007
@@ -449,7 +449,7 @@ Review: http://reviewboard.digium.internal/r/432/
if (ast_opt_override_config) {
cfg = ast_config_load2(ast_config_AST_CONFIG_FILE, "" /* core, can't reload */, config_flags);
-@@ -3033,8 +3035,11 @@ static void ast_readconfig(void)
+@@ -3033,8 +3035,13 @@ static void ast_readconfig(void)
ast_set2_flag(&ast_options, ast_true(v->value), AST_OPT_FLAG_HIDE_CONSOLE_CONNECT);
} else if (!strcasecmp(v->name, "sendfullybooted")) {
ast_set2_flag(&ast_options, ast_true(v->value), AST_OPT_FLAG_SEND_FULLYBOOTED);
@@ -457,7 +457,9 @@ Review: http://reviewboard.digium.internal/r/432/
+ live_dangerously = ast_true(v->value);
}
}
-+ pbx_live_dangerously(live_dangerously);
++ if (!ast_opt_remote) {
++ pbx_live_dangerously(live_dangerously);
++ }
for (v = ast_variable_browse(cfg, "compat"); v; v = v->next) {
float version;
if (sscanf(v->value, "%30f", &version) != 1) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/asterisk.git
More information about the Pkg-voip-commits
mailing list