Asterisk 1.8.20.0
My PHP AGI have all permissions: -rwxrwxrwx 1 asterisk asterisk
SELinux is disabled.
On “normal” mode, Asterisk dont runs the AGI. Enabling “agi set debug on” I see this: “AGI Script x.php completed, returning 0”. And I have not response from AGI.
But when I runs Asterisk with -vvvgc, the AGI runs succesfully!
Change the startup script (OS dependent). Note that c requires a console to be attached, which is not something that should normally happen in a startup script, although safe_asterisk does actually start asterisk with c, on tty9.