Hi,
In our scenario, we have generated the wav file on one machine and moved to the remote asterisk machine under this location /var/spool/asterisk/outgoing/xx.call. We observed the follwoing warning message at call initiated time.
[color=#BF0000]WARNING[18781] pbx_spool.c: Unable to set utime on /var/spool/asterisk/outgoing/5902_9xxxxxxxxxxx_qck1025.call: Operation not permitted[/color]
As per few below URL link advice, i have checked the folder and file ownership permission in that asterisk machine, everything was looking perfect.
Referred links are:
http://lists.digium.com/pipermail/asterisk-users/2012-April/271561.html
http://asteriskfaqs.org/tag/outgoing-directory
[color=#0000FF][root@localhost ~]# ll /var/spool/[/color]
[color=#008000]drwxrwxr-x. 9 asterisk asterisk 4096 Apr 10 2014 asterisk[/color]
Sub directories are like as given below.
[color=#0000FF][root@localhost ~]# ll /var/spool/asterisk/[/color]
drwxrw-r–. 2 asterisk asterisk 4096 Apr 10 2014 fax
drwxrwxr-x. 2 asterisk asterisk 4096 Mar 6 2013 meetme
drwxrw-r–. 2 asterisk asterisk 4096 Apr 10 2014 monitor
[[color=#008000]drwxr-xr-x 2 asterisk asterisk 4096 Apr 30 07:50 outgoing[/color]
drwxrwxr-x. 2 asterisk asterisk 4096 Mar 6 2013 system
drwxrwxr-x. 2 asterisk asterisk 4096 Mar 6 2013 tmp
drwxrwxr-x. 3 asterisk asterisk 4096 Apr 10 2014 voicemail
Note: We are accessing the remote asterisk machine by using root user credential, so the call file was showing as given below after moving the call file by root user.
[color=#0000FF][root@localhost ~]# ll /var/spool/asterisk/outgoing/[/color]
[color=#008000]-rw-r–r-- 1 asterisk root 139 Apr 30 07:48 5902_916142450377_qck1026.call[/color]
Finally it’s showing owner of the call file is asterisk & group owner name is root, i think almost is correct.
My question is,
- what should i do to prevent this warning message?
- It will affect another call file initiation?, (which means time duration)
Thanks,
Kalyan.