Problem with .call file

I have a failure trying to setup an automated call, my basic .call file :

Channel: SIP/5001
Application: Playback
Data: hello-world

Call fails , here’s the output :

[2016-11-21 10:38:18] WARNING[3628]: pbx_spool.c:318 safe_append: Unable to set utime on /var/spool/asterisk/outgoing/ Operation not permitted
– Attempting call on SIP/5001 for application Playback(hello-world) (Retry 1)
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Called 5001
– Got SIP response 406 “Not Acceptable” back from is my 5001 phone ip address

It seems a phone issue rather than pbx…

Check the permissions on the /var/spool/asterisk/outgoing directory. Chance are, the user you are trying to use to write the call file doesn’t have permissions in the directory, or the file you wrote isn’t modifiable by the asterisk user.