--- channels/chan_sip.c (revision 10625) +++ channels/chan_sip.c (working copy) @@ -3323,8 +3323,8 @@ if (found) { /* Found the call */ + ast_mutex_unlock(&iflock); ast_mutex_lock(&p->lock); - ast_mutex_unlock(&iflock); return p; } p = p->next;