diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 12743a13d0bc603de34a5dae692695ec0f0a39e9..d5899aa25fa37dd1cc0b83e4e352f752f1b44c25 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -2735,7 +2735,6 @@ static struct ast_channel *sip_new(struct sip_pvt *i, int state, char *title)
 	else
 		what = global_capability;
 	tmp->nativeformats = ast_codec_choose(&i->prefs, what, 1);
-	ast_mutex_unlock(&i->lock);
 	fmt = ast_best_codec(tmp->nativeformats);
 
 	if (title)