Summary: | ASTERISK-09589: AEL macros do not allow "includes" construct | ||
Reporter: | Steve Murphy (murf) | Labels: | |
Date Opened: | 2007-06-05 08:52:08 | Date Closed: | 2007-06-05 17:08:06 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | PBX/pbx_ael |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | 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. ****** ADDITIONAL INFORMATION ****** (This bug was entered in behalf of Doug Garstang from an asterisk-users submission dated Mon, 2007-06-04 at 09:19 -0700. | ||
Comments: | By: Steve Murphy (murf) 2007-06-05 17:08:06 OK, first I tested that putting an include in a macro would even work at all in 1.4. It does! Then, I got some consensus that this could be considered fixing a bug in 1.4. Then, I went ahead and fixed 1.4 (67526) and trunk. ( 67529). I tested to make sure this worked. So, bug can be closed, I think. If there's any problems, please re-open! |