Olivier
2011-Dec-22 17:33 UTC
[asterisk-users] Asterisk 1.8 warns for lines starting with # in /etc/dahdi/system.conf
Hi, Testing 1.8.8.0 (with Dahdi 2.5.0.2 and asterisk-gui 2.1.0-rc1), I'm seeing this on my console: WARNING[25363]: config.c:1208 process_text_line: Unknown directive '#' at line 1 of /etc/asterisk/../dahdi/system.conf This warning is repeated for every line starting with a # char. Shall I care ? Suggestions ? (To me, /etc/asterisk/../dahdi/system.conf belongs to Dahdi, not to Asterisk) Cheers
Andrew Latham
2011-Dec-22 17:38 UTC
[asterisk-users] Asterisk 1.8 warns for lines starting with # in /etc/dahdi/system.conf
On Thu, Dec 22, 2011 at 2:33 PM, Olivier <oza_4h07 at yahoo.fr> wrote:> Hi, > > Testing 1.8.8.0 (with Dahdi 2.5.0.2 and asterisk-gui 2.1.0-rc1), I'm > seeing this on my console: > > WARNING[25363]: config.c:1208 process_text_line: Unknown directive '#' > at line 1 of /etc/asterisk/../dahdi/system.conf > > This warning is repeated for every line starting with ?a # char. > Shall I care ? > Suggestions ? > > (To me, /etc/asterisk/../dahdi/system.conf belongs to Dahdi, not to Asterisk) > > CheersThese are only warnings. You can remove the comments if you want just to stop the warnings. -- ~ Andrew "lathama" Latham lathama at gmail.com http://lathama.net ~
Shaun Ruffell
2011-Dec-22 17:48 UTC
[asterisk-users] Asterisk 1.8 warns for lines starting with # in /etc/dahdi/system.conf
On Thu, Dec 22, 2011 at 06:33:44PM +0100, Olivier wrote:> Hi, > > Testing 1.8.8.0 (with Dahdi 2.5.0.2 and asterisk-gui 2.1.0-rc1), I'm > seeing this on my console: > > WARNING[25363]: config.c:1208 process_text_line: Unknown directive '#' > at line 1 of /etc/asterisk/../dahdi/system.conf > > This warning is repeated for every line starting with a # char. > Shall I care ? > Suggestions ? > > (To me, /etc/asterisk/../dahdi/system.conf belongs to Dahdi, not to Asterisk)I could be mistaken, but I don't think, by default, any of the configuration files should be including /etc/dahdi/system.conf. Where is that include coming from in your configuration? In mine it only shows up in some comments: $ grep dahdi\/system\.conf /etc/asterisk/* /etc/asterisk/chan_dahdi.conf:; /etc/dahdi/system.conf. This sets the tone zone by number. /etc/asterisk/chan_dahdi.conf:; /etc/dahdi/system.conf). -- Shaun Ruffell Digium, Inc. | Linux Kernel Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at: www.digium.com & www.asterisk.org
Raj Mathur (राज माथुर)
2011-Dec-23 02:06 UTC
[asterisk-users] Asterisk 1.8 warns for lines starting with # in /etc/dahdi/system.conf
On Thursday 22 Dec 2011, Olivier wrote:> Testing 1.8.8.0 (with Dahdi 2.5.0.2 and asterisk-gui 2.1.0-rc1), I'm > seeing this on my console: > > WARNING[25363]: config.c:1208 process_text_line: Unknown directive > '#' at line 1 of /etc/asterisk/../dahdi/system.conf > > This warning is repeated for every line starting with a # char. > Shall I care ? > Suggestions ? > > (To me, /etc/asterisk/../dahdi/system.conf belongs to Dahdi, not to > Asterisk)Use ";" instead of "#" to comment dahdi/system.conf. If it's auto- generated, perhaps this would help after the auto-generation: sed -i -e 's/^#/;/' /etc/dahdi/system.conf Regards, -- Raj -- Raj Mathur || raju at kandalaya.org || GPG: http://otheronepercent.blogspot.com || http://kandalaya.org || CC68 It is the mind that moves || http://schizoid.in || D17F