]> 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)
committerAsterisk Development Team <asteriskteam@digium.com>
Thu, 23 Jan 2025 18:36:03 +0000 (18:36 +0000)
commit09ebbb85c679cb45bad5c96d9425ad6b12c68ab5
tree1a167ac888d7c4b2f41c368e4b562d1ee364604e
parent6181408bf0939ea85703a740a4fc3de833463fe4
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

(cherry picked from commit 877449ddf5031997a19e32f7450c41550e3a36fa)
formats/format_gsm.c