[Asterisk-Users] Pre-Parse Extensions.conf?

Kevin P. Fleming kpfleming at digium.com
Sun May 1 12:56:35 MST 2005


Matthew Boehm wrote:
> Is there a way to pre-parse your extensions.conf so you can check for errors
> before making it live?

No, there is not. And any pre-parser that existed today would be 
incomplete anyway, because most of the dialplan is not actually parsed 
until the applications are called (i.e. it's not parsed a load time, but 
at run time).

There have been discussions about improving the dialplan/application 
interfaces in a way that would allow for load-time parsing, but there 
hasn't been any movement in that direction yet. If that does happen, 
you'd at least be able to load your dialplan in a separate "testing" 
instance of Asterisk to see if it parses properly.



More information about the asterisk-users mailing list