Philipp Kempgen schrieb:
> Klaus Darilion schrieb:
>> forgot to mention this happens on Asterisk 1.4.26.1
>>
>> Klaus Darilion schrieb:
>>> Hi! I have a problem with "jump" in AEL:
>>>
>>>      _+43123456789!  =>  jump +22;
>>>      +22 => { NoOp(); }
>>>
>>> -> OK
>>>
>>>      _+43123456789!  =>  jump 22;
>>>      22 => { NoOp(); }
>>>
>>> -> OK
>>>
>>>      _+43123456789!  =>  jump 22;
>>>      _22 => { NoOp(); }
>>>
>>> -> OK
>>>
>>>      _+43123456789!  =>  jump +22;
>>>      _+22 => { NoOp(); }
>>>
>>> --> AEL compile error:
>>> 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!
> 
> Not that it should make a difference (as "+" is not a special
> character in Asterisk's patterns) but did you try
>      _+43123456789!  =>  jump +22;
>      _[+]22 => { NoOp(); }
> just in case?

Indeed, that works. Also jump +22${FOO}; works

> 
>>> Is this is some special feature/limitation or just a bug?
> 
> Looks like a bug to me.

Me too :-)
https://issues.asterisk.org/view.php?id=16019

regards
klaus

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to