>>Have you tried your system stuff under "su - asterisk"? Once it works that >>way, the system() command will work. > >asterisk is running as root, I run the command at the terminal as root. I am guessing he doesn't even have an asterisk user.