Configure Asterisk Dialplan in Freepbx

You want a dialplan hook