diff options
Diffstat (limited to 'channels/chan_sip.c')
-rw-r--r-- | channels/chan_sip.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 49b442525..221f8f4a9 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -2736,7 +2736,6 @@ static struct ast_channel *sip_new(struct sip_pvt *i, int state, char *title) tmp->nativeformats = ast_codec_choose(&i->prefs, i->capability, 1); else tmp->nativeformats = ast_codec_choose(&i->prefs, global_capability, 1); - ast_mutex_unlock(&i->lock); fmt = ast_best_codec(tmp->nativeformats); if (title) |