diff --git a/main/features.c b/main/features.c index b0e7a11b11..f04c2923fc 100644 --- a/main/features.c +++ b/main/features.c @@ -2360,7 +2360,7 @@ int ast_bridge_call(struct ast_channel *chan,struct ast_channel *peer,struct ast ast_copy_string(chan->exten, save_exten, sizeof(chan->exten)); chan->priority = save_prio; chan->cdr = swapper; - ast_channel_lock(chan); + ast_channel_unlock(chan); /* protect the lastapp/lastdata against the effects of the hangup/dialplan code */ ast_copy_string(bridge_cdr->lastapp, savelastapp, sizeof(bridge_cdr->lastapp)); ast_copy_string(bridge_cdr->lastdata, savelastdata, sizeof(bridge_cdr->lastdata));