]> git.ipfire.org Git - thirdparty/asterisk.git/commit
audiosocket: added support for DTMF frames
authorFlorent CHAUVEAU <florentch@pm.me>
Fri, 28 Feb 2025 07:47:18 +0000 (08:47 +0100)
committerAsterisk Development Team <asteriskteam@digium.com>
Thu, 1 May 2025 12:39:48 +0000 (12:39 +0000)
commitd032df902bdc4539e6ea5c4b6950cec339e9132b
treed891a750145542fbc96ed31bd85197b493c678c8
parent423d2bad16bc4016c8f6de0308b5176dc2b99067
audiosocket: added support for DTMF frames

Updated the AudioSocket protocol to allow sending DTMF frames.
AST_FRAME_DTMF frames are now forwarded to the server, in addition to
AST_FRAME_AUDIO frames. A new payload type AST_AUDIOSOCKET_KIND_DTMF
with value 0x03 was added to the protocol. The payload is a 1-byte
ascii representing the DTMF digit (0-9,*,#...).

UserNote: The AudioSocket protocol now forwards DTMF frames with
payload type 0x03. The payload is a 1-byte ascii representing the DTMF
digit (0-9,*,#...).

(cherry picked from commit c44e7e85ecd73ccddd90da3acc94bbcb66a43330)
apps/app_audiosocket.c
channels/chan_audiosocket.c
include/asterisk/res_audiosocket.h
res/res_audiosocket.c