Hi,
I assume that Asterisk needs 16hz wav files saved as wav16 so it knows how to play it as 16 bit. Is that correct? What would be needed for Asterisk to be able to detect the bitrate and play the file accordingly?
Hi,
I assume that Asterisk needs 16hz wav files saved as wav16 so it knows how to play it as 16 bit. Is that correct? What would be needed for Asterisk to be able to detect the bitrate and play the file accordingly?
Changing the file format API and core implementation, followed by changing format_wav.
Asterisk only looks at the filename extension to determine the format of the file. It doesn’t look inside the .wav, to look at the metadata that says what the payload format is. Joshua is hinting that you would have make quite deep changes to the code.
This feels like it is basically the same topic as your other recent posting, so you should consider requesting it be merged.