hi guys
i have a server with fedora core 6 and asterisk1.4 installed by ATPrpms, i have a php class for creationa .call file with chown and chmod functions. I have respected all requirements but when my php script create a .call and move on outgoing folder the server send this errors:
[Feb 14 12:43:02] WARNING[3028] pbx_spool.c: Invalid file contents in /var/spool/asterisk/outgoing/824_42665613.call, deleting
[Feb 14 12:43:02] WARNING[3028] pbx_spool.c: Failed to scan service ‘/var/spool/asterisk/outgoing/824_42665613.call’
[Feb 14 12:43:02] WARNING[3028] pbx_spool.c: Unable to open /var/spool/asterisk/outgoing/824_84670859.call: Permission denied, deleting
[Feb 14 12:43:02] WARNING[3028] pbx_spool.c: Failed to scan service ‘/var/spool/asterisk/outgoing/824_84670859.call’
[Feb 14 12:43:02] WARNING[3028] pbx_spool.c: Unable to open /var/spool/asterisk/outgoing/824_91405456.call: Permission denied, deleting
[Feb 14 12:43:02] WARNING[3028] pbx_spool.c: Failed to scan service ‘/var/spool/asterisk/outgoing/824_91405456.call’
[Feb 14 12:43:02] WARNING[3028] pbx_spool.c: Unable to open /var/spool/asterisk/outgoing/824_39740724.call: Permission denied, deleting
[Feb 14 12:43:02] WARNING[3028] pbx_spool.c: Failed to scan service ‘/var/spool/asterisk/outgoing/824_39740724.call’
[Feb 14 12:43:02] WARNING[3028] pbx_spool.c: Unable to open /var/spool/asterisk/outgoing/824_45980052.call: Permission denied, deleting
[Feb 14 12:43:02] WARNING[3028] pbx_spool.c: Failed to scan service ‘/var/spool/asterisk/outgoing/824_45980052.call’
[Feb 14 12:43:02] WARNING[3028] pbx_spool.c: At least one of app or extension must be specified, along with tech and dest in file
i’m confused, i dont understand if is a problem of the files or of the permissions settings, SELinux is disabled, and the php script work perfectly on another server with Debian and asterisk 1.2
any idea?