[asterisk-users] #exec in #include'd file

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Mon Jul 13 16:17:24 CDT 2009


On Monday 13 July 2009 01:03:48 pm Philipp Kempgen wrote:
> Philipp Kempgen schrieb:
> > Is Asterisk supposed to evaluate #exec's in an #include'd file?
>
> I should probably add that it doesn't work for me in case that wasn't
> obvious.
>
> NOTICE[14143]: ael.flex:878 setup_filestack:   --Read in included file
> ..../e-globals.ael, 1999 chars ERROR[14143]: ael.y:812 ael_yyerror: ====
> File: ..../e-globals.ael, Line 53, Cols: 8-58: Error: syntax error,
> unexpected word, expecting '='
>
> The line in question is
> #exec "..../e-globals.ael.php"
>
> execincludes is enabled.

The directive "#exec" is not permitted in an AEL configuration file.

-- 
Tilghman



More information about the asterisk-users mailing list