I use Asterisk on an AWS ec2 instance and connect S3 storage to this ec2 via goofys to store voicemail.
Astersik has all the necessary permissions and writes to S3 all the necessary data (wav and txt).
But for some reason, it has a problem with changing permissions on the TXT file and produces the following:
Recording the message -- x=0, open writing: /var/spool/asterisk/voicemail/default/1034/tmp/T2QXgB format: wav49, 0x7f26e801dc60 -- x=1, open writing: /var/spool/asterisk/voicemail/default/1034/tmp/T2QXgB format: wav, 0x7f26e8005670 -- User ended message by pressing # -- <PJSIP/kamailio-dev-00000004> Playing 'auth-thankyou.gsm' (language 'en') [Feb 19 12:10:30] ERROR[C-00000003]: app_voicemail.c:7097 leave_voicemail: Couldn't set permissions on voicemail text file /var/spool/asterisk/voicemail/default/1034/INBOX/msg0002.txt: Operation not permitted
Has anyone come across this?