[asterisk-users] Sytem Commands not executing
Alexander Lopez
Alex.Lopez at OpSys.com
Sun Aug 21 07:04:55 CDT 2011
You don't need the path to the php executable if you use hash tags in
your script
#!/usr/bin/php
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Anthony
Messina
Sent: Saturday, August 20, 2011 10:36 AM
To: asterisk-users at lists.digium.com
Subject: Re: [asterisk-users] Sytem Commands not executing
On 08/20/2011 07:00 AM, Tim King wrote:
> exten => h,n,System(/usr/bin/php /var/lib/asterisk/bin/faxnotify.php
do you need the -f option to php?
exten => h,n,System(/usr/bin/php -f /var/lib/asterisk/bin/faxnotify.php
--
Anthony - http://messinet.com - http://messinet.com/~amessina/gallery
8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E
More information about the asterisk-users
mailing list