diff options
Diffstat (limited to 'main/core_unreal.c')
-rw-r--r-- | main/core_unreal.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/main/core_unreal.c b/main/core_unreal.c index 7e457f484..0a4859703 100644 --- a/main/core_unreal.c +++ b/main/core_unreal.c @@ -918,8 +918,12 @@ 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); |