Please disregard. I found my problem. We use a unique folder for the spool.
Once I created the recording folder in our directory everything worked as
expected.
Dan
From: asterisk-users <asterisk-users-bounces at lists.digium.com> On
Behalf Of Dan Cropp
Sent: Tuesday, August 11, 2020 9:24 AM
To: 'asterisk-users at lists.digium.com' <asterisk-users at
lists.digium.com>
Subject: [asterisk-users] ARI record question
I'm attempting to run a test of the ARI recording of audio from the channel.
When I send the record command, it's failing.
curl -v -u asterisk:asterisk -X POST
"http://locahost:8088/ari/channels/mychanntest.1/record?name=mytest&format=WAV&maxDurationSeconds=300&maxSilenceSeconds=3"
[08/11 09:14:13.290] WARNING[23806]: ari/resource_channels.c:812
ast_ari_channels_record: Unrecognized recording error: No such file or directory
Based on this link, it sounds like the recording folder was the issue. I
changed it to be writeable by anyone to see if that would resolve the issue but
it has not.
https://asterisk-app-dev.digium.narkive.com/oC8mEKF8/call-recording-using-ari
My /var/spool/asterisk/recording folder is configured to allow writes
sudo ls -l /var/spool/asterisk/
total 28
drwxr-xr-x 2 root root 4096 Sep 13 2019 dictate
drwxr-xr-x 2 root root 4096 Sep 13 2019 meetme
drwxr-xr-x 2 root root 4096 Sep 13 2019 monitor
drwxrwxrwx 2 root root 4096 Sep 13 2019 recording
drwxr-xr-x 2 root root 4096 Sep 13 2019 system
drwxr-xr-x 2 root root 4096 Sep 13 2019 tmp
drwxr-xr-x 2 root root 4096 Sep 13 2019 voicemail
Any suggestions on what I am doing wrong?
Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.digium.com/pipermail/asterisk-users/attachments/20200811/2c086041/attachment.html>