]> 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:44:38 +0000 (18:44 +0000)
commit8d3bd2cc31d2520121b5825b43d69938ce7ec524
treece0381e2be34be17575e13a01442e307f2ea9387
parentf435e285712938746e0186e01bdf20bf4f25ee91
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 03983b2ff9af730fb00141b27f9986c4a54d427c)
apps/app_broadcast.c
apps/app_chanspy.c