]> 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:04 +0000 (13:25 +0000)
commitdab6ddc3227bf5b895dfcc3cda05f81229ddac0c
tree39d0810a1a7bd12e236f5ccf8739b85f892fb295
parentba01e712da0204ddc790e17c648030e5e57249c8
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