Upload Mix Monitor recordings to a remote server

I have the following line for call recording in my diaplan.

exten => _XXX,3,MixMonitor(/home/voip/Music/recordings/${fname}.wav,mb)

I wish to upload the recordings to a remote server and replace the home/voip/* link with the remote server address.

May you assist with the configuration

Create a directory. Mount the remote filesystem on that directory. Modify the filename to use that directory. NB none of this is Asterisk stuff.

However I would advise against writing directly to to another machine, as it creates an unnecessary point of failure for normal call handling.

You can use a script to move the files once the recording is complete:

https://docs.asterisk.org/Asterisk_18_Documentation/API_Documentation/Dialplan_Applications/MixMonitor/?h=command#arguments

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.