summaryrefslogtreecommitdiff
path: root/main/core_unreal.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/core_unreal.c')
-rw-r--r--main/core_unreal.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/main/core_unreal.c b/main/core_unreal.c
index 0a4859703..7e457f484 100644
--- a/main/core_unreal.c
+++ b/main/core_unreal.c
@@ -918,12 +918,8 @@ struct ast_channel *ast_unreal_new_channels(struct ast_unreal_pvt *p,
}
if (callid) {
- ast_channel_lock(owner);
ast_channel_callid_set(owner, callid);
- ast_channel_unlock(owner);
- ast_channel_lock(chan);
ast_channel_callid_set(chan, callid);
- ast_channel_unlock(chan);
}
ast_channel_tech_set(owner, tech);