Skip to content
Snippets Groups Projects
Commit 6cfe2708 authored by Mark Michelson's avatar Mark Michelson
Browse files

Make change proposed by andrew53 on bugtracker


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127857 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 5a8a23f9
No related branches found
No related tags found
No related merge requests found
...@@ -366,7 +366,7 @@ static int channel_spy(struct ast_channel *chan, struct chanspy_ds *spyee_chansp ...@@ -366,7 +366,7 @@ static int channel_spy(struct ast_channel *chan, struct chanspy_ds *spyee_chansp
} }
if ((spyee_bridge = ast_bridged_channel(spyee))) { if ((spyee_bridge = ast_bridged_channel(spyee))) {
ast_channel_lock(spyee_bridge); ast_channel_lock(spyee_bridge);
if (start_spying(ast_bridged_channel(spyee), spyer_name, &csth.bridge_whisper_audiohook)) { if (start_spying(spyee_bridge, spyer_name, &csth.bridge_whisper_audiohook)) {
ast_log(LOG_WARNING, "Unable to attach barge audiohook on spyee %s. Barge mode disabled!\n", spyee->name); ast_log(LOG_WARNING, "Unable to attach barge audiohook on spyee %s. Barge mode disabled!\n", spyee->name);
} }
ast_channel_unlock(spyee_bridge); ast_channel_unlock(spyee_bridge);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment