[prev in list] [next in list] [prev in thread] [next in thread] 

List:       asterisk-dev
Subject:    [asterisk-dev] asterisk.conf options override command-line options.
From:       Corey Farrell <git () cfware ! com>
Date:       2015-05-04 18:55:23
Message-ID: CABFe015YaKr5kdecHzbMKzGZqzBwwYB+c8k_LvH0w=9ph_sePg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


I've discovered that any option set in asterisk.conf cannot be overridden
using the command-line.  For example, if you have verbose=0 in
asterisk.conf, 'asterisk -cvvvvvvv' will start with verbose 0.  The same
goes for -f / nofork or -F / alwaysfork.

The only way to fix this is to change the behaviour.  My concern for
release branches is that someone could be running an init script that sets
one option, and they are currently overriding it in asterisk.conf.

Should this be fixed in 11 or 13?  Is anyone against fixing it in master?

JIRA Ticket: https://issues.asterisk.org/jira/browse/ASTERISK-25042

[Attachment #5 (text/html)]

<div dir="ltr"><div>I&#39;ve discovered that any option set in asterisk.conf cannot \
be overridden using the command-line.   For example, if you have verbose=0 in \
asterisk.conf, &#39;asterisk -cvvvvvvv&#39; will start with verbose 0.   The same \
goes for -f / nofork or -F / alwaysfork.<br><br>The only way to fix this is to change \
the behaviour.   My concern for release branches is that someone could be running an \
init script that sets one option, and they are currently overriding it in \
asterisk.conf.<br><br>Should this be fixed in 11 or 13?   Is anyone against fixing it \
in master?<br><br>JIRA Ticket: <a \
href="https://issues.asterisk.org/jira/browse/ASTERISK-25042" \
target="_blank">https://issues.asterisk.org/jira/browse/ASTERISK-25042</a><br></div></div>




-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic