[asterisk-users] Asterisk 1.8 warns for lines starting with # in /etc/dahdi/system.conf

Raj Mathur ( राज माथुर ) raju at linux-delhi.org
Thu Dec 22 20:06:32 CST 2011


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



More information about the asterisk-users mailing list