Hello, I have a few AGI-Scripts I need to run which are all written in perl. All of them reference a MySql database to check some data and then the final script updates a database table. All of this works fine in an older version of asterisk, I’m setting up a new PBX that’s version 18 and need these scripts to work again. The script that writes to the table has 5 arguments and the log always says “510 Invalid or unkown Command”.
If I run the script manually from the cli with commas between the arguments I get this same result. However if I run it manually and put spaces between the arguments then it runs fine.
I’m not sure how to change my dialplan entry to do this… It’s currently:
exten => s,n(context),AGI(script.agi,${Arg1},${Arg2},${Arg3},${Arg4},${Arg5})
Is there a way I should change this?