]> git.ipfire.org Git - thirdparty/asterisk.git/commit
format_gsm.c: Added mime type
authorAlexey Khabulyak <khabalex@gmail.com>
Tue, 3 Dec 2024 09:53:10 +0000 (12:53 +0300)
committerAlexey Khabulyak <khabalex@gmail.com>
Tue, 10 Dec 2024 13:25:02 +0000 (13:25 +0000)
commit877449ddf5031997a19e32f7450c41550e3a36fa
tree3b3c8daaddd7b49557d53d48688e1eb37d6453b6
parente9220e80f9dd23caec287465f8b6325b12281541
format_gsm.c: Added mime type

Sometimes it's impossible to get a file extension from URL
(eg. http://example.com/gsm/your) so we have to rely on content-type header.
Currenly, asterisk does not support content-type for gsm format(unlike wav).
Added audio/gsm according to https://www.rfc-editor.org/rfc/rfc4856.html
formats/format_gsm.c