]> 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)
committergithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Fri, 28 Mar 2025 19:18:15 +0000 (19:18 +0000)
commita5bc39fa326b9936064d9ee81a5ec4678b97aa24
tree78da09ecde62e84ecc4520e928feb272aeae8020
parent6ef4a2d008d616d30bebe9642b817f261d78d01a
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