[asterisk-users] AEL2 Includes in Macro...
Steve Murphy
murf at digium.com
Tue Jun 5 07:00:51 MST 2007
On Mon, 2007-06-04 at 09:19 -0700, Douglas Garstang wrote:
> > Where’s Steve Murphy when you need him? J
I'm right here! :)
> This doesn?t seem to work in AEL2?
> Macro foo(arg1) { ?..
> Includes {
> Hangup;
> }
> }
>
> The error is: File: /etc/asterisk/extensions.ael, Line 59, Cols: 5-12:
Error: > > syntax error, unexpected KW_INCLUDES, expecting '}'
>
> The same error does not occur when the includes is in a context.
> I need to have the ability to include my hangup routine in macros, as
> theoretically, a hang up could occur while asterisk is processing code
> from the macro. This is Asterisk 1.4.4
Doug--
This is a good point. So good, I created bug #9883 for this issue. I'll
look into it ASAP.
murf
--
Steve Murphy
Software Developer
Digium
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3227 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20070605/def130e1/smime.bin
More information about the asterisk-users
mailing list