AEL - Asterisk 11

Hello good afternoon.

I am having trouble using AEL in asterisk 11, detail I use asterisk with freePBX.

I checked the modules via the terminal and there is the module “res_ael_share.so” and it is active.

When I run the AEL RELOAD command I get the following error message.
CLI> ael reload
Command ‘ael reload’ failed.

I’ve already been in make menuselect and the active one is also active.

I also tried to unload and load the module again, but to no avail.

Any idea what it might be?

I’m using CentOS 6.5

You likely need pbx_ael.so to be loaded as well.

Hello,
Yes it is loaded.
Follow the link with the data.

CLI> module show like res_ael_share.so
Module Description Use Count
res_ael_share.so share-able code for AEL 0
1 modules loaded

CLI> module show like pbx_ael.so
Module Description Use Count
pbx_ael.so Asterisk Extension Language Compiler 0
1 modules loaded

[root@pbx ~]# ls -l /usr/lib/asterisk/modules/ | grep “ael”
-rwxr-xr-x 1 root root 193067 Jun 14 2016 pbx_ael.so
-rwxr-xr-x 1 root root 874087 Jun 14 2016 res_ael_share.so

CLI> ael reload
Command 'ael reload ’ failed.

What if you do a ‘module reload pbx_ael.so’

I tried loading and unloading the module, but both of the error.

Follow the results below.

CLI> module load pbx_ael.so
Unable to load module pbx_ael.so
Command ‘module load pbx_ael.so’ failed.

CLI> module unload pbx_ael.so
Unable to unload resource pbx_ael.so
Command ‘module unload pbx_ael.so’ failed.

I’ve never tried unloading my dialplan, did the reload not work? You didn’t post the output of trying a module reload.

CLI> ael reload
Command ‘ael reload’ failed.

I have already used AEL in my study labs with pure asterisk and I find this behavior a little strange kkkk

I don’t think I can help sorry, If you will not assist with troubleshooting your problem by following the instructions I asked of you.

I’m sorry, I do not understand, but follow the command below.

This is the command I use to reload the module.

CLI> module load pbx_ael.so
Unable to load module pbx_ael.so
Command ‘module load pbx_ael.so’ failed.

Complementing:

See if it gets clearer like this:

reloading the AEL module.
CLI> module load pbx_ael.so
Unable to load module pbx_ael.so
Command ‘module load pbx_ael.so’ failed.

Checking the existing AEL modules in asterisk.

[root@pbx ~]# ls -l /usr/lib/asterisk/modules/ | grep “ael”
-rwxr-xr-x 1 root root 193067 Jun 14 2016 pbx_ael.so
-rwxr-xr-x 1 root root 874087 Jun 14 2016 res_ael_share.so

Recharging the AEL dialplan
CLI> ael reload
Command 'ael reload ’ failed.

I managed to solve, after a lot of research, just need to create a context, I thank you for the help.

context default {
        s => {
     Aswer();
     NoOp(Getting into test context for Forum Asterisk);
     NoOp(Now it worked);
     Dial(Dial/6719,20,Tt);
     HangUp();
    };

100 => Dial(SIP/10);
200 => Dial(SIP/20);

};

Follow the link of the site that I found the solution, I hope it helps the next one.
http://asteriskpbxx.blogspot.com.br/2014/01/configuring-extensionsael.html