]> 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:39:41 +0000 (18:39 +0000)
commite9373e98332edad0a881e5cf52552d070dbaea33
tree3698c6a53805809f90b4679708599516e3fd9f80
parentd68d0010851deadfd5bb157a3b99b2b94dce4993
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 dab6ddc3227bf5b895dfcc3cda05f81229ddac0c)
formats/format_gsm.c