Having some trouble with using a feature code to allow users to re-record system greetings. When they dial a feature code to access it, press the button to re-record, it goes immediately back to the main menu and does not let them record anything.
When I view this on the Asterisk CLI, I can see the issue is because the audio format is being set to opus, and it complains that you cannot record in opus format, so after it errors out it returns back to the main menu.
I have SIP setup in Free PBX to allow opus, g722 and ulaw (in that order). Other than that I have not configured anything specifically related to codecs.
Can someone make a suggestion how I might set the recording to default to another format such that it will record properly yet still be able to use opus on the phones and mobile apps?
Ive messed with this one for a while and the closest I got was creating a custom macro to override the freepbx version, hard coding a format. Problem is when it goes to play it back, it still defaults to opus, can’t find the file, so it breaks there.
I am sure there is a better (correct) way to address this. Just not sure what it is.