Storing Elastix 2 Call Recordings on NFS NAS Share
-
I only use vi to edit files, but it is pretty tough to learn for the first time. Lots of people recommend nano for new users, but I've never used it so am not very helpful.
-
@scottalanmiller
ok i create another sharedfolder with nfs call: callrec
now i have to manually edit /etc/fstab ? and change the call recordings to callrec first? -
@poorizad said in Storing Elastix 2 Call Recordings on NFS NAS Share:
@scottalanmiller
ok i create another sharedfolder with nfs call: callrec
now i have to manually edit /etc/fstab ? and change the call recordings to callrec first?Correct
-
@scottalanmiller really thx scott....sorry i bother you too much....imagine a guy with no linux background want do this :)))
now everything seems fine. and i saw the mount folder in df command.....
now how can i make sure its work? i meane how can i test the linux credential to copy files into that folder -
You are not bothering me at all, we are all here to help each other. And for a Linux newbie, you are doing great. This isn't a tough task, but it isn't a trivial one either and you are flying right through it!
-
Easiest thing to do is to become the asterisk user and just make a file there. So try this...
su - asterisk touch /var/spool/asterisk/monitor/mytestfile
Then you can see if it is there...
cd /var/spool/asterisk/monitor ls
-
@scottalanmiller said in Storing Elastix 2 Call Recordings on NFS NAS Share:
cd /var/spool/asterisk/monitor
yes its ok .
how can i copy monitor_old to monitor now ? -
@poorizad said in Storing Elastix 2 Call Recordings on NFS NAS Share:
@scottalanmiller said in Storing Elastix 2 Call Recordings on NFS NAS Share:
cd /var/spool/asterisk/monitor
yes its ok .
how can i copy monitor_old to monitor now ?Okay, once all good you can just do this...
cp -rp /var/spool/asterisk/monitor_old/* /var/spool/asterisk/monitor/
-
Depending on the size of the file and the speed of the network and the NAS, this might take a few seconds or a bit of time. This is a full copy of the data over the network.
-
@scottalanmiller thankyou scott. All good now. very happy
you r awesome. -
@poorizad said in Storing Elastix 2 Call Recordings on NFS NAS Share:
@scottalanmiller thankyou scott. All good now. very happy
you r awesome.Glad that it worked out and that we were able to help
-
And we got a new "how to" out of it! Hopefully more people find the instructions here to be useful in the future.
-
@scottalanmiller yes...because i cant find any how to in search. i guess yours is first one.
-
@poorizad said in Storing Elastix 2 Call Recordings on NFS NAS Share:
@scottalanmiller yes...because i cant find any how to in search. i guess yours is first one.
Probably not the first, but hopefully Google picks it up and it is easy to find in the future. Although, I didn't find any when searching either.
-
@scottalanmiller said in Storing Elastix 2 Call Recordings on NFS NAS Share:
@poorizad said in Storing Elastix 2 Call Recordings on NFS NAS Share:
@scottalanmiller yes...because i cant find any how to in search. i guess yours is first one.
Probably not the first, but hopefully Google picks it up and it is easy to find in the future. Although, I didn't find any when searching either.
Just searched on Google and we already the fourth hit for the topic!
-
I found a similar topic, but one that doesn't cover what is needed here, on another site and it was me providing the answers there, too
-
@scottalanmiller thats it ! :first_place:
-
Well thanks for providing us with an awesome new topic
-
Thanks Scott for this article
-
@scottalanmiller hi again....i guess the nfs drive is unmount from the server, because no file record on Nas after the 2016/07/28.....nothing changed on settings.....but a few server shutdown for hardware maintenance.....how can i fix it again ?