]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_chanspy.c: resolving the issue writing frame to whisper audiohook.
authorTinet-mucw <mucw@ti-net.com.cn>
Tue, 10 Sep 2024 04:01:21 +0000 (12:01 +0800)
committerAsterisk Development Team <asteriskteam@digium.com>
Thu, 12 Sep 2024 18:46:48 +0000 (18:46 +0000)
commitef2bae8464b5712b00f39532cb15c5da97853afc
tree22f835778abc31f721c21f3e73201bf45e93ce60
parenta06c18e8bd9af1edcbbe8f914159d97581197b7e
app_chanspy.c: resolving the issue writing frame to whisper audiohook.

ChanSpy(${channel}, qEoSw): because flags set o, ast_audiohook_set_frame_feed_direction(audiohook, AST_AUDIOHOOK_DIRECTION_READ); this will effect whisper audiohook and spy audiohook, this makes writing frame to whisper audiohook impossible. So add function start_whispering to starting whisper audiohook.

Resolves: #876
(cherry picked from commit ffb1dca4850b9f4895eaa475b8a9983012bf1eaa)
apps/app_broadcast.c
apps/app_chanspy.c