[Home]

Summary:ASTERISK-14939: AEL parsers does not find existing label
Reporter:klaus3000 (klaus3000)Labels:
Date Opened:2009-10-05 10:17:52Date Closed:2019-04-16 07:27:25
Priority:MinorRegression?No
Status:Closed/CompleteComponents:PBX/pbx_ael
Versions:Frequency of
Occurrence
Related
Issues:
is duplicated byASTERISK-18362 AEL: jump doesn't work as 'jump +123456789;'
Environment:Attachments:
Description:    _+43772250266!  =>  jump +22;
   +22 => { NoOp(); }

--> OK


   _+43772250266!  =>  jump 22;
   _22 => { NoOp(); }

--> OK

   _+43772250266!  =>  jump 22;
   _22! => { NoOp(); }

--> OK


   _+43772250266!  =>  jump +22;
   _+22! => { NoOp(); }

LOG: lev:4 file:pbx_ael.c  line:1234 func: check_goto  Error: file ./ofis/extensions.ael_trunking, line 525-525: goto:  no label +22|1 exists in the current context, or any of its inclusions!


   _+43772250266!  =>  jump +22;
   _[+]22! => { NoOp(); }

--> OK


   _+43772250266!  =>  jump +22${FOO};
   _+22! => { NoOp(); }

--> OK


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

Although there are workarounds it should be fixed.
Comments:By: Leif Madsen (lmadsen) 2010-01-25 09:35:41.000-0600

Can this be retested on the latest 1.4 branch as there have been some changes to dialplan matching, although I'm not sure if they will affect AEL at all.

By: klaus3000 (klaus3000) 2010-01-25 17:42:24.000-0600

I just retested with 1.4.29. As expected the bug is still present.

I also tested 1.6.2.1 which has the same bug.

By: Leif Madsen (lmadsen) 2010-01-25 18:03:31.000-0600

I suspected that as well. I'll set this back to acknowledged.

By: Friendly Automation (friendly-automation) 2019-04-16 07:27:26.699-0500

Change 11260 merged by Joshua Colp:
res_ael: Fix pattern matching against literal '+'

[https://gerrit.asterisk.org/c/asterisk/+/11260|https://gerrit.asterisk.org/c/asterisk/+/11260]

By: Friendly Automation (friendly-automation) 2019-04-16 07:27:33.120-0500

Change 11262 merged by Joshua Colp:
res_ael: Fix pattern matching against literal '+'

[https://gerrit.asterisk.org/c/asterisk/+/11262|https://gerrit.asterisk.org/c/asterisk/+/11262]

By: Friendly Automation (friendly-automation) 2019-04-16 07:27:40.865-0500

Change 11261 merged by Joshua Colp:
res_ael: Fix pattern matching against literal '+'

[https://gerrit.asterisk.org/c/asterisk/+/11261|https://gerrit.asterisk.org/c/asterisk/+/11261]