[asterisk-bugs] [JIRA] (ASTERISK-18362) AEL: jump doesn't work as 'jump +123456789; '
Joshua Colp (JIRA)
noreply at issues.asterisk.org
Tue Dec 19 06:35:08 CST 2017
[ https://issues.asterisk.org/jira/browse/ASTERISK-18362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joshua Colp updated ASTERISK-18362:
-----------------------------------
Affects Version/s: 13.18.4
> AEL: jump doesn't work as 'jump +123456789;'
> --------------------------------------------
>
> Key: ASTERISK-18362
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-18362
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Utilities/aelparse
> Affects Versions: 1.8.5.0, 13.18.4
> Environment: Linux version 2.6.26-2-486 (Debian 2.6.26-26lenny3) (dannf at debian.org) (gcc version 4.1.3 20080704 (prerelease) (Debian 4.1.2-25)) #1 Sat Jun 11 14:47:34 UTC 2011
> Reporter: Dennis
> Severity: Minor
>
> I want to add a quick dialing number to my dial-plan by using the jump command. Therefore I added "47 => jump +49123456789;" to my ael code. The whole context is the following:
> {code}
> context outgoing {
> _00Z. => jump +${EXTEN:2};
> _0Z. => jump +49${EXTEN:1};
> _Z. => jump +49421${EXTEN};
> _+X. => &enumcall(${EXTEN});
> 47 => jump +49123456789;
> }
> {code}
> The first three jump commands work fine. The last one fails in ael parsing with the following error:
> {quote}
> [Aug 14 22:07:28] ERROR[10292]: ael/pval.c:1265 check_goto: Error: file /etc/asterisk/extensions.ael, line 70-70: goto: no label '+49123456789,1' exists in the current context, or any of its inclusions!
> [Aug 14 22:07:28] ERROR[10292]: ael/pval.c:1265 check_goto: Error: file /etc/asterisk/extensions.ael, line 70-70: goto: no label '+49123456789,1' exists in the current context, or any of its inclusions!
> [Aug 14 22:07:28] ERROR[10292]: pbx_ael.c:151 pbx_load_module: Sorry, but 0 syntax errors and 2 semantic errors were detected. It doesn't make sense to compile.
> {quote}
> By modifying the last line into "jump 0049123456789;", my whole context is working pretty well.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list