diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_chanspy.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/app_chanspy.c b/apps/app_chanspy.c index 9d087c4d1..03f3b3100 100644 --- a/apps/app_chanspy.c +++ b/apps/app_chanspy.c @@ -406,6 +406,7 @@ static int start_spying(struct ast_channel *chan, const char *spychan_name, stru ast_log(LOG_NOTICE, "Attaching %s to %s\n", spychan_name, chan->name); + ast_set_flag(audiohook, AST_AUDIOHOOK_TRIGGER_SYNC | AST_AUDIOHOOK_SMALL_QUEUE); res = ast_audiohook_attach(chan, audiohook); if (!res && ast_test_flag(chan, AST_FLAG_NBRIDGE) && (peer = ast_bridged_channel(chan))) { |