AEL does not appear to parse a FastAGI request

I have been using AEL in conjunction with AGI without any problems.

I have had something like this running with no problem:

1 => { AGI(order.php); Playback(thanks-for-calling-today); Playback(goodbye); Hangup(); };

But if I try this:

1 => { AGI(agi://127.0.0.1); Playback(thanks-for-calling-today); Playback(goodbye); Hangup(); };

Or this (using the phpagi-fastagi.php class library):

1 => { AGI(agi://127.0.0.1/order.php); Playback(thanks-for-calling-today); Playback(goodbye); Hangup(); };

The AEL no longer stores anything for that context or beyond when I do a CLI ‘unload pbx_ael.so’/‘load pbx_ael.so’. Is anyone aware of AEL having a problem parsing the contents of an AGI command that attempt to access a FastAGI?

I’ve run into this issue.
It requires escaping the / character

so you must write

AGI(agi://127.0.0.1/…)

[quote=“afink”]I’ve run into this issue.
It requires escaping the / character

so you must write

AGI(agi://127.0.0.1/…)[/quote]

I will give that a try, thanks! If it works, I will also add to the Wiki.

Added in ‘Hints & Bugs’ here:

voip-info.org/wiki/view/Asterisk+AEL