[asterisk-users] Using php exec() in agi script

Moises Silva moises.silva at gmail.com
Wed Nov 14 09:08:12 CST 2007


AGI script is just like any other PHP script, the only difference is
that STDOUT/IN are connected with the Asterisk thread that launched
the script.

You should run the script directly and see what the problem is.

- Moy

On Nov 14, 2007 6:51 AM, Andre Courchesne <courchea at net-forces.com> wrote:
> Hi,
>   Any reason why I can not get the php exec() function to execute a shell command inside an agi script?
>   Thanks.
> Andre
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users

"Within C++, there is a much smaller and cleaner language struggling
to get out."

More information about the asterisk-users mailing list