]> 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:41:16 +0000 (12:41 +0000)
commit870f59e28d3930cc30fffe01bc3e660df3d9eaa7
treede78c96a90c57753b7982ea160c82df9d50e0054
parentb2b1977ad15506432396bafed2abe3d2a2e89199
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 ea657ec7c7f14995e346a9f263627d89754aac52)
apps/app_audiosocket.c
channels/chan_audiosocket.c
include/asterisk/res_audiosocket.h
res/res_audiosocket.c