Unlock the owner when we're done (duh!)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2530 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
0930211404
commit
986e510e79
|
@ -4962,6 +4962,7 @@ retryowner2:
|
||||||
ast_set_write_format(iaxs[fr.callno]->owner, iaxs[fr.callno]->owner->writeformat);
|
ast_set_write_format(iaxs[fr.callno]->owner, iaxs[fr.callno]->owner->writeformat);
|
||||||
if (iaxs[fr.callno]->owner->readformat)
|
if (iaxs[fr.callno]->owner->readformat)
|
||||||
ast_set_read_format(iaxs[fr.callno]->owner, iaxs[fr.callno]->owner->readformat);
|
ast_set_read_format(iaxs[fr.callno]->owner, iaxs[fr.callno]->owner->readformat);
|
||||||
|
ast_mutex_unlock(&iaxs[fr.callno]->owner->lock);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue