https://docs.asterisk.org/Development/Asterisk-Module-Deprecations/
Dynroutes currently relies on the asterisk MYSQL diaplan applications for MYSQL lookups, but they were removed in Asterisk 19. FreePBX 17 is not expected to support any asterisk versions under 20.
The Caller ID Lookup module got around this limitation by using an AGI, would could be adapted for dynroutes
https://github.com/FreePBX/cidlookup/blob/release/17.0/agi-bin/cidlookup_mysql.agi
https://docs.asterisk.org/Development/Asterisk-Module-Deprecations/
Dynroutes currently relies on the asterisk MYSQL diaplan applications for MYSQL lookups, but they were removed in Asterisk 19. FreePBX 17 is not expected to support any asterisk versions under 20.
The Caller ID Lookup module got around this limitation by using an AGI, would could be adapted for dynroutes
https://github.com/FreePBX/cidlookup/blob/release/17.0/agi-bin/cidlookup_mysql.agi