Dialplan injection php

Hello, in freepbx 12 I have a module (dialplan injection) that I use to process incoming call with queries on a database. I’m trying to install freepbx13, but this module does not work anymore. Is there any other way to do this?

When a call is received a php script is executed with AGI interaction.

Tks

If you post your module on github, or something like that, I’m sure someone will be able to help you figure out what the problem is.

AFAIK, Dialplan Injection was never updated to work with 13 (and I’m surprised you got it working in 12). The supported method of adding custom dialplan is to edit the file /etc/asterisk/extensions_custom.conf and then add a Custom Destination.

https://wiki.freepbx.org/display/FPG/Custom+Destinations+User+Guide

Good, but can you explain where i say to freepbx what script to use?