[Home]

Summary:ASTERISK-15669: ael context extend does not look at macros
Reporter:Mark Murawski (kobaz)Labels:
Date Opened:2010-02-21 11:49:20.000-0600Date Closed:2011-07-29 09:31:53
Priority:MinorRegression?No
Status:Closed/CompleteComponents:PBX/pbx_ael
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:[Feb 21 12:42:14] WARNING[22338]: ael/pval.c:2347 check_abstract_reference: Warning: file /etc/asterisk/ael/callQueue.ael, line 49-53: Couldn't find a reference to this abstract context (CallQueue_Join) in any ot                     er context!


****** ADDITIONAL INFORMATION ******

macro CallQueue_Join(queueName,options) {
 NoOp();
}

extend context CallQueue_Join {
 h => {
   NoOp();
 }
}
Comments:By: Leif Madsen (lmadsen) 2010-02-22 11:36:45.000-0600

What happens if you do:

extend context macro-CallQueue_Join { ...


?

By: Mark Murawski (kobaz) 2010-02-22 12:06:05.000-0600

This is 1.6, so the macro keyword in ael2 will make a regular context without the macro- prepended, no, that wouldn't work.

macro CallQueue_Join {...

will make a dialplan context called 'CallQueue_Join'

By: Leif Madsen (lmadsen) 2010-02-23 09:59:13.000-0600

OK thanks. I don't use AEL so I'm not 100% sure how it works. Thanks for the report.

By: Russell Bryant (russell) 2011-07-29 09:31:47.801-0500

Per the Asterisk maintenance timeline page at http://www.asterisk.org/asterisk-versions maintenance (bug) support for the 1.4 and 1.6.x branches has ended. For continued maintenance support please move to the 1.8 branch which is a long term support (LTS) branch. For more information about branch support, please see https://wiki.asterisk.org/wiki/display/AST/Asterisk+Versions

If this is still an issue, please open a new issue so it can be re-triaged appropriately. Thanks!