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

2009-07-14 Thread Philipp Kempgen
Tilghman Lesher schrieb: > On Tuesday 14 July 2009 15:35:20 Philipp Kempgen wrote: >> Tilghman Lesher schrieb: >> > On Monday 13 July 2009 17:19:15 Philipp Kempgen wrote: >> >> Is any *.conf file (which permits #exec) guaranteed to be read before >> >> extensions.ael? It would then be possible to

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

2009-07-14 Thread Tilghman Lesher
On Tuesday 14 July 2009 15:35:20 Philipp Kempgen wrote: > Tilghman Lesher schrieb: > > On Monday 13 July 2009 17:19:15 Philipp Kempgen wrote: > >> Is there a specific reason not to permit #exec in AEL files? > > > > It wasn't coded that way, and it's parsed in a completely different way > > than an

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

2009-07-14 Thread Philipp Kempgen
Tilghman Lesher schrieb: > On Monday 13 July 2009 17:19:15 Philipp Kempgen wrote: >> Is there a specific reason not to permit #exec in AEL files? > > It wasn't coded that way, and it's parsed in a completely different way than > any other Asterisk configuration file. I don't know the reason Murf

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

2009-07-14 Thread Steve Murphy
On Tue, Jul 14, 2009 at 11:47 AM, Tilghman Lesher < tilgh...@mail.jeffandtilghman.com> wrote: > On Monday 13 July 2009 17:19:15 Philipp Kempgen wrote: > > Tilghman Lesher schrieb: > > > On Monday 13 July 2009 01:03:48 pm Philipp Kempgen wrote: > > >> Philipp Kempgen schrieb: > > >> > Is Asterisk s

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

2009-07-14 Thread Tilghman Lesher
On Monday 13 July 2009 17:19:15 Philipp Kempgen wrote: > Tilghman Lesher schrieb: > > 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? > > > > The directive "#exec" is not permitted in an A

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

2009-07-13 Thread Philipp Kempgen
Steve Edwards schrieb: > On Mon, 13 Jul 2009, Danny Nicholas wrote: > >> Just out of curiousity (haven't got to AEL yet), should these exec's be >> re-written as AGI calls? > > An exec is executed when the file is reloaded by Asterisk. Except that in the case of AEL the #exec is not executed at

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

2009-07-13 Thread Philipp Kempgen
Danny Nicholas schrieb: > Just out of curiousity (haven't got to AEL yet), should these exec's be > re-written as AGI calls? I don't think so. #exec's and AGI() are two entirely different concepts. Philipp Kempgen -- AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied -> http://www.amooma.de Gesch

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

2009-07-13 Thread Philipp Kempgen
Tilghman Lesher schrieb: > 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? > The directive "#exec" is not permitted in an AEL configuration file. I see, that would explain why it doesn't wor

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

2009-07-13 Thread Steve Edwards
On Mon, 13 Jul 2009, Danny Nicholas wrote: > Just out of curiousity (haven't got to AEL yet), should these exec's be > re-written as AGI calls? An exec is executed when the file is reloaded by Asterisk. An AGI, well, you know :) -- Thanks in advance, --

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

2009-07-13 Thread Danny Nicholas
: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] #exec in #include'd file 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? > &g

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

2009-07-13 Thread Tilghman Lesher
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

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

2009-07-13 Thread Philipp Kempgen
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

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

2009-07-13 Thread Philipp Kempgen
Hi, Is Asterisk supposed to evaluate #exec's in an #include'd file? 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.