small corrections in call clearing

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@242933 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Alexandr Anikin
2010-01-25 21:20:02 +00:00
parent 7c61a7105f
commit 9a980d4822
3 changed files with 9 additions and 5 deletions

View File

@@ -748,8 +748,9 @@ int ooProcessCallFDSETsAndTimers
ast_mutex_lock(&call->Lock);
ooEndCall(call);
ast_mutex_unlock(&call->Lock);
ooStopMonitorCallChannels(call);
}
if(call->callState >= OO_CALL_CLEARED)
ooStopMonitorCallChannels(call);
}
return OO_OK;