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

Philipp Kempgen philipp.kempgen at amooma.de
Mon Jul 13 13:03:48 CDT 2009


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.


    Philipp Kempgen
-- 
AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied  ->  http://www.amooma.de
Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998
Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de
Videos of the AMOOCON VoIP conference 2009 ->  http://www.amoocon.de
-- 



More information about the asterisk-users mailing list