Yep, I understand your considerations.
in fact my system just need the recordings as call register. I won’t play them or manipulate them using asterisk. Those records will be available only in my system after converting the ulaws to mp4.
I started this post because as you stated:
Change the location of your recording directory in asterisk.conf
I also believed i could point the recording to a different location after changing the astspooldir. But it didn’t work at all. It kept saving those files to the “/var/spool/asterisk/recording” even though I was specifying the full path of the recordings to “/var/sc_recording/client_10/” for example.
And it was concatenating both paths.
“/var/spool/asterisk/recording” + “/var/sc_recording/client_10/”
I tried changing the astspooldir to “/var/sc_recording” but it didn’t work.
After changing the asterisk.conf, I did a “core reload” and also tried restarting asterisk service but none of them worked.
The only thing I noticed is that it was creating a temporary file on “/var/sc_recording” replacing the “/” for “_”.
Something like that:
But as soon as I stopped recording, that file disappeared from that path and was sent to the concatenated path