[asterisk-users] Preflight check / lint

Andy Davidson andy at nosignal.org
Wed Oct 17 14:23:23 CDT 2007


Hi,

Am writing scripts to manage configuration management and Asterisk.

I would like to be able to point the asterisk binary at config  
directory with an asterisk.conf in it, and for asterisk to run a pre- 
flight check.  A bit like a pint check in php, 'apachectl configtest'  
and lots of other tools.

asterisk will then exit with 0 on a safe config, and 1 on a bad  
config.  I can reject bad config and stop my config management script  
in the event of an error.

Looking at the man page, it looks like this feature is missing.

Anyone got another tool which can do this instead ?

Best wishes,
Andy Davidson



More information about the asterisk-users mailing list