]> 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)
committerFlorent CHAUVEAU <florentch@pm.me>
Fri, 28 Mar 2025 19:18:09 +0000 (19:18 +0000)
commitc44e7e85ecd73ccddd90da3acc94bbcb66a43330
tree1d21c4812a9fae931a29372142a314e1af92c206
parent5cfc79ebea39d08d5dbb6d3c5b9b666dbc9ea62d
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,*,#...).
apps/app_audiosocket.c
channels/chan_audiosocket.c
include/asterisk/res_audiosocket.h
res/res_audiosocket.c