]> 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:44:58 +0000 (12:44 +0000)
commita15e4043ce252bd5ac19197be161835785e045ed
tree65004395d5945361a290962268f524e55e896323
parent352a72c9b5c4d2d6b81c3c7995426b0b7c2eab9f
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 c2444b188a58e7410218c9585bc8c01cb1fdcdb0)
apps/app_audiosocket.c
channels/chan_audiosocket.c
include/asterisk/res_audiosocket.h
res/res_audiosocket.c