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-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Anthony Messina Sent: Saturday, August 20, 2011 10:36 AM To: asterisk-users@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 -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users