As stated above, what you provided was not a custom context. You would need a custom context to call the AGI. Or you could call it in the GUI using a Dynamic Route.
Dynamic Routes User Guide - PBX GUI - Documentation (freepbx.org)
Using Dynamic Routes with an AGI file - FreePBX / Tips and Tricks - FreePBX Community Forums
You would need to make sure the user asterisk has permissions to run the AGI.