So after opening a bug I am informed this is a new feature and the Set(CONFBRIDGE(bridge,record_file)= sets a prefix which is appended with a date stamp.
You can read the actual file name in using MIXMONITOR_FILENAME
Actually I can’t see how I can use MIXMONITOR_FILENAME as there is no opotunity to call the varable in the dialplan while the conference or rather the recording is taking place.
Did you ever find a sollution to this problem? I have the very same issue.
I want to process the recording file so need to log the filename to an external system… You’d think that setting the filename would do exactly that, the the added timestamp makes everything a lot harder. Would be ok if I could get access to the acual filename used, but that does not seem to work (at least not using ${MIXMONITOR_FILENAME})
Thank you for the response! This in essence is what I ended up doing to… I still think there ought to be an option to hard set the filename, but this works.
What version of Asterisk are you all using? I’m asking as if you are on Asterisk 14 or newer then there is a new record_file_timestamp CONFBRIDGE bridge variable that you may want to set to false. This tells Asterisk to NOT append the start time at the end of the record_file name you specify.
P.S.: Interesting that you’ve succeeded in getting the mv command to work in a System command. I tried to use the System command to delete a recording in the past and it didn’t work. I ended up having to write a second program to handle that part outside of Asterisk. Hmm, I may have to give that a whirl again in the future…