VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
dan at amtelco.com Guest
|
Posted: Tue Aug 11, 2020 9:25 am Post 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 |
|
Back to top |
|
|
dan at amtelco.com Guest
|
Posted: Tue Aug 11, 2020 9:44 am Post subject: [asterisk-users] ARI record question |
|
|
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@lists.digium.com> On Behalf Of Dan Cropp
Sent: Tuesday, August 11, 2020 9:24 AM
To: 'asterisk-users@lists.digium.com' <asterisk-users@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 |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|