[Home]

Summary:ASTERISK-09342: AEL gives syntax error on @ in a switch
Reporter:Ron Wellsted (rjwellsted)Labels:
Date Opened:2007-04-27 18:18:05Date Closed:2007-05-03 10:41:18
Priority:MinorRegression?No
Status:Closed/CompleteComponents:PBX/pbx_ael
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Using the code:
context default {
       eswitches {
               Realtime/default@extensions;
       }
}

produces a syntax error:

LOG: lev:4 file:ael.y  line:752 func: ael_yyerror  ==== File: ./extensions.ael, Line 863, Cols: 32-32: Error: syntax error, unexpected '@', expecting ';'



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

The same result occurs with the example give in the ael.txt file
   eswitches {
        IAX2/context@${CURSERVER};
   }
Comments:By: Ron Wellsted (rjwellsted) 2007-04-28 03:31:19

Also confirmed on 1.4.3

By: Steve Murphy (murf) 2007-05-03 10:41:18

Thank you for reporting this bug! I've fixed it.

The fixes can be found in:

1.4: 62883
trunk: 62911
AEL2-1.2: 62944

I also spent some time updating and making the regression tests the same across the releases, see 62913 (1.4), and 62914 (trunk).